* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
html {
    font-size: 250%;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

body {
    background-color: #2e2e2e;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
    cursor: url('https://papiquieropizzaya.com/pizza-cursor-3.png'), auto;
}

/* .button-container {
    text-align: center;
}

.button {
    background-color: #4CAF50; Verde
    border: none;
    color: white;
    padding: 55px 128px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 55px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    min-width: 100;
} */

li {
    list-style-type: none;
}

h1 {
    text-align: center;
    color: antiquewhite;
}

.im {
    width: 50%;
    height: 100%;
    border-radius: 16px;
    transition: transform 0.3s ease-in-out;
    margin-top: 10px;
}

.im:hover {
    transform: scale(1.075);
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    position: fixed; /* Cambiado a fixed para que se mantenga visible */
    top: 0;
    width: 100%;
    z-index: 1000; /* Asegura que la navbar esté por encima de otros elementos */
    transition: top 0.3s; /* Añade una transición suave para mostrar/ocultar la navbar */
}

.navbar-hidden {
    top: -100px; /* Ajusta este valor según la altura de tu navbar */
}

.logo img {
    height: 50px; /* Ajusta el tamaño del logo aquí */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: rgb(252, 0, 0);
    text-decoration: none;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0);
}

.nav-links a:hover {
    color: #f4b400;
}

.burger {
    display: none;
    cursor: url('pizza-cursor-3.png'), auto;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 900px) {

    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 70px; /* Establece la distancia desde la parte superior de la pantalla */
        background-color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 235px;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000; /* Asegura que la navbar esté por encima de otros elementos */
    }

    .nav-links li {
        opacity: 0;
        margin-bottom: 30px; /* Añade más separación entre los elementos */
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0);
    }

    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
        transition-delay: 0.3s;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

}

.im-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}