* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.restaurant-selector {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
}

.restaurant {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    background-size: cover;
    background-position: center;

    transition: width 0.7s cubic-bezier(.22,.61,.36,1);
}

/* IMAGINI */

.delish {
    background-image: url("images/delish-bg.jpg");
}

.waves-vibe {
    background-image: url("images/waves-vibe-bg.jpg");
}


/* OVERLAY */

.overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.38);

    transition: background 0.5s ease;
}


/* CONTINUT */

.restaurant-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;
}


/* LOGO */

.logo {
    width: min(300px, 60%);
    height: auto;

    margin-bottom: 25px;

    transition: transform 0.5s ease;
}


/* SUBTITLU */

.restaurant-type {
    color: #fff;

    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 500;

    margin-bottom: 28px;
}


/* BUTON */

.enter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 48px;

    padding: 0 30px;

    border: 1px solid rgba(255,255,255,.8);
    color: #fff;

    font-size: 12px;
    letter-spacing: 3px;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease;
}


/* HOVER DESKTOP */

@media (min-width: 769px) {

    .restaurant-selector:hover .restaurant {
        width: 45%;
    }

    .restaurant-selector .restaurant:hover {
        width: 55%;
    }

    .restaurant:hover .overlay {
        background: rgba(0,0,0,.22);
    }

    .restaurant:hover .logo {
        transform: scale(1.04);
    }

    .restaurant:hover .enter-button {
        background: #fff;
        color: #111;
        transform: translateY(-3px);
    }

}


.delish {
    background-image: url("images/delish-bg.jpg");
    background-size: cover;
    background-position: center;
}

.waves-vibe {
    background-image: url("images/waves-vibe-bg.jpg");
    background-size: cover;
    background-position: center;
}

/* MOBILE */

@media (max-width: 768px) {

    body {
        overflow: hidden;
    }

    .restaurant-selector {
        flex-direction: column;
    }

    .restaurant {
        width: 100%;
        height: 50%;
        min-height: 50%;
    }

    .restaurant-content {
        padding: 25px;
    }

    .logo {
        width: min(240px, 65%);
        margin-bottom: 15px;
    }

    .restaurant-type {
        font-size: 9px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .enter-button {
        min-width: 130px;
        height: 42px;
        font-size: 10px;
        letter-spacing: 2px;
    }

}