@import url("general.css");
@import url("products.css");

.above-the-product {
    display: flex;
    width: 94%;
    margin-inline: auto;
    margin-bottom: 20px !important;
    align-items: center;
    height: 40px;
    justify-content: center;
    
    /* margin-top: 30px; */
   /* /border-radius: 4px; */
    /* background-color: #fff; */
    /* margin-bottom: 10px; */
    /* box-shadow: 0 2px 15px rgba(0, 0, 0, .1); */
}

main > section {
    margin-top:60px;
    /* margin-block:0; */
}

.return-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin-left: 6px;
    padding-inline: 10px;
    background-color: #3498db;
    color: rgb(236, 236, 236);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.23);
    transition: color 0.3s cubic-bezier(0, 0.55, 0.45, 1),
                box-shadow 0.4s cubic-bezier(0, 0.55, 0.45, 1);

    span {
        position: relative;
        transform: translateX(-2px);
        transition: transform 0.4s cubic-bezier(0, 0.55, 0.45, 1);
    }
}

.return-back-button:hover {
    color: rgb(206, 206, 206);
    box-shadow: 6px 0px 10px rgba(0, 0, 0, 0.302);
}

.return-back-button:hover span {
    transform: translateX(-6px);
}

@media (max-width: 600px) {
    .above-the-product p {
        font-size: 15px;
    }
}

@media (max-width: 550px) {
    .above-the-product p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .return-back-button {
        font-size: 13px;
        padding-inline: 6px;
        height: 26px;
    }

    .above-the-product p {
        font-size: 13px;
    }

    .above-the-product {
        width: 97%;
    }
}
