* {
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0;
    background-color: rgb(53, 53, 53);
    height: 100%;
    flex-direction: column;
}

#root {
    width: 32%;
    min-width: 500px;
    min-height: 600px;
    max-height: 100%;
    position: absolute;
    top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}

#menu {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    overflow-x: hidden;
    overflow-y: hidden;
    touch-action: pan-y pinch-zoom;
}

img {
    min-width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 1px solid white;
    box-sizing: border-box;
    position: relative;
}

.dots {
    justify-content: center;
    align-items: center;
    color: rgb(177, 177, 177);
    font-size: 1.2em;
    user-select: none;
    margin-top: 2.5%;
}

.dots span {
    cursor: pointer;
    transition: all 0.2s;
}

.dots span:not(.dots span:last-child) {
    margin-right: 0.3em;
}

.goLeftAnim {
    animation-name: goLeft;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

.goLeft2Anim {
    animation-name: goLeft2;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

.goRightAnim {
    animation-name: goRight;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

.goRight2Anim {
    animation-name: goRight2;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

#menu i {
    position: absolute;
    color: white;
    cursor: pointer;
    z-index: 99;
}

#arrow-prev {
    left: 0.5%;
}

#arrow-next {
    right: 0.5%;
}

#arrow-next, #arrow-prev {
    top: 50%;
    font-size: 3em;
    transform: scale(0.9, 1.1);
    transition: color 0.3s;
}

#selector {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5% 0;
}

#sel-drinks {
    margin-right: 5%;
}

#selector i {
    color: inherit;
    font-size: 2em;
}

#selector span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    width: 22.5%;
    padding: 1% 0;
    border: 1px solid gray;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-out;
}

#selector p {
    margin: 0 0;
    padding: 5% 0 0 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8em;
}


@keyframes goLeft {
    0% {
        left: 0%;
    }
    100% {
        left: -100%;
    }
}

@keyframes goLeft2 {
    0% {
        left: 100%;
    }
    100% {
        left: 0%; 
    }
}

@keyframes goRight {
    0% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

@keyframes goRight2 {
    0% {
        left: -100%;
    }
    100% {
        left: 0%;
    }
}

.zoom-image {
    cursor: zoom-in;
    transition: transform 0.15s ease;
    transform-origin: center center;
    overflow: hidden;
}

.zoom-image.zoom-active {
    cursor: zoom-out;
}

/* Mobile */

@media (max-width: 700px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
    }

    #root {
        width: 99%;
        min-width: 0;
        min-height: 0;
        overflow: visible;
    }

    #menu {
        border-radius: 0;
        overflow: visible;
    }

    img {
        min-width: 100%;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .dots {
        margin-bottom: 2%;
    }

    #selector {
        margin-top: 15px;
    }

    @media (min-height: 600px) {
        #selector {
            margin-top: 15px;
        }

        .dots {
            margin-top: 5%;
        }
    }

    @media (min-height: 750px) {
        #selector {
            margin-top: 50px;
        }
    }

    .zoom-image {
        pointer-events: none;
    }
}