@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&display=swap');
:root{
--bg-color: #f1f5f9;
--card-color: #ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family:'Poppins', sans-serif;
}

header{
    position: relative;
    margin-top: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    padding: 110px 85px;
    display: flex;
    align-items: start;
    justify-content: center;
}

footer{
    background-color: var(--bg-color);
    width: 100%;
    align-items: center;
    justify-content: center;
}
footer #aboutDev{
    display: flex;
    align-items: center;
    justify-self: center;
}

nav{
    flex-direction: row;
    font: "Inter" sans-serif;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    height: 50px;
}

#logo{
    width: 30px;
    font-size: small;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

#logo img{
    height: 40px;
}

nav h1{
    font: "Inter", sans-serif;
    pointer-events: none;
}

.product-container{
    margin-top: 40px;
    justify-content: center;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}
.product-container .product-cards{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product{
    box-shadow: black 0px 2px 12px;
    padding: 20px;
    border-radius: 20px;
    justify-content: center;
    width: 272px;
    height: 302px;
    gap: 40px;
    background: var(--card-color);
    align-items: center;
    display: flex;
    flex-direction: column;
}

.product:hover{
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}

.product .info{
    color: black;
}
.product .info:hover{
    text-decoration: underline;
}

.product img{
    width: 70%;
    border-radius: 15px;
}

.product-link{
    text-decoration: none;
    display: contents; 
    cursor: default;
}

@media screen and (max-width: 750px){
    .product-container{
        flex-direction: column;
        /* overflow: hidden; */
    }
    .product{
        width: 260px;
        height: 306px;
        gap: 10px;
        flex-direction: column;
        display: flex;
    }
}
