:root{
    --dark: #212121;
    --yellow: #FFC107;
    --blue: #0097A7;
    --gris: #757575;
}

html{
    min-height: 100%;
    font-size: 62.5%;
}

body{
    font-family: 'Krub';
    min-height: 100%;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
    font-size: 1.6rem;
}

h1, h2, h3{
    margin: 0.5rem;
}

h2, h3{
    text-align: center;
}

h3{
    color: var(--blue);
    font-weight: 400;
    font-size: 1.8rem;
}

p{
    line-height: 1.4;
}

nav{
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-around;
}
@media(max-width:768px){
    nav{
        flex-direction: column;
        align-items: center;
    }
}

nav a{
    color: var(--dark);
    font-size: 2.2rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

#hero{
    height: 45rem;
    background-image: url(../img/hero.jpg);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero::after{
    content:'';
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contenedor-hero{
    color: white;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenedor-hero i{
    font-size: 2rem;
    color: var(--yellow);
}

.button{
    background-color: var(--blue);
    padding: 1rem 5rem;
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 1.5rem;
}

main{
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    -webkit-box-shadow: 5px 10px 25px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 10px 25px -10px rgba(0,0,0,0.75);
    box-shadow: 5px 10px 25px -10px rgba(0,0,0,0.75);
    margin: 2rem auto;
}

.contenedor-servicios{
    margin-top: 2rem;
}

@media (min-width:768px){
    .contenedor-servicios{
        display: flex;
        justify-content: space-between;
    }
    .servicio{
        flex: 0 0 calc(33.3%-1rem);
    }
}

.servicio{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

.icons{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--yellow);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2.5rem;
    margin: 1.5rem;
}