body {
    width: 96vw;
    height: 96vh;
    margin: auto;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

header {
    width: 16%;
    height: 88%;
}

header .desktop {
    width: 100%;
    height: 100%;
    padding: 20px 0;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    background-color: brown;
    color: #fff;
}

header .desktop h1 {
    font-size: 28px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: oblique;
    text-decoration: underline;
}

header .desktop h1, .socials {
    margin: 0 auto;
}

.mobile, .menu {
    display: none;
}

.desktop nav {
    width: 100%;
    height: max-content;
    border-top: 20px solid white;
    border-bottom: 16px solid white;
    background-color: white;
}

.desktop nav ul {
    width: 60%;
    list-style: none;
}

.desktop nav ul li {
    margin-bottom: 8px;
}

.desktop nav ul li a {
    text-decoration: none;
    color: brown;
    font-style: italic;
}

.desktop nav ul li a:focus {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 2px 8px;
    background-color: brown;
    color: white;
}

.desktop nav ul li a:hover {
    border: 2px solid brown;
    border-radius: 8px;
    padding: 2px 8px;
    background-color: brown;
    color: white;
}

address {
    font-size: 14px;
    text-align: center;
    margin-bottom: 12px;
}

.socials {
    width: 96%;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}
.socials img {
    width: 16px;
    height: 16px;
    margin: 0 4px;
    border: 4px solid white;
    border-radius: 8px;
    background-color: white;
}

main {
    width: 84%;
    height: 100vh;
    margin: auto;
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;
}

main .slide {
    width: 32%;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
}

.first div, .second div, .third div {
    width: 100%;
}

main .first .uno, main .first .dos {
    height: 40%;
    margin: 0 auto;
}

main .first .uno {
    animation: first-uno 20s infinite;
}

@keyframes first-uno {
    0% {
        background-image: url(images/free-photo-of-delicious-multi-grain-bread-with-cheese-and-tomatoes.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/free-photo-of-gourmet-fish-dish-with-root-vegetables.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .first .dos {
    animation: first-dos 20s infinite;
}

@keyframes first-dos {
    0% {
        background-image: url(images/free-photo-of-gourmet-seared-fish-dish-on-elegant-plate.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-15892889.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .second .uno, main .second .dos, main .second .tres {
    height: 32%;
    margin: 0 auto;
}

main .second .uno {
    animation: second-uno 20s infinite;
}

@keyframes second-uno {
    0% {
        background-image: url(images/pexels-photo-2067399.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/free-photo-of-gourmet-seared-fish-dish-on-elegant-plate.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .second .dos {
    animation: second-dos 20s infinite;
}

@keyframes second-dos{
    0% {
        background-image: url(images/free-photo-of-delicious-multi-grain-bread-with-cheese-and-tomatoes.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-28701091.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .second .tres {
    animation: second-tres 20s infinite;
}

@keyframes second-tres {
    0% {
        background-image: url(images/pexels-photo-4871179.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-31235428.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
} 

main .third .uno, main .third .dos, main .third .tres, main .third .cuatro {
    height: 24%;
    margin: 0 auto;
}

main .third .uno {
    height: 24%;
    margin: 0 auto;
    animation: third-uno 20s infinite;
}

@keyframes third-uno {
    0% {
        background-image: url(images/pexels-photo-691159.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-8105084.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .third .dos {
    animation: third-dos 20s infinite;
}

@keyframes third-dos {
    0% {
        background-image: url(images/pexels-photo-25916396.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-2067399.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .third .tres {
    animation: third-tres 20s infinite;
}

@keyframes third-tres {
    0% {
        background-image: url(images/pexels-photo-29851704.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    50% {
        background-image: url(images/free-photo-of-gourmet-fish-dish-with-root-vegetables.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/pexels-photo-29851704.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

main .third .cuatro {
    animation: third-cuatro 20s infinite;
}

@keyframes third-cuatro {
    0% {
        background-image: url(images/pexels-photo-31235428.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    100% {
        background-image: url(images/free-photo-of-delicious-multi-grain-bread-with-cheese-and-tomatoes.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.first .uno:hover, .first .dos:hover, .second .uno:hover, .second .dos:hover, .second .tres:hover, .third .uno:hover, .third .dos:hover, .third .tres:hover, .third .cuatro:hover {
    animation-play-state: paused;
}


@media screen and (max-width: 800px) {
    body {
        flex-flow: column;
    }

    header {
        width: 100%;
        height: 56px;
        margin: 0 auto;
    }

    header .desktop {
        display: none;
    }

    header .mobile {
        width: 100%;
        height: 56px;
        margin: 0 auto;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        top: 0;
        z-index: 1;
        position: sticky;
        
    }

    header .mobile h1 {
        font-size: 24px;
    }

    .menu {
        width: 24px;
        height: 24px;
        display: flex;
        flex-flow: row;
        float: right;
        cursor: pointer;
    }
    
    header .mobile nav ul {
        width: 96%;
        height: 96vh;
        margin: 0 auto;
        margin-right: -12px;
        flex-flow: column;
        top: 48px;
        right: 0;
        position: absolute;
        z-index: 1;
        overflow: hidden;
        background-color: brown;
        color: #fff;
        display: flex;
        flex-flow: column; 
        justify-content: center;
        align-items: center;
    }

    .mobile nav ul li {
        list-style: none;
        margin-left: -28px;
        margin-top: 28px;
    }

    .mobile nav ul li a { 
        text-decoration: none;
        color: #fff;
    }

    #menuList {
        transition: all 0.25s;
    }

    .mobile .socials-container {
        margin-top: 100px;
        margin-left: -28px;
    }

    main {
        width: 100%;
        height: max-content;
        margin: 0 auto;
        margin-top: 20px;
        flex-flow: row wrap;
        overflow-y: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    main::-webkit-scrollbar {
        display: none;
    }

    main .slide {
        width: 100%;
        height: max-content;
        flex-flow: row wrap;
    }

   

    main .first .uno, main .first .dos, main .second .uno, main .second .dos, main .second .tres, main .third .uno, main .third .dos, main .third .tres,  main .third .cuatro {
        height: 240px;
        margin-bottom: 12px;
    }

    main .first .uno, main .first .dos {
        width: 48%;
    }

    main .second .uno, main .second .dos, main .second .tres {
        width: 32%;
    }

    main .third .uno, main .third .dos, main .third .tres,  main .third .cuatro {
        width: 48%;
    }
}

@media screen and (max-width: 480px) {
    .mobile nav ul li {
        margin-top: 16px;
    }

    main .third .uno, main .third .dos, main .third .tres,  main .third .cuatro {
        width: 96%;
    }

    main .first .uno, main .first .dos, main .second .uno, main .second .dos, main .second .tres, main .third .uno, main .third .dos, main .third .tres,  main .third .cuatro {
        width: 100%;
    }
}