@charset="utf-8";

/* fuente importada de google fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

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

html {
    height: -webkit-fill-available;
}

body {
    background-color: rgb(136, 38, 25);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: "poppins", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: white;
}

/* inicio barra nav */

header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: rgb(124,0,0);
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    padding: 1em;
}

#isotipo img {
    width: 4em;
    margin-right: 1em;
}

#logotipo img {
    width: 12em;
}

.barra nav a {
    color: white;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.barra li:hover {
    background-color: rgba(124,0,0,0.6);
}

header nav ul {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50%;
    height: 100vh;
    padding-top: 6em;
    transition: all .6s ease;
    z-index: 9990;
}

header nav ul li {
    font-size: 1.3em;
    padding: .2em .4em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

header nav ul li .material-icons {
    margin: .2em;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
}

.visible {
    left: 50%;
    transition: all .3s ease;
}

#llamamenu {
    color: rgb(124,0,0);
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    position: relative;
    z-index: 9999;
    cursor: pointer;
    margin-left: 2.4em;
}

#llamamenu i {
    padding: 0;
    margin: auto;
}

/* fin barra nav */

.nombre {
    width: 100%;
    margin: auto;
}

.nombre ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    padding: 1em;
}

.nombre img {
    border: solid .4em white;
    border-radius: 50%;
    width: 250px;
}

.nombre ul li {
    margin-top: .5em;
    padding: 1em;
    width: 80%;
    border-radius: .25em;
    display: flex;
    flex-direction: column;
}

.nombre ul li > *:not(p) {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.nombre ul li h2 {
    display: flex;
    justify-content: center;
    border-bottom: rem solid black;
    padding-top: .2em;
    padding-bottom: .2em;
    padding: 10px;
    color: white
}


.nombre ul li h3 {
    margin-top: .5em;
    color: white
}

.boton {
    display: flex;
    justify-content: center;
}

.boton a {
    border-radius: 100px;
    border-color: white;
    padding: 2px;
    width: 250px;
    background-color: white;
    color: rgb(124, 0, 0);
    display: flex;
    justify-content: center;
    font-size: 20px;
}

.boton2 {
    display: flex;
    justify-content: center;
    margin-top: .5em;
    margin-bottom: 3em;
}

.boton2 a {
    border-radius: 100px;
    border-color: white;
    padding: 2px;
    width: 250px;
    background-color: #7F7D76;
    color: rgb(124, 0, 0);
    display: flex;
    justify-content: center;
    font-size: 20px;
    color: white;
}


footer {
    display: flex;
    background-color: rgb(124,0,0);
    color: white;
    font-size: .6em;
    padding: 10px;  
    font-family: 'Poppins'; 
}

footer a {
     text-decoration: none;
    color: beige;   
}

/* inicio mediaqueries */

@media screen and (min-width: 700px)
{
    #llamamenu {
        display: none;
}
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        background: none;
        position: relative;
        height: auto;
        width: 100%;
        left: auto;
        padding-top: 0;
}
    .visible {
        left: 0;
}
    header nav ul li {
        font-size: .8em;
}
    .barra nav a {
    padding: .5em .2em;
} 
    #isotipo {
        display: none;
}
    #logotipo img {
        width: 10em;
}  
}

@media screen and (min-width: 800px)
{
    header nav ul li {
        font-size: .95em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 11em;
}
}

@media screen and (min-width: 1000px){
    header nav ul li {
        font-size: 1em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 13em;
}
}

@media only screen and (min-width: 1200px){
    header nav ul li {
        font-size: 1em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 13em;
}
}