/* Barra de navegacion */

.navbar {
    padding-top:  1rem;
    background-color: lightgrey;
}

.navbar-collapse {
    align-content: center;
    justify-content: space-between;
}

@media screen and (max-width: 400px) {
    .overlay p {
        font-size: 18px;
    }

    .overlay i {
        font-size: 40px;
    }
}

/* Adaptable responsivo */
@media screen and (max-width: 767px) {
    .navbar-brand {
        /* align-content: center;
        justify-content: flex-end; */
        display: none;
    }
}

/* Este es para avitar que se extienda la imagen demaciado en pantallas grandes. Es decir para un ancho maximo de 600px */
@media screen and (min-width: 700px) {
    .hero-inferior-imagen {
        max-width: 600px;
    }
}


/* Estilos generales */

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.seccion-titulo {
    font-size: 2rem;
    padding: 15px 0;
    font-family: "Oswald", sans-serif;
}

.seccion-titulo2 {
    font-size: 2rem;
    padding: 15px 0;
    font-family: "Rubik Dirt", normal;
}

.seccion-descripcion {
    font-size: 1.2rem;
    color: #584e4e;

}

.seccion-texto {
    font-size: 1.2rem;

}

.btn-info {
    font-size: 1.1rem;
    margin: 20px;
    
}

.texto-negro {
    color: black;
}

.texto-blanco {
    color: white;   
}

h0 {
    font-size: 2.5rem;
    font-family: "Rubik Dirt", serif;
    font-weight: 400;
    font-style: normal;
      
}

h1 {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
      
}

.seccion-oscura {
    color:white;
    background-color: #1b1b32;
}

.seccion-clara {
    color: black;
    background-color: white;
}

.hero-principal h2 {
    font-size: 1.5rem;
    color: #615151;
}

/* Seccion Hero / Seccion Princiapl */

.hero {
    background-color: #f5f6f7;
    min-height: 450px;
    text-align: center;
}
.hero-principal {
     padding: 1rem;
}

.hero-imagen-desarrollador {
    width: 200px;
    height: 200px;
    border-radius: 25%;
    margin: 20px;
}

/* SOBRE ME */
.sobre-mi {
    height: 500px;
    padding: 10px;
}

.sobre-mi .contenedor {
    max-width: 600px;
    text-align: center;
}

/* EXPERIENCIA */
.experiencia {
    padding: 40px; 
    background: #283c86;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #45a247, #283c86);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #45a247, #283c86); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 40px 40px 60px 40px;
}



.experiencia-titulo {
    font-size: 25px;
    font-weight: bold; 
    margin: 10px 0;
}

.badges-contenedor {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0; 
}

.badges {
    margin: 10px;
}
.experiencia i {
    font-size: 2.5rem;
    color: white;
    background-color: #0a0a23;
    padding: 8px 19px;
    border-radius: 50%;
}

.experiencia .columna {
    padding: 20px;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 20px;
    transition: all 0.2s ease-in;
}

.experiencia .columna:hover {
    color: white;
    background-color: #1b1b32 ;
}

/* PROYECTOS */

.proyectos-recientes {
    padding: 40px;   
}

.proyectos-recientes img {
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    display: block; 
    transition: all 0.2s ease;
}

.proyectos-contenedor {
    padding-top: 60px;
    padding-bottom: 40px;
}

.overlay {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.overlay p {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 0;
}

.proyecto {
    position: relative;
}

.proyecto:hover img {
    opacity: 0.2;
    border-radius: 15px;
}

.proyecto:hover .overlay {
    opacity: 1;
    border-radius: 15px;
}

.overlay .iconos-contenedor {
    display: flex;
}

.overlay i {
    color: black;
    font-size: 60px;
    margin: 10px;
}
