/* Styling Start */

:root {
    /* --clr-dark: #172554; */
    --clr-dark: #18181b;
    --clr-lightdark: #082f49;
    --clr-light: #f9fafb;
    --clr-sky: #0c4a6e;
    --clr-sky200: #bae6fd;
    --clr-sky300: #7dd3fc;
    --clr-sky400: #38bdf8;
    --clr-sky500: #0ea5e9;
    --clr-sky600: #0284c7;
    --clr-skyhover: #38bdf8;

    /* --clr-scarlet: #FB350E; */
    --clr-scarlet: #dc2626;
    --clr-lightscarlet: #fee2e2;
    /* --clr-lightscarlet: #fff5f3; */
    --clr-danger: #f44336;
    --clr-ghostwhite: #FFFAFF;
    --clr-platinum: #F4F4F5;
    --clr-secondary: #fecaca;
    /* --clr-secondary: #fee2e2; */

    --clr-teal: #042f2e;
    --clr-teal200: #99f6e4;
    --clr-teal400: #2dd4bf;
    --clr-teal600: #059669;

    --clr-purple: #3b0764;
    --clr-purple200: #e9d5ff;
    --clr-purple400: #c084fc;
    --clr-purple600: #9333ea;

    /* sky	rgb(12, 74, 110) */

    /* sizes */
    --size-xxs: 0.5rem;
    --size-xs: 0.75rem;
    --size-sm: 0.875rem;
    --size-base: 1rem;
    --size-lg: 1.125rem;
    --size-xl: 1.25rem;
    --size-2xl: 1.5rem;
    --size-3xl: 1.875rem;
    --size-4xl: 2.25rem;
    --size-5xl: 3rem;
    --size-6xl: 3.75rem;
    --size-7xl: 4.5rem;
    --size-8xl: 6rem;
    --size-9xl: 8rem;
    --size-10xl: 10rem;
}

* {
    margin: 0;
    line-height: calc(1em + .5rem);
}

body {
    font-family: 'General Sans', sans-serif;
    background-color: var(--clr-ghostwhite);
    color: var(--clr-dark);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    user-select: none;
}

button {
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

input {
    display: block;
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 3px;
  }
  
  body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
  }
  
  body::-webkit-scrollbar-thumb {
    background-color: var(--clr-scarlet);
    outline: 1px solid var(--clr-scarlet);
  }

/* Styling End */

/* Utils Start*/

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
/* @media (min-width: 640px) {} */

/* md */
/* @media (min-width: 768px) {} */

/* lg */
/* @media (min-width: 1024px) {} */

/* xl */
/* @media (min-width: 1280px) {} */

/* 2xl */
/* @media (min-width: 1536px) {} */

.btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 6px;
    border: 2px solid var(--clr-scarlet);
    color: var(--clr-scarlet);
    /* box-shadow: 0 0 5px 10px var(--clr-scarlet); */
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: var(--clr-scarlet);
    color: var(--clr-light);
}

.chosen {
    background-color: var(--clr-scarlet);
    color: var(--clr-light);
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section {
    margin-top: 1rem;
}

.mainC {
  display: block;
}

.error__message {
    width: 100%;
    border: 1px solid red;
    font-size: var(--size-2xl);
    color: var(--clr-scarlet);
}

/* xs */
@media (min-width: 475px) {
    .container {
      max-width: 475px;
    }
  }
  
  /* sm */
  @media (min-width: 640px) {
    .container {
      max-width: 640px;
    }
  }
  
  /* md */
  @media (min-width: 768px) {
    .container {
      max-width: 768px;
    }
  }
  
  /* lg */
  @media (min-width: 1024px) {
    .container {
      max-width: 1024px;
    }

    .section {
        margin-top: 2rem;
    }
  }
  
  /* xl */
  @media (min-width: 1280px) {
    .container {
      max-width: 1280px;
      padding-right: 4rem;
      padding-left: 4rem;
    }
  }
  
  /* 2xl */
  @media (min-width: 1536px) {
    .container {
      max-width: 1536px;
    }
  }

/* Utils End */


/*  Start */

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* padding-inline: 5rem; */
    gap: 2em;
    /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); */
    border-bottom: 2px solid var(--clr-scarlet);
}

.header__brand {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-dark);
    flex: 1;
    transition: color 0.3s;
}

.header__brand:hover {
    color: var(--clr-scarlet);
}

.header__menu, .header__br {
    display: none;
}

.header__chapter {
    /* display: none; */
    text-decoration: none;
    color: var(--clr-dark);
    font-size: var(--size-xl);
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.5s;
}

.header__chapter:hover {
    color: var(--clr-scarlet);
}

.header__more {
    color: var(--clr-dark);
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.header__br_sm {
    flex: 1;
}

.dropdown {
    position: relative;
}
.dropdown-content {
    position: absolute;
    display: none;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    gap: 1em;
    width: 125px;
    right: 0;
    /* padding-top: 15px; */
    padding: 1em;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;

    animation-name: showup;
    animation-duration: .5s;
}

.dropdown-content a {
    cursor: pointer;
    text-align: center;
}
.dropdown:hover .dropdown-content {
    display: flex;
}

@keyframes showup {
    from {
        /* transform: translateY(20%); */
        opacity: 0.1;
    }
    to {
        /* transform: translateY(0); */
        opacity: 1;
    }
}

.logout__modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: #19191980;
}

.logout__modal_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    position: relative;
    margin-left: 15em;
    margin-right: 15em;
    padding: 2em 5em;
    background-color:#fefefe;
}

.logout__modal_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Breadcrumbs */

.breadcrumb {
    width: 100%;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--clr-scarlet);
}

.breadcrumb__list{
    padding: 0;
    margin-left: 1em;
    list-style: none;
}

.breadcrumb__li {
    display: inline;
}

.breadcrumb__li+li:before {
    content: "/\00a0";
    padding: 0.5em;
}

.breadcrumb__link {
    color: var(--clr-dark);
    text-decoration: none;
}

.breadcrumb__link:hover {
    text-decoration: underline;
}

/* 1024px */
@media (max-width: 1024px) {
    .breadcrumb__link {
        font-size: var(--size-sm);
    }
}

/* sm */
@media (max-width: 640px) {
    .breadcrumb__link {
        font-size: var(--size-sm);
    }
}


/* lg */
@media (min-width: 1024px) {
    
    .header__br {
        display: block;
        flex: 1;
    }
    
    .header__menu {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        gap: 2em;
    }
    
    .header__link {
        display: inline-block;
        text-decoration: none;
        font-size: var(--size-sm);
        font-weight: 600;
        color: var(--clr-white);
        padding-inline: 0.5em;
        transition: color 0.3s;
    }

    .header__link::after {
        content: '';
        display: block;
        /* margin: auto; */
        width: 0;
        height: 2px;
        background: var(--clr-scarlet);
        transition: width .3s;
    }
    
    .header__link:hover {
        color: var(--clr-scarlet);
    }

    .header__link:hover::after {
        width: 100%;
    }

    
    .header__line {
        border: 1px solid var(--clr-light);
        padding-top: 1.5em;
    }
    
    .header__profile {
        color: var(--clr-light);
        display: block;
        width: 1.5rem;
        height: 1.5rem;
    }

    .header__signup {
        font-size: var(--size-sm);
        letter-spacing: -0.04em;
    }

    .header__more {
        display: none;
    }

    .header__br_sm {
        display: none;
    }

    .mobileNavLangBtn {
        display: none;
    }
}

/* Header End */

/* Main Start */


.main {
    width: 100%;    
}

.main__title {
    font-size: var(--size-2xl);
    color: var(--clr-scarlet);
    letter-spacing: 0.01em;
}

.main__p {
    font-size: var(--size-base);
    margin-top: 1em;
    letter-spacing: 0.05em;
}

.main__sm_p {
    font-size: var(--size-base);
    letter-spacing: 0.05em;
}

.main__card {
    margin-top: 3em;
}

.main__sm_card {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 1em;
    padding: 0.3em 0.5em;
    height: 15%;
    /* border: 1px solid red; */
    /* background-color: var(--clr-platinum); */
}

.main__img {
    margin-top: 1em;
    max-width: 100%;
    height: auto;
}

.main__sm_img {
    max-width: 20%;
    height: auto;
}

.inline {
    display: inline;
}

/* md */
@media (min-width: 768px) {
    .main__title {
        font-size: var(--size-3xl);
    }
    
    .main__p {
        font-size: var(--size-lg);
    }
    
    .main__sm_p {
        font-size: var(--size-lg);
    }
}

/* lg */
@media (min-width: 1024px) {
    .main__title {
        font-size: var(--size-4xl);
    }
    
    .main__p {
        font-size: var(--size-xl);
    }
    
    .main__sm_p {
        font-size: var(--size-xl);
    }
}

/* xl */
@media (min-width: 1280px) {
    .main {
        width: 75%;
        padding-left: 1.5em;
        /* border-left: 1px solid var(--clr-scarlet); */
        /* border: 1px solid red; */
    }
}

/* Main End */

/* Home Start */

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    text-align: center;
    /* background-image: url("home.jpg");
    background-size: cover; */
}

.home__title {
    color: var(--clr-scarlet);
    font-size: var(--size-4xl);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.title__box {
    position: relative;
}

.risesbot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
}

.home__subtitle {
    font-size: var(--size-base);
    line-height: 0.9;
    color: var(--clr-dark);
}

.home__description {
    max-width: 90ch;
    font-size: var(--size-sm);
    text-align: justify;
}

.home__btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 100px;
    color: var(--clr-scarlet);
    text-transform: uppercase;
    font-size: var(--size-sm);
    outline: 3px solid var(--clr-scarlet);
    transition: all 0.3s;
  }
  
.home__btn:hover {
    background-color: var(--clr-scarlet);
    scale: 1.3;
    color: var(--clr-light);
}

/* Chapter Card */

.chapter {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: justify;
}

.chapter__card {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  min-width: 100%;

  transition: all 0.5s;
  /* align-items: center; */
  /* background-color: var(--clr-platinum); */
  /* background-color: #F4F4F5; */
  /* border: 1px solid var(--clr-scarlet); */
}

.chapter__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  padding-inline: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1));
  transition: all 0.5s;
}

.chapter__content_hidden {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5em;
    overflow: hidden;
    max-height: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.5s;
}

.chapter__card:hover {
  translate: 0em -0.5em;
}

.chapter__card:hover .chapter__content {
  background-color: rgba(255, 255, 255, 1);
  translate: 0em 1em;
}

.chapter__card:hover .chapter__content_hidden {
    transform: scaleY(100%);
    max-height: 300px;
}

.chapter__bg {
  background-size: cover;
  background-position: center;
}

.chapter__empty {
  width: 15em;
  height: 15em;
}

.chapter__card_img {
  align-self: center;
  max-width: 20em;
  height: auto;
  border-radius: 6px;
}

.chapter__card_title {
  text-align: center;
  text-transform: uppercase;
}

.chapter__card_desc {
  font-size: var(--size-sm);
  text-align: justify;
}

.chapter__card_btn {
  text-align: center;
  font-size: var(--size-sm);
}

/* Testing Cards */ 

.test {
  display: flex;
  /* align-items: center; */
  justify-content: flex-start;
  gap: 1rem;
  overflow-x: auto;
  min-height: 31em;
}

.test__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  min-width: 100%;
  scroll-snap-align: center;

  transition: all 0.5s;
}

.snap {
  scroll-snap-type: x proximity;
}

.test__margin {
  margin-bottom: 1rem;
}

.test__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1));
  transition: all 0.5s;
}

.test__card:hover {
  translate: 0em -0.5em;
}

.test__card:hover .test__content {
  background-color: rgba(255, 255, 255, 1);
  translate: 0em 2em;
}

.test__bg {
  background-size: cover;
}

.test__empty {
  width: 15em;
  height: 15em;
}

/* md */
@media (min-width: 768px) {
  .chapter {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
  }
  
  .chapter__card {
    width: 48%;
    justify-content: space-around;
  }

  .about__container {
    flex-direction: row;
    /* flex-wrap: wrap; */
    gap: 1.5rem;
  }
}

/* lg */
@media (min-width: 1024px) {
    .home__subtitle {
      font-size: var(--size-2xl);
    }
  
    .home__title {
      font-size: var(--size-7xl);
    }
  
    .home__description {
      font-size: var(--size-lg);
      text-align: justify;
    }
  
    .home__btn {
      font-size: var(--size-lg);
    }

    .about__title {
      font-size: var(--size-4xl);
    }

    .about__desc {
      font-size: var(--size-lg);
    }
  }
  
  /* xl */
  @media (min-width: 1280px) {
    .home {
      gap: 2rem;
    }
  
    .home__subtitle {
      font-size: var(--size-4xl);
    }
  
    .home__title {
      font-size: var(--size-9xl);
    }
  
    .home__description {
      font-size: var(--size-xl);
    }
  
    .home__btn {
      font-size: var(--size-xl);
    }

    .chapter__card {
      min-width: 20.5%;
    }

    .about__title {
      font-size: var(--size-5xl);
    }

    .about__desc {
      font-size: var(--size-xl);
    }

    .test__card {
      min-width: 30.5%;
    }

    .chapter__card_desc, .chapter__card_btn {
      font-size: var(--size-md);
    }

    .chapter__card_img {
      height: 15em;
    }

    .last {
      align-content: center;
    }
  }

/* Home End */

/* Content Start */

.content {
    text-align: center;
}

.content__title {
    display: flex;
    justify-content: center;
    font-size: var(--size-5xl);
    color: var(--clr-scarlet);
}

.content__description {
    display: flex;
    justify-content: center;
    max-width: 60ch;
    font-size: var(--size-xl);
    margin: 2rem auto;
}

.content__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'image1 content1'
        'content2 image2'
        'image3 content3'
        'content4 image4'
    ;
    place-items: center;
    width: 90%;
    margin: 0 auto;
    background-color: var(--clr-lightscarlet);
}

.content__image1 {grid-area: image1;}

.content__image2 {grid-area: image2;}

.content__image3 {grid-area: image3;}

.content__image4 {grid-area: image4;}

.content__content1 {grid-area: content1;}

.content__content2 {grid-area: content2;}

.content__content3 {grid-area: content3;}

.content__content4 {grid-area: content4;}

.content__module {
    padding: 0 2rem;
}

.content__module-subtitle {
    display: flex;
    justify-content: center;
    font-size: var(--size-2xl);
    color: var(--clr-scarlet);
}

.content__module-desc {
    display: flex;
    justify-content: center;
    font-size: var(--size-lg);
    margin: 2rem 0;
    text-align: justify;
}

/* xl */
@media (max-width: 1536px) {
    .content__module-subtitle {
        font-size: var(--size-xl);
    }

    .content__module-desc {
        font-size: var(--size-base);
    }
}

@media (max-width: 1280px) {
    .content__module-subtitle {
        font-size: var(--size-lg);
    }

    .content__module-desc {
        font-size: var(--size-sm);
    }
}

/* sm */
@media (max-width: 640px) {
    .content__title {
        font-size: var(--size-3xl);
        color: var(--clr-scarlet);
    }
    
    .content__description {
        font-size: var(--size-base);
        margin: 1rem auto;
    }

    .content__container {
        grid-template-columns: 1fr;
        grid-template-areas: 
        'image1'
        'content1'
        'image2'
        'content2'
        'image3'
        'content3'
        'image4'
        'content4';
        width: 100%;
    }

    .content__module-subtitle {
        margin-top: 1rem;
        color: var(--clr-scarlet);
    }
    
    .content__module-desc {
        margin: 1rem 0;
        text-align: justify;
    }
}

/* Content End */

/* Mobile-nav Start */

.mobile-nav {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    gap: 2em;
    min-width: 100%;
    min-height: 100%;
    background-color: var(--clr-dark);
    z-index: 999;
    transition: 0.5s;
}

.mobile-nav__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    list-style-type: none;
    padding: 0;
}

.mobile-nav__link {
    font-size: var(--size-xl);
    font-weight: 600;
    text-decoration: none;
    color: var(--clr-light);
    transition: all 0.3s;
}

.mobile-nav__login {
    font-size: var(--size-xl);
}

.mobile-nav__link:hover {
    color: var(--clr-skyhover);
}

.mobile-nav__line {
    border: 1px solid var(--clr-light);
    padding-left: 5em;
}

.mobile-nav__brand {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1em 2em;
}

.mobile-nav__close {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--clr-light);
    display: block;
    margin: 1em 2em;
    width: var(--size-4xl);
    height: var(--size-4xl);
}

/* Mobile-nav End */

/* Login Start */

.login__container {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    justify-content: center;
    align-content: center;
    /* height: 80vh; */
    width: 100%;
}

/* .login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1em;
    min-height: 80vh;
} */

.login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    width: 100%;
    margin: 0 auto;
    padding: 1em;
    background-color: var(--clr-lightscarlet);
    border-radius: 10px 10px 0 0;
}

.login:hover {
    cursor: pointer;
}

/* .login__box {
    padding: 2em;
    border-radius: 6px;
    width: 100%;
    border: 3px solid var(--clr-scarlet);
} */

.login__box {
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-height: 0;
    background-color: var(--clr-lightscarlet);
    transition: max-height 0.5s;
}

.maxHeight {
    max-height: 300px;
}

.divider {
    height: 1px;
    margin: 1em 0;
    /* background-color: var(--clr-scarlet); */
  }

.login__form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
    padding: 1em;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
}

.login__title {
    margin-bottom: 2em;
    text-align: center;
}

.login__infobox {
    padding: 2em;
    margin: 0 auto;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    border: 3px solid var(--clr-scarlet);
}

.horizontal__line {
    border: 1px solid var(--clr-light);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 3em;
    margin-right: 3em;
}

.login__link {
    text-decoration: none;
    font-weight: 600;
    color: var(--clr-white);
    transition: color 0.3s;
}

.login__link:hover {
    color: red;
    /* color: var(--clr-scarlet); */
}

.login__label {
    font-size: var(--size-xl);
    font-weight: 600;
}

.login__input {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
    width: 100%;
    font-size: var(--size-base);
    border-radius: 6px;
    border: 2px solid var(--clr-scarlet);
}

.login__submit {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* .login__button {

} */

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
@media (min-width: 640px) {
    .login, .login__box, .login__infobox {
        width: 75%;
    }

}

/* md */
@media (min-width: 768px) {
    .login, .login__box, .login__infobox {
        width: 55%;
    }
}

/* lg */
@media (min-width: 1024px) {
    .login, .login__box, .login__infobox {
        width: 40%;
    }
    
    .login__label {
        font-size: var(--size-base);
    }
    
    .login__input {
        font-size: var(--size-sm);
    }
}

/* xl */
@media (min-width: 1280px) {
    .login, .login__box, .login__infobox {
        width: 30%;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .login, .login__box, .login__infobox {
        width: 25%;
    }
}

/* Login End */

/* Register Start */

.signup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.signup__box {
    padding: 2em;
    border-radius: 6px;
    border: 3px solid var(--clr-scarlet);
    width: 100%;
    margin-top: 2em;
}

.signup__form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.signup__inputbox {
    /* border: 1px solid white; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup__title {
    margin-bottom: 2em;
    text-align: center;
}

.signup__label {
    font-size: var(--size-xl);
    font-weight: 600;
}

.password__alert {
    color: red;
    /* opacity: 0.5; */
    font-size: var(--size-sm);
}

.signup__input {
    padding: 1em;
    /* padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0.5em; */
    margin-top: 1em;
    margin-bottom: 1.5em;
    margin-right: 1em;
    font-size: var(--size-xs);
    border-radius: 6px;
    width: 100%;
    border: 2px solid var(--clr-scarlet);
    /* transition: border 0.1s; */
}

.signup__input[type="submit"] {
    justify-content: center;
}

.signup__input:focus {
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
    border: 3px solid var(--clr-scarlet);
}

.test {
    border: 1px solid red;
}

.test__name {
    display: flex;
}

.test__other {
    display: flex;
}

.test__otherlabel {
    display: flex;
}

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
@media (min-width: 640px) {
    .signup__box {
        width: 75%;
    }
}

/* md */
@media (min-width: 768px) {
    .signup__box {
        width: 70%;
    }
}

/* lg */
@media (min-width: 1024px) {
    .signup__box {
        width: 60%;
    }
}

/* xl */
@media (min-width: 1280px) {
    .signup__box {
        width: 45%;
    }

    .signup__label {
        font-size: var(--size-xl);
    }

    .signup__input {
        font-size: var(--size-sm);
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .signup__box {
        width: 40%;
    }
}

/* Register End */

/* Chatbot Start */

.chatbot {
    height: 4em;
    width: 4em;
    background-color: var(--clr-light);
    border: 2px solid red;
    z-index: 999;
    position: fixed;
    bottom: 0;
    right: 0;
}

.chatbot__box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4em;    
}

.chatbot__icon {
    color: var(--clr-dark);
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    transition: scale 0.3s;
}

.chatbot__modal {
    position: fixed;
    /* position: relative; */
    top: 0;
    right: 0;
    height: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.2s;
}

.chatbot_button_area{
    padding-bottom: 1%;
}

.msger-chat {
    overflow-y: auto;
}

.chatbot__options-list {
  list-style: none;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@keyframes slidein {
    from {
      margin-left: 100%;
      margin-top: 100%;
      /* width: 300%; */
    }
    
    to {
        margin-left: 0%;
        margin-top: 0%;
      /* width: 100%; */
    }
}

@keyframes slideOut {
    from {
        margin-left: 0%;
        margin-top: 0%;
      /* width: 100%; */
    }
    
    to {
        margin-left: 100%;
        margin-top: 100%;
        /* width: 300%; */
    }
}

.chatbot__close {
    position: absolute;
    color: var(--clr-dark);
    top: 0;
    right: 0;
    margin-right: 2em;
    margin-top: 2em;
    height: 1.5em;
    width: 1.5em;
    transition: scale 0.3s;
}

.chatbot__close:hover, .chatbot__icon:hover {
    scale: 1.5;
}

.chatbot__chatbox {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 1em;
    
    width: 100%;
    height: 40em;
    background-color: var(--clr-light);
    border-radius: 1em;
    padding: 2em;
    
    opacity: 0;
    transition: all 0.2s;
}

.slideIn {
    animation: slidein;
    animation-duration: 0.5s;
}

.slideOut {
    animation: slideOut;
    animation-duration: 0.5s;
}

.chatbot__message_bot {
    position: relative;
    display: flex;
    padding: 12px 10px 10px 12px;
    border-radius: 20px;
}

.chatbot__message_user{
    position: relative;
    display: flex;
    flex-direction: row-reverse;
}

.chatbot__text_bot {
    background-color: rgb(252, 214, 169);
    padding: 10px 10px 10px 12px;
    border-radius: 20px;
}

.chatbot__text_user {
    background-color: #79C7C5;
    padding: 10px 10px 10px 12px;
    border-radius: 20px;
}

.chatbot__textinput {
    display: flex;
    gap: 1em;
}

.chatbot__input {
    flex-grow: 1;
}

.chatbot__message_load {
    position: relative;
    display: flex;
    padding: 0px 10px 0px 12px;
    border-radius: 20px;
    bottom: 0%;
}

.chatbot__text_load {
    background-color: rgb(252, 214, 169);
    padding: 5px 10px 10px 12px;
    border-radius: 20px;
}
.ellipsis {
    width: 5px;
    height: 5px;
    display: inline-block;
    background-color: #18181b;
    border-radius: 50%;
    animation: bounce 1.3s linear infinite;
}
  
.one {
    animation-delay: 0.6s;
}
.two {
    animation-delay: 0.5s;
}
.three {
    animation-delay: 0.8s;
}
 @keyframes bounce {
    30% { transform: translateY(-2px); }
    60% { transform: translateY(0px); }
    80% { transform: translateY(2px); }
    100% { transform: translateY(0px); opacity: 0.5;  }
  }

/* xs */
@media (min-width: 475px) {

}

/* 2xl */
@media (min-width: 1536px) {
    .chatbot__chatbox {
        width: 40%;
    }
}

/* Chatbot End */

/* Contact Start */

.contact {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 2em;
}

.contact__header {
    display: flex;
    flex-direction: column;
    grid-column: 1 / 3;
}

.contact__card {
    display: grid;
    grid-template-columns: 35% auto;
    gap: .5em;
    border-radius: 10px;
    background-color: var(--clr-lightscarlet);
}


.contact__img {
    height: 200px;
    width: 200px;
}

.contact__info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem;
}

.contact__info h3, .contact__info svg {
    color: var(--clr-scarlet);
}

.contact_details p {
    text-align: justify ;
}

.contact__form {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 40% auto;
    gap: 2em;
    margin-top: 1em;
}

.contact__form_info {
    display: grid;
    /* text-align: justify; */
    align-content: center;
    gap: 1.5em;
}

.contact__form_info h1{
    color: var(--clr-scarlet);
}

.contact__form_box {
    display: grid;
    grid-template-columns: auto auto;
    border-radius: 6px;
    gap: 1em;
    background-color: var(--clr-lightscarlet);
    padding: 1em;
}

.contact__form_box input, textArea {
    padding: 1em 0.5em;
    border: 2px solid var(--clr-scarlet);
    border-radius: 6px;
}

.contact__form_box_button {
    grid-column: 2 / 3;
}

.span {
    grid-column: 1 / 3;
}

/* xl */
@media (max-width: 1280px) {
    .contact__info h3, .contact__info p {
        font-size: var(--size-base);
    }
    
    .contact__card {
        grid-column: span 2;
    }
}

/* lg */
@media (max-width: 1024px) {
    .contact__form_box, .contact__form_info {
        grid-column: span 2;
    }
}

/* sm */
@media (max-width: 640px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact__header {
        text-align: center;
        font-size: var(--size-sm);
    }

    .contact__card {
        grid-template-columns: 1fr;
        place-items: center;
    }

    .contact__img {
        width: 50%;
    }

    .contact__info {
        font-size: var(--size-sm);
        text-align: justify;
        gap: 0.5rem;
    }

    .contact__header {
        grid-column: 1 / 2;
    }

    .contact__form {
        grid-column: 1 / 2;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .contact__form_info {
        font-size: var(--size-sm);
    }
    
    .contact__form_box {
        grid-template-columns: auto;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: var(--size-sm);
    }

    .contact__form_box_button {
        grid-column: 1/2;
    }

    .span {
        grid-column: 1/2;
    }
}

/* Contact End */

/* About Page Start */

/* .about {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.about__preface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preface__title {
    color: var(--clr-scarlet);
}

.about__preface_container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about__item {
    text-align: justify;
}

.asri {
    font-weight: 600;
}

.about__item_text {
    font-size: var(--size-lg);
}

.about__item img {
    width: 100%;
} */

/* sm */
/* @media (max-width: 640px) {
    .about {
        width: 100%;
        gap: 1rem;
    }
    
    .about__item_text {
        font-size: var(--size-sm);
    }
} */

/* About Page End */

/* About Us Start */

.about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__title {
    color: var(--clr-scarlet);
    font-weight: 600;
    text-decoration: underline;
}

.about__title h1 {
    font-size: var(--size-5xl);
}

.about__text {
    font-size: var(--size-lg);
}

.about__preface {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.preface__img {
    border-radius: 10px;
}

.preface__textbox, .about__us {
    text-align: justify;
}

.asri {
    /* color: var(--clr-scarlet); */
    font-weight: 600;
}

.omv {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.omv__container {
    background-color: var(--clr-lightscarlet);
    border-radius: 10px;
    padding: 1rem;
    text-align: justify;
}

.omv__container h3 {
    color: var(--clr-scarlet);
    font-size: var(--size-2xl);
}

/* xl */
@media (max-width: 1280px) {
    .about__title h1 {
        font-size: var(--size-4xl);
    }
}

/* lg */
@media (max-width: 1024px) {
    .about {
        gap: 1rem;
    }

    .about__title h1 {
        font-size: var(--size-3xl);
    }

    .about__preface {
        flex-direction: column;
        align-items: center;
    }
}

/* sm */
@media (max-width: 640px) {
    .about__title h1 {
        font-size: var(--size-2xl);
    }

    .about__text {
        font-size: var(--size-base);
    }
}

/* About Us End */

/* Profile Start */

.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 3em;
}

.profile__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    flex-basis: 30%;
    min-height: 375px;
    background-color: var(--clr-lightscarlet);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 2em;
}

.profile__card h1 {
    font-size: var(--size-3xl);
}

.profile__card_img {
    height: 80px;
    width: 80px;
    /* border-radius: 100%; */
    /* background-color: rgb(42, 42, 42); */
}

.profile__card_info {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
    text-align: center;
}

.profile__card_info h1, .profile__card_info p {
    font-size: var(--size-xl);
}

.add_child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: 100%;
    height: 125px;
    border: 2px dashed var(--clr-secondary);
    border-radius: 10px;
    font-weight: 600;
}

.add_child:hover {
    border: 2px solid var(--clr-scarlet);
    color: var(--clr-scarlet);
    cursor: pointer;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 2em;
    flex-basis: 60%;
}

.profile__progress {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    /* margin-left: auto; */
    gap: 1em;
}

.profile__progress_module {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1em;
    background-color: var(--clr-secondary);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 1em 2em;
}

.profile__progress_module p, .profile__progress_module h1 {
    font-size: var(--size-xl);
}

.child__info {
    flex-basis: 80%;
    flex-grow: 1;
}

.profile__progress_button {
    font-size: var(--size-xl);
    margin-left: auto;
}

.profile__progress_module_info {
    /* display: none; */
    max-height: 0;
    flex-grow: 1;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.profile__progress_info {
    margin-bottom: 1em;
}

.profile__progress_info p {
    font-size: var(--size-lg);
    margin-bottom: 5px;
}

.profile__progress_info:last-child {
    margin-bottom: 0;
}

.progress {
    border: 3px solid var(--clr-dark);
    width: 100%;
    height: 1em;
    border-radius: 10px;
    position: relative;
}

.progress__level {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background-color: var(--clr-scarlet);
}

.edit__modal {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    min-height: 100vh;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--clr-dark);
    font-size: var(--size-lg);
    z-index: 999;
}

.edit__modal_container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 1em 2em;
    width: 40%;
    background-color: var(--clr-light);
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.edit__close-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5em;
    color: var(--clr-scarlet);
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.5s;
}

.edit__close-btn:hover {
    transform: scale(1.25);
}

.edit__modal_header {
    width: 100%;
    color: var(--clr-scarlet);
    font-size: var(--size-sm);
}

.edit__modal_form {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
    /* padding: 1em 2em; */
}

.edit__modal_form-label {
    font-weight: 600;
    font-size: var(--size-base);
}

.edit__modal_form-input {
    padding: 1em 0.5em;
}

.edit__modal_form-btn {
    padding: 10px 20px;
    font-weight: 600;
    font-size: var(--size-lg);
    color: var(--clr-scarlet);
    border: 2px solid var(--clr-scarlet);
    background-color: var(--clr-light);
}

.edit__modal_form-btn:hover {
    cursor: pointer;
    border: 2px solid var(--clr-dark);
    color: var(--clr-dark);
}

.line {
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: var(--clr-dark);
}

/* xl */
@media (max-width: 1280px) {
    .profile__card h1 {
        font-size: var(--size-2xl);
    }

    .profile__card_info h1, .profile__card_info p {
        font-size: var(--size-lg);
    }

    .profile__progress_module p, .profile__progress_module h1 {
        font-size: var(--size-xl);
    }

    .profile__progress_info p {
        font-size: var(--size-base);
    }
}

/* lg */
@media (max-width: 1024px) {
    .profile {
        flex-direction: column;
        align-items: unset;
    }

    .profile__card {
        min-width: 50%;
    }

    .profile__progress_info p {
        font-size: var(--size-sm);
    }
}

/* sm */
@media (max-width: 640px) {
    .profile__card h1 {
        font-size: var(--size-lg);
    }

    .profile__card_info h1, .profile__card_info p {
        font-size: var(--size-base);
    }

    .profile__progress_module p, .profile__progress_module h1 {
        font-size: var(--size-base);
    }

    .profile__progress_info p {
        font-size: var(--size-sm);
    }

    .edit__modal_container {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        width: 85%;
    }

    .edit__modal_header {
        font-size: var(--size-xxs);
    }

    .edit__modal_form-label {
        font-size: var(--size-sm);
    }

    .edit__modal_form-input {
        padding: 10px;
    }

    .edit__modal_form-btn {
        padding: 5px 10px;
        font-weight: 600;
        font-size: var(--size-sm);
    }

    .edit__close-btn {
        font-size: var(--size-xl);
    }
}

/* Profile End */

/* Child Start */

.child {
    display: grid;
    grid-template-columns: auto 70%;
    gap: 1em;
    align-items: start;
}

.module__container {
    display: flex;
    flex-direction: column;
}

.module__card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5em 1em;
    margin-top: 1em;
    border-radius: 6px 6px 0 0;
    background-color: var(--clr-lightscarlet);
}

.module__card:hover {
    cursor: pointer;
}

.module__card h3 {
    color: var(--clr-scarlet);
}

.module__card p {
    font-size: var(--size-base);
}

.module__card_dropdown {
    display: flex;
    flex-direction: column;
    gap: 1em;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    padding: 0.5em 1em;
    border-radius: 0 0 6px 6px;
    background-color: var(--clr-lightscarlet);
    transition: 0.5s;
}

.show {
    /* visibility: visible; */
    opacity: 1;
    max-height: 300px;
}

.module__card_dropdown-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module__card_dropdown-list p {
    margin-left: 1em;
    margin-right: 1em;
}

.module__card_dropdown-list i {
    color: var(--clr-scarlet);
}

.dotted-line {
    height: 2px;
    border: 2px dotted var(--clr-scarlet);
}

.module__grid {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.module__grid_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
    padding: 1em;
    background-color: var(--clr-lightscarlet);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.topic__title {
    display: flex;
    color: var(--clr-scarlet);
    border-radius: 6px;
    padding: 0.5em;
    width: 100%;
    text-align: center;
}

.topic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #1e40af; */
    border: 2px solid var(--clr-scarlet);
    color: var(--clr-scarlet);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 0.5em;
    gap: 1rem;
    width: 100%;
}

.topic a {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 6px;
    border: 2px solid var(--clr-scarlet);
    color: var(--clr-scarlet);
    transform: translateX(-3px);
    /* transition: background-color 0.3s, color 0.3s; */
    transition: all 0.3s;
}

.topic a:hover {
    transform: translateX(3px);
    background-color: var(--clr-scarlet);
    color: var(--clr-light);
}

.topic p {
    font-weight: 600;
    color: var(--clr-scarlet);
}

.center {
    justify-content: center;
}

.barrier {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5em;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    opacity: 0.7;
    background-color: var(--clr-dark);
    z-index: 99;
}

.barrier p {
    opacity: 0;
    color: var(--clr-light);
    font-weight: 600;
    transition: 0.5s;
}

.barrier:hover p{
    opacity: 1;
}

/* sm */
@media (max-width: 1024px) {
    .child {
        grid-template-columns: 1fr;
    }

    .module__card {
        gap: 1rem;
    }

    .module__grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .topic__title h2{
        font-size: var(--size-base);
    }

    .topic p, .topic a {
        font-size: var(--size-sm);
    }

    .module__card h3 {
        font-size: var(--size-base);
    }

    .module__card_dropdown-list p, .module__card_dropdown-list h3 {
        font-size: var(--size-sm);
    }
}

@media (max-width: 768px) {
    .module__grid h1 {
        grid-column: unset !important;
    }
}


/* Child End */

/* Footer Start */

.footer {
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding-top: 2em;
    margin-bottom: 2em;
    border-top: 2px solid var(--clr-scarlet);
}

.footer_languageBtn {
    display: none;
}

#language {
    font-size: var(--size-xs);
}

/* sm */
@media (max-width: 768px) {
    .footer {
        font-size: 0.5rem;
    }
}

/* Footer End */