.products, .product-name, .product-details, .product-info{
    display: grid;
    display: -ms-grid;
    display: -moz-grid;
}
.landing{
    background-color: #273273;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}
.landing h1{
    text-align: center;
    padding: 4rem 0rem 0rem 0rem;
    background-color: #273273;
    color: white;
    padding-bottom: 1rem;
}
.landing .underline{
    margin: auto;
    background-color: white;
}
.curved-background{
    height: 400px;
    border-radius: 50%;
    background-color: #273273;
    margin-top: -350px;
    z-index: -2;
}
@media (max-width:768px){
    .curved-background{
        height: 300px;
        margin-top: -250px;
    }
}
@media (max-width:530px){
    .curved-background{
        margin-top: -280px;
    }
}
@media (max-width:425px){
    .curved-background{
        margin-top: -270px;
    }
}
@media (max-width:425px){
    .curved-background{
        margin-top: -280px;
    }
}
.products{
    grid-template-columns: repeat(3, 27%);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
@media (max-width: 1200px){
    .products{
        grid-template-columns: repeat(3, 30%);
    }
}
@media(max-width: 1023px){
    .products{
        grid-template-columns: repeat(2, 45%);
    }
}
@media (max-width: 575px){
    .products{
        grid-template-columns: auto;
        padding: 1rem;
    }
}
.product{
    border:1px solid rgb(210, 210, 210);
    border-radius: 2rem;
    position: relative;
    height: max-content;
}
.product-image-container{
    /* background-color: skyblue; */
    border-radius: 2rem 2rem 0rem 0rem;
    padding: 2rem 0.5rem 3rem 0.5rem;
    /* border:1px solid rgb(210, 210, 210); */
}
.product-image-container > img{
    /* border-radius: 2rem 2rem 0rem 0rem; */
    cursor: pointer;
    transition: all .5s;
    max-height: 60vh;
    display: block;
    width: max-content;
    max-width: 100%;
    margin: auto;
}
.product:hover .product-image-container > img{
    transform:scale(95%);
}
.product-info{
    margin-top: -2rem;
    box-shadow: 1px 1px 4px rgb(45, 45, 45);
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 2rem;
    position: relative;
    z-index: 1;
    background-color: white;
    grid-template-rows: repeat(3, auto);
    row-gap: 1rem;
}

.product > div:nth-of-type(3){
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
}
.product-info > a{
    padding: 1.1rem 3rem;
    background-color: #273273;
    display: block;
    color: white;
    text-decoration: none;
    width: max-content;
    margin: 1rem auto;
    border-radius: 2rem;
}
.product-name{
    grid-template-columns: max-content auto max-content;
    align-items: center;
    column-gap: 1rem;
}
.product-name p{
    font-weight: 600;
}
.product-info img{
    width: 33px;
}
.share-icon-container{
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 2px 2px 4px rgb(120, 120, 120);
}
.share-icon-container:hover{
    cursor: pointer;
}
.share-icon-container button{
    width: unset;
    padding: 0;
    border: none;
    background-color: transparent;
}
.share-icon-container img{
    width: 25px;
}
.share-icon-container img:hover{
    cursor: pointer;
}
.product-details{
    grid-template-columns: max-content auto;
    column-gap: 1rem;
}
.product-details p{
    max-height: 6.7rem;
    overflow: hidden;
}
.product > div:nth-of-type(3){
    transition: height .5s;
}
.product > div:nth-of-type(3) .product-details{
    height: 0px;
    overflow: hidden;
    transition: all .5s ease-in-out;
}
.product > div:nth-of-type(3):hover .product-details{
    height: 20px;
    height: max-content;
}
.breadcrumbs{
    text-align: center;
    margin: 2rem auto;
}