@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Ubuntu&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    color: white;
    margin: 0;
    background: rgb(131,58,180);
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(239,141,174,1) 50%, rgba(70,110,252,1) 100%);
}

header {
    background-color: black;
    width: 100%;
}
  
.logo {
    margin-left: 25px;
    width: 190px;
    height: 80px;
}
  
ul { 
    float: right;
    margin-right: 50px;
    margin-top: 25px;
}
  
ul li {
    display: inline;
}
  
ul li a {
    font-weight: normal;
    margin-left: 20px;
    font-size: 20px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}
  
ul li a:hover {
    color: #EA89AE;
}
    
.active {
    color: #EA89AE;
}

.contenedor{
    border-bottom: solid 1px black;
}

.contenedor img {
    margin-left: 460px;
}

.smlogo img{
    border: solid 3px black;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 300px;
    height: 200px;
}

.smlogo h2{
    color: black;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

h2 a{
    color: white;
    text-decoration: underline;
}

.historia{
    border: solid 3px black;
    background-color: rgb(100, 100, 100);
    margin: 35px;
    text-align: center;
}

.historia h2{
    background-color: black;
    border-bottom: solid 1px black;
    margin-bottom: 10px;
}

.historia p{
    color: black;
    margin: 0px 10px 0px 10px;
    border-bottom: solid 1px black;
}

.historia img{
    border: solid 3px black;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 500px;
    height: 400px;
}

.historia h3{
    border-bottom: solid 1px black;
    color: black;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
}

.row{
    border: solid 3px black;
    background-color: rgb(100, 100, 100);
    margin: 35px;
    padding: 20px;
    text-align: center;
}

.row img{
    width: 500px;
    height: 400px;
    margin-bottom: 7.2px;
}

.row iframe{
    width: 500px;
    height: 400px;
}

.row h3{
    border-bottom: solid 1px black;
    color: black;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0px;
}

.contenedor2{
    border: solid 3px black;
    background-color: rgb(100, 100, 100);
    margin: 35px;
    text-align: center;
}

.contenedor2 h2{
    background-color: black;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: solid 1px black;
}

.contenedor2 p{
    color: black;
} 

.primera{
    border-bottom: solid 1px black;
}

.segunda{
    margin-top: 10px;
    border-bottom: solid 1px black;
}

.tercera{
    margin-top: 10px;
    border-bottom: solid 1px black;
}

.cuarta{
    margin-top: 10px;
    border-bottom: solid 1px black;
}

.contenedor3{
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor3 h2{
    text-align: center;
    font-weight: bold;
    border-bottom: solid 1px black;
}

footer{
    background-color: black;
    color: white;
    padding: 10px;
}

footer h2{
    font-size: 25px;
    text-align: center;
    border-bottom: solid 1px grey;
}

.grid{
    display: flex;
}

.grid div a img{
    margin-top: 50px;
    margin-left: 160px;
    margin-bottom: 50px;
    display: inline-block;
    width: 50px;
    height: 50px;
    transition: width 1s;
}

.grid div a img:hover{
    width: 55px;
}

footer h3{
    font-size: 10px;
    text-align: center;
    border-top: solid 1px grey;
}

@media screen and (max-width: 600px){
    nav ul{
        margin-bottom: 0;
        float: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    nav li{
        display: inline;
    }
    
    nav li a{
        font-size: 15px;
        margin-left: 20px;
        padding: 0;
    }

    a:hover, a.active{
        background-color: none;
        color: #EA89AE;
    }

    .enlace{
        position: relative;
        margin: 45px;
    }
      
    .logo{
        margin-left: 170px;
        height: 60px;
        width: 120px;
    }

    .enlace{
        padding-left: 20px;
    }

    nav ul li a{
        font-size: 16px;
    }

    .contenedor img {
        margin-left: 200px;
        width: 200px;
        height: 150px;
    }

    .contenedor h2 {
        font-size: 10px;
    }

    .historia h2 {
        font-size: 20px;
    }

    .historia p {
        font-size: 15px;
    }

    .historia h3 {
        font-size: 10px;
    }

    .contenedor2 h2 {
        font-size: 20px;
    }

    .contenedor2 h3 {
        font-size: 20px;
    }

    .contenedor2 p {
        font-size: 15px;
    }

    .contenedor3 h2 {
        font-size: 20px;
    }

    input {
        margin-bottom: 5px;
        margin-left: 65px;
        display: block;
    }

    input.enviar {
        margin-left: 150px;
    }

    .row h3 {
        font-size: 10px;
    }

    .row iframe {
        width: 350px;
        height: 500px;
        margin-left: 5px;
    }

    .row img {
        width: 350px;
        height: 500px;
        margin-left: 5px;
    }

    .grid div a img{
        margin-left: 110px;
        margin-bottom: 50px;
        display: inline-block;
        width: 50px;
        height: 50px;
    }

    footer h2 {
        font-size: 20px;
    }

    footer h3 {
        font-size: 10px;
    }

    .grid {
        display: block;
    }

    .grid div a img{
        margin-top: 0;
        margin-left: 270px;
        margin-bottom: 20px;
        display: block;
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 426px){
    nav ul{
        margin-bottom: 0;
        float: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    nav ul li{
         display: inline;
    }

    nav ul li a{
        font-size: 13px;
        margin-left: 20px;
        padding: 0;
    }

    a:hover, a.active{
        background-color: none;
        color: #EA89AE;
    }

    .enlace{
        position: relative;
        margin: 45px;
    }
      
    .logo{
        margin-left: 90px;
        height: 60px;
        width: 120px;
    }

    .contenedor img {
        margin-left: 110px;
        width: 200px;
        height: 150px;
    }

    .row iframe {
        height: 200px;
        width: 300px;
        margin-left: 0;
    }

    .row img {
        height: 200px;
        width: 300px;
        margin-left: 0;
    }

    .grid div a img{
        margin-left: 110px;
        margin-bottom: 50px;
        display: inline-block;
        width: 50px;
        height: 50px;
    }

    .historia img {
        height: 200px;
        width: 300px;
        margin-left: 0;
    }

    .grid div a img{
        margin-top: 20px;
        margin-left: 180px;
        margin-bottom: 20px;
        display: block;
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 320px){
    nav ul{
        margin-top: 0;
        margin-bottom: 0;
        float: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    nav li{
        display: inline;
    }

    nav ul li a{
        font-size: 10px;
        margin-left: 10px;
        padding: 0;
    }

    a:hover, a.active{
        background-color: none;
        color: #EA89AE;
    }
                
    .enlace{
        position: relative;
        margin: 45px;
    }
      
    .logo{
        margin-left: 35px;
        height: 60px;
        width: 120px;
    }

    .contenedor img {
        margin-left: 80px;
        width: 160px;
        height: 140px;
    }

    .contenedor h2 {
        font-size: 8px;
    }

    .historia h2 {
        font-size: 10px;
    }

    .historia p {
        font-size: 10px;
    }

    .historia h3 {
        font-size: 8px;
    }

    .contenedor2 h2 {
        font-size: 10px;
    }

    .contenedor2 h3 {
        font-size: 10px;
    }

    .contenedor2 p {
        font-size: 10px;
    }

    .contenedor3 h2 {
        font-size: 10px;
    }

    .contenedor img {
        margin-left: 100px;
        width: 120px;
        height: 120px;
    }

    .row iframe {
        height: 100px;
        width: 200px;
        margin-right: 20px;
    }

    .row h3 {
        font-size: 8px;
    }

    .row img {
        height: 100px;
        width: 200px;
        margin-right: 20px;
    }

    .grid div a img{
        margin-bottom: 50px;
        display: inline-block;
        height: 100px;
        width: 200px;
        margin-right: 20px;
    }

    .historia img {
        height: 100px;
        width: 200px;
        margin-left: 0;
    }

    .grid div a img{
        margin-top: 20px;
        margin-left: 180px;
        margin-bottom: 20px;
        display: block;
        width: 40px;
        height: 40px;
    }

    input#Nombre {
        font-size: 10px;
        margin-bottom: 5px;
        margin-left: 100px;
        display: block;
    }

    input#Correo {
        font-size: 10px;
        margin-bottom: 5px;
        margin-left: 100px;
        display: block;
    }

    input#Mensaje {
        font-size: 10px;
        margin-bottom: 5px;
        margin-left: 100px;
        display: block;
    }

    input.enviar {
        font-size: 10px;
        margin-right: 150px;
    }

    footer h2 {
        font-size: 15px;
    }

    footer h3 {
        font-size: 10px;
    }

    .grid div a img{
        margin-left: 135px;
        margin-bottom: 20px;
        display: block;
        width: 30px;
        height: 30px;
    }
}