/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}
/* end of reset */


body {
    background-color: rgb(255, 255, 255);
    max-width:100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.header {
    display:flex;
    flex-direction:row;
    width:100vw;
    justify-content: space-between;
    padding:10px 20px;
    align-items: center;
    margin: 0%;
}

.menuBtn, .cartBtn {
    background-color:rgb(255, 255, 255);
    color:rgb(0,0,0);
    font-size:25px;
    font-weight: bold;
    width:260px;
    border:none;
    cursor: pointer;
}

#top-logo {
    display:flex;
    flex-wrap:nowrap;
    align-items: center;
    font-size:30px;
    padding:1%;
}

#content-home {
    margin-bottom: 2%;
}

#background-video {
    display:flex;
    position:relative;
    justify-content:center;
    align-items:center;
    max-width:100vw;
    background-color:rgb(255, 255, 255);
}

#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
}

#prevBtn { left: 10px; }
#nextBtn { right: 10px; }

#prevBtn:hover, #nextBtn:hover {
    background: rgba(255, 255, 255, 0.9);
}


#home-catalogue {
    max-width: 90vw;
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    align-items: start;
    margin: 5%;
}

#item1i {
    max-width:100%;
    height:auto;
}

#item2i {
    max-width:100%;
    height:auto;
}

#item3i {
    max-width:100%;
    height:auto;
}


.menuBtn:hover, .menuBtn:active {
    color:rgb(0, 0, 0);
}

.cartBtn:hover, .cartBtn:active {
    color:rgb(0, 0, 0);
}

.menu {
    position: relative;
    display: inline-block;
}

.dropdown {
    display:none;
    position:absolute;
    background-color:rgb(255, 255, 255);
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
    z-index:1;

}

.dropdown a {
    color: rgb(0, 0, 0);
    font-size: 23px;
    padding: 20px;
    width:260px;
    font-weight:bold;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown a:hover {background-color: #c9c8c8;}

.show {display:block;}

#dirt {
  width: 100vw;
  margin-bottom:0;
  margin-top:2%;
}

body {
    font-family:Arial, Helvetica, sans-serif;
    background-color:rgb(255,255,255);
}

#coming-soon-text {
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 30px;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 10px;
    }

    .menuBtn {
        max-width:15vw;
        height: auto;
        padding: 5px;
    }

    #top-logo img {
        width: 120px; /* Shrink logo */
    }

    #cart-symbol img {
        width: 50px; /* Shrink cart icon */
    }

    #cart-symbol {
        padding: 0 10px;
    }

    #top-logo {
        padding: 0;
    }

    .dropdown {
        position: absolute;
        top: 60px; /* Adjust depending on new header height */
        left: 10px;
        background-color: white;
        border: 1px solid #ccc;
        z-index: 10;
        display: none;
        flex-direction: column;
    }

    .dropdown a {
        padding: 10px;
        text-decoration: none;
        color: black;
    }
}