/****************** CSS shared ******************/

@font-face {
  font-family: "Outfit";
  src: url(../font/Outfit-VariableFont_wght.ttf);
}

@font-face {
  font-family: "Inter";
  src: url(../font/Inter-VariableFont_slnt\,wght.ttf);
}

/* Material Icons font */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v125/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

/**************** Variables *****************/

body {
  /* Variables Lightmode */
  --text: #1B2559;
  --text-r: #ffffff;
  --body-background: #ffffff;
  --primary: #4318FF;
  --primary-green: #01B574;
  --footer-bg: #FFFFFF;
  --primary-bg-90: rgb(255, 255, 255, 0.9);
  --primary-bg-50: rgb(0, 6, 34, 0.5);
  --input-background: #FFFFFF;
  --theme-switch-button-bg: #FFCC00;
  --theme-switch-button-color: #fff12e;
}

/* Dark mode styles */
body.darkmode {
  /* Variables Darkmode */
  --text: #ffffff;
  --text-r: #1B2559;
  --body-background: #000622;
  --primary: #DBFB2E;
  --footer-bg: rgb(0, 6, 34);
  --primary-bg-90: rgb(0, 6, 34, 0.9);
  --primary-bg-50: rgb(255, 255, 255, 0.5);
  --input-background: #B0BBD5;
  --theme-switch-button-bg: #1B2559;
  --theme-switch-button-color: #DBFB2E;
}

/****************** Header ******************/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px 0 40px;
}

#logo {
  padding: 10px 0;
}

/************ Icon Styles ************/

/* Custom styles for icon button */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; /* Adjust size as needed */
  height: 48px; /* Adjust size as needed */
  border-radius: 50%;
  background-color: #ffffff; /* Background color */
  color: #333333; /* Icon color */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
}

/* Hover effect */
.icon-button:hover {
  background-color: #ffd93f;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.icon {
  height: 28px;
  width: 19px;
}

#insta-icon {
  background-image: url('../assets/icons/fa-instagram-dark.svg');
}

#twitter-icon {
  background-image: url('../assets/icons/fa-x-twitter-dark.svg');
}

#linkedin-icon {
  background-image: url('../assets/icons/fa-linked-in-dark.svg');
}

#tiktok-icon {
  background-image: url('../assets/icons/fa-tiktok-dark.svg');
}

#facebook-icon {
  background-image: url('../assets/icons/fa-facebook-dark.svg');
}

body.darkmode #insta-icon {
  background-image: url('../assets/icons/fa-instagram-light.svg');
}

body.darkmode #twitter-icon {
  background-image: url('../assets/icons/fa-x-twitter-light.svg');
}

body.darkmode #linkedin-icon {
  background-image: url('../assets/icons/fa-linked-in-light.svg');
}

body.darkmode #tiktok-icon {
  background-image: url('../assets/icons/fa-tiktok-light.svg');
}

body.darkmode #facebook-icon {
  background-image: url('../assets/icons/fa-facebook-light.svg');
}

/****************** Buttons ******************/ 

.primary-button {
  border: none;
  outline: none;
  padding: 10px 20px;
  margin: 2px;
  width: 140px;
  /* Tell the input to use all the available space */
  background-color: var(--primary);
  color: var(--text-r);
  border-radius: 40px; /* Rounded corners for the button */
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease; /* Smooth transition for interactions */
  box-shadow: 0px 8px 32px -10px #5A5DF0;
}

.primary-button:focus {
  outline: none;
}

/* Add the focus effect to the form so it contains the button */
form:focus-within { 
  outline: 1px solid blue 
}

.primary-button:hover {
  box-shadow: 0 4px 15px rgba(110, 69, 226, 0.6); /* Highlight effect on hover */
}

/****************** General ******************/

a {
  color: var(--text);
}

.theme-switch-button {
  background-color: var(--theme-switch-button-bg);
  color: var(--theme-switch-button-color);
}

/****************** Responsive Design ******************/

@media screen and (max-width: 700px) {
  header {
    padding: 10px 20px;
  }

  header img {
    width: 80px;
  }

  header .icon-button {
    width: 34px;
    height: 34px;
  }
}