@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Light.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
  }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #2D5F7A;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Inter', sans-serif;
}
html.pre-translated body {
    visibility: hidden;
  }
  
html {
    font-size: 16px;
}

.navbar {
    display: block;
    text-align: center;
    padding-top: 10px;
}

.logo img {
    height: 60px;
    cursor: pointer;
}

.logo {
    cursor: default;
}
.dropdown {
    margin: 0 10px 0;
    }
.menu-button {
    display: block;
    width: 100%;
    border: none;
    padding: 10px;
    margin-top: 5px;
    background-color: #f2f2f257;
  border: 0.4px solid #cfcfcf82;
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.drop-list {
    display: none;
}

.drop-list li {
    padding: 15px;
    border-block-end: 1px solid rgba(203, 201, 201, 0.161);
    cursor: default;
}

.drop-list a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
}

.drop-list li:hover {
    background-color: rgba(203, 201, 201, 0.161);
}


.nav-link.active {
    color: #6db17a;
}

.has-submenu {
    position: relative;
}

.icon-caret {
    position: absolute;
    text-align: center;
    padding: 19px;
    right: 0;
    top: 1px;
    width: 50px !important;
    height: 50px;
    transition: transform 0.3s ease;
    transform-origin: center;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

.icon-caret.open {
    transform: rotate(0deg);
}

.submenu {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 0;
    background-color: none;
}

.submenu.open {
    display: block;
    z-index: 1;
}

.submenu a {
    margin: 0;
    padding: 5px;
    color: #7a807db3;
    font-size: 0.875rem;
}

.submenu li {
    margin: 5px;
    padding: 0;
    color: #7a807db3;
    border-block-end: none;
    transition: transform 0.2s ease;
}

.section-nav {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5%;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.2s;
}

.categories-section {
    display: grid;
    grid-template-columns: 1fr;
    margin: 20px auto;
    padding: 10px;
    max-width: 500px;
}

.category {
    text-align: center;
    cursor: pointer;
}

.category img,
video {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.section-nav span {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background-color: #f7f7f72e;
    color: white;
    padding: 10px;
    transition: opacity 0.3s;
    letter-spacing: 3px;
    align-items: center;
    text-shadow: 5px 3px 0 rgba(0, 0, 0, 0.2);
}

.section-nav:hover span {
    opacity: 0;
}

.divider {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 83.5px);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}


.inst-you-link a {
    display: block;
    line-height: 0;
    align-content: center;
}
.bi-youtube {
    padding-top: 3px;
}

.container-link-policy {
    position: relative;
    display: flex;
    flex: 1;
    margin-left: 15px;
  }
  
  .link-policy {
    position: absolute;
    display: none;
    flex-direction: column;
    align-content: center;
    bottom: 120%;
    padding-bottom: 10px;
  }
  .link-policy span {
    white-space: nowrap;
    color: #959595;
    transition: color 0.2s;
    font-size: 14px;
  }
  .link-policy span:hover {
  color: #292929;
  }
  .link-policy a {
    padding-bottom: 5px;
  }
  
  .toggle-icon-document {
    cursor: pointer;
    width: 28px;
    height: 28px;
  }

  .icon-container {
    cursor: pointer;
    width: 32px;
    height: 32px;
  }
  
  .icon-container svg path {
    transition: fill 0.3s ease;
  }
  
  .icon-container:hover svg path {
    fill: #4A90E2;
  }


.indent {
    margin: 30px 0 0;
}

@media (min-width: 768px) {
    .navbar {
        all: unset;
    }

    .menu-button {
        display: none;
    }

    .has-submenu {
        margin-right: 15px;
    }

    .navbar {
        display: grid;
        grid-template-areas:
            'logo drop-list';
        padding-top: 10px;
        padding-right: 80px;
        margin-left: 20px;
        align-items: center;
    }

    .drop-list li {
        border-block-end: none;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .drop-list li:hover {
        background-color: white;
    }

    .logo img {
        transition: transform 0.3s ease;
    }

    .logo :hover {
        transform: scale(1.2);
    }

    .section-nav {
        margin-bottom: 0px;
    }

    .icon-caret {
        transform: unset;
        transition: unset;
        right: -20px;
    }

    .icon-caret.open {
        transform: rotate(180deg);
    }

    .submenu {
        position: absolute;
        list-style-type: none;
        margin: 0;
        padding: 0;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fcfbfb;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2),
            0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .submenu a {
        text-align: center;
    }

    .submenu li {
        margin: 0;
        transition: none;
    }

    .submenu li :hover {
        background-color: #f1f0f0d4;
    }

    .nav-link {
        position: relative;
        display: inline-block;
        padding-bottom: 5px;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #6db17a;
        transition: width 0.3s ease, left 0.3s ease;
        transform: translateX(-50%);
    }

    
    .nav-link:hover::after {
        width: 100%;
        left: 50%;
    }

    .categories-section {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 25px;
        max-width: 1000px;
    }
}

@media (min-width: 1024px) {
    .categories-section {
        gap: 10px;
        padding: 25px;
    }
}