/* Variables */
:root{
    --colorAzul: #033880;
    --colorVerde: #04919d;
    --colorCeleste: #1aacc1;
    --colorBlanco: #fff;
    --colorClaro: #f4f4f4;
    --bordesRadio: 8px;
    --colorHover: ;
    --colorGris:#ccc;
    --sizeTextoMovil: 1.12rem;
    --sizeTextoTablet: 1.059rem;
    --sizeTextoDesktop: 1.05rem;}

/* Carousel */
#bannerPrincipal{
    width: 100%;
    height: 300px;
    margin-top: 158px;
    position: relative;
    /* background:rgba(0,0,0,0.6); */
    /* background-blend-mode: darken; */}  
    
#bannerPrincipal .textosBanner{
    width: 100%;
    height: auto;
    position: absolute;
    top: 85px;
    z-index: 100;}    

h1, .textosBanner h2{
    color: var(--colorClaro);
    font-size: 38px;
    text-align: center;
    font-weight: 900;
    margin: 0;
    padding: 16px;
    transform: scaleY(1.05);
    transform-origin: center;
    background-color: rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);} 
    
#botonTurno{
    width: 200px;
    height: 45px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    line-height: 45px;
    color: var(--colorClaro);      
    margin: 16px auto 0 auto;
    border-radius: var(--bordesRadio);
    z-index: 100;    
    background-color: var(--colorAzul);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);}    

main{
    padding: 50px 22px 0 22px;
    background-color: var(--colorClaro);}

main .mainWrapper{
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;}

hr{border-color: rgba(3, 56, 128, 0.7);}

/* Intro Contacto */
h2{font-weight: 800; color: var(--colorAzul); margin-bottom: 24px; transform: scaleY(1.05);}
p{font-size: var(--sizeTextoMovil); margin-bottom: 32px;}

h3{
    font-weight: 700;
    color: var(--colorAzul);
    margin-bottom: 16px;
    transform: scaleY(1.01);
    font-size: 26px;}

/* Formulario */
#contactoForm{
    width: 100%;
    padding: 0px;
    margin-bottom: 75px;}

#contactoForm h2{margin-top: 50px}    

#contactoForm form{width: 100%; margin: 50px 0;}

#contactoForm form label, #formulario form, input, select{display: block;}

#contactoForm form label{font-size: var(--sizeTextoMovil);}

#contactoForm form input, #contactoForm form select{
    width: 100%;
    height: 45px;
    border-radius: 6px;
    border: 1px solid var(--colorAzul);
    margin-bottom: 24px;
    outline: none;
    padding: 12px;}

#inputCv{
    width: 100%;
    border: 1px solid var(--colorAzul);
    border-radius: 6px;
    margin-bottom: 24px;
    outline: none;
    padding: 12px;
    background-color: rgba(3, 56, 128, 0.15);}

#inputCv p{
    margin: 0;
    font-style: italic;
    text-decoration: underline;}    

#contactoForm form button{
    width: 100%;
    height: 45px;
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 6px;
    color: var(--colorClaro);
    margin-bottom: 32px;
    background-color: var(--colorAzul);}

#contactoForm form textarea{
    width: 100%;
    height: 150px;
    padding: 12px;
    border-radius: 6px;
    outline: none;
    margin-bottom: 24px;}

footer{height: 450px;}
    

/* /////////////// */

@media (min-width: 760px){
    main{padding: 50px 75px;}

    /* Carousel */
    #bannerPrincipal{
    width: 100%;
    height: 300px;
    margin-top: 158px;
    position: relative;
    /* background:rgba(0,0,0,0.6); */
    /* background-blend-mode: darken; */}  
    
    #bannerPrincipal .textosBanner{
    width: 400px;
    height: auto;
    position: absolute;
    top: 85px;
    left: 24px;
    z-index: 100;}    

    h1{
    color: var(--colorClaro);
    font-size: 42px;
    text-align: center;
    font-weight: 900;
    margin: 0;
    padding: 16px;
    transform: scaleY(1.05);
    transform-origin: center;
    background-color: transparent;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);} 

    #botonTurno{
    width: 200px;
    height: 45px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    line-height: 45px;
    color: var(--colorClaro);      
    margin: 24px auto 0 auto;
    border-radius: var(--bordesRadio);
    z-index: 100;    
    background-color: var(--colorAzul);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);} 
    
    /* Formulario */
    #contactoForm{width: 100%; padding: 0;}

    #contactoForm form{width: 100%;}

    #contactoForm form label, #formulario form, input, select{display: block;}

    #contactoForm form label{font-size: var(--sizeTextoMovil);}

    #contactoForm form input, #contactoForm form select{
    width: 100%;
    height: 45px;
    border-radius: 6px;
    border: 1px solid var(--colorAzul);
    margin-bottom: 24px;
    outline: none;
    padding: 12px;}

    #contactoForm form button{
    width: 50%;
    height: 45px;
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 6px;
    color: var(--colorClaro);
    margin-bottom: 32px;
    background-color: var(--colorAzul);}

    #contactoForm form textarea{
    width: 100%;
    height: 200px;
    padding: 12px;
    border-radius: 6px;
    outline: none;
    margin-bottom: 24px;}      
}

@media (min-width: 992px){
    /* NavBar */    
    .nav-link{
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease-in-out;}

    .nav-link:hover{
    color: var(--colorVerde) !important;}

    .nav-link::after{
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1.3px;
    background-color: var(--colorVerde);
    transition: width 0.3s ease-in-out;}

    .nav-link:hover::after{width: 85%;}

    /* SOLO el tercer elemento del menú */
    .nav-item:nth-child(5) .nav-link {
    color: none;}

    .nav-item:nth-child(0) .nav-link::after {
    width: 85%; /* subrayado visible en reposo */}

    main{padding: 50px 100px;}

    #botonTurno{
    width: 200px;
    height: 45px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    line-height: 45px;
    color: var(--colorClaro);      
    margin: 12px auto 0 auto;
    border-radius: var(--bordesRadio);
    z-index: 100;    
    background-color: var(--colorAzul);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);}

    h2, h3{text-align: left;}
}

@media (min-width: 1200px){
    main{
    width: 75%;
    margin: 0 auto;
    padding: 50px 0}

    /* Carousel */
    #bannerPrincipal{
    width: 100%;
    height: 400px;
    margin-top: 158px;
    position: relative;
    /* background:rgba(0,0,0,0.6); */
    /* background-blend-mode: darken; */}  
    
    #bannerPrincipal .textosBanner{
    width: 400px;
    height: auto;
    position: absolute;
    top: 80px;
    left: 100px;
    z-index: 100;}    

    .carousel-item img{object-fit: cover;}
    #banner1{object-position: center 20%;}

    h1{
    color: var(--colorClaro);
    font-size: 48px;
    text-align: center;
    font-weight: 900;
    margin: 0;
    padding: 16px;
    transform: scaleY(1.05);
    transform-origin: center;
    background-color: transparent;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);} 

    #botonTurno{
    width: 200px;
    height: 45px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    line-height: 45px;
    color: var(--colorClaro);      
    margin: 10px auto 0 auto;
    border-radius: var(--bordesRadio);
    z-index: 100;    
    background-color: var(--colorAzul);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);}  
    
    #placaCvInfo{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;}

    #lineaCv{display: none;}

    #textoIntro{width: 48%;}

    #contactoForm{width: 42%;}
    #contactoForm h2{margin: 0;}
    form{margin: 24px 0 0 0 !important;}

    #contactoForm form textarea{height: 125px;}

    #contactoForm form input{
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--colorAzul);
    margin-bottom: 16px;
    outline: none;
    padding: 12px;}  
}

