.heart {
    font-size: 20px;
    cursor: pointer;
    color: red;
}

.bell {
    font-size: 20px;
    cursor: pointer;
    color: red;
}

.card:hover {
    transform: translateY(-15px);
}


/* styles for the first container with it's overlay */

.firstCs {
    display: flex;
    align-items: center;
    margin-top: 5dvh;
    margin-bottom: 10dvh;
    padding: 5px;
}

.container1 {
    position: relative;
    display: inline-block;
    width: 80%;
    border-radius: 45px;
    margin: auto;
    overflow: hidden;
}

.image1 {
    display: block;
    width: 100%;
}

.overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #730303be;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.text1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 100%;
}

.text1 p {
    font-size: 22px;
    margin-top: 25px;
}

@media screen and (max-width: 1070px) {
    .container1 {
        width: 90%;
    }
}

@media screen and (max-width: 900px) {
    .text1 {
        font-size: 20px;
    }
    .text1 p {
        font-size: 17px;
    }
}

@media screen and (max-width: 800px) {
    .text1 {
        font-size: 20px;
    }
}


/* @media screen and (max-width: 600px) {
    .text1{
        font-size: 24px;
    }
    .text1 p{
        font-size: 20px;
    }
} */

@media screen and (max-width: 420px) {
    .container1 {
        width: 97%;
    }
    .text1 {
        font-size: 20px;
    }
    .text1 p {
        font-size: 17px;
    }
}