@font-face {
    font-family: 'RedHatDisplay';
    src: url('../font/redhatdisplay-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'RedHatDisplay';
    src: url('../font/redhatdisplay-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'RedHatDisplay';
    user-select: none;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.text-primary {
    color: #0B0B0B;
}

.text-secondary {
    color: #F5F5F5;
}

.text-gray {
    color: #2F2F2F;
}

.text-lgray {
    color: #B7B7B7; 
}

.text-beetroot {
    color: #A42750;
}

.text-center {
    text-align: center;
}

.bg-primary {
    background: #0B0B0B;
}

.bg-secondary {
    background: #F5F5F5;
}

.bg-gray {
    background: #2F2F2F;
}

.bg-lgray {
    background: #B7B7B7; 
}

.bg-beetroot {
    background: #A42750;
}

.t1 {
    font-size: 28px;
}

.t2 {
    font-size: 22px;
}

.t3 {
    font-size: 18px;
}

.bold {
    font-weight: bold;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 20px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-30 {
    padding-bottom: 20px;
}

.pt-60 {
    padding-top: 60px;
}

.uppercase {
    text-transform: uppercase;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sticky-bg {
    height: 95px;
}

header.sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

#video-section div {
    position: relative;
}

#video-section h1 {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 50px;
    box-sizing: border-box;
}

#video-section video {
    width: 100%;
    min-height: 90vh;
    max-height: 100vh;
    object-fit: cover;
}

header {
    position: relative;
}

nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95px;
}

#logo {
    width: 274px;
    margin-bottom: 12px;
}

#hamburger-btn {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#hamburger-btn.rotate {
    transform: translateY(-50%) rotate(-90deg);
}

#menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    height: 0;
    width: 100%;
    z-index: 1;
    top: 100%;
    background: rgba(11, 11, 11, 0.5);
    backdrop-filter: blur(14.7px);
    transition: opacity 0.3s ease, height 0.3s ease;
    box-sizing: content-box
}

#menu.show {
    opacity: 1;
    height: 140px;
    visibility: visible;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 174px;
}

.menu-links a {
    cursor: pointer;
    transition: 0.3s;
}

.menu-links a:hover {
    color: #F5F5F5;
}

#mission-section {
    position: relative;
    max-width: 1320px;
    margin: 300px auto;
}

#logo2 {
    position: absolute;
    left: -120px;
    top: -200px;
}

#mission-section article {
    padding: 0 200px;
}

#mission-section h3:first-of-type {
    position: relative;
}

#products-section {
    position: relative;
    padding: 0 100px;
    min-height: 800px;
}

#product-categories-ul {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2F2F2F;
}

.product-section-li {
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.product-section-li:hover,
.product-subcat-li:hover {
    color: #F5F5F5;
}

.product-section-li.active.main::after {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    content: url("../images/hexagon.png");
    z-index: 1;
}

.product-section-li.active {
    color: #F5F5F5;
}

#product-section-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    box-sizing: border-box;
    column-gap: 30px;
    row-gap: 30px;
}

.product-card-img {
    opacity: 1;
    height: auto;
    width: 100%;
    transition: opacity 0.3s ease-in-out;
    margin-bottom: 20px;
}

.hide {
    visibility: hidden;
}

.product-card-img.hidden {
    opacity: 0;
    height: 0;
    visibility: hidden;
    margin: 0;
}

.product-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-card p {
    width: 100%;
    word-break: break-word;
    transition: 0.3s ease;
    min-height: 92px;
}

.product-card:hover p {
    color: #F5F5F5;
}

#product-section-subcategories {
    display: flex;
    margin-bottom: 30px;
}

#product-section-subcategories li {
    cursor: pointer;
}

#product-section-subcategories li:not(:last-of-type) {
    padding-right: 20px;
    border-right: 1px solid #B7B7B7
}

#product-section-subcategories li:not(:first-of-type) {
    padding-left: 20px;
}

.product-subcat-li {
    transition: 0.3s;
}

#fullscreen-img {
    max-height: 1000px;
    width: 100%;
    object-fit: cover;
}

#full-size-img-section {
    padding: 100px 0;
}

#faq-section {
    padding: 0 100px;
    margin-bottom: 200px;
}

.faq-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.faq-card-img {
    width: 100%;
}

.faq-card-img {
    opacity: 0.5;
    transition: 0.3s;
}

.faq-card-img.active {
    opacity: 1;
}

.faq-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    word-break: break-word;
}

.faq-card.active .faq-card-img {
    opacity: 1;
}

.faq-card:hover .faq-card-img {
    opacity: 1;
}

.faq-cat-text {
    text-align: center;
    transition: 0.3s;
}

.faq-cat-text.active,
.faq-card:hover .faq-cat-text,
.faq-card.active .faq-cat-text,
.product-subcat-li.active 
{
    color: #F5F5F5;
}

.none {
    display: none;
}

.faq-div {
    padding: 20px 0;
    border-bottom: 1px solid #2F2F2F;
}

.question-div {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.question-div:hover h4,
.question-div.active h4 {
    color: #F5F5F5;
}

.question-div:hover .arrow-down ,
.question-div.active .arrow-down {
    filter: brightness(999%);
}

.faq-answer,
.faq-answer-m {
    display: none;
}

.arrow-down {
    transition: transform 0.2s ease;
}

.rotate180 {
    transform: rotate(180deg);
}

footer {
    padding: 60px 100px;
    margin: 0 auto;
    background: #2F2F2F;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-content a {
    transition: 0.3s;
}

.footer-content a:hover {
    color: #F5F5F5;
}

.lds-ring {
    color: #F5F5F5
}

.lds-ring,
.lds-ring div {
    box-sizing: border-box;
}

.lds-ring {
    display: none;
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid currentColor;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

#close-popup-btn {
    font-size: 28px;
    background: none;
    border: none;
    color: #B7B7B7;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
} 

#close-popup-btn:hover {
    color: #F5F5F5;
} 


.faq-cat-section-m {
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition: opacity 0.3s ease;
}

.popup {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    padding: 20px;
    position: relative;
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #080808;
    box-sizing: border-box;
}

.popup-d {
    display: flex; 
    height: 100%; 
    gap: 40px;
}

.popup-imgs-d {
    position: relative;
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    width: 50%; 
    overflow-x: auto; 
    gap: 20px;
    padding-right: 20px;
}

.popup-imgs-d img {
    width: 100%;
    object-fit: cover;
}

.popup-info-d {
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    width: 50%
}

.popup-info-header-d {
    display: flex; 
    justify-content: space-between; 
    align-items: baseline;
    gap: 20px;
}

.popup-m {
    display:  none;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    height: -webkit-fill-available;
    overflow: auto;
    padding: 20px;
}

.popup-header-m div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.popup-imgs-m {
    position: relative;
    height: 200px;
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 20px;
}

.popup-imgs-m img {
    width: 200px;
    object-fit: cover;
}

.line {
    display: none;
    height: 1px;
    background: #2F2F2F;
    position: absolute;
    bottom: 9px;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 460px) {
    #product-section-subcategories {
        flex-direction: column;
        gap: 10px;
    }

    #product-section-subcategories li:not(:last-of-type) {
        padding-right: 0;
        border-right: none;
    }

    #product-section-subcategories li:not(:first-of-type) {
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .line {
        width: 666px !important;
    }

    .t1 {
        font-size: 20px;
    }
    
    .t2 {
        font-size: 14px;
    }
    
    .t3 {
        font-size: 12px;
    }

    .product-section-li.active.main::after {
        top: 30px !important;
    }

    .faq-cards {
        display: flex;
        flex-direction: column;
    }

    .faq-cat-section {
        display: none !important;
    }

    .faq-cat-section-m.active {
        opacity: 1;
        height: auto; 
        visibility: visible;
    }

    #products-section {
        min-height: 430px;
    }

    .popup-d {
        display: none;
    }

    .popup-m {
        display: flex;
    }

    #close-popup-btn {
        font-size: 20px;
    }

    .popup-content {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    #product-section-gallery { 
        row-gap: 10px;
    }
}

@media (max-width: 1024px) {
    .line {
        display: block;
        width: 920px;
    }

    #product-categories-ul {
        border: unset;
    }
    
    #menu {
        height: unset !important;
        padding: 20px 50px;
    }

    .menu-links {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    nav {
        justify-content: flex-start;
        padding-left: 50px;
    }

    #mission-section {
        margin: 100px auto;
    }

    #product-section-gallery {
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
    }

    #product-categories-ul {
        justify-content: flex-start;
        overflow-y: hidden;
        border-bottom: none;
    }

    #mission-section article,
    #products-section,
    #faq-section {
        padding: 0 50px;
    }

    footer {
        padding: 60px 50px;
    }

    .footer-content {
        flex-direction: column;
    }

    #logo {
        width: 170px;
    }
    
    #hamburger-btn {
        width: 29px;
        height: 26px;
    }

    .popup-imgs-d {
        grid-template-columns: 1fr;
    }

    .product-section-li.active.main::after {
        top: 35px;
    }

    .popup-d .t2 {
        font-size: 18px;
    }

    .popup-d .t3 {
        font-size: 14px;
    }

    .popup-d #close-popup-btn {
        font-size: 20px;
    }

    #logo2 {
        width: 110px;
        height: 146px;
        left: -49px;
        top: -88px;
    }

    .footer-content ul h5 {
        display: none;
    }

    .product-card p {
        height: 96px;
    }
}

#product-categories-ul::-webkit-scrollbar {
    height: 0;
}

#product-categories-ul.d::-webkit-scrollbar,
.popup-imgs-m::-webkit-scrollbar {
    height: 4px;
}

.popup-imgs-m::-webkit-scrollbar-thumb,
.popup-imgs-m::-webkit-scrollbar-track,
#product-categories-ul::-webkit-scrollbar-thumb,
#product-categories-ul::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #2F2F2F
}
  
::-webkit-scrollbar-thumb {
    background: #888;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.arrow-down {
    background-image: url('../images/arrow-down.svg');
    background-repeat: no-repeat;
    width: 22px;
    height: 12px;
}

.question-div h4 {
    width: 90%;
}

.faq-cat-section {
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition: opacity 0.3s ease;
}

.faq-cat-section.active {
    opacity: 1;
    height: auto; 
    visibility: visible;
}

.amazon-link {
    position: relative;
    background: url('../images/amazon-btn.jpg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    width: 180px;
    height: 56px;
    transition: 0.15s ease-in-out;
    cursor: pointer;
    flex-shrink: 0;
}

.amazon-link:hover {
    background: url('../images/amazon-btn-2.png');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    width: 180px;
    height: 56px;
}

.amazon-link span {
    position: absolute;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
}

.line.d {
    display: none;
}