@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html{
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: #cecdcd;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
}
#logo{
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

#logo img{
    width: 20%;
}

#navLinks{
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

#navLinks a{
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    width: 70px;
}

#container {
    background-color: #444957;
    max-width: 90vw;
    min-height: 100vh;
    margin: 1rem;
    border-radius: 1rem;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-flow: column;
}

#mainNav {
    background-color: #202020;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    box-shadow: #111111 2px 0px 8px;
    display: flex; 
    flex-direction: row;
    align-items: center;
    justify-content:space-around ;
    border-radius: 1rem 1rem 0 0;
    
}

.activeNav {
    border-bottom: 3px #ca672d solid;
}

nav a:hover {
    border-bottom: #ca672d 3px solid;
    color: white;
    transition: 0.3s;
}
main{
    flex: 1;
}
#mainHeader {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/img/banner.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-width:96%;
    height: 280px; /* Set a fixed height for proper display */
    border-radius: 1rem;
    box-shadow: #111111 10px 10px 10px inset;
    color: white;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    overflow: hidden;
    align-content: center;

}
#mainHeader h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 0px;
}

#mainHeader p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px #000000;
    font-weight: 300;
    margin: 0;
}

#products{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.items{
    
    min-width: 13rem;
    max-width: 13rem;
    max-height:fit-content;
    background-color:rgb(38, 42, 46);
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
    text-align: left;
    padding: 0.1rem;
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    gap: 0.5rem;

}
.items:hover{
    transform: translateY(-5px); /* La tarjeta se eleva un poco */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Sombra más fuerte */
    cursor: pointer; /* La manito del mouse */
}
.items p{
    color: #ffffff;
    font-size: 0.9rem;
    padding-left: 0.8rem;
    text-align: left;
    font-weight: 300;
    line-height: 1.3rem;
    max-width: 65ch;
    text-align: left;  /* Justificado suele crear "ríos" de espacio feos en web */
    letter-spacing: 0.01em; /* Un mínimo espacio extra entre letras */
}
.items:first-child{
        margin-left: auto;
}

@media (max-width: 600px) {
   
    .items:first-child{
        margin-right: auto;
    }

    .items {
        max-width: 63%; /* Ajusta el ancho según sea necesario */
        min-width: 63%; /* Ajusta el ancho según sea necesario */
    }

    .fb-page {
        margin: 0 auto 1rem auto !important; /* Centra el plugin de Facebook */
        min-width: none;
        width: 80% !important; /* Ajusta el ancho según sea necesario */
    }
    #products {
        flex-direction: column;
        align-items: center;   
        gap: 1rem;
        justify-content: center;

    }

    #mainHeader {
        height: 200px; /* Ajusta la altura para pantallas pequeñas */
        
    }

    #mainHeader h1 {
        font-size: 2rem; /* Ajusta el tamaño de la fuente */
    }
    #mainHeader p {
        font-size: 1rem; /* Ajusta el tamaño de la fuente */

    }
    #logo img{
        width: 100%;
    }

    .pedido {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    #navLinks{
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
    }

    
}

.items:last-child{
    margin-right: auto;
}

#item1{
    background-image: url(/img/hamburg.png);
    background-size: cover;
    background-position: center;
    padding: 6rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-top: 0.3rem;
}

#item2{
    background-image: url(/img/sand.png);
    background-size: cover;
    background-position: center;
    padding: 6rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-top: 0.3rem;
}

.items > h3{
    margin: 7px 0 0px 0px;
    color: #ffffff;
}

.pedido {
    background-color: #e48b58;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
     font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    text-shadow: #111111 0px 1px 2px;
    font-style: normal;
}
.pedido:hover {
    background-color: #f05800;
}

.items span {
    display: block;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    background-color: #057a3a;
    padding: 0.3rem;
    border-radius: 0.3rem;

}

#item3{
    background-image: url(/img/arepa2.png);
    background-size: cover;
    background-position: center;
    padding: 6rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-top: 0.3rem;
}   

#wts {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1000;
}
#wts img {
    width: 60px;
    height: 60px;
    cursor: pointer;

}
#wts img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.fb-page, .fb-page * {
    overflow: hidden;
    border-radius: 0.5rem;
    margin-right: 0.7rem;
    margin-left: auto;
    background-color: #444957;
}

#aboutContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

#aboutContent p{
    color: #ffffff;
    font-size: 1rem;
    text-align: left;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    max-width: 90ch;
    line-height: 1.5rem;

}

#aboutContent h2{
    color: #ffffff;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}