* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

button {
  font-family: "Poppins", sans-serif;
}

header {
  display: flex;
  width: 90%;
  height: 10vh;
  margin: auto;
  align-items: center;
}

.logo-container,
.nav-links,
.cart {
  display: flex;
}

.logo-container {
  flex: 1;
}

.logo {
  font-weight: 400;
  margin: 5px;
}

nav {
  flex: 2;
}

.nav-links {
  justify-content: space-around;
  list-style: none;
}

.nav-link {
  color: #5f5f79;
  font-size: 18px;
  text-decoration: none;
}

.cart {
  flex: 1;
  justify-content: flex-end;
}

.presentation {
  display: flex;
  width: 90%;
  margin: auto;
  min-height: 80vh;
  align-items: center;
}

.introduction {
  flex: 1;
}

.intro-text h1 {
  font-size: 44px;
  font-weight: 500;
  background: linear-gradient(to right, #494964, #6f6f89);
  -webkit-background-clip: text;
  background-clip: text;
}

.intro-text p {
  margin-top: 5px;
  font-size: 22px;
  color: #585772;
}

.cta {
  padding: 50px 0px 0px 0px;
}

.cta-select {
  border: 2px solid #c36cbb;
  background: transparent;
  color: #c36cbb;
  width: 150px;
  height: 50px;
  cursor: pointer;
  font-size: 16px;
}

.cta-add {
  background: #c36cbb;
  width: 150px;
  height: 50px;
  cursor: pointer;
  font-size: 16px;
  border: none;
  color: white;
  margin: 30px 0px 0px 30px;
  border-radius: 5px;
}

.cover {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 60vh;
}

.cover img {
  height: 100%;
  filter: drop-shadow(0px 5px 3px black);
  animation: drop 1.5s ease;
}

.big-circle {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: -1;
  opacity: 0.5;
  height: 80%;
}

.medium-circle {
  position: absolute;
  top: 30%;
  right: 30%;
  z-index: -1;
  height: 60%;
  opacity: 0.4;
}

.small-circle {
  position: absolute;
  bottom: 0%;
  left: 20%;
  z-index: -1;
}

.laptop-select {
  width: 15%;
  display: flex;
  justify-content: space-around;
  position: absolute;
  right: 20%;
}

@keyframes drop {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1024px) {
  .presentation {
    flex-direction: column;
  }

  .introduction {
    margin-top: 5vh;
    text-align: center;
  }

  .intro-text h1 {
    font-size: 30px;
  }

  .intro-text p {
    font-size: 18px;
  }

  .cta {
    padding: 10px 0px 0px 0px;
  }

  .laptop-select {
    bottom: 5%;
    right: 50%;
    width: 50%;
    transform: translate(50%, 5%);
  }

  .cover img {
    height: 80%;
  }

  .small-circle,
  .medium-circle,
  .big-circle {
    opacity: 0.2;
  }
}

/* FORM.CSS */

.container {
  max-width: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  justify-content: center;
  align-items: center;
  margin: auto;
}

button.hide-me {
  display: none;
}

.container .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 600px;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #c36cbb);
}

.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}

form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}

form .input-box span.details {
  display: block;
  align-self: flex-start;
  font-weight: 500;
  margin-bottom: 5px;
  text-align: left;
}

.details2 {
  display: block;
  align-self: flex-start;
  font-weight: 500;
  margin-bottom: 5px;
  text-align: left;
}

form .form-input-box {
  position: relative;
  font-weight: 500;
  margin-bottom: 10px;
}

form .form-input-box .details {
  font-weight: 500;
  margin-bottom: 5px;
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #808080;
  line-height: 1.2;
  text-align: right;
  text-align: left;
  white-space: nowrap;
  position: absolute;
  top: 14px;
  left: -160px;
  width: 100px;
  margin-top: 15px !important;
}

form .form-input-box select {
  font-family: Poppins-Regular;
  font-size: 15px;
  margin-top: 26px;
  margin-left: 50px;
  color: #808080;
}

form .wrap-input100 .details {
  font-weight: 500;
  margin-bottom: 5px;
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #808080;
  line-height: 1.2;
  text-align: right;
  text-align: -webkit-center;
  white-space: nowrap;
  position: absolute;
  top: 14px;
  left: -105px;
  width: 80px;
  left: -112px;
  width: 100px;
  margin-top: 15px !important;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #9b59b6;
}

.user-details .input-box select {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .input-box select:focus,
.user-details .input-box select:valid {
  border-color: #c36cbb;
}

form .gender-details .gender-title {
  font-size: 20px;
  font-weight: 500;
}

form .category {
  display: flex;
  width: 80%;
  margin: 14px 0;
  justify-content: space-between;
}

form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

form .category label .dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three {
  background: #9b59b6;
  border-color: #d9d9d9;
}

form input[type="radio"] {
  display: none;
}

form .button {
  height: 45px;
  margin: 35px 0;
}

form .button input {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #71b7e6, #c36cbb);
}

form .button input:hover {
  /* transform: scale(0.99); */
  background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

@media (max-width: 584px) {
  .container {
    max-width: 100%;
  }

  form .user-details .input-box {
    margin-bottom: 15px;
    width: 100%;
  }

  form .category {
    width: 100%;
  }

  .content form .user-details {
    max-height: 300px;
    overflow-y: scroll;
  }

  .user-details::-webkit-scrollbar {
    width: 5px;
  }
}

@media (max-width: 459px) {
  .container .content .category {
    flex-direction: column;
  }
}

/* checkbox style */

.multiselect {
  width: 100% !important;
}

.selectBox {
  position: relative !important;
}

.selectBox select {
  width: 100% !important;
  /* font-weight: bold !important; */
}

.overSelect {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#checkboxes {
  display: none;
  border: 1px #dadada solid;
}

#checkboxes span {
  display: block;
  flex-direction: column;
  justify-content: center;
  padding: 5px;
  padding-left: 15px;
  text-indent: -15px;
}

#checkboxes input {
  width: 20px;
  height: 20px;
  padding: 0;
  margin-right: 15px;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  overflow: hidden;
}

.form-made .details {
  position: absolute;
  left: -160px;
  width: 100px;
  color: #808080;
  font-family: Poppins-Regular;
  font-size: 15px;
}

@media (max-width: 580px) {
  .form-made .details {
    text-align: left;
    position: static;
    width: 100%;
    margin-right: 10px;
  }
}

/*for rolling text*/
/* Container for the rolling text at the bottom */
.rolling-text-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  /* background-color: #333;  */
  /* Optional: Add background color to the banner */
}

/* The actual text that will move */
.rolling-text {
  display: inline-block;
  color: #c36cbb; /* Optional: Change text color */
  padding: 10px 0;
  font-size: 18px; /* Optional: Adjust font size */
  animation: scroll-left 30s linear infinite;
}

/* Keyframes for scrolling the text horizontally */
@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* University section styling */
#university-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.university-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.inputs-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.university-entry .input-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.university-entry .input-box input {
  background-color: #fff;
}

/* Add Another University button */
.add-university-btn {
  display: block;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #71b7e6, #c36cbb);
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-university-btn:hover {
  background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

/* Remove button styling */
.remove-university-btn {
  background: #ff4d4f;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: -15px;
}

.remove-university-btn:hover {
  background: #e04344;
}
