html {
    overflow-x: hidden;
}

body {
    background-color: #fff;
    color: #000;
    scroll-behavior: smooth;
    width: 98vw;
    height: fit-content;
    margin: 0 auto;
    scrollbar-width: none;
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

header {
    width: 96%;
    height: 56px;
    margin: 0 auto;
    padding: 0 8px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    top: 0;
    z-index: 1;
    position: sticky;
}

header h1 {
    width: 50%;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    justify-content: left;
    align-items: center;
    font-size: 24px;
    font-family: "Macondo";
    font-weight: 400;
    font-style: normal;
}

.menu {
    display: none;
}

nav {
    width: 50%;
}

nav ul {   
    display: flex;
    flex-flow: row;
    justify-content: right;
    align-items: center;
}

ul li {
    list-style: none;
    margin-left: 32px;
}

li a {
    font-size: 12px;
    color: #000;
    text-decoration: none;
    font-family: "Macondo";
    font-weight: 400;
    font-style: normal;
}

li a:hover {
    opacity: 60%;
}

li .cart {
    width: 14px;
    height: 14px;
    margin-left: -24px;
    margin-top: 8px;
    animation: cart  4s infinite;
}

@keyframes cart { 
    100% {
        transform: rotate(360deg);
    }
}

nav ul li img:hover {
    animation-play-state: paused;
}

.header-hr {
    top: 56px;
    z-index: 1;
    position: sticky;
}

main {
    width: 100%;
    height: max-content;
    margin: 0 auto;
    margin-bottom: 40px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.up, .down {
    width: 100%;
    height: max-content;
    margin: 0 auto;
    margin-top: 28px;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.hero {
    width: 44%;
    height: max-content;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
}

p {
    line-height: 1.5;
}

.slide-container {
    width: 88%;
    height: max-content;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

.slide-container .slide {
    position: relative;
    width: 32%;
    height: 72vh;
}

.slide-container .slide img {
    width: 100%;
    height: 100%;
    margin: auto;
    animation: bottom 2s 1 ease-in-out;
}

@keyframes bottom {
    0% {
        opacity: 10%;
    }
    50% {
        opacity: 50%;
    }
    100% {
        opacity: 100%;
    }
}

.tab-container {
    width: 80%;
    height: max-content;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.tab-container h2 {
    margin: 40px auto;
}

.tab-container .tab {
    width: 100%;
    height: 60vh;
    margin: 0 auto;
    margin-bottom: 28px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
}

.tab-container .tab .tab-image {
    width: 48%;
    height: 100%;
}

.tab-container .tab .tab-image img {
    width: 100%;
    height: 100%;
}

.tab-container .tab .hover-text {
    width: 32%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.tab-container .tab .hover-text p {
    font-style: italic;
}

.tab-container .tab .hover-text p a {
    color: #d87093;
    font-weight: 800;
    font-style: oblique;
}

.btn {
    text-decoration: none;
    text-align: center; 
    color: #fff;
    background-color: #000;
    width: 16%;
    margin: 0 auto;
    margin-top: 20px;
    border: 8px solid #000;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.btn:hover {
    opacity: 70%;
    transform: scale(1.05);
}

.home-btn {
    position: sticky;
    bottom: 4%;
    left: 100%;
    z-index: 1;
    overflow: hidden;
    font-size: 20px;
    color: #000;
    text-decoration: none;
    scroll-behavior: smooth;
}

footer {
    width: 96%;
    height: 40px;
    margin: 0 auto;
    padding: auto;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

footer .icon-container {
    width: fit-content;
    height: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;
    align-items: center;
}

footer p {
    font-size: 16px;
    font-style: italic;
}

footer .icon-container .icon {
    width: 18px;
    height: 18px;
    margin-left: 20px;
}

footer .icon-container .icon:hover {
    opacity: 60%;
}

@media screen and (max-width: 821px) {
    .hero {
        width: 60%;
    }

    .slide-container {
        width: 96%;
    }

    .slide-container .slide{
        height: 48vh;
    }

    .tab-container {
        width: 92%;
    }
}
@media screen and (max-width: 768px) {
    header {
        height: 48px;
        padding: 0 8px;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        top: 0;
        z-index: 1;
        position: sticky;
        scrollbar-width: none;
    }

    .menu {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        display: flex;
        flex-flow: row;
        float: right;
        cursor: pointer;
    }

    #menuList {
        transition: all 0.25s;
    }

    nav ul {
        width: 96%;
        height: 96vh;
        margin: 0 auto;
        flex-flow: column;
        top: 40px;
        right: 0;
        position: absolute;
        z-index: 1;
        overflow: hidden;
        background-color: #fff;
        display: flex;
        flex-flow: column; 
        justify-content: center;
        align-items: center;
    }

    ul li {
        margin-bottom: 28px;
        margin-left: -20px;
    }

    ul li a {
        color: #000;
    }

    ul .cart {
        margin: 0 auto;
        margin-top: 0;
    }

    .header-hr {
        top: 48px;
    }

    .hero {
        width: 88%;
    }

    .slide-container {
        flex-flow: column;
    }

    .slide-container .slide {
        width: 96%;
        margin-bottom: 8px;
    }
    
    .slide-container .slide img {
        width: 100%;
    }

    .tab-container {
        width: 96%;
    }
        
    .tab-container .tab {
        width: 96%;
        height: max-content;
        margin-bottom: 12px;
        display: flex;
        flex-flow: column;
    }

    .tab-container .tab .tab-image {
        width: 100%;
        height: 100%;
    }

    .tab-container .tab .tab-image img {
        width: 100%;
        height: 100%;
    }

    .tab-container .tab .hover-text {
        width: 88%;
        justify-content: center;
    }

    .tile {
        width: 92%;
        height: max-content;
        display: flex;
        flex-flow: column;
    }

    .tile div {
        width: 100%;
        height: max-content;
        margin-top: 0;
        flex-flow: column;
        justify-content: center;
    }

    .tile div img {
        width: 100%;
        height: 64vh;
        margin: 0 auto;
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 480px) {    
    header h1 {
        font-size: 16px;
    }
    
    header h1, .menu {
        margin-top: 4px;
    }

    .menu {
        width: 16px;
        height: 16px;
    }

    .hero {
        margin-top: 0;
    }

    .slide-container .slide {
        height: 68vh;
    }

    .slide-container .slide .hover-text {
        width: 84%;
    }

    .btn {
        width: 32%;
    }

    footer p {
        font-size: 12px;
    }

    footer .icon-container .icon {
        width: 16px;
        height: 16px;
        margin-left: 12px;
    }
}

@media screen and (max-width: 328px) {
    .slide-container .slide {
        height: 64vh;
    }

    footer .icon-container .icon {
        width: 14px;
        height: 14px;
    }

}
