:root {
    --blanco: #ffffff;
    --oscuro: #212121;
    --rosa: #fe1474;
    --azul: #004AAD;
    --amarillo: #F8BF0F;
}

html {
    font-size: 62.5%;
    box-sizing: border-box; /* hack para box model**/
}
*, *:before, *:after {
    box-sizing: inherit;
}

/** Globales **/
body {
    font-size: 16px; /* 1rem = 16px */
    font-family: 'Raleway', sans-serif;
    background-color: var(--azul);
    background-image: linear-gradient(to top, var(--girsclaro) 0%, var(--blanco) 100%);
}
p {
    font-size: 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
}
img {width: 30%;
}
h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 2.8rem;
}
h3 {
    font-size: 1.8rem;
    color: var(--rosa);
}
h1,h2,h3 {
    text-align: center;
}
a {
    text-decoration: none;
}
.titulo {
    font: 2rem;
}
/** Header **/
.header {
    display: flex;
    justify-content: center;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
    
}
.sombra {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem ;
}

.titulo {
    display: flex;
    justify-content: center;
    color: var(--amarillo);
}

/* Navegación Principal */
.nav-bg {
    background-color: var(--rosa);
}
.navegacion-principal {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-evenly;
    }
}
.navegacion-principal a{
    display: block;
    text-align: center;
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;
}
.navegacion-principal a:hover {
    background-color: var(--azul);
    color: var(--blanco);
}
.flex {
    display: flex;
}

.webdesign {
    background-image: url(../web\ design.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
}
.contenido-webdesign {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
}
/** Recursos **/
@media (min-width: 768px) {
    .recursos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }
}
.recurso {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--azul);
    text-align: center;
}
.imagenes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/** Footer **/
@media (min-width: 480px) {
    .footer__image {
        width: 100%;
    }
.footer {
    text-align: center;
    color: var(--blanco);
    margin-top: 0.1rem;
    margin-bottom: 2rem;
}   
}
.footer__image {
    border-radius: 80%;
    width: 5%;
    margin-top: 1rem;
}