@import url('https://fonts.googleapis.com/css2?family=Beth+Ellen&family=Outfit:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* Base */
body {
    margin: 0;
    background-color: black;
    color: black;
    font-family: "Raleway", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAV */
header nav {
    border-bottom: 10px solid black;
    background-color: black;
    color: white;
    text-align: end;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

header nav li {
    font-family: "Outfit", sans-serif;
    display: inline-block;
    padding: 15px 30px;
    cursor: pointer;
}

header nav li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

header nav a {
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

/* HERO */
.hero {
    background-image: url("/assets/imagenes/portada.png");
    background-size: cover;
    background-position: center;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 40px;
    box-sizing: border-box;
    text-align: center;
}

.hero h1 {
    font-size: 80px;
    color: white;
    text-align: center;
    font-family: "Beth Ellen", cursive;
    max-width: 90%;
    margin: 0 auto 10px;
}

.hero p {
    color: white;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    font-size: 32px;
    text-shadow: 0 4px 4px black, 0 4px 4px black;
}

/* MAIN */
main {
    background-color: white;
    margin: 0;
    padding: 0;
}

section {
    scroll-margin-top: 96px;
}

.tecnicas {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    max-width: 100%;
    padding: 60px 150px;
    min-height: 100svh;
    box-sizing: border-box;
    gap: 20px;
}

.tituloSeccion {
    font-family: "Beth Ellen", cursive;
    font-size: 40px;
    text-align: left;
    margin: 0 0 15px 0;
    width: 100%;
}

.bullets {
    display: inline-block;
    width: 343px;
    height: auto;
    border-radius: 8px;
    text-align: left;
    box-sizing: border-box;
}

.bullets img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.bullets p {
    text-align: center;
    font-size: 20px;
    color: #222;
    margin: 0;
}

.bullets--full {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    padding: 0 0 20px;
    text-align: center;
}

.bullets--full img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 8px;
}

.bullets--full p {
    font-size: 24px;
    margin-top: 16px;
    color: #111;
}

.ultimaTecnica {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-sizing: border-box;
}

.textoVidrio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    text-align: center;
    padding: 30px;
}

.textoVidrio p {
    font-size: 30px;
    color: #111;
}

#vidrioTitulo {
    text-align: center;
    margin-bottom: 100px
}

/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    background-color: black;
    width: 100%;
    color: white;
    text-align: center;
}

footer p {
    font-family: "Outfit", sans-serif;
    padding: 10px 0;
    font-size: 18px;
    margin: 0;
}

footer img.centrado {
    display: block;
    max-width: 120px;
    height: auto;
    margin: 0 auto;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1400px) and (min-width: 1025px) {
    header nav { padding: 6px 0; }
    header nav ul {
        padding: 0 12px;
        justify-content: center;
        gap: 4px;
    }
    header nav li {
        padding: 10px 16px;
        font-size: 16px;
    }

    .tecnicas {
        padding: 40px 20px 0;
    }

    .tituloSeccion {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        font-size: 30px;
    }

    .bullets {
        width: 320px;
        max-width: 350px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .bullets--full p {
        font-size: 20px;
    }

    .textoVidrio {
        margin-left: 0;
        padding: 20px;
    }

    .textoVidrio p {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .tecnicas {
        min-height: 100svh;
        flex-direction: column;
        padding: 40px 20px 0;
    }

    .tituloSeccion {
        text-align: center;
    }

    .bullets {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
    }

    header nav ul {
        padding: 0 20px;
    }

    header nav li {
        padding: 12px 20px;
        font-size: 15px;
    }

    .bullets--full img {
        max-height: 50vh;
    }

    .bullets--full p {
        font-size: 20px;
    }

    .ultimaTecnica {
        grid-template-columns: 1fr;
        padding: 40px 20px 0;
    }

    .ultimaTecnica img {
        margin: 0 auto;
        max-width: 90vw;
    }

    #vidrioTitulo {
    text-align: center;
    margin-bottom: 0px
}

    .textoVidrio {
        margin-left: 0;
        padding: 20px 0 0;
    }

    .textoVidrio p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
    }

    .hero p {
        font-size: 16px;
        max-width: 95%;
    }

    .tituloSeccion {
        text-align: center;
        font-size: 32px;
    }

    .bullets--full img {
        max-height: 45vh;
    }

    .bullets--full p {
        font-size: 18px;
    }

    header nav {
        text-align: center;
        padding: 5px 0;
    }

    header nav ul {
        justify-content: center;
        padding: 10px;
    }

    header nav li {
        padding: 10px 15px;
        font-size: 14px;
    }

    .ultimaTecnica img {
        max-width: 90vw;
    }

    .textoVidrio p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    header nav {
        position: relative;
        border-bottom: none;
    }

    header nav ul {
        flex-direction: column;
        gap: 30px;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    header nav li {
        width: auto;
        padding: 15px 40px;
        font-size: 20px;
        text-align: center;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .tituloSeccion {
        font-size: 28px;
    }

    .bullets {
        width: 100%;
        max-width: 480px;
    }

    .bullets--full img {
        max-width: 100%;
        height: auto;
        max-height: 40vh;
    }

    .bullets--full p {
        font-size: 16px;
    }

    .ultimaTecnica {
        padding: 20px 16px 0;
    }

    .ultimaTecnica img {
        max-width: 90vw;
    }

    .textoVidrio p {
        font-size: 16px;
    }
}