@font-face {
    font-family: pompiere; /*con este nombre se referirá a esta fuente*/
    src: url("fuentes/Pompiere-Regular.otf")
}
@font-face {
    font-family: monsterrat; /*con este nombre se referirá a esta fuente*/
    src: url("fuentes/Montserrat-Regular.otf")
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh; /*alto y ancho del viewport, la parte del navegador que muestra la página sin usar la barra de navegación, con 100 
    ocupará toda la pantalla del navegador*/
    display: flex;
    flex-direction: column;
    padding: 2.5vh 5% 2.5vh 5%;
    /*al usar 2.5 y 2.5 se usaron 5 puntos de altura, quedarían disponibles 95 para los otros elementos*/
    background: #fde5e5;
}

/*------------Rulesets de encabezado---------------*/
header {
    flex-basis: 12vh;
    display: flex;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.logo img {
    width: 50px;
}

.logo h3 {
    font-family: pompiere, sans-serif;
    color: #f75f6b;
    font-size: 1.5rem;
}

.logo p {
    font-family: montserrat, sans-serif;
    text-transform: uppercase; /*vuelve mayúsculas las letras*/
    font-size: 0.5rem;
}

.menu {
    display: flex;
    align-items: center;
    font-family: pompiere, sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    color: #6d479c;
    list-style: none; /*quitar viñetas*/
}

.menu li {
    padding-left: 3rem;
}

.menu a {
    text-decoration: none;
    transition: color 0.5s;
}

.menu a:hover {
    color: #f75f6b;
}

/*------------Rulesets de parte principal---------------*/
main {
    flex-basis: 75vh;
    display: flex;

}

.contenido {
    flex-basis: 55%;
    padding: 0 14% 0 14%; /*se cambia el padding de los lados*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contenido h1 {
    font-family: pompiere, sans-serif;
    font-size: 4.5rem;
    color: #f75f6b;
    text-align: center;
}

.boton {
    padding-top: 10px;
}

.boton button {
    border: none;
    color: white;
    background: #a7b3dd;
    width: 140px;
    border-radius: 20px;
    padding: 1rem 0 1rem 0;
    font-weight: bold;
    font-family: montserrat, sans-serif;
    margin: auto;
    display: block;
    transition: background 0.5s; /*indica que tardará medio segundo en cambiar el color del background, en este caso al hacer hover*/
}

.boton button:hover {
    background: #f75f6b;
    cursor: pointer;
}

.contenido p {
    color:#6d479c;
    text-align: justify;
}

.imagen {
    flex-basis: 45%;
    display: flex;
    /*centrar imagen en div*/
    align-items: center;
    justify-content: center;
}

.imagen img {
    width: 85%;
}

/*------------Rulesets pie de página---------------*/
footer {
    flex-basis: 8vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

footer p {
    font-family: pompiere, sans-serif;
    font-size: 1.2rem;
    color: #6d479c
}

/*------------rulesets Imágenes de fondo---------------*/

.superior {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 30%;
}

.inferior {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 40%;
}