*{ margin: 0; padding: 0; box-sizing: border-box; transition: 0.5s;}


body{
    font-family: "Montserrat","arial";
}

header img {
    width: 10rem;
    margin: 0.7rem;
}
.encabezado{
    background: #272727; 
    display: flex; 
    justify-content:center; 
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0px 1px 10px;
}

nav{ 
    font-size: 1rem; 
    letter-spacing: 0.1rem;
}
nav ul{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
nav ul li a{
    color: #ffffff; 
    display: inline-block;
    margin: 0.5rem;
    text-decoration: none;
}
nav ul li a:hover{ 
    color: rgb(250, 149, 66);
}

.primera {
    background-image: url(https://www.xmple.com/wallpaper/gradient-pink-linear-orange-1920x1080-c2-f9b057-e22896-a-180-f-14.svg); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color :#000000; 
}

section article{
    width: 100%;
    display: flex; 
    justify-content:center; 
    flex-wrap: wrap;
    align-items: center;
}


footer {
    color: #7c7c7c; 
    font-size: 0.8rem; 
    text-align: left; 
    padding: 1.5rem; 
    width: auto;
    margin: 5rem 0 0 0 ; 
    background: #1a1a1a;
}

@media screen and (min-width: 768px){
    .encabezado{ 
    display: flex; 
    justify-content:space-around; 
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0px 1px 10px;}

    .contenedor{
    width:65%;
    margin: auto;
    display: flex; 
    justify-content:center; 
    flex-wrap: wrap;
    align-items: center;
    }
    
    .contenedor article{
        width: 50%;
    display: flex; 
    justify-content:center; 
    flex-wrap: wrap;
    padding: 3rem;

    }

header img {
    width: 12rem;
    margin: 1rem;
}
    nav ul li a{
        font-size: 1rem;
    color: #ffffff; 
    display: inline-block;
    margin: 1rem;
    text-decoration: none;}   


    .imagen1 img{
    width: 16rem;
    margin: 1rem;
}

.texto1 a img{
    width: 11rem;
    margin: 1rem;
}
.texto1 h2{
    font-size: 3rem;
    line-height: 3rem;
    text-align: left;
    color: rgb(0, 0, 0);
    margin-bottom: 0rem;
    padding: 2rem;
}
.texto1 p {
    font-size: 2rem;
    text-align: left;
    color:rgb(0, 0, 0);
    padding: 0 2rem 2rem 2rem;
}

.texto2 h2{
    font-size: 2rem;
    line-height: 2rem;
    text-align: left;
    color: #1a1a1a;
    margin-bottom: 0rem;
    padding: 2rem;
}
.texto2 p{
    font-size: 2rem;
    text-align: left;
    padding: 0 2rem 2rem 2rem;
}
.video{
    padding: 1rem;
    display: block;
    width: 100%; 
    padding-bottom: 56.25%;
    height:0;
    position: relative;
}

.video iframe{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: block;
    width: 100%;
}

}
