* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h2 {
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
}

#slideshow {
    display: flex;
    height: 700px;
    justify-content: center;
    align-items: center;
    position: relative;
    width:100%;
}

#slideshow img {
    position:absolute;
    height: 550px;
    width:1150px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.button-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-row {
    display: flex;
}

.button-panel a {
    height: 150px;
    width: 300px;
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    color: white;
    text-decoration: dotted black 2px;
    font-size: 16px;
    font-weight: bolder;
    cursor: pointer;
    text-align: left;
    align-items: center;
    display: flex;
}

#butHam {
    background-image: url(../images/hamburguesaBackground.jpg);
    background-size: cover;
}

#butPat {
    background-image: url(../images/patataBackground.jpg);
    background-size: cover;
}

#butCarn {
    background-image: url(../images/carneBackground.jpg);
    background-size: cover;
}

#butEns {
    background-image: url(../images/ensaladaBackground.jpg);
    background-size: cover;
}

#butAlerg {
    background-image: url(../images/alergBackground.jpg);
    background-size: cover;
}

#butPost {
    background-image: url(../images/postreBackground.jpg);
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .button-panel .button-row{
        display: flex;
        flex-direction: column;
    }
    #slideshow img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }
}
