*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
li{
    list-style: none;
}
a{
    color:black;
}
body{
    font-family: "Playfair",sans-serif,serif;
    background-color: #F8F7F4;
    height: 100%;
    width: 100%;
}

.nav{
    width: 100%;
    height:12vh;
    /* background-color: aqua; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vw 2vw;
}
.nav-left{
    width:40%;
    /* background-color: yellow; */
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
}
.nav-left h2{
    font-size: 15px;
    font-weight: 600;
    /* background-color: aqua; */
    /* width: 15%; */
}
.nav .logo{
    /* width: 20%; */
    height: 3vh;
    /* background-color: red; */
}

.nav-right{
    width:40%;
    /* background-color: yellow; */
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap:10px;
}

.nav-right input{
    padding: 15px 25px;
    font-size: 14px;
    border: none;
    border-radius: 40px;
    width:35%;
    background-color: white;
}
.nav-right button{
    padding: 15px 25px;
    border-radius: 40px;
    font-size: 14px;
    border:none;
    background-color: black;
    color: white;
    font-weight: 600;
}
.nav-right :nth-child(2){
    background-color: transparent;
    color: black;
}


.showcase{
    width: 100%;
    height: calc(100vh - 12vh);
    /* background-color: orangered; */
}

.showcase .center{
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 50%;
    gap: 30px;
    padding: 1vw 2vw;
    /* margin-top: 10px; */

}
.showcase .center h4{
    font-size: 1.5vh;
    padding: 10px 15px;
    border-radius: 20px;
    animation-name: colorChange;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes colorChange {

    0%{
        background-color: #FFDA79;
    }
    25%{
        background-color: aquamarine;
    }
    50%{
        background-color: rgba(0, 255, 255, 0.568);
    }
    75%{
        background-color: rgb(192, 5, 192);
    }
    100%{
        background-color: palevioletred;
    }
    
}

.showcase .center h1{
    text-align: center;
    font-size: 4vw;
    font-weight: 500;
    line-height: .9;
}

.showcase .center h3{
    font-size: 1.5vw;
    font-weight: 400;
    text-align: center;
}

.showcase .center button{
    background-color: black;
    color: white;
    border: none;
    padding: 20px 25px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
}


.showcase .bottom{
    /* background-color: pink; */
    height: 50%;
    width: 100%;
    padding: 2vw 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    


   
}
.showcase .bottom .container{
    flex-shrink: 0;
    /* width: 130%; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap:40px;
    /* flex-wrap: nowrap; */
    /* flex-shrink: 0; */
    /* background-color: red; */
    padding: 0 16px;
    
    animation-name: image-marquee;
    animation-duration: 45s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /* transition: all ease; */
    /* margin-right: 40px; */
    
    
}

@keyframes image-marquee{
    0%{
        transform: translate(0);
    }
    100%{
        transform: translate(calc(-100%));
    }
} 

.showcase .bottom .elemt{
    width: 260px;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.showcase .bottom .elemt img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase .bottom .elemt video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase .bottom .elemt .overlay{
    display: flex;
    flex-flow: column-reverse;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    /* background-color: pink; */
    /* width: 100%; */
    /* height: 100%; */
    padding: 15px 10px;
    position: absolute;
    bottom: 0;
    left:0;
}
.showcase .bottom .elemt .overlay .name{
    font-size: 16px;
    color: #F8F7F4;
    font-weight: 500;
}
.showcase .bottom .elemt .overlay .title{
    font-size: 15px;
    font-weight: 600;
    color: #F8F7F4;
}
.showcase .bottom .elemt .overlay .tags{
    display: flex;
    gap:10px;
    margin-top: 10px;
}
.showcase .bottom .elemt .overlay .tags h4{
    border: 0.05px solid #f8f7f460;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    color:#F8F7F4;
}



.elements-page{
    height: auto;
    width: 100%;
    /* background-color: orange; */
    padding: 2vw 0;
    
}
.elements-page>h1{
    text-align: center;
    font-size: 2.5vw;
    font-weight: 500;
}


.elements-page .element-cards{
    width:100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* background-color:pink; */
    grid-column-gap: 3vw;
    grid-row-gap: 1vw;
    padding: 1vw 4vw;
    justify-self: center;
    align-self: center;
}
.element-cards .card-container{
    /* background-color: red; */
    height: fit-content;
    padding: 1vw 0;
    width:21vw;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    transition: all ease 2s;

}
.element-cards .card{
    /* background-color: pink; */
    height: 17vw;
    width: 21vw;
    border: 1px solid black;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.element-cards .card:hover .card-overlay{
    bottom: 0;
    left:0; 
    cursor: pointer;

}
.element-cards .card .card-overlay{
    height:30%;
    width: 100%;
    /* background-color: pink; */
    position: absolute;
    bottom: -78px;
    left:0;
    /* border-bottom-left-radius:inherit;
    border-bottom-right-radius:inherit; */
    transition: all ease .5s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: linear-gradient(transparent,#0000009c);
}
.element-cards .card .card-overlay .product-name{
    font-size: 18px;
    width:60%;
    /* background-color: red; */
    white-space:nowrap ;
    overflow: hidden;
    font-weight: 600;
    color: #F8F7F4;
}
/* 
doesn't work as i wanted it to
.product-name::after{
    content: "...";
} */

.element-cards .card .card-overlay .icon{
    background-color: #CCCCCC;
    padding:12px 14px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 400;
}

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

.element-cards .bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: fit-content;
    background-color: transparent;
    margin-top: 8px;
    /* position: absolute;
    bottom: -32px;
    left:0; */
}
.element-cards .bottom-left{
    display: flex;
    align-items: center;
    gap: 6px;
}
.element-cards .bottom-left img{
    width: 25px;
    height:25px;
    border-radius: 50%;
    margin-left: 6px;
}
.element-cards .bottom-left .name{
    font-size: 14px;
    font-weight: 500;
}
.element-cards .bottom-left .tag{
    font-size: 10px;
    font-weight: 600;
    padding: .6px 2px;
    padding-top: 2px;
    background-color: #CCCCCC;
    color: #F8F7F4;
}
.element-cards .bottom-left .tag:hover{
    background-color:#0D0C22 ;
    cursor: pointer;
}


.element-cards .bottom-right{
    display: flex;
    
}
.element-cards .bottom-right .likes,
    .element-cards .bottom-right .views{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3px;
        margin-right: 6px;
        color:#CCCCCC;
        font-size: 16px;


}
.element-cards .bottom-right .number{
    color: black;
    font-weight: 400;
}

.elements-page button.browseMore{
    display: block;
    padding: 15px 25px;
    margin: 40px auto;
    font-size: 18px;
    font-weight: 500;
    background-color: transparent;
    border: 2px solid black;
    border-radius: 30px;
    cursor: pointer;

    &:hover{
        color: #3f3f3f;
    }
}

.getStartedContainer{
    height:calc(100vh - 300px);
    background-color:#FFDA79 ;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:5vh 10vw;
}
.getStarted{
    /* background-color: pink; */
    width:60%;
    height: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
}
.getStarted h1{
    font-size: 5vw;
    font-weight: 500;
}
.getStarted h3{
    font-size: 22px;
    font-weight: 400;
    color: #3f3f3f;
}
.getStarted button{
    padding:20px 25px;
    border:none;
    border-radius: 30px;
    background-color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin:5px 0;
}
.getStarted button:nth-child(1){
    background-color: #0D0C22;
    color: white;
    margin-right: 10px;
}
.catagories{
    height:300px;
    width: 100%;
    /* background-color: orangered; */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    /* justify-content: space-between; */
    /* flex-wrap: nowrap; */
   
}
.catagories:hover .container-catagory{
    animation-play-state: paused;
}

.catagories .container-catagory{
    display: flex;
    /* justify-content: space-between; */
    gap:40px;
    animation-name: catagory;
  
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-right:40px ;
}
.catagories .catagory{
    flex-shrink: 0;
    height:204px;
    width: 220px;
    /* background-color: pink; */
    /* overflow: hidden; */
}
.catagory img{
    width: 100%;
    height: 85%;
    border-radius: 10px;
}


.catagory h3{
    font-size: 16px;
    padding: 6px 6px;
}

@keyframes catagory{
    0%{
        transform: translate(0);
    }
    100%{
        transform: translate(calc(-100% - 20px));
    }
}

footer{
    height:25vh;
    padding: 14px 5vw;
    width: 80%;
    margin: 0 auto;
    /* background-color: orangered; */
    margin-bottom: 4vh;
}

footer .top{
    height: 50%;
    /* background-color: pink; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .logo{
    /* width: 20%; */
    height: 3.5vh;
    /* background-color:yellow; */
}
footer .top-center{
    display: flex;
    width: 65%;
    /* height: 100%; */
    /* background-color: aquamarine; */
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    flex-wrap: wrap;
}
footer .top-center li{
    padding: 4px 8px;
}
footer .top-right i{
    font-size: 20px;
    padding: 2px;
}

footer .bottom{
    /* background-color: red; */
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
}
footer .bottom-left{
    display: flex;
    /* background-color: pink; */
    justify-content: space-between;
    width: 30%;
}
.bottom ul li{
    font-size: 15px;
    font-weight: 300;
    color: #424242;
}
.footer .bottom-right{
    display: flex;
    width: 50%;
    justify-content: space-between;
    /* background-color: pink; */

}



@media (max-width:1300px) {
    .elements-page .element-cards{
        grid-template-columns: repeat(3, 1fr);
    }
    .element-cards .card-container{
        width:28vw;
        height:28vw;
    }
    .element-cards .card{
        width: 100%;
        height: 100%;
    }
}

@media (max-width:950px) {
    .elements-page .element-cards{
        grid-template-columns: repeat(2, 1fr);
    }
    .element-cards .card-container{
        width:100%;
        height:40vw;
    }
    .element-cards .card{
        width: 100%;
        height: 100%;
    }
    @media (max-width:550px) {
        .elements-page .element-cards{
            grid-template-columns: repeat(1, 1fr);
        }
        .element-cards .card-container{
            width:100%;
            height:100%;
        }
        .element-cards .card{
            width: 100%;
            height: 100%;
        }
    }
}
