* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px; /* Ajusta según la altura del footer */
}

main {
    flex: 1; /* Hace que el contenido principal ocupe el espacio restante */
}

@font-face {
    font-family: 'Nexa';
    src: url('Nexa Bold.otf') format('opentype');
    font-weight: bold; /* Especifica que esta es la versión en negrita */
}

@font-face {
    font-family: 'Nexa';
    src: url('Nexa Light.otf') format('opentype');
    font-weight: normal; /* Especifica que esta es la versión normal (light) */
}

h1 {
    text-align: center;
    margin: 50px;
    font-size: 40px;
}

.contBlog {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.blog {
    background-color: #8080809c;
    margin: 30px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 3px;
}

.blog img {
    width: 40%;
    align-content: center;
}

.blog h2 {
    margin: 25px;
    width: 100%;
}

.blog p {
    width: 100%;
    text-align: justify;
    margin: 30px;
    font-family: 'Nexa', sans-serif;
    font-weight: normal;
}

.blog .textoNop {
    font-size: x-large;
    margin: 30px;
}

@media screen and (max-width: 768px) {

    h1 {
        margin-top: 140px;
    }

    .contBlog {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        flex-direction: column;
        position: relative;
        left: 36px;
    }

    .blog {
        width: 90%;
        background-color: #8080809c;
        padding: 30px;
        display: flex;
        align-items: center;
        border-radius: 3px;
        flex-direction: column;
        text-align: center;
    }

    .blog p {
        width: 90%;
        text-align: justify;
        margin: 30px 20px 20px 20px;
    }

    .blog img {
        width: 100%;
        align-content: center;
        text-align: center;
    }

    .blog .textoNop {
        font-size: x-large;
        margin-top: 40px;
    }
}