body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/**********************************headers**************************************/
.header-top {
    background-color: #1A1717;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top img {
    max-width: 100%;
    height: auto;
    max-height: 25px;
    margin-left: 10px;
}

.header-bottom {
    background-color: #E21010;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-bottom img {
    max-width: 100%;
    height: auto;
    max-height: 145px;
    margin-right: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-68%);
    left: 0;
}

.header-bottom .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-bottom h1 {
    margin: 0 20px 0 125px;
    color: #fff;
}

.header-bottom nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-family: Verdana, sans-serif;
    position: relative;
    transition: color 0.3s;
}

.header-bottom nav a:hover {
    color: #000000;
}

/********************texto******************************/
.textaco {
    font-size: 20px;
    margin: 20px;
    text-align: justify;
    margin-left: 150px;
    margin-right: 150px;
}

.textaco img {
    width: auto;
    height: 40%;
    margin: 20px;
}

.textaco-imagen {
    display: flex;
}

h2 {
    color: #E21010;
    font-size: 60px;
    font-weight: bold;
    margin-top: 50px;
    margin-left: 150px;
    text-align: left;
}

.textaco-imagen p {
    font-size: 20px;
    margin-right: 40px;
    text-align: justify;
    margin-left: 150px;
    margin-top: 20px;
}

.textaco-imagen img {
    width: 20%;
    height: auto;
    margin-right: 10%;
    margin-bottom: 5%;
    margin-top: 20px;
}

.textaco a {
    color: #E21010;
}

/****************menu**********************/
.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 800px;
    margin: 20px auto;
}

.menu-item {
    width: 30%;
    margin: 10px;
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.menu-item p {
    margin: 5px 0;
    color: #E21010;
}

.menu-item :hover {
    text-decoration: none;
}

/****************mision****************/
.seccion {
    display: flex;
    flex-direction: row;
}

.texto-blanco {
    flex: 1;
    background-color: white;
    padding: 20px;
    text-align: justify;
}

.texto-blanco h2 {
    color: #E21010;
    margin-left: 10%;
    margin-top: 20%;
    margin-right: 10%;
    ;
}


.texto-blanco p {
    color: #E21010;
    margin-left: 10%;
    margin-bottom: 10%;
    margin-right: 10%;
    ;
}

.texto-rojo {
    flex: 1;
    background-color: #E21010;
    padding: 20px;
    text-align: justify;
}

.texto-rojo h2 {
    color: white;
    margin-left: 10%;
    margin-top: 20%;
    margin-right: 10%;
    ;
}


.texto-rojo p {
    color: white;
    margin-left: 10%;
    margin-bottom: 10%;
    margin-right: 10%;
    ;
}

.imagen-blanco {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.imagen-blanco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagen-rojo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.imagen-rojo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*******************galeria*************/
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.gallery img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    margin: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
}

/****************escudo********************/
.textaco-escudo {
    font-size: 20px;
    margin: 20px;
    text-align: justify;
    margin-left: 150px;
    margin-right: 150px;
    float: left;
}

.textaco-escudo a {
    color: #E21010;
}

.textaco-escudo img {
    max-width: 100%;
    max-height: 450px;
    margin-left: 30%;

}

/****************footer********************/
footer {
    background-color: #E21010;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    text-align: left;
    margin-left: 20px;
}

.social-icons {
    text-align: right;
}

.icon {
    margin-left: 10px;
}

.icon img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

a {
    text-decoration: none;
}

/***************mediaquery*************/
@media(max-width:1000px) {
    h2 {
        margin-right: 150px;
    }

    .textaco-escudo {
        margin-left: 30px;
        margin-right: 30px;
    }

    .textaco-escudo img {
        margin: 0%;
    }

    .textaco img{
        display: none;
    }
}

@media(max-width:700px) {
    .header-bottom h1 {
        flex-direction: column;
        text-align: end;
        margin: 0;
    }

    .header-bottom img {
        display: none;
    }

    nav {
        flex-direction: column;
        background-color: #E21010;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    nav a {
        margin: 10px;
    }

    /************************************************/

    h2 {
        margin-left: 20px;
        margin-right: 20px;
    }

    .textaco {
        margin-left: 20px;
        margin-right: 20px;
    }

    .imagen-blanco {
        display: none;
    }

    .imagen-rojo {
        display: none;
    }


}