html,
body {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    scroll-behavior: smooth;
}

#contenedor {
    width: 100%;
    height: 100%;
    margin: 0 0 0 0;
    font-family: 'Fuente1', 'Fuente', Arial, Helvetica, sans-serif;
    color: #253137;
}

@font-face {
    font-family: 'Fuente';
    src: url("../fonts/Fuente.ttf");
}

@font-face {
    font-family: 'Fuente1';
    src: url("../fonts/Futura\ Book\ Regular.otf");
}

@font-face {
    font-family: 'FuenteB';
    src: url("../fonts/CabinCondensed-Bold.ttf");
}

#encabezado {
    width: 100%;
    height: 10%;
    background-image: url(../img/banner.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: white;
}

.logo {
    width: 30%;
    height: auto;
    float: none;
    margin-right: 10px;
    line-height: 150px;
    margin-top: 70px;
    margin-left: 15px;
}

header {
    width: 100%;
    background: #253137;
    position: fixed;
}

#btn-menu {
    display: none;
}

header label {
    display: none;
    width: 32px;
    height: 32px;
    padding: 10px;
    border-right: 1px solid white;
}

header label:hover {
    cursor: pointer;
    background: rgb(94, 90, 90)
}

.menu ul {
    padding: 0;
    list-style: none;
    margin: 0px;
    display: flex;
    font-family: 'Fuente', Arial, Helvetica, sans-serif;
}

.menu li {
    flex-grow: 1;
    text-align: center;

}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    padding: 15px 20px;
}

.menu li:hover {
    background-color: #E68722;
}

.justificada {
    text-align: justify;
}

.centrada {
    text-align: center;
}

.titulo {
    font-family: 'FuenteB', 'Fuente', Arial, Helvetica, sans-serif;
    color: #ff9a04;
    font-size: 45px;
    font-weight: bold;
    border: 2px solid black;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-text-stroke: 2px black;
}

.titulo1 {
    font-size: 34px;
    font-family: 'FuenteB', 'Fuente', Arial, Helvetica, sans-serif;
    color: #ff9a04;
    -webkit-text-stroke: 1px black;
}

.titulo3 {
    font-family: 'FuenteB', 'Fuente', Arial, Helvetica, sans-serif;
    color: #ff9a04;
    font-size: 45px;
    font-weight: bold;
    border: 2px solid white;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-text-stroke: 2px black;
}

.titulo2 {
    font-family: 'FuenteB', 'Fuente', Arial, Helvetica, sans-serif;
    color: #ff9a04;
    font-size: 45px;
    font-weight: bold;
    border: 2px solid black;
    -webkit-text-stroke: 2px black;
}

.parrafo {
    font-size: 24px;
    text-align: justify;
    padding-left: 2%;
    padding-right: 2%;
    margin-bottom: 2%;

}

.parrafo6 {
    font-size: 24px;
    display: table;
}

.parrafo1 {
    font-size: 24px;
    text-align: center;
}

.parrafo2 {
    font-size: 24px;
    text-align: center;
    display: table;
    color: #fff;
}

.parrafo3 {
    font-size: 24px;
    text-align: center;
    display: table;
}

.parrafo4 {
    font-size: 26px;
    text-align: center;
    color: orange;
    -webkit-text-stroke: 0.7px black;
}

.parrafo5 {
    font-size: 26px;
    text-align: center;
    color: orange;
    -webkit-text-stroke: 0.7px black;
}

.imagen {
    width: 300px;
    height: 400px;
    float: left;
    margin-right: 15px;
    line-height: 150px;
    margin-top: 21px;
    margin-left: 15px;
}

#inicio {
    padding: 20px;
    height: auto;
}


form {
    width: 950px;
    margin: auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 40px;
    box-sizing: border-box;
    margin-top: 2%;
    border-radius: 8px;
}

input,
textarea {
    width: 100%;
    padding: 7px;
    box-sizing: border-box;
    font-size: 17px;
    margin-bottom: 20px;
    border: none;
}

.textarea {
    min-height: 100px;
    max-height: 200px;
    max-width: 100%;
}

#boton {
    background: #E68722;
    color: white;
    padding: 20px;
}

#boton:hover {
    cursor: pointer;
}

#historia {
    height: auto;
    width: 96%;
    text-align: center;
    background-color: #fff;
    padding: 2%;
}

.parrafos {
    width: 14%;
    text-align: center;
    padding-top: 2%;
    padding-left: 15%;
    padding-right: 0%;
    display: block;
    float: left;
    font-size: 24px;
}

#comunes {
    width: 96%;
    height: auto;
    background-color: white;
    padding: 2%;
}

#comunes h3 {
    font-family: 'FuenteB', 'Fuente', Arial, Helvetica, sans-serif;
    color: #ff9a04;
    font-size: 34px;
    font-weight: bold;
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-text-stroke: 2px black;
}



#legalidad {
    width: 96%;
    height: auto;
    background-color: #0c3153;
    padding: 2%;
}

#legalidad img {
    width: 40%;
    display: block;
    float: left;
    padding-top: 0%;
    padding-right: 1%;
}


#contacto {
    width: 100%;
    padding-top: 2%;
    height: 200px;
}

.parrafoi {
    width: 8%;
    text-align: center;
    padding-top: 0%;
    padding-left: 13%;
    padding-right: 0%;
    display: block;
    float: left;
    font-size: 26px;
}

#mapa {
    height: 350px;
    width: 100%;
    background-size: 100% 100%;
}

#arriba img {
    width: 65px;
    height: auto;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    scroll-behavior: smooth;
}

#btn-mas {
    display: none;
}

.container {
    position: fixed;
    bottom: 43%;
    left: 20px;
}

.redes a,
.icon-mas2 {
    display: block;
    text-decoration: none;

}

@font-face {
    font-family: "social";
    src: url("../fonts/Social_Shapes.ttf");
}

.social {
    font-family: 'social', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 22px;
    text-decoration: none;
    color: white;
}

.social1 {
    font-family: 'social', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 53px;
    text-decoration: none;
    color: #E68722;
}

.banner1 {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../img/desktop-1155613_1920.jpg");
}

.publibanner {
    width: 468px;
    height: 60px;
    margin: 0 auto;
    cursor: pointer;
}

.publicarta {
    width: 120px;
    height: 240px;
    padding: 2%;
    margin-left: 1%;
    float: right;
    border: 1px solid black;
    cursor: pointer;
}


#pie {
    width: 100%;
    height: 80px;
    background-color: #253137;
    text-align: center;
    padding-top: 8px;
    color: white;
    float: none;
    margin-top: 5px;
}

@media (max-width:1160px) {

    #historia {
        height: 100%;
    }

    #legalidad img {
        width: 70%;
        float: none;
        padding: 1.5%;
        margin-left: 14%;
        margin-bottom: 4%;
    }

    #legalidad2 {
        display: none;
    }

    .parrafoi {
        font-size: 14px;
        padding-left: 12%;
        text-align: center;
        padding-right: 1.5%;
    }

    .parrafo3 {
        display: none;
    }

    .parrafo5 {
        display: none;
    }

    .imagen {
        float: none;
        width: 30%;
        height: auto;
    }

    #comunes2 {
        display: none;
    }

    #comunes {
        height: 100%;
        width: auto;
    }

    header label {
        display: block;
    }

    .menu {
        position: fixed;
        background: #253137;
        width: 50%;
        margin-left: -50%;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        border-top: 1px solid white;
    }

    #btn-menu:checked~.menu {
        margin: 0;
        position: fixed;
        transition: all 0.5s;
    }
}

@media (max-width:970px) {
    form {
        width: 100%;
        padding: auto;
    }

    @media (max-width: 700px) {
        .titulo2 {
            font-size: 36px;
            -webkit-text-stroke: 1.5px black;
        }
    }
}