body {
    font-family: 'open sans';
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}


header {
    width: 100%;
    height: auto;
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #19165483, #43c6ac88);
    background: linear-gradient(to right, #19165483, #43c6ac88);
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo{
    padding-right: 10px;
    margin: 10px;
}

.titulo {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
}

main {
    padding: 20px;
}

.descripcion {
    width: 92%;
    text-align: center;
    margin: 0 auto 50px auto;
}

.descripcion h2 {
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.descripcion p {

    text-align: justify;
    font-size: 20px;
    line-height: 1.6;
}

.galeria {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: b;
}

.imagen {
    width: 25%;
    height: 400px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}

.imagen:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.imagen img {
    width: 100%;
    height: 200px;
    display: block;
}

.texto {
    padding: 15px;
}

.texto h3 {
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    text-align: center;
    margin-bottom: 2px;
    margin-top: 2px;
}

.texto p {
    text-align: center;
    font-size: 15px;
}


footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: #fff;
}

@media screen and (max-width:1000px) {
    
    header {
    align-items: center;
    justify-content: center;
    }

    .galeria {
        flex-direction: column;
        align-content: center;
    }

    .titulo h1 {
        font-size: 28px;
        width: 100%;
    }

    .descripcion h2 {
        font-size: 20px;
        width: 77%;
        margin: 20px auto;
    }

    .descripcion p {
        font-size: 15px;
        width: 80%;
        margin: 20px auto;
    }

    .imagen {
        width: 60%;
    }

}

@media screen and (max-width:500px) {

    header {
        flex-direction: column;
    }

    .logo {
        margin-top: 20px;
    }

    .titulo {
        width: 90%;
        font-size: 15px;
        position: relative;
        bottom: 25px;
    }
    

    .descripcion h2 {
        font-size: 25px;
        margin-bottom: 2px;
        align-items: center;
    }

    .descripcion p {
        font-size: 15px;
    }

    .imagen {
        width: 80%;
    }

    .texto h3 {
        font-size: 25px;
    }

    .imagen:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transform: translateY(0px);
    }


}