@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #100e17;
  --primary-color-dark: #0c0b12;
  --white: #ffffff;
  --max-width: 1200px;
  --background-gradient-1: linear-gradient(to right, #1a5fee, #10bae1);
  --background-gradient-2: linear-gradient(to right, #0d1732, #0f2835);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}

.section__subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.sticky-chatbox {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out;
  z-index: 1000;
}

.sticky-chatbox img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 0%;
  cursor: pointer;
}

.sticky-chatbox:hover {
  background-color: #18a3e3;
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background: var(--background-gradient-1);
  border-radius: 5px;
  cursor: pointer;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--white);
}

header {
  background-image: url("../images/bgAunertia.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  width: 65px;
  height: 65px;
  max-width: 100%;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link a {
  color: var(--white);
}

.header__title img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.header__container {
  padding-top: 1.7rem;
  text-align: center;
}

.header__container h1 {
  max-width: 950px;
  margin: auto;
  margin-bottom: 1rem;
  font-size: 3.5rem;
}

.header__container p {
  max-width: 850px;
  margin: auto;
  margin-bottom: 1.5rem;
}

.header__banner {
  margin: 5rem 2rem 0;
  padding: 2px;
  background: var(--background-gradient-1);
  transform: skewX(-10deg);
  border-radius: 5px;
}

.header__banner__grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--background-gradient-2);
  border-radius: 5px;
}

.header__banner p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.rank-header {
  display: flex;
  align-items: center;
}

.rank-header .rank-image {
  width: 60px; /* Adjust the size as needed */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Space between image and text */
  max-width: 100%; /* Ensure the image is responsive */
}

.header__banner h4 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.platform-icon {
  width: 40px; /* Adjust the size as needed */
  height: 40px; /* Adjust the size as needed */
  margin-right: 10px; /* Space between the icons */
  display: inline-block; /* Ensure icons are inline */
  margin-top: 10px;
}

.platform-icons {
  display: flex;
  align-items: center; /* Align icons vertically centered if needed */
  justify-content: center;
}

.myprofile {
  color: #fff;
  background-color: #31a0d0;
  background-image: radial-gradient(
      at 9% 89%,
      hsla(210, 100%, 10%, 1) 0px,
      transparent 50%
    ),
    radial-gradient(at 72% 6%, hsla(220, 100%, 10%, 1) 0px, transparent 50%),
    radial-gradient(at 24% 19%, hsla(230, 100%, 10%, 1) 0px, transparent 50%),
    radial-gradient(at 65% 6%, hsla(240, 100%, 10%, 1) 0px, transparent 50%),
    radial-gradient(at 20% 98%, hsla(250, 100%, 10%, 1) 0px, transparent 50%),
    radial-gradient(at 44% 9%, hsla(260, 100%, 10%, 1) 0px, transparent 50%),
    radial-gradient(at 10% 9%, hsla(270, 100%, 10%, 1) 0px, transparent 50%);
  min-height: 100vh;
}

.myprofile ul.nav-links {
  margin: 0;
  float: right;
  display: flex;
  list-style: none;
}

.myprofile li.nav-link {
  display: inline-block;
  margin-left: 30px;
  font-size: 17px;
  font-weight: 300;
}

.myprofile .container {
  display: flex;
  justify-content: center;
}

.myprofile .glass-container {
  display: block;
  max-width: 72vw;
  margin-top: 10vh;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.56);
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(11.6px);
  -webkit-backdrop-filter: blur(11.6px);
}

.myprofile .logo {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  margin-top: -10px;
}

.myprofile .content {
  display: flex;
  width: 100%;
}

.myprofile .main {
  margin-top: 10vh;
  display: inline-block;
  padding: 10px;
}

.myprofile .main h2 {
  font-size: 35px;
}

.myprofile .main p {
  font-size: 16px;
  line-height: 23px;
}

.myprofile button {
  margin-top: 10px;
  width: 100%;
  height: 40px;
  font-size: 15px;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.myprofile button:hover {
  border-color: #2668db;
  background-color: #2668db;
}

.myprofile .image-wrapper {
  display: flex;
  margin-top: 5vh;
  position: relative;
}

.myprofile .image-wrapper img {
  max-width: 260px;
  border-radius: 50%; /* Creates a circular border */
}

.faq {
  background-color: var(--primary-color-dark);
}

.question__accordian {
  position: relative;
  isolation: isolate;
  max-width: 900px;
  margin: 4rem auto 0;
  display: grid;
  gap: 2px;
}

.question__accordian::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--background-gradient-2);
  z-index: -1;
}

.question__box {
  background-color: var(--primary-color-dark);
}

.question__box .title {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.question__box .title p span {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 1rem;
  background: var(--background-gradient-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100%;
}

.question__box .title p {
  font-size: 1.1rem;
  font-weight: 500;
}

.question__box .title .icon {
  padding: 5px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

.question__box .content {
  height: 0;
  padding: 0 2rem;
  background: var(--background-gradient-2);
  transition: 0.5s;
  overflow: hidden;
}

.question__box.active .content {
  height: 130px;
  padding: 2rem;
}

.footer {
  position: relative;
  background: var(--background-gradient-2);
  isolation: isolate;
}

.footer::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to bottom,
    var(--primary-color-dark),
    rgba(0, 0, 0, 0)
  );
  z-index: -1;
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer__col h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.footer__col p {
  margin-bottom: 2rem;
}

.myprofile .footer__socials {
  justify-content: flex-end;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__socials span {
  padding: 6px 11px;
  font-size: 1.25rem;
  background: var(--background-gradient-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.footer__socials span:hover {
  background: var(--background-gradient-1);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.footer__col a {
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__col form {
  padding: 5px;
  width: 100%;
  max-width: 350px;
  display: flex;
  align-items: center;
  background: var(--background-gradient-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.footer__col input {
  width: 100%;
  padding: 0 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
}

.footer__col input::placeholder {
  color: var(--white);
}

.footer__col .submit__btn {
  padding: 10px 12px;
  font-size: 1.5rem;
}

@media (width > 900px) {
  .myprofile .main {
    margin-left: 10vh;
  }
}

@media (width < 900px) {
  .nav__links {
    display: none;
  }

  .header__banner__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header__banner__grid .col:nth-child(3) {
    grid-area: 2/1/2/3;
  }

  .question__box.active .content {
    height: 175px;
  }

  .footer__container {
    grid-template-columns: 2fr 1fr;
  }

  .footer__col:nth-child(1) {
    grid-area: 1 / 1 / 1 / 2; /* This spans the first column */
  }

  .footer__col:nth-child(2) {
    grid-area: 1 / 2 / 1 / 3; /* This spans the second column */
  }
}

@media (width < 750px) {
  .myprofile .logo {
    font-size: 22px;
  }
  .myprofile .main {
    margin-top: 1vh;
  }
  .myprofile .main h2 {
    font-size: 28px;
  }
  .myprofile .main p {
    font-size: 15px;
  }
  .myprofile button {
    font-size: 13px;
  }
  .myprofile .image-wrapper img {
    max-width: 400px;
  }
  .myprofile .footer__socials {
    justify-content: center;
  }
}

@media (width < 600px) {
  .header__banner__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .header__banner__grid .col:nth-child(3) {
    grid-area: unset;
  }

  .question__box.active .content {
    height: 250px;
  }
}

@media screen and (max-width: 1075px) {
  .myprofile .content {
    flex-direction: column;
  }
}
