@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wdth@85&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wdth@85&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wdth@85&family=Leckerli+One&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap'); 

header {
    font-family: Sour Gummy;
    width: 100%;
    height: 30%;
    background-image: url("../images/progreso.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 1980px 800px;
}

.navbar-brand img {
    border-radius: 5px;
    border: 3px solid #8B4513;
}

.nombre-empresa {
    border: 3px solid #8B4513;
}
.nombre-empresa h2 {
    background-image: url(../images/madera-azul.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding-left: 3px;
    padding-right: 3px;
    text-shadow: 
    -1px -2px 0 black,
    -1px 2px 0 black,
    2px 1px 0 black,
    2px -1px 0 black;
    margin: 0; 
    line-height: 1.2;
}

.hola {
    margin-left: 20px;
}
.hola ul {
    font-size: 17px;
}


.hola a {
    color: #FDFF3D;                    
    padding-top: 3px;   
    padding-bottom: 3px;       
    border-radius: 10px;         
    transition: all 0.3s ease;   
    position: relative;           
    letter-spacing: 0.5px;        
    text-transform: uppercase;    
    background-image: url(../images/madera-cafe.jpg);
    background-size: cover;
    background-position: center;
    margin-left: 7px;
    margin-right:7px;
}

.hola a {
    text-align: center;
}

.hola a:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    transform: translateY(-2px);
    font-size: 18px;
    color: white;
}


.navbar-nav {
    gap: 8px;  /* Espacio entre cada botón */
}


.lema {
    font-size: 20px;
}

.lema p{
    font-weight: bold;
    color: white;
    text-shadow: 
    -1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black,
    1px -1px 0 black;
}

    @media (min-width: 700px) and (max-width: 994px) {
        .navbar > .container-fluid {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .navbar-toggler {
            order: 2;
            margin-left: 10px;
            border-color: white, solid 3px;
        }
        
        .collapse.navbar-collapse {
            order: 3;
            flex-basis: 100%;
            width: 100%;
        }
        
        .navbar-brand {
            order: 0;
        }
        
        .nombre-empresa {
            order: 1;
            margin: 0;
            text-align: center;
        }

        .nombre-empresa h2 {
            font-size: 50px;
        }
        
        .row.align-items-center {
            order: 4;
            width: 100%;
            text-align: center;
        }

        .hola a:hover {
            font-size: 20px;
            background-image: none;
        }

        .cuchara, 
        .cuchillo,
        .cuchara img,
        .cuchillo img {
           display: none;
        }
    }

    @media (min-width: 200px) and (max-width: 700px) {
        .row.align-items-center,.navbar-text {
        text-align: center !important;
        width: 100%;
        }

        .nombre-empresa {
            text-align: center;
        }

        .nombre-empresa h2 {
            font-size: 40px;
        }

        .hola a:hover {
            font-size: 20px;
            background-image: none;
        }
        .cuchara, 
        .cuchillo,
        .cuchara img,
        .cuchillo img {
            display: none;
        }   
    }

    @media (max-width: 550px) {
        .nombre-empresa h2{
            font-size: 30px;
        }

        .navbar-brand img{
            max-width: 70px;
            max-height: 70px;
        }
    }
    
.navbar-toggler {
    background-color: transparent; 
    border-radius: 8px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 255, 61, 0.5);  /* Sombra al hacer focus */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FDFF3D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Efecto hover */
.navbar-toggler:hover {
    background-color: #8B4513;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

body {
    background-color: #b9e6ec;
    font-family: 'Sour Gummy', sans-serif;
    color: #333;
}

#fondo-imagen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background-image: url('fondo.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.logo-img {
    width: 250px;
    height: auto;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        2px 2px 10px rgba(0, 0, 0, 0.2);
}

#contenedor-postulacion {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 95%;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #d1d1d1;
    /* Tu sombra original */
    box-shadow: 
        inset 2px 2px 5px rgba(255,255,255,0.8),
        5px 5px 15px rgba(0,0,0,0.1) !important;
}

#contenedor-postulacion h2 {
    font-size: clamp(20px, 5vw, 28px);
}

#menu a {
    color: darkcyan;
    font-weight: bold;
}

.custom-input {
    border: 1px solid #b0b0b0 !important;
    background-color: #fdfdfd !important;
    border-radius: 6px !important;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05) !important;
    font-family: 'Sour Gummy', sans-serif;
}

.form-label {
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.btn-enviar {
    background-color: #333 !important;
    font-family: 'Sour Gummy', sans-serif;
    font-size: 16px;
    border: none !important;
    transition: background-color 0.3s;
}

.btn-enviar:hover {
    background-color: #555 !important;
}

.footer-externo {
    text-align: center;
    color: #333;
    font-weight: bold;
    text-shadow: 1px 1px 2px white;
    font-size: 0.85em;
}

@media (max-width: 576px) {
    #contenedor-postulacion {
        padding: 20px;
    }
    .footer-externo {
        font-size: 0.75em;
    }
}