/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: linotype-vectora, sans-serif;
}

.titletoonboom {
    font-family: "obviously-wide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    margin-bottom: 0px;
}

.titledisper {
    font-family: "fang", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 55px;
    margin-bottom: 0px;
}

.titleclub {
    font-family: "work-sans", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.titleobra {
    font-family: "monarcha", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.titlestopmo {
    font-family: "rufina-stencil-alt-01", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.titledibujoanimadores {
    font-family: "organda-mn", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 55px;
    margin-bottom: 0px;
}

.titleacting {
    font-family: "fang", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 55px;
    margin-bottom: 0px;
}

.titlemixtas {
    font-family: "pliego", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.titlestory {
    font-family: "field-gothic-xwide", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.titleanimacion {
    font-family: "owners-xwide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    margin-bottom: 0px;
}

.author {
    font-family: "work-sans", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 30px;
}

.description, p {
    font-family: linotype-vectora, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0px;
}

h1 {
    line-height: 1.2; /* Ajusta el valor según tus necesidades */
}

/* Menu */
header {
    position: fixed;
    top: 0px;
    width: 100%;
    background: rgba(0, 0, 0, 255);
    z-index: 1000;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px;
    color: #fff;
}

.menu .logo {
    height: 40px;
    width: auto;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

main {
    margin-top: 0px; /* Ajustar según la altura del header */
}

/* Secciones de contenido */
.hero {
    position: relative;
    height: auto;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Esto asegura que el contenido no se salga del contenedor */
}

.hero img {
    width: 100%;
    height: auto;
}

.content {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: left;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.7);
}

.overlay {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px; /* Agregado para espaciado interno */
}

.overlay h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 18px;
    margin-bottom: 20px;
}

.overlay a {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #fff;
}

.iconosInline {
    display: inline;
}

#redesMenu {
    padding-left: 0;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
    }

    .menu li {
        margin-left: 0;
        margin-top: 10px;
    }

    .content {
        height: auto*2; /* Ajustado para móvil */
        padding: 20px; /* Agregado para espaciado interno en móvil */
    }

    .overlay h2 {
        font-size: 24px;
    }

    .overlay p {
        font-size: 16px;
    }

    .hero img {
        width: 100%;
        height: auto;
    }

    .background {
        background-size: cover;
        background-position: center;
    }

    .section {
        padding: 20px; /* Agregado para espaciado interno en móvil */
    }

    .titletoonboom {
        font-size: 20px; /* Reducción del tamaño del título */
    }

    .titledisper {
        font-size: 25px; /* Reducción del tamaño del título */
    }

    .titleclub {
        font-size: 25px; /* Reducción del tamaño del título */
    }

    .titleobra {
        font-size: 25px; /* Reducción del tamaño del título */
    }

    .titlestopmo {
        font-size: 25px;
    }
    
    .titledibujoanimadores {
        font-size: 25px;
    }
    
    .titleacting {
        font-size: 25px;
    }

    .titleanimacion {
        font-size: 25px;
    }
    
    .titlemixtas {
        font-size: 25px;
    }
    
    .titlestory {
        font-size: 25px;
    }
    
}
