@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf');
}

@font-face {
    font-family: 'Poppins Bold';
    src: url('../fonts/Poppins-Bold.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.subtitulo {
    color: black;
    text-align: center;
    font-size: 24px;
}


/* --- Sección Hero --- */

.heropublic {
    position: relative;
    height: 100vh;
    background: url('../img/proceedings3.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlaypublic {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-textpublic {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1.5s ease-in-out;
}

.hero-textpublic h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-textpublic p {
    font-size: 18px;
    font-weight: 300;
}


/* --- Animaciones --- */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsividad --- */

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        text-align: right;
        padding: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .hamburger {
        display: block;
    }
    .hero-textpublic h1 {
        font-size: 36px;
    }
    .hero-textpublic p {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins';
}

.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 250px;
    font-family: 'Poppins';
    justify-items: center;
    margin-top: 10%;
    width: 100%;
}

.parent img {
    width: 80%;
    height: 90%;
}

.parent h2 {
    font-size: 4em;
    text-align: center;
    letter-spacing: 20px;
    margin-top: -35%;
    /*border-bottom: 2px solid rgb(107, 149, 255);*/
    color: #18836f;
}

.div1 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    /*50*/
    border-radius: 0px;
    /*2px*/
    padding-top: 0%;
    /*3%*/
    /*border: 0.5px solid #eeeeee9d;*/
}

.div1 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div1 img:hover {
    transform: scale(1.07);
}

.div2 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    border-radius: 0px;
    padding-top: 0%;
    /*border: 0.5px solid #eeeeee9d;*/
}

.div2 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div2 img:hover {
    transform: scale(1.07);
}

.div3 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    border-radius: 0px;
    padding-top: 0%;
    /*border: 0.5px solid #eeeeee9d;*/
}

.div3 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div3 img:hover {
    transform: scale(1.07);
}

.div4 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    border-radius: 0px;
    padding-top: 0%;
    /*border: 0.5px solid #eeeeee9d;*/
}

.div4 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div4 img:hover {
    transform: scale(1.07);
}

.div5 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    border-radius: 0px;
    padding-top: 0%;
    /*border: 0.5px solid #eeeeee9d;*/
}

.div5 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div5 img:hover {
    transform: scale(1.07);
}

.div6 {
    /*background-color: #eeeeee9d;*/
    text-align: center;
    margin: 10% 10% 10% 10%;
    width: 50%;
    border-radius: 0px;
    padding-top: 0%;
    /*border: 0.5px solid #eeeeee9d;*/
}

.div6 img {
    transition-property: transform;
    transition-duration: 1s;
    box-shadow: 10px 10px 5px 0px rgba(120, 120, 120, 0.75);
}

.div6 img:hover {
    transform: scale(1.07);
}

@media screen and (max-width: 1234px) {
    .llamadoimg h1 {
        font-size: 2rem;
        margin-top: 10px;
        margin-left: 10px;
    }
    .llamadoimg {
        background-size: contain;
    }
    .parent {
        grid-template-columns: 1fr;
    }
    .parent h2 {
        font-size: 2em;
        text-align: center;
        letter-spacing: 50px;
        margin-top: -35%;
    }
    .div1 {
        padding-top: 5%;
    }
    .div2 {
        padding-top: 5%;
    }
    .div3 {
        padding-top: 5%;
    }
    .div4 {
        padding-top: 5%;
    }
    .div5 {
        padding-top: 5%;
    }
    .div6 {
        padding-top: 5%;
    }
}