@font-face{
    font-family: pompiere;
    src: url("Pompiere-Regular.otf");
}

@font-face{
    font-family: montserrat;
    src: url("Montserrat-Regular.otf");
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* border: 3px solid black; */
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2.5vh 5% 2.5vh 5%;
    background: #fde5e5;
}

/* Encabezado */
header{
    flex-basis: 12vh;
    display: flex;
    justify-content: space-between;
}

/* Logo */
.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;
    font-size: 0.5rem;
}

.menu{
    display: flex;
    align-items: center;
    font-family: pompiere,sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    list-style: none;
}

.menu li{
    padding-left: 3rem;
}

.menu a{
    text-decoration: none;
    color: #6d479c;
    transition: background 0.5s;
}

.menu a:hover{
    color:#f75f6b;
}

/* Parte principal */
main{
    flex-basis: 75vh;
    display: flex;
}

.contenido{
    flex-basis: 55%;
    padding: 0 15% 0 15%; 
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.contenido h1{
    font-size: 4.5rem;
    font-family: pompiere, sans-serif;
    color: #f75f6b;
    text-align: center;
}

.contenido p{
    color: #6d479c;
    text-align: justify;

}

.boton{
    padding-top: 10px;
}

.boton button{
    display: block;
    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;
    transition: background 0.5s;
}

.boton button:hover{
      background: #f75f6b;
      cursor: pointer;
}

.imagen{
    flex-basis: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen img{
    width: 85%;
}

/* Pie de pagina */
footer{
    flex-basis: 8vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

footer p{
    font-size: 1.2rem;
    font-family: pompiere, sans-serif;
    color: #6d479c;
}

.superior{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 30%;
}

.inferior{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 40%;
}