@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@300;400;500;600;700&family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');


.flash {
    animation: fadeA 3s ease forwards;
    position: fixed;
    z-index: 9999;
    max-width: 100%;
}

@keyframes fadeA {
    0% {opacity: 1;}
    65% {opacity: 1;}
    100% {opacity: 0;
    display: none;}
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 51px;
  background-color: var(--primary-color);
  box-shadow: 0px 9px 20px 0px var(--primary-color);
  z-index: 10;
}

.burger {
    display: none;
}
.resp-ornament {
    display: none;
}

:root {
    --primary-color: #ffffff;
    --text-color: #000000;
}

.header-left {
  position: absolute;
  display: flex;
  left: 30px;
  top: 13px;
}

.header-left li {
    margin-right: 30px;
    font-size: 20px;
    font-weight: 400;

}
.header-left li,
.search-bar input,
.menu,
.filter,
.item-price,
.item-title
 {
    font-family: "Cormorant Unicase", serif;
    font-style: normal;
}

.header-right {
  position: absolute;
  right: 30px;
  top: 16px;
  display: flex;
}

.bag {
    position: absolute;
    top: 17px;
    right: 286px;
}

.logo {
  margin: 0 auto;
  text-align: center;
  width: 418px;
  height: 35px;
}


.search-bar {
    display: flex;
    align-items: center;
    width: 241px;
    border-bottom: 1px solid var(--text-color);
    padding: 1px;
}

.search-bar input {
    border: none;
    font-size: 16px;
    font-weight: 400;
    outline: none;
}

.search-icon {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
}

.menu {
    font-size: 20px;
    font-weight: 400;
    position: absolute;
    top: 293px;
    left: 30px;
}
.menu img {
    display: none;
}

.menu li {
    padding-bottom: 25px;

}

.menu li:hover,
.header-left li:hover,
.menu h3:hover
 {
    opacity: 70%;
}


.resp-menu {
    display: none;
}

.runway {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 50px;
}

.clothes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 94.18px;
    margin-top: 60px;
    margin-left: 244px;
}

.product-card {
    width: 267.82px;
    height: 430px;
}

.product-card img {
    width: 267.82px;
    height: 357px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.product-card img:hover {
    opacity: 0.65;
}

.item-title {
    font-weight: 400;
    font-size: 20px;
    text-align: left;
    margin-top: 10px;
}

.item-price {
    font-weight: 400;
    font-size: 20px;
    text-align: left;
    margin-top: 15px;
}


.bg-ornament img {
    width: 327px;
    height: 306px;
    position: absolute;
    top: -102px;
    left: 162px;
}

.filter {
    position: absolute;
    font-size: 20px;
    font-weight: 400;
    top: 87px;
    left: 355px;
    opacity: 70%;
}


.footer-ornament img {
    position: absolute;
    width: 326.01px;
    height: 305.3px;
    transform: rotate(-97deg);
    top: 1390px;
}

/* RUNWAY */


.runway-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-name {
  position: absolute;
  font-size: 14px;
  color: var(--text-color);
  margin-top: -20px;
  margin-left: 2px;
}


.runways-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.runw-menu {
    display: none;
}

.nav-obj {
  position: relative;
  color: var(--text-color);
  cursor: pointer;
}

.dropdown {
  display: none;             
  position: absolute;
  top: 100%;
  left: -5px;
  background-color: var(--primary-color);
  margin: 0;
  box-shadow: 0 5px 15px var(--primary-color);
  min-width: 100px;
}

.dropdown li {
  padding: 10px;
}
.dropdown li a {
  color: var(--text-color);
}

.nav-obj:hover .dropdown {
  display: block;
}


@media (max-width: 420px) {
  .flash {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        transform: none;
        object-fit: cover;
        object-position: 80%;
  }
    .clothes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px;
        padding: 0; 
        margin-left: 0px;
        margin-top: 57px;
    }

    .product-card {
        width: 177px;
        height: 289px;

    }
    .product-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 317px;
        height: 100%;
        background: var(--primary-color);
        z-index: 999;
        overflow-y: auto;
        transition: left 0.3s ease;
        font-size: 16px;
    }
    .menu ul {
        position: absolute;
        top: 16px;
        left: 11px;
    }
    .resp-menu {
        display: block;
    }

    .menu img {
        display: block;
        position: absolute;
        width: 365.19px;
        height: 341.98px;
        opacity: 80%;
        transform: rotate(71.8deg);
        top: 100px;
        right: 32.79px;
    }
    @keyframes slideIn {
        from {left: -100%;}
        to   {left: 0;}
    }
    @keyframes slideOut {
        from {left: 0;}
        to {left: -100;}

    }
    .menu.slide-in {
        animation: slideIn 0.3s ease forwards;
    }
    .menu.slide-out{
        animation: slideOut 0.3s ease forwards;
    }
    .bg-ornament {
        display: none;
    }
    .search-bar {
        display: none;
    }
    .logo {
        width: 418px;
        height: 35px;
    }
    header {
        width: 420px;
        height: 40px;
    }
    .header-left {
        display: none;
    }
    .header-right {
        position: absolute;
        top: 11px;
        right: 11px;
    }
    .search-icon img {
        width: 16px;
        height: 14px;
    }
    .burger {
        display: block;
        position: absolute;
        width: 16px;
        height: 10px;
        padding: 0; 
        top: 16px;
        left: 11px;
    }
    .resp-ornament {
        display: block;
        position: absolute;
        top: -16px;
        right: 11px;
        transform: scaleX(-1);
    }
    .resp-ornament img {
        height: 137px;
    }
    .filter {
        left: 22px;
        top: 81;
        font-size: 14px;
    }
    .footer-ornament {
        display: none;
    }
    .bag {
        width: 13px;
        height: 15px;
        top: 11px;
        right: 55px;
    }
    /* RUNWAY RESPONSIVE */

    .runway {
        font-size: 20px;
        position: absolute;
        right: 11px;
        top: 16px;
    }
    .runways-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .runw-menu {
        display: block;
}
    .nav {
        display: none;
    }
    
}