.restaurants_wrapper {
    display: flex;
    align-items: stretch;
    padding: 0;
}

.restaurants_wrapper .restaurant {
    position: relative;
    width: calc((100% - 20px) / 2);
    border: 3px solid var(--black);
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    height: 700px;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
}

.restaurants_wrapper .restaurant:nth-of-type(odd) {
    margin-right: 20px;
}

.restaurants_wrapper .restaurant .restaurant_image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--black);
    transition: 0.3s all ease-in-out;
}

.restaurants_wrapper .restaurant .restaurant_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    object-position: 50% 50%;
    opacity: 0.5;
    transition: 0.3s all ease-in-out;
}

.restaurants_wrapper .restaurant .restaurant_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
    color: var(--white);
}

.restaurants_wrapper .restaurant .restaurant_content h2,
.restaurants_wrapper .restaurant .restaurant_content h3 {
    color: var(--white);
}

.restaurants_wrapper .restaurant .restaurant_content h2 {
    margin: 0 auto 15px;
}

.restaurants_wrapper .restaurant .restaurant_content h3 {
    margin: 30px auto 10px !important;
}

.restaurants_wrapper .restaurant .restaurant_content .details_link {
    color: var(--white);
    margin: 5px auto;
}

.restaurants_wrapper .restaurant .restaurant_content .details_link i {
    margin-right: 10px;
}

.restaurants_wrapper .restaurant .restaurant_content .opening_hours {
    margin: 5px auto;
}

.restaurant .buttons_container {
    margin-top: 30px;
}

.restaurant .buttons_container .button_2 {
    background-color: var(--dark-orange) !important;
    color: var(--white) !important;
    transition: 0.3s all ease-in-out;
}

.restaurants_wrapper .restaurant:hover .restaurant_image {
    background-color: var(--dark-orange);
    transition: 0.3s all ease-in-out;
}

.restaurants_wrapper .restaurant:hover .restaurant_image img {
    transform: scale(1.04);
    opacity: 0.3;
    transition: 0.3s all ease-in-out;
}

.restaurants_wrapper .restaurant:hover .button_2 {
    background-color: var(--black) !important;
    color: var(--white) !important;
    transition: 0.3s all ease-in-out;
}

@media (max-width: 1050px) {
    .restaurants_wrapper {
        flex-direction: column;
    }

    .restaurants_wrapper .restaurant {
        width: 100%;
        margin-top: 20px;
    }

    .restaurants_wrapper .restaurant:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 750px) {
    .opening {
        padding: 290px 0 300px;
    }
}

@media (max-width: 500px) {
    .restaurants_wrapper .restaurant .restaurant_content {
        padding: 40px;
    }

    .restaurant .buttons_container {
        flex-direction: column;
        width: 100%;
    }

    .restaurant .buttons_container .button,
    .restaurant .buttons_container .button_2 {
        width: 100%;
        margin-right: 0;
    }

    .restaurant .buttons_container .button_2 {
        margin-top: 20px;
    }
}