/* 1 rem = 10 px */
:root {
    --rosa: #FD0062;
    --celeste: #0CACFA;
    --amarillo: #FFE100;
    --verde: #88FE00;
    --negro: #000000;
    --blanco: #FFFFFF;
}

/* Propiedades generales*/
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
  }

body {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    background-image: linear-gradient(to top, rgb(194, 194, 194) 0%, var(--blanco) 100%);
}

/* Tipografía */
h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1,h2,h3{
    text-align: center;
}
 /* Titulos */
.titulo span{
    font-size: 2rem;
}

/* Contenedor */
.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

/* Sombra */
.sombra{
    box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    -webkit-box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}

/* Botón */
.boton {
    background-color: var(--rosa);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2rem;
    width: 80%;
    text-align: center;
    border: none;
}
@media (min-width: 768px){
    .boton {
    width: auto;
    }
}

.boton:hover{
    cursor:pointer;
    color: var(--amarillo);
}

/* Navegación Principal */
.fondo-nav {
    background-color: var(--amarillo);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px){
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}

.navegacion-principal a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
}

.navegacion-principal a:hover {
    background-color: var(--rosa) ;
    color: var(--negro);
    border-radius: 1rem;
}

/* Hero */
.hero{
    background-image: url(img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 42rem;
    position:relative;
    margin-bottom: 2rem;
}

.contenido-hero{
    position:absolute;
    background-color: rgba(0,0,0,.8);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido-hero h2, .contenido-hero p {
    color: var(--blanco)
}

@media (min-width: 768px){
    .servicios {
        display:grid;
        grid-template-columns: repeat(3,1fr);
        align-items: start;
        justify-content: start;
        column-gap: 3rem;
    }


/* Servicios */
}

.servicio{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
}

.servicio h3{
    color: var(--celeste);
    font-weight: 400;
}

.servicio p {
    line-height: 2;
    text-align: center;
}

.servicio .iconos{
    height: 15rem;
    width: 15rem;
    background-color: var(--rosa);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    text-align: center;
}

/*Sobre mí*/
.margin_top{
    margin-top: 5rem;
}


.foto_perfil{
    box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    -webkit-box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 18px 13px 14px 1px rgba(0,0,0,0.2);
    background-color: var(--rosa);
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    width:fit-content;
    height: fit-content;
    margin: 0 auto;
}

.foto_perfil img{
    margin: 0 auto;
}

ul{
    list-style:none;
}

li{
    line-height: 3;
}


.titulos{
    margin-top: 5rem;
    margin-bottom: 5rem;
    background-color: var(--amarillo);
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex{
    display: flex;
}

@media (min-width:768px){
    .item_lista{
        display: flex;
        align-items: center;
        margin-bottom: 3rem;
    }
    .sobremi_flex{
        display: flex;
        gap: 5rem;
    }
    .columnas{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
   
}


.item_lista img {
    margin-right: 1.5rem;
}


.item_lista b {
    margin-right: 1rem;
}



.margin{
    margin-left: 1.5rem;
}

a{
    text-decoration:none;
    color: var(--rosa);
}

.habilidades{
    padding:0;
    display: flex;
    justify-content: space-evenly;
}

/*Otros proyectos*/
@media (min-width:768px){
    .proyectos-flex{
        display: flex;
        column-gap: 2rem;
    }
}

.imagen{
    width: 100%;
    height: auto;
}