/*Barra de nav*/

.navbar {
    padding: 2rem;
    background-color: #F5F1E6;
}

.navbar-collapse {
    align-items: center;
    justify-content: space-between;
}


/*Estilo gral*/

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 2.5rem;
}

.seccion-oscura {
    margin-top: 20px;
    color: white;
    background-color: #333333;
}

.seccion-clara {
    color: #333333;
    background-color: white;
}

.seccion-footer {
    color: #333333;
    background-color: #7B5E3C;
}

.seccion-titulo {
    font-size: 2rem;
    padding: 15px 0;
    font-family: "Rubik", sans-serif;
}

.seccion-descripcion {
    font-size: 1.2rem;
    color: #584e4e;
}

.seccion-texto {
    font-size: 1.2rem;
}

.texto-negro {
    color: black;
}

.texto-blanco {
    color: white;
}


/*Hero*/

.hero {
    background-color: #f5f6f7;
    min-height: 450px;
    text-align: center;
}

.hero-principal {
    padding: 3rem;
}

.perfil {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;

}

.hero-principal h1 {
    font-size: 2.5rem;
    color: #3b3b3b;
    font-family: "Rubik", sans-serif;
}

.hero-principal h2 {
    font-size: 1.5rem;
    color: #3b3b3b;
    font-family: "Rubik", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/*Nosotros*/

.nosotros {
    height: 500px;
    padding: 10px;
}

.nosotros .contenedor {
    max-width: 600px;
    text-align: center;
}

/*Experiencia*/

.experiencia {
    padding: 40px 40px 60px 40px;
}

.experiencia .columna {
    padding: 20px;
    border: solid 2px #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: all 0.2s ease-in;
}

.experiencia .columna:hover {
    color: white;
    background-color: #333333;
}

.experiencia i {
    font-size: 2.5rem;
    color: white;
    background-color: black;
    padding: 8px 19px;
    border-radius: 50%;
}

.experiencia-titulo {
    font-size: 25px;
    font-weight: 700;
    margin: 10px 0;
}

.badges-contenedor {
    font-size: 15px;
    font-weight: 400;
    margin: 10px 0;
}

.badges {
    margin: 5px;
}

/*Portafolio*/

.proyectos-recientes {
    padding: 40px;
}

.proyectos-recientes img {
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;
}

.proyectos-contenedor {
    padding-top: 60px;
    margin-bottom: 40px;
}

.overlay {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: justify;
}

.overlay p {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
}

.proyecto {
    position: relative;
}

.proyecto:hover img {
    opacity: 0.2;
}

.proyecto:hover .overlay {
    opacity: 1;
}

/*Contacto*/

.contacto .container {
    max-width: 1100px;
    min-height: 200px;
    padding: 20px;
}

.contacto .rectangulo {
    margin-top: -5rem;
    background-color: #D4AF37;
    border-radius: 10px;
    box-shadow: 0px 1px 4px 1px white;
}

.contacto .row {
    width: 100%;
    display: flex;
    align-items: center;
}

.contacto .descripcion {
    color: white;
    font-size: 1.2rem;
}

.contacto button {
    color: white;
    font-weight: 400;
    background-color: transparent;
    border: 2px solid white;
    padding: 1.25em 2em;
    margin: 10px;
    border-radius: 100px;
    transition: all 0.2 ease-in-out;
}

.contacto button:hover {
    background-color: white;
    color: black;
}

.contacto button i {
    color: white;
    font-size: 1.3rem;
    transition: all 0.2 ease-in-out;
}

.contacto button:hover i {
    color: black;
}

.contacto-texto {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/*footer*/

footer {
    min-height: 500px;
}

.footer-texto {
    font-size: 1.5rem;
    color: white;
    padding: 20px;
    margin-bottom: 30px;
    font-family: "Rubik", sans-serif;
}

.iconos a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 10px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.2s ease-in;
}

.iconos i {
    color: white;
    font-size: 1.6rem;
    transition: all 0.2 ease-in;
}

.iconos a:hover {
    background-color: white;
    border: 2px rgb(13, 110, 253);
}

.iconos a:hover i {
    color: black;
}

.derechos {
    font-size: 15px;
    color: #aeaeae;
    padding: 20px;
}


/*Responsivo*/

@media screen and (max-width: 767px) {
    .navbar-brand {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .hero-inferior-img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        position: relative;
        margin-top: -40px;
    }
}