body {
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    padding: 0;
}
h1 {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-family: 'Dosis', sans-serif;
    font-size: 50px;
    color: #000000;
    text-shadow:
      1px 1px 2px rgb(255, 255, 255),
      2px 2px 4px rgb(179, 179, 179),
      8px 8px 8px rgb(255, 255, 255);
}
h2 {
    width: 100%;
    height: 50px;
    margin: 10px 0 0 0;
    padding-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    border-bottom: 1px solid #ff660093;
}
h3 {
    width: 100%;
    height: auto;
    padding-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    text-align: justify;
    color: #424242;
    border-bottom: 1px solid #ff660093;
}
h4{
    width: 100%;
    height: 50px;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #dadada;
    font-size: 30px;
    margin: 0;
    padding: 0;
}
/*------------------------Comienzo de cabecera contiene logo y menu--------------------*/
#logo-big {
    width: 200px;
    height: 150px;
    margin-top: 15px;
    margin-left: 8px;
    display: flex;
    position: absolute;
    background-image: url("https://www.sthernan.com/public/assets/img/iconos/logo.png");
    background-repeat: no-repeat;
}
#portada {
    width: 100%;
    height: 600px;
    background-image: url("https://www.sthernan.com/public/assets/img/portadas/portada.jpg");
    background-attachment: fixed;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}
.wave{
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin-top: 250px;
    height: 130px;
}
/*-------------------------- Bloque para desarrollo de tema---------------------------*/
.barra{
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 50px;
    background-color: #fa662c;
}
.barra img{
    height: 35px;
    float: left;
    margin-top: 6px;
    cursor: pointer;
}
#btn-menu {
    display: none;
}
nav{
    position: absolute;
    transform: translate(-100% );
    transition: all 0.5s;
}
nav ul{
    padding: 5px 0 5px 0;
    margin: 0;
    background-color: #797979;
}
nav ul li{
    list-style: none;
    padding-top: 15px;
    margin-top: 2px;
    border-bottom: 1px solid #fa662c;
}
nav ul li a{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    text-decoration: none;
    color: #ffffff;
    margin-left: 8px;
}
#btn-menu:checked ~ nav{
    transform: translate(0%);
}
main{
    width: 1200px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    overflow: hidden;
    padding: 0;
}
#tituloindex{
    display: flex;
    position: absolute;
    width: 1000px;
    height: 150px;
    margin-top: -430px;
    margin-left: 90px;
}
.titulo{
    display: flex;
    width: 100%;
    height: 120px;
    border-radius: 8px; 
    margin-top: 30px;
    border-bottom: 10px solid #fa662c;
    align-items: center;
    justify-content: center;
}
.titulo h1{
    padding-top: 40px;
}
.indexto{
    width: 100%;
    height: auto;
}
.indexto a{
    text-decoration: none;
}
.textbox{
    width: 100%;
    height: auto;
}
.textbox img{
    display: block;
    padding-left: 50px;
    float: right;
}
.textbox p{
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
    line-height: 2em;
    font-size: 16px;
}
.botontipicas{
    width: 100%;
    height: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #fa662c;
    text-align: center;
}
.botontipicas a{
    width: 100%;
    background-color: #ff0000;
    color: #ffffff;
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;  
}
hr {
    background-color: rgb(207, 207, 207);
    height: 1px;
}
.texto {
    width: 1200px;
    min-height: 400px;
    float: left;
}
.texto img {
    width: 600px;
    display: block;
    padding-left: 50px;
    float: right;
}
.cons img{
    width: 300px;
}
.consejos{
    background-color: #c9863a13;
    padding: 20px;
    margin-left: 120px;
    margin-right: 120px;
}
.inicio{
    text-decoration: none;
    background-color: #000000af;
    padding: 1px 4px 1px 4px;
    border-radius: 3px;
    font-weight: bold;
    color: #ffffff;
}
.descripcion{
    margin-top: 30px;
    background-color: #ffee0018;
    border-radius: 5px;
    padding: 10px;
}
.descripcion p{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 5px 0 0 0;
    text-align: justify;
    line-height: 2em;
}
.opciones{
    display: flex;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;    
}
.opciones img{
    width: 30px;
}
.texto p{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 5px 0 0 0;
    text-align: justify;
    line-height: 2em;
    margin-bottom: 50px;   
}
section a{
    text-decoration: none;
}
.mapa {
    width: 120px;
    height: 60px;
    float: left;
    margin-left: 20px;
    padding-bottom: 50px;
    margin-bottom: 50px;
}
.mapa p{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: center;
    color: #4d4d4d;
}
.mapa img{
    width: 45px;
    height: 45px;
    padding: 0;
    margin-right: 35px;
    margin-top: -50px;
}
form{
    width: 419px;
    height: 270px;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    padding-top: 15px;
    background-color: #dadada;
}
input , textarea {
    display: block;
    border: none;
    width:399px;
    padding: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
    border-radius: 4px;
}
#enviar {
    width: 90px;
    height: 27px;
    border-radius: 5px;
    border-color: #ff782991;
    background-color: #ff782991;
}
#enviar:hover {
	border: 2px;
    border-style: solid;
    font-weight: bold;
    border-color: rgb(255, 81, 0);
}
#forinfo{
    width: 100%;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    text-align: center;
}
#forinfo a{
    text-decoration: none;
    color: #777777;
    font-size: 26px;
    font-weight: bold;
}
 /*---------------------------------------------------------------Estilos para el footer-----------------------------------------------------------*/
 footer {
    width: 100%;
    height: 300px;
    background-color: #fa662c;
}
#foot{
    width: 1200px;
    height: 300px;
    background-color: #fa662c;
    margin-left: auto;
    margin-right: auto;
}
#onefoot{
    width: 133px;
    height: 250px;
    float: left;
}
#onefoot img{
    margin-top: 70px;
}
#twofoot, #threefoot{
    width: 500px;
    height: 250px;
    float: left;
}
#twofoot li, #threefoot li{
    list-style: none;
    margin-top: 25px;
    text-align: center;
}
#twofoot li a, #threefoot li a{
    text-decoration: none;
    color: #ffffff;   
}
#social{
    width: 150px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 90px;
}
#social img{
    margin-left: 17px;
}
#fourfoot{
    width: 1200px;
    height: 49px;
    float: left;
    border-top: 1px solid #ffffff;
}
small{
    color: #ffffff;
}
#active{
   float: right;
   margin-top: 3px;
}
/*-----------------------------Responsive para 1590px--------------------------*/
@media (max-width: 1590px) {
    #portada {
        width: 100%;
        height: 500px;
    }
    .wave{
        bottom: 0px;
        width: 100%;
        margin-top: 250px;
        height: 130px;
    }
    #tituloindex {
        margin-top: -400px;
    }
    #tituloindex h1 {
        font-size: 50px;
        margin-top: 50px;
    }
}
/*-----------------------------Responsive para 1310px--------------------------*/
@media (max-width: 1310px) {
    #portada {
        width: 100%;
        height: 450px;
    }
    #tituloindex {
        margin-top: -320px;
    }
    #logo-big {
        width: 173px;
        height: 130px;
        background-image: url("https://www.sthernan.com/public/assets/img/iconos/logo2.png");
    }   
}
/*-----------------------------Responsive para 1280px--------------------------*/
@media (max-width: 1280px) {
    #portada {
        height: 600px;
        background-image: url("https://www.sthernan.com/public/assets/img/portadas/portada1.jpg");
    }
    main {
        width: 1000px;
    }
    .texto {
        width: 1000px;
    }
    .texto img {
        padding-left: 20px;
    }
    .texto p {
        margin: 0; 
    }
    .mapa {
        width: 100px;
        height: 50px;
        margin-left: 20px;
        margin-top: 30px;
    }
    .mapa img{
        padding: 0;
        margin-right: 25px;
        margin-top: 0;
    }
    #tituloindex {
        width: 700px;
        margin-left: 150px;
        margin-top: -400px;
    }
    #foot{
        width: 1000px;
    }
    #twofoot, #threefoot{
        width: 433px;
    }
    #fourfoot{
        width: 1000px;
    }
}
/*-----------------------------Responsive para 1080px--------------------------*/
@media (max-width: 1080px) {
    #portada {
        height: 600px;
        background-image: url("https://www.sthernan.com/public/assets/img/portadas/portada2.jpg");
    }
    .titulo h1{
        font-size: 40px;
    }
    main {
        width: 800px;
    }
    .texto {
        width: 800px;
        margin-bottom: 50px;
    }
    .texto img {
        width: 500px;
        padding-left: 15px;
    }
    .texto p {
        margin: 0; 
    }
    .cons img{
        width: 300px;
    }
    .consejos{
        margin-left: 100px;
        margin-right: 100px;
    }
    .mapa {
        height: 50px;
        margin-bottom: 10px;
    }
    .mapa img{
        width: 45px;
        height: 45px;
        padding: 0;
        margin-right: 25px;
    }
    #tituloindex {
        margin-left: 50px;
    }
    #foot{
        width: 800px;
    }
    #twofoot, #threefoot{
        width: 333px;
    }
    #fourfoot{
        width: 800px;
    }
}
/*-----------------------------Responsive para 995px--------------------------*/
@media (max-width: 995px) {
    #logo-big {
        width: 133px;
        height: 100px;
        background-image: url("https://www.sthernan.com/public/assets/img/iconos/logo3.png");
    }
    #portada {
        height: 500px;
    }
    #tituloindex {
        margin-top: -350px;
    }
}
/*-----------------------------Responsive para 860px--------------------------*/
@media (max-width: 860px) {
    main {
        width: 600px;
    }
    main h3{
        font-size: 16px;
    }
    .menu {
        display: none;
    }
    .textbox img{
        width: 200px;
        padding-left: 30px;
    }
    #tituloindex {
        width: 600px;
        margin-top: -350px;
        margin-left: 20px;
        height: 100px;
    }
    #tituloindex h1 {
        font-size: 40px;
    }
    .titulo h1{
        font-size: 30px;
        padding-top: 25px;
    }
    .titexto {
        width: 600px;
    }
    .titexto h1{
        margin-top: 6px;
    }
    .texto {
        width: 600px;
    }
    .texto img {
        width: 600px;
        padding-bottom: 15px;
    }
    .texto p {
        margin: 0; 
    }
    .texto h2 {
        font-size: 24px;
    }
    .cons img{
        width: 300px;
    }
    .consejos{
        margin-left: 50px;
        margin-right: 50px;
    }
    .mapa {
        height: 40px;   
    }
    .mapa img {
        width: 45px;
        height: 45px;
    }
    #foot{
        width: 600px;
    }
    #twofoot, #threefoot{
        width: 233px;
    }
    
    #fourfoot{
        width: 600px;
    }
}
/*-----------------------------Responsive para 800px--------------------------*/
@media (max-width: 800px){
    #tituloindex {
        width: 500px;
        margin-left: 30px;
    }
}
/*-----------------------------Responsive para 780px--------------------------*/
@media (max-width: 780px){
    #portada {
        height: 450px;
    }
}
/*-----------------------------Responsive para 695px--------------------------*/
@media (max-width: 695px) {
    main {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
    #portada {
        height: 550px;
        background-image: url("https://www.sthernan.com/public/assets/img/portadas/portada3.jpg");
    }
    #tituloindex {
        margin-top: -380px;
    }
    .titulo h1{
        font-size: 30px;
        padding-top: 25px;
    }
    .texto {
        width: 100%;
    }
    .texto img {
        width: 100%;
    }
    .texto h2 {
        font-size: 22px;
    }
    .cons img{
        width: 300px;
    }
    .mapa img {
        width: 45px;
        height: 45px;
    }
}
/*-----------------------------Responsive para 625px--------------------------*/
@media (max-width: 625px) {
    #portada {
        height: 450px;
    }
    #tituloindex {
        width: 400px;
        height: 80px;
        margin-left: 10%;
        margin-top: -300px;
    }
    #tituloindex h1 {
        font-size: 35px;
    }
    .texto h2 {
        font-size: 20px;
    }
    #twofoot a, #threefoot a{
        font-size: 15px;
    }
    #foot{
        width: 100%;
    }
    #twofoot, #threefoot{
        width: 35%;
    }
    #fourfoot{
        width: 100%;
    }
}
/*-----------------------------Responsive para 530px--------------------------*/

@media (max-width: 530px) {
    #tituloindex {
        margin-left: 5%;
    }
    .titulo h1 {
        font-size: 30px;
    }
    .consejos{
        margin-left: 30px;
        margin-right: 30px;
    }
    .mapa {
        height: 30px;   
    }
    .mapa img {
        width: 45px;
        height: 45px;
        padding: 0;
        margin-right: 27px;
    }
}
/*-----------------------------Responsive para 500px--------------------------*/
@media (max-width: 500px) {
    #portada {
        height: 400px;
    }
    #logo-foot{
        width: 106px;
        height: 80px;
        background-size: cover;
        margin-top: 50px;
        margin-left: 30px;
    }
    .cons {
        height: 230px;
    }
    .cons img{
        margin-right: 15%;
    }
    form{
        width: 369px;
    }
    input , textarea {
        width:350px;
    }
    #twofoot, #threefoot{
        width: 33%;
    }
    #twofoot a, #threefoot a{
        font-size: 14px;
    }
}
/*-----------------------------Responsive para 465px--------------------------*/
@media (max-width: 465px) {
    #tituloindex {
        width: 350px;
    }
    #tituloindex h1 {
        font-size: 35px;
    }
    #logo-big {
        width: 100px;
        height: 75px;
        background-image: url("https://www.sthernan.com/public/assets/img/iconos/logo4.png");
    }
    .textbox img{
        width: 180px;
        padding-left: 20px;
    }
    .cons img{
        margin-right: 10%;
    }
}
/*-----------------------------Responsive para 440px--------------------------*/
@media (max-width: 440px) {
    #portada {
        height: 350px;
    }
    main h3 {
        font-size: 16px;
    }
    #tituloindex {
        margin-top: -270px;
    }
    #tituloindex h1 {
        font-size: 30px;
    }
    .opciones{
        font-size: 14px; 
    }
    .textbox img{
        width: 150px;
        padding-left: 15px;
    }
    .textbox p {
        line-height: 2em;
        font-size: 14px;
    }
    .texto h2 {
        font-size: 18px;
    }
    #twofoot, #threefoot{
        width: 30%;
    }
}
/*-----------------------------Responsive para 420px--------------------------*/
@media (max-width: 420px) {
    #tituloindex {
        width: 300px;
        height: 100px;
    }
    form{
        width: 319px;
    }
    input , textarea {
        width:300px;
    }
    #forinfo a{
        font-size: 22px;
    }
    .opciones{
        font-size: 12px; 
    }
    .cons img{
        margin-right: 5%;
    }
    footer {
        height: 350px;
    }
    #foot{
        height: 350px;
    }
    #onefoot{
        height: 150px;
        width: 100px;
    }
    #onefoot img{
        width: 100px;
    }
    #twofoot, #threefoot{
        height: 300px;
    }
    #social{
        width: 100px;
        height: 40px;
    }
    #social img{
        width: 30px;
        margin-left: 10px;
    }
}
/*-----------------------------Responsive para 380px--------------------------*/
@media (max-width: 380px) {
    #portada {
        height: 300px;
    }
    #tituloindex {
        margin-top: -230px;
    }
    .cons img{
        margin-right: 0;
    }
}
/*-----------------------------Responsive para 360px--------------------------*/
@media (max-width: 360px) {
    .texto h2 {
        font-size: 16px;
    }
    #tituloindex h1 {
        font-size: 25px;
    }
}