* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body{
    font-family: "Roboto", sans-serif;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}
main {
    margin: 0em auto;
    top: 5em;
    transition-duration: 1s;
    transition-delay: ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 800px;
    background-color: #1a1a1a;
    width: 100%;
    align-items: center;
    position: relative;
    
    
}

header {
    width: 100%;
    height: 5em;
    display: flex;
    background-color: #1a1a1a;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: space-between;
    position:fixed;
    z-index: 9;
    top: 0;
}
.escudo {
    max-width: 4em;
    margin-left: 1em;
    position: absolute;
    top: .5em;
}
label img {
    width: 2em;
    height: 1.5em;
    cursor: pointer;
    position: relative;
    right: 1em;
    transition: 0.5s all ease;
    
}
.close-menu {
    display: none;
    }
#btn-menu{
    display: none;
}
header h1 {
    font-size: 1.1em;
    font-family: "Roboto",sans-serif;
    padding-left: .3em;
    padding-right: 3em;
    color: white;
    position: absolute;
    left: 5em;
}
.menu {
    display: flex;
    width: 100%;
    position: fixed;
    top: -50em;
    left: 0;
    transition: .8s ease;
}
header ul {
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    border-radius: .3em;
    transition: all 2s ease;
    
    
}
header li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2em 0em;
    background-color: #1a1a1a;
    
}
header li a {
    text-decoration: none;
    color: ghostwhite;
    font-weight: 300;
}
header li:hover {
    background: rgb(36, 36, 36);
    cursor: pointer;
    transition: .5s ease;
}
header li a:hover{
    color: #176d17;
    transition: .3s ease
}
.btn-menu:checked ~ .menu {
    top: 5em;
}
.btn-menu:checked ~ .close-menu{
    display:contents;
}
.btn-menu:checked ~ label img {
    height: 2em;
    
}


.pd {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 15vh;
    background-color: white;
    padding: 1.5em;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    background-image: url(../imagenes/fondo.jpg)
}
.pd h2 {
    font-size: 2em;
    color: ghostwhite;
    margin: 0.5em 0em;
    font-weight: 8000;
    top: -3em;
}
h2 {
    font-size: 2em;
    font-family: "Roboto",sans-serif;
    color: #ffffff;
    font-weight: 300
    margin-left: 1.4em;
}
.encabezado {
    width: 90%;
    
    
}
h3 {
    font-size: 1.6em;
    font-family: "Roboto",sans-serif;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    margin-left: em;
    padding-bottom: .7em;
    padding-top: 1em;
}
h4 {
    font-size: 1.1em;
    font-family: "Roboto",sans-serif;
    color: #ffffff;
    font-weight: 100;
    padding-top: 0em;
    padding-bottom: .4em;
    margin-left: em;
    margin-bottom: 0em;
}
p {
    font-size: .7em;
    font-family: "Roboto",sans-serif;
    color: #ffffff;
    padding-top: 0em;
    padding-bottom: .4em;
    text-align: left;
    margin-left: em;
    margin-bottom: .2em;
}

@charset “utf-8”;
*{
Box-sizing:bordex-box;
}
.etiqueta {
    Display: inline-block;
    Text-align: left;
    Width: 30%;
    Margin-bottom: 1em;
    margin-left: 1.4em;
    margin-top: 1em;
}

.campo {
    font-size: 1em;
    
}

.estilotextarea {
    margin-top: .3em;
    width:300px;
    height:100px;
    font-size: 1em;
    color: #838484;
}
input {
    font-size: 1.1em;
    margin: .2em;
    border-radius: .3em;
}
textarea {
    font-size: 1.1em;
    margin: .1em;
    border-radius: .3em;
    
}
.enviar button {
    text-decoration: none;
    color: white;
    background-color: #0e8443;
    padding-top: .3em;
    padding-bottom: .3em;
    padding-left: .4em;
    padding-right: .4em;
    border-radius: .4em;
    font-size: 1em;  
    margin-left: 1.4em;
    margin-top: .1em;
}

#paginas {
    display: flex;
    margin: 2em 0em 4em
}

#paginas li {
    list-style: none;
    text-decoration: none;
    align-items: center;
    text-align: center;
}

#paginas a {
    text-decoration: none;
    display: inline-block;
    color: #0e8443;
    font-weight: 200;
    background-color: rgb(196, 196, 196);
    padding: 1.2em 1em;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    letter-spacing: 0;
    overflow: hidden;
    width: 5em;
    height: 5em;
    text-transform: uppercase;
    box-shadow: 0 0 .4em #c3c3c3; 

}

#paginas .prev {
    border-left-style: solid;
    margin-bottom: 3em;
}
 
}
#paginas li:hover {
    
}
#paginas a:hover {
    color: white;
    transition: .5s ease;
    background-color: #0e8443;
    
}
#paginas .prev {
    border-left-style: solid;
    margin-bottom: 0em;
}


.redes ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
    background-color: 1a1a1a;
    padding: .5em 1.7em;
    height: 3em;
    align-items: center;
    width: 60%;
    background: #1a1a1a no-repeat center;
    box-shadow: 2;
    position: fixed;
    bottom: 0;
    left: 20%;
    right: 20%;
    border-radius: 3em
}
.redes ul li img {
    max-height: 1.8em;
    border-radius: 100%;
}

@media (min-width: 640px) {
    main {
        margin: 0em auto;
        transition-duration: .52;
        transition-delay: ease;
        width: 100%;
        position: relative;
        top: 8.1em;
    }
    label img {
        display: none;
        transition-duration: 1s;
        transition-delay: 1s;
    }
    .menu {
        top: 5em;
    }
    header ul {
        flex-direction: row;
        flex-grow: 1;
        background-color: #1a1a1a;
        border-radius: 0em;
    }
    header li {
        padding: 1em;
        flex-grow: 1;
        border-bottom: none;
        border-radius: 0em;
    }

    