/* BASIC PAGE SETUP START */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --blue: #84cec2;
    --orange: #e97e3a;
    --purple: #79517d;
    --grey: #414042;
    --white: #fff;
    --offwhite: #adadad;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
}

html {
    background-color: var(--grey);
    
    background-image: url("../img/background/temp_2.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: fixed;
    background-attachment: fixed;

    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

a {
    text-decoration: none;
    color: var(--white);
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
}

p {
    padding-inline: 20px;
}

hr {
    color: var(--offwhite);
}

/* .hidden {
    display: none;
} */

/* BASIC PAGE SETUP END */

/* BUTTON HANDLING START */

.button {
    background-color: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(1rem);
    border: none;
    padding: 15px;
    /* border-radius: 25px; */
    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);

    transition: 0.5s ease;
}

.button:hover {
    background-color: hsl(295 21% 40% / 0.5);
}

.button-shopping {
    background-color: var(--purple);
    backdrop-filter: blur(1rem);
    border: none;
    padding: 10px;
    cursor: pointer;

    margin-inline: 5px;

    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    font-size: 12px;
    user-select: none;

    transition: 0.5s ease;
}

.button-shopping:hover {
    background-color: var(--grey);
}

.cart-checkbox {
    font-size: 12px;
    user-select: none;
}

.item-popup {
    padding-inline: 10px;
    height: 65px;
    width: auto;
    min-width: 200px;

    position: relative;

    transition: height 0.5s;
    overflow: hidden;

    background-color: var(--blue);
    color: var(--grey);

    cursor: default;
}

.item-popup:hover {
    height: 300px;
}

/* BUTTON HANDLING END */

/* ICON SETUP START */

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

/* Add this to you HTML where you want a symbol and change the word to what symbol you need, or go to https://fonts.google.com/icons to find the icon you want to add
<span class="material-symbols-outlined">search</span> */

/* ICON SETUP END */

/* PRIMARY HEADER & NAVIGATION START */

.logo-header {
    margin: 2rem;
    max-width: 50px;
    background-color: hsl(0 0% 20% / 0.5);
    padding: 10px;
    border-radius: 100%;
    backdrop-filter: blur(1rem);
}

.primary-header {
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-toggle {
    display: none;
}

.primary-navigation {
    list-style: none;
    padding: 0;
    margin: 0;

    background: hsl(0 0% 0% / 0.5);
}

/* THIS IS A TEST FUNCTION FOR THE MENU SECTION > REMOVE IF UNDESIRED [START] */
.primary-navigation a:hover {
    transition: .5s ease;

    padding: 10px;
    background: hsl(0 0% 100% / 0.2)
}
/* THIS IS A TEST FUNCTION FOR THE MENU SECTION > REMOVE IF UNDESIRED [END] */

@supports (backdrop-filter: blur(1rem)) {
    .primary-navigation {
        background: hsl(0 0% 100% / 0.1);
        backdrop-filter: blur(1rem);
    }
}

.primary-navigation a {
    text-decoration: none;
}

.primary-navigation a > [aria-hidden="true"] {
    font-weight: bold;
    margin-inline-end: .75em;
}

@media (min-width: 50em) and (max-width: 60em) {
    .primary-navigation {
        --gap: 0.5em;
        
        text-align: center;
    }

    .mid-hidden {
        display: none;
    }
}

@media (max-width: 50em) {
    .primary-navigation {
        --gap: 2em;

        position: fixed;
        z-index: 1000;
        inset: 0 0 0 30%;

        flex-direction: column;
        padding: min(30vh, 10rem) 2em;

        transform: translateX(100%);
        transition: transform 350ms ease-in;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        background: url("../img/icons/menu.png");
        background-repeat: no-repeat;
        background-size: cover;
        border: 0;
        width: 2rem;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
        cursor: pointer;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url("../img/icons/close.png");
    }
}

@media (min-width: 35em) {
    .primary-navigation {
        --gap: clamp(1.5rem, 5vw, 3rem);
        padding-block: 2rem;
        padding-inline: clamp(3rem, 8vw, 10rem);
    }
}

/* PRIMARY HEADER & NAVIGATION END */

/* SECTION HANDLING START */

.section {
    max-width: 80vw;
    margin: 0 auto;

    text-align: center;
}

.first-section {
    margin-top: -5rem;
}

.section-landing {
    background-color: hsl(0 0% 20% / 0.5);
    backdrop-filter: blur(1rem);

    padding-block: 20px;
    padding-inline: 10px;
}

.section-landing-strip {
    max-width: 80vw;
    margin: 0 auto;
}

.section-image-strip {
    backdrop-filter: blur(0rem);
}

.section-products {
    background-color: hsl(0 0% 20% / 0.5);
    backdrop-filter: blur(1rem);

    padding-block: 20px;
    padding-inline: 10px;
}

.section-gallery {
    background-color: hsl(0 0% 20% / 0.5);
    backdrop-filter: blur(1rem);

    padding-block: 20px;
    padding-inline: 10px;
}

.section-legacy {
    background-color: hsl(0 0% 20% / 0.5);
    backdrop-filter: blur(1rem);

    padding-block: 20px;
    padding-inline: 10px;
}

.section-contact {
    background-color: hsl(0 0% 20% / 0.5);
    backdrop-filter: blur(1rem);

    padding-block: 20px;
    padding-inline: 10px;
}

.section-footer {
    background-color: hsl(0 0% 20% / 0.6);
    backdrop-filter: blur(1rem);

    padding-block: 5px;
    padding-inline: 10px;

    font-weight: 100;
    font-size: 10px;
}

/* SECTION HANDLING END */

/* IMAGE HANDLING START */

.landing-img {
    max-height: 20rem;
    max-width: 15rem;
}

.mousepad-img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.amount-1 {
    display: block;
}

.gallery-images {
    max-width: 100%;
}

/* TEST STRIP LANDING SECTION START */

.image-strip {
    padding-top: 100vh;
}

.strip-image-1 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
    width: 100%;

    clip-path: polygon(5% 0, 25% 0, 20% 100%, 0% 100%);

    transition: 1s ease;
}

.strip-image-1:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 999;
}

.strip-image-2 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
    width: 100%;

    clip-path: polygon(25% 0, 45% 0, 40% 100%, 20% 100%);

    transition: 1s ease;
}

.strip-image-2:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 999;
}

.strip-image-3 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
    width: 100%;

    clip-path: polygon(45% 0, 65% 0, 60% 100%, 40% 100%);

    transition: 1s ease;
}

.strip-image-3:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 999;
}

.strip-image-4 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
    width: 100%;

    clip-path: polygon(60% 0, 80% 0, 75% 100%, 55% 100%);

    transition: 1s ease;
}

.strip-image-4:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 999;
}

.strip-image-5 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
    width: 100%;

    clip-path: polygon(80% 0, 100% 0, 95% 100%, 75% 100%);

    transition: 1s ease;
}

.strip-image-5:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 999;
}

/* TEST STRIP LANDING SECTION END */

/* IMAGE ENLARGEMENT SECTION START */

#gallery-image {
    cursor: pointer;
    transition: 0.3s;
}
  
#gallery-image:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
  
/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 90vw;
    height: auto;
}
  
/* Add Animation */
.modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}
  
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
  
/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* IMAGE ENLARGEMENT SECTION END */

/* IMAGE HANDLING END */

/* SPECIAL TEXT HANDLING START */

.text-left {
    text-align: left;
}

.contacts {
    color: var(--offwhite);
}

.contacts:hover {
    color: var(--white);
    transition: .3s ease;
}

.terms {
    font-size: 12px;
}

.instructions {
    font-size: 14px;
}

/* SPECIAL TEXT HANDLING END */

/* GRID HANDLING START */

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-four {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

/* GRID HANDLING END */

/* MEDIA HANDLING START */

@media screen and (max-width: 1200px) {
    .grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 50em) and (max-width: 60em) {
    .first-section {
        margin-top: -2rem;
    }  
}

@media screen and (max-width: 800px) {
    .grid-two {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-four {
        grid-template-columns: repeat(1, 1fr);
    }

    .landing-strip {
        display: none;
    }

    .first-section {
        margin-top: 0;
    } 
}

/* MEDIA HANDLING END */