h1 {
    font-size: 60px;
    font-weight: bolder;
    padding: 50px 10px 20px 10px;
    margin: auto;
    color: var(--col-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

header {
    min-height: 600px;
    max-height: 600px;
    overflow: hidden;
    letter-spacing:20px;
    text-align: center;
    background-image: url(../imgs/fondo-inicioD.webp);
    background-attachment: fixed;
    background-size: 100%; /* Asegura que la imagen cubra completamente el contenedor */
    background-position: top center; /* Centra la imagen tanto horizontal como verticalmente */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    transition: 1.5s;
}

header:hover {
    background-size: 110%;
    transition: 1.5s;
}

header p{
    padding: 0 40px;
    font-family: "Major Mono Display", serif;
    font-size: 20px;
    font-weight: bolder;
    max-width: 800px;
    margin: auto;
}

header h1 {
    padding-top: 150px;
}

.container {
    padding-top: 200px;
    max-width: 50%;
    margin: 0 auto;
    height: 600px;
    font-family: "Major Mono Display", serif;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
}

/* Responsive design */
@media (max-width: 970px) {
    .container{
        max-width: 70%;
    }
}
@media (max-width: 770px) {
    .container{
        padding-top: 100px;
    }
}
@media (max-width: 670px) {
    header h1{
        font-size: 50px;
    }
}
@media (max-width: 600px) {
    header h1{
        font-size: 40px;
    }
    header p{
        font-size: 18px;
    }
    .container{
        padding-top: 20px;
    }
}
@media (max-width: 560px) {
    header h1{
        padding-top: 100px;
        font-size: 35px;
    }
    header p{
        font-size: 16px;
    }
    .container{
        padding-top: 0px;
    }
    .texto-secund{
        margin-top: -130px;
        font-size: 18px;
    }
}
@media (max-width: 460px) {
    header h1{
        letter-spacing: 12px;
        padding-top: 70px;
        font-size: 30px;
    }
    header p{
        font-size: 14px;
    }
    .texto-secund{
        margin-top: -180px;
    }
}
@media (max-width: 420px) {
    .texto-secund{
        margin-top: -220px;
    }
}
@media (max-width: 370px) {
    .texto-secund{
        margin-top: -270px;
        font-size: 18px;
    }
}

