/* Header principal */
#waituk-main-header {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-color: #652B23;
    background-image: url("../img/backgrounds/red-medieval-4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}
#background-greetings{
    background-color: #54595F;
    background-image: url("../img/backgrounds/red-medieval-4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 90vh;
    justify-content: center;
    opacity: 100%;
}
#button-visit {
    background-color: #354353; 
    color: #fff;        
    transition: all 0.3s ease; 
    text-decoration: inherit;
    box-sizing: border-box;
    display: inline-block;
    flex-grow: 2;
    order: 10px;
    padding: 15px 50px; 
    border-radius: 3px; 
    fill: white;
    text-align: center;
    text-decoration: underline;
    font-family: "Montserrat", sans-serif;

    font-weight: 500;
    letter-spacing: -0.5px;
    
}
#button-visit:hover {
  color: #FFD960; 
}
#visual-banner {
  background-position: center center; 
  background-repeat: no-repeat;      
  background-size: cover;            
  background-attachment: fixed;     
  min-height: 90vh;
  justify-content: center;
  opacity: 100%;
  
}


#waituk-main-header::before {
    content: '';
    position: absolute;
    top:0; left:0;
    width: 100%; height: 100%;
    background-color: rgba(101,43,35,0.5);
    z-index:1;
    
}


#waituk-main-header > * {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}


@media(max-width:1024px){
    #waituk-main-header {
        min-height: 60vh;
    }
}

@media(max-width:767px){
    #waituk-main-header {
        min-height: 50vh;
        padding: 10px;
        text-align: justify;
    }

    #waituk-main-header nav,
    #waituk-main-header .navbar-brand {
        width: 100%;
        text-align: center;
    }
}

@media(min-width:1025px){
    #waituk-main-header {
        background-attachment: fixed;
    }
}




.navbar-brand img {
    width: 100%;
    max-width: 1024px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.text-below-button {
    
    text-align: center;    
    margin-top: 1rem;      
    font-size: 50px;
    border: 3px;           
    font-size: 1rem;       
}

.text-below-button p {
    align-items: center;
    margin-top: 8px;
    font-size: 30px;
    color:#fff;          
    margin: 1rem 0;     
}
.text-below-button .second-title {
    white-space: nowrap; 
    display: flex;
    align-items: center;

    font-size: 15px;       
    line-height: 1;
    max-width: 95%;
    margin: 1rem 0;        
    color: #fff;           
}

.text-below-button .second-title::before,
.text-below-button .second-title::after {
    content: "";
    flex-grow: 0;
    padding: 0 8rem; /* antes 8rem */
    border-top: 2px solid #fff;
    margin: 0 10px;
}

#mega-menu .nav.navbar-nav > li > a {
    white-space: nowrap;
    font-size: 18px; 
    padding: 0 1rem;
    
             
    
}

.boton-recursos { 
    color: #fff !important;        
    transition: all 0.3s ease !important; 
    text-decoration: inherit !important;
    box-sizing: border-box !important;
    display: block !important;
    flex-grow: 2 !important;
    order: 10px !important;
    padding: 15px 50px !important;
    border-radius: 3px !important;
    fill: white !important;
    text-align: center !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 20px !important;
}
.boton-recursos:hover {
  color: #FFD960 !important;
}
.boton-amarillo:hover {
  color: #993528 !important;
}
.boton-rojo {
    background-color: #993528 !important;
}

.boton-amarillo {
    background-color: #d3bf6a !important;
    color:#000000 !important;
}

.boton-azul {
    background-color: #354353 !important;
}

.boton-negro {
    background-color: #1c201f !important;
}

#mega-menu .dropdown-menu li a {
    font-size: 16px; 
}

@media (max-width: 768px) {
    .text-below-button .second-title {
        font-size: 15px;
        white-space: normal;
        justify-content: center; 
    }
    .text-below-button .second-title::before,
    .text-below-button .second-title::after {
        content: none; 
    }
}

.timeline-title {
    font-size: 50px;  
    font-weight: bold;   
    text-align: center;  
    color: #000000;         
    margin: 20px 0;      
}

.no-underline {
    text-decoration: none !important;
}

.logos {
    display: flex;
    align-items: center;     
    gap: 20px;               
}

.logos img {
    height: 90px;            
    width: auto;
}

@media (max-width: 768px) {
    .logos {
        justify-content: center;     
        gap: 10px;                   
    }

    .logos img {
        height: 40px;                
    }
    .logos a:not(:last-child) {
        border-right: none; 
    }
}

@media (max-width: 480px) {
    .logos {
        flex-wrap: wrap;             
        gap: 8px;
    }

    .logos img {
        height: 60px;                
    }
}
.logos a {
    display: flex;
    align-items: center;
    padding: 0 10px; 
}


.logos a:not(:last-child) {
    border-right: 2px solid rgba(255, 255, 255, 0.5); 
}
@media (max-width: 480px) {
    .logos a:not(:last-child) {
        border-right: none;
    }
}
@media (max-width: 768px) {
    .logos a:not(:last-child) {
        border-right: none; 
    }
}
.info-left {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .logos img {
        height: 60px;     
        width: auto;
    }

    .logos {
        gap: 15px;
        flex-wrap: wrap;  
        justify-content: center;
    }

    .logos a {
        padding: 0 5px;
    }
    .logos a:not(:last-child) {
        border-right: none; 
    }
}
@media (min-width: 768px) and (max-width: 1200px) {

    #waituk-main-header {
        min-height: 55vh;          
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .text-below-button h1 {
        font-size: 28px;           
    }

    .text-below-button .second-title {
        font-size: 18px;
        white-space: normal;       
        line-height: 1.2;
        margin-top: 10px;
    }

    .text-below-button .second-title::before,
    .text-below-button .second-title::after {
        content: none;             
    }

    
    #mega-menu .nav.navbar-nav > li > a {
        font-size: 15px;
        padding: 0 0.5rem;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    .logos {
        flex-wrap: wrap;         
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .logos img {
        height: 55px;            
    }

    .logos a {
        padding: 0 6px;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    #mega-menu .nav.navbar-nav > li > a {
        font-size: 14px !important;
        padding: 0 0.5rem !important;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    .text-below-button h1 {
        font-size: 32px !important;
    }
    .text-below-button p {
        font-size: 20px !important;
    }
}
@media (max-width: 1366px) {
    #waituk-main-header {
        background-attachment: scroll !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {

    .text-below-button .second-title {
        display: block !important;        
        text-align: center !important;   
        white-space: normal !important;   
        margin: 0 auto !important;        
        padding: 0 !important;
        max-width: 90%;
        line-height: 1.2;
    }

    .text-below-button .second-title::before,
    .text-below-button .second-title::after {
        content: none !important;
    }
}




