/* General */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #1e284c;
    font-family: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

#main_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 1920px;
    align-self: center;
    align-items: center;
}

html, body {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

span.material-symbols-outlined {
    margin-bottom: 1px;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    vertical-align: text-bottom;
    margin-left: 3px;
}

ul {
    list-style-type: none;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #bbb9c7;
}

::-webkit-scrollbar-thumb {
    background: #1e284c;
}

::-webkit-scrollbar-thumb:active {
    background: #101526;
}

::-webkit-scrollbar-track:horizontal {
    background: transparent;
}

::-webkit-scrollbar-thumb:horizontal {
    border-radius: 3px;
}

/* Header */

#top_bar {
    background-color: #1e284c;
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
}

#top_bar a {
    padding: 8px 12px;
    max-height: 100%;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

#top_bar a.selected {
    background-color: #eeeef1;
    color: #1e284c;
    border-radius: 0px 10px 0px 0px;
}

header {
    display: flex;
}

.logo_link {
    margin: 0px 15px;
    height: 45px;
}

#navbar {
    padding: 24px;
    height: 90px;
    background-color: #fff;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#nav_links {
    margin: 8px 15px 8px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.nav_link {
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
}

.nav_link:hover {
    color: #101526;
}

/* Swiper */

:root {
    --swiper-theme-color: #1e284c;
}

.swiper-pagination-bullet {
    background-color: #000;
}
  
.swiper-pagination-bullet-active {
    background-color: #FFFFFF;
}

.swiper {
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.swiper-slide {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: start;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-position: top;
    object-fit: cover;
    user-select: none;  /* Prevents image dragging */
    -webkit-user-drag: none;  /* Safari fix */
    -moz-user-select: none;  /* Firefox fix */
}

.slide_text {
    max-width: fit-content;
    margin-top: -13em;
    margin-left: 4%;
    display: flex;
    flex-direction: column;
}

.slide_text h1 {
    font-size: 28pt;
    color: #fff;
}

.slide_text p {
    font-size: 16pt;
    color: #fff;
}

.slide_text a {
    width: fit-content;
    margin-top: 18px;
    padding: 16px;
    background-color: #fff;
    border-radius: 12px;
    text-align: center;
}

.slide_text a:hover {
    background-color: #eeeef1;
}

/* Body */

#category_info h2 {
    font-size: 45px;
}

.browse_button {
    background-color: #eeeef1;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    margin-top: 1em;
    padding: 1em 1.4em;
    font-weight: 600;
}

.browse_button:hover {
    background-color: #e7e7e7;
}

#grid_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 92%;
    max-width: 100%;
    box-sizing: border-box;
}

.row {
    display: flex;
    height: fit-content;
    justify-content: space-between;
    gap: 8px;
}

.tile {
    flex: 1 1 calc(33.33% - 25px);
    max-width: calc(33.33% - 25px);
    box-sizing: border-box;
    aspect-ratio: 123/100;
}

.tile_img {
    width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
    border-radius: 0.6em;
}

.tile_text {
    max-width: fit-content;
    margin-top: -25%;
    padding-left: 10%;
}

.tile_text h3 {
    font-weight: 400;
}

.tile_text h1 {
    font-weight: 600;
    font-size: 28pt;
}

.tile_text h1,h3 {
    color: #fff;
}

/* Videos */

#videos_container {
    width: 92%;
    max-width: 92%;
}

#videos {
    margin-top: 1em;
    padding-bottom: 2px;
    max-width: 95vw;
    display: flex;
    flex-direction: row;
    gap: 1em;
    border-radius: 5px;
    overflow-x: scroll;
}

.video {
    width: 33.33%;
    margin-bottom: 0.5em;
    min-width: 360px;
    aspect-ratio: 5/3;
    border: 0px;
    border-radius: 12px;
}

/* Contact */

#contact_container {
    display: flex;
    flex-direction: row;
    background-color: #1e284c;
    width: 92%;
    max-width: 100%;
    border-radius: 12px;
}

#contact_wrapper {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contact {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
}

#contact h1 {
    color: #fff;
    font-size: 38px;
}

#contact p {
    color: #fff;
    font-weight: 300;
    font-size: 16px;
}

#contact_container img {
    width: 60%;
    border-radius: 0px 12px 12px 0px;
}

#contact_button {
    margin-top: 18px;
    padding: 16px;
    background-color: #fff;
    border-radius: 12px;
    text-align: center;
}

#contact_button:hover {
    background-color: #bbb9c7;
}

/* Footer */

footer {
    padding: 2rem 0 2rem 0;
    margin-top: 30px;
    background: #eeeef1;
}

#footer_content {
    width: 92%;
    max-width: 1920px;
    font-size: 1rem;
    margin: auto;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#footer_content > a {
    display: flex;
    flex-direction: row;
    max-width: fit-content;
}

#footer_content > a:hover {
    filter: brightness(95%);
}

#footer_content ul {
    font-size: 1.1rem;
}

#footer_content > p {
    font-size: 0.8rem;
    color: #a5a4ac;
}

svg.logo-copyright {
    max-width: 114px;
    max-height: 114px;
}


/* Category page */

#banner {
    width: 100%;
}

#banner img {
    max-width: 100%;
    aspect-ratio: 5/2;
}

#banner_nav {
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: -3.4em;
}

#banner_nav ul {
    height: 100%;
    width: 100%;
    padding: 1em 2em;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    background-color: rgba(255, 255, 255, 0.75);
}

#banner_nav a:hover {
    text-decoration: underline;
}

#category_card {
    width: 92%;
    display: flex;
    flex-direction: row;
}

#category_card img {
    width: 40%;
    object-fit: contain;
}

#info_wrapper {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#category_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
    width: 80%;
}

#category_info h1 {
    font-size: 52px;
}

#category_info p {
    font-weight: 300;
    font-size: 18px;
}

#shop_button {
    color: #fff;
    font-size: 18px;
    margin-top: 1em;
    padding: 1em 1.4em;
    background-color: #1e284c;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

#shop_button:hover {
    background-color: #101526;
}

.main_image {
    border-radius: 12px;
}


/* Responsive */

/* Header */

@media screen and (min-width: 800px) {
    #menu_toggle {
        display: none;
    }
    #balancer {
        display: none;
    }
    #nav_links {
        line-height: 20pt;
    }
}

@media screen and (max-width: 800px) {
    .logo_link {
        height: 30px;
    }

    .logo {
        height: 100%;
    }

    #navbar {
        height: 60px;
        justify-content: space-between;
    }

    #nav_links {
        display: none;
        position: fixed;
        left: -15px;
        top: 70px;
        background: white;
        padding: 10px;
    }

    #top_bar.active {
        position: fixed;
        top: 0px;
        z-index: 1000;
    }

    #navbar.active {
        position: fixed;
        top: 28px;
        z-index: 1000;
    }

    #nav_links.active {
        height: 100vh;
        display: flex;
        padding-bottom: 1em;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        z-index: 1000;
    }

    .nav_link {
        margin: 0;
        padding: 5px 20px;
        width: 100%;
        display: inline-block;
        font-size: 20px;
    }

    #menu_toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        color: #1e284c;
    }

    #balancer {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: default;
        color: #fff;
    }
}

@media screen and (max-width: 300px) {
    #balancer {
        display: none;
    }
}

/* Grid */

@media screen and (max-width: 1000px){
    #grid_container {
        gap: 12px;
    }
    div#category_card.product_card #shop_button {
        font-size: 16px;
        margin-top: 0px;
    }
    .browse_button {
        font-size: 16px;
    }
    .row {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .tile {
        flex: 1 1;
        max-width: 100%;
    }
    .tile_text h3 {
        display: none;
    }
}

/* Contact */

@media screen and (max-width: 950px){
    #contact_container {
        flex-direction: column-reverse;
    }
    #contact_container img {
        width: 100%;
        border-radius: 12px 12px 0px 0px;
    }
    #contact_wrapper {
        width: auto;
        margin: 36px 18px;
        align-items: flex-start;
    }
    #contact {
        width: 100%;
    }
    #contact_button {
        width: 100%;
    }
}

/* Product page */

@media screen and (max-width: 1150px){
    #banner_nav {
        font-size: 14px;
    }
    #category_card {
        flex-direction: column;
        gap: 2em;
    }
    #shop_button {
        font-size: 16px;
    }
    div#category_card.product_card {
        flex-direction: column-reverse;
    }
    #category_card h1 {
        font-size: 48px;
    }
    #category_info h2 {
        font-size: 40px;
    }
    #category_card img {
        width: 60%;
        align-self: center;
    }
    #info_wrapper {
        width: 100%;
    }
    #category_info {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    #category_card img {
        width: 100%;
    }
}

/* Video */

@media screen and (max-width: 950px){
    .video {
        max-width: 80vw;
    }
}