:root {
  --main-color: #7f7088;
  --pink: #f2c6de;
  --saturated-pink: #bb3980;
  --purple: #a786a3;
  --gray: rgb(179, 179, 179);
  --light-gray: rgb(189, 189, 189);
  --gold: #e6d877;
  --white: #fff;
  --black: #000;

  /* Font Families */
  --poppins: "Poppins", sans-serif;

  /* Font Weights */
  --poppins-thin: 100;
  --poppins-extralight: 200;
  --poppins-light: 300;
  --poppins-regular: 400;
  --poppins-medium: 500;
  --poppins-semibold: 600;
  --poppins-bold: 700;
  --poppins-extrabold: 800;
  --poppins-black: 900;
}

body {
  height: 100vh;
  width: 100vw;
  margin: 0px;
  padding: 0px;
  font-family: var(--poppins);
  overflow-x: hidden;
}

input {
  margin: 0px;
  padding: 0px;
}

a {
  text-decoration: none;
}

#sign-up-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#login-navigation-container {
  display: flex;
  gap: 2vw;
}

#sign-active {
  padding-bottom: 8px;
  border-bottom: solid 6px var(--main-color);
  cursor: default;
}

#sign-active:hover {
  opacity: 1;
}

#sign-inactive {
  padding-bottom: 14px;
}

.navigation-button {
  border: none;
  background-color: transparent;
  color: var(--main-color);
  font-size: 1.25rem;
  margin: 0px 0px 6vh 0px;
  cursor: pointer;
}

.navigation-button:hover {
  opacity: 0.5;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 33vw;
  padding-bottom: 20px;
}

.input-container {
  position: relative;
  margin-bottom: 20px;
}

.basic-input {
  width: 100%;
  height: 4.5vh;
  border-radius: 5px;
  border: 1.5px solid var(--main-color);
  padding: 0.75rem 0.5rem 0.25rem 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.basic-input:focus {
  border: 1.5px solid var(--main-color);
  outline: none;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  background-color: var(--white);
  padding: 0 0.25rem;
  color: var(--main-color);
  pointer-events: none;
  transition: transform 0.3s ease, font-size 0.3s ease, top 0.3s ease,
    left 0.3s ease;
}

.basic-input:focus + .floating-label,
.basic-input.filled + .floating-label {
  animation: moveLabel 0.3s ease forwards;
}

.basic-input:not(.filled):not(:focus) + .floating-label {
  animation: moveLabelDown 0.3s ease forwards;
}

@keyframes moveLabel {
  0% {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1rem;
  }
  100% {
    top: -0.65rem;
    left: 0.65rem;
    transform: translate(0, 0);
    font-size: 0.75rem;
  }
}

@keyframes moveLabelDown {
  0% {
    top: -0.65rem;
    left: 0.65rem;
    transform: translate(0, 0);
    font-size: 0.75rem;
  }
  100% {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1rem;
  }
}

#forgot-password {
  text-align: right;
  margin: 15px 0px 0px 0px;
  color: var(--main-color);
}

#remember-me-container {
  color: var(--main-color);
  margin: 0px 0px 40px 0px;
  font-weight: var(--poppins-semibold);
}

#remember-me {
  display: none;
}

#remember-me + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

#remember-me + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--main-color);
  border-radius: 4px;
  background-color: var(--white);
  margin: 3.5px 0px 0px 0px;
}

#remember-me:checked + label:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7.5px;
  width: 8px;
  height: 8px;
  background-color: var(--main-color);
  border-radius: 2px;
}

.submit {
  height: 4.5vh;
  border-radius: 150px;
  border: none;
  background-color: var(--main-color);
  color: var(--white);
  font-weight: var(--poppins-bold);
  transition: all 0.3 ease;
}

.submit:hover {
  opacity: 0.95;
  cursor: pointer;
}

#user-information-container {
  display: flex;
  justify-content: left;
  align-items: center;
  margin: 5vw 0px 0px 4.5vw;
  gap: 2vw;
}

#profile-picture {
  height: 4vw;
  border-radius: 100px;
  margin: 0px;
}

#greeting,
#select-instruction {
  margin: 0px;
  padding: 0px;
}

#greeting {
  font-size: 1rem;
}

#select-instruction {
  font-size: 0.8rem;
  color: var(--gray);
}

.smoothie-selection-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10vh 40px;
  width: 60vw;
  margin: 0 auto;
  margin-top: 13vh;
}

.smoothie {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.smoothie:hover {
  border: 2px solid black;
  cursor: pointer;
}

.smoothie-name {
  color: var(--saturated-pink);
}

.pink {
  background-color: var(--pink);
}

.purple {
  background-color: var(--purple);
}

.smoothie-image {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 15vh;
  max-width: 100%;
  margin-top: 11vh;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.rating img {
  width: 20px;
  height: 20px;
}

#profile-picture {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.delivery-time-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--light-gray);
  width: 5.5vw;
  border-radius: 8px;
  height: 4vh;
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

.rating-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--gold);
  width: 5.5vw;
  border-radius: 8px;
  height: 4vh;
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: white;
}

.rating-container svg {
  fill: white;
}

@media (max-width: 768px) {
  #user-information-container {
    flex-direction: column;
    align-items: start;
  }
}

#configuration-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#configuration-form {
  display: flex;
  flex-direction: column;
  gap: 35px;
  color: var(--main-color);
}

#toppings-container {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-direction: row;
  gap: 15px;
}

#size-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.size-item label {
  margin-left: 10px;
}

#fruit-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.fruit-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#delivery-way {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-direction: row;
  gap: 15px;
}

.custom-radio-container {
  color: var(--main-color);
  margin: 0px 0px 40px 0px;
  font-weight: var(--poppins-semibold);
}

.custom-radio {
  display: none;
}

.custom-radio + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.custom-radio + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--main-color);
  border-radius: 4px;
  background-color: var(--white);
  margin: 3.5px 0px 0px 0px;
}

.custom-radio:checked + label:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7.5px;
  width: 8px;
  height: 8px;
  background-color: var(--main-color);
  border-radius: 2px;
}

#alergies {
  margin: 0px;
  padding: 0px;
}

#configurator-title {
  color: var(--main-color);
}

.configurator-label {
  margin: 0px 0px 15px 0px;
}

#notes-container {
  display: flex;
  flex-direction: column;
}

#notes {
  width: 100%;
  height: 4.5vh;
  border-radius: 5px;
  border: 1.5px solid var(--main-color);
  padding: 0.75rem 0.5rem 0.25rem 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

#notes {
  border: 1.5px solid var(--main-color);
  outline: none;
}

@media (max-width: 1024px) {
  #signup {
    width: 80vw;
  }

  #configuration-form {
    width: 80vw;
  }

  #configuration-container {
    padding: 5vh 0px 5vh 0px;
  }

  #size-container,
  #toppings-container,
  #fruit-container,
  #delivery-way {
    flex-direction: column;
  }

  #fruit-container {
    gap: 15px;
  }

  #notes {
    width: 100%;
  }

  #configuration-form {
    text-align: center;
  }

  #configurator-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 1700px) {
  .smoothie-selection-container {
    grid-template-columns: 1fr 1fr;
    gap: 8vh 10px;
    width: 50%;
  }

  .smoothie {
    height: 20vh;
    padding: 15px;
  }

  .smoothie-image {
    height: 12vh;
    margin-top: 11vh;
  }

  .delivery-time-container,
  .rating-container {
    width: 10vw;
    font-size: 0.7rem;
  }

  .rating-container svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 1700px) {
  .smoothie-selection-container {
    grid-template-columns: 1fr 1fr;
    gap: 8vh 4vw;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .smoothie-selection-container {
    grid-template-columns: 1fr;
    gap: 10vh 10px;
    width: 80vw;
  }

  .smoothie {
    height: 20vh;
    padding: 15px;
  }

  .smoothie-image {
    height: 12vh;
    margin-top: 10.5vh;
  }

  .delivery-time-container,
  .rating-container {
    width: 30vw;
    font-size: 0.7rem;
  }

  .rating-container svg {
    width: 12px;
    height: 12px;
  }
}

.navbar {
    background-color: none;
    overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}

.nav-list {
	height: 80px;
	width: 385px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
	margin-left: auto;
	margin-right: auto;
}

.nav-item {
    display: inline;
}

.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    text-decoration: none;
    color: white;
	position: relative;
}

.nav-item.active a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px; 
    height: 60px; 
    background-color: #7F7088; 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; 
}
