@import 'reset.css';
@import 'collapse.css';
@import 'popup.css';
@import 'container.css';
@import 'content-html.css';
@import 'vars.css';
@import 'fonts.css';

.mb {
    margin-bottom: 20px;
}
.mt {
    margin-top: 20px;
}
.text_center {
    text-align: center !important;
}
.text_right {
    text-align: right;
}
.navbar{     
    position: fixed;
}
nav {
    /*background-color: #333;*/
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 100px;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    background-color: white;
}
.nav-links a {
    text-decoration: none;
    font-size: 1.1rem;    
}
.nav-links a:hover {
    color: #c7c7c7;
}
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 130px;
        left: 0;       
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    .logo img {
        width: auto;
        height: 50px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
.navbar__menu{    
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items:center; 
    font-size: 1.2rem;
    li{
        padding-left: 30px;       
        a:hover{
            color: var(--color-02); 
        }    
    }  
}
.fondo_bienvenida {
    background-image: url(../img/fondo-pa.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;   
}
.welcome {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    gap: 3rem;
    height: 65vh;;      
}
.welcome__enlace{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    text-align: center;
    font-size: 12px;
    color: white; 
    padding: 20px;
    background-color: var(--color-04);
    img{
        width: 100px;
        margin: 20px;    
    }
    &:hover{
        background-color: var(--color-01);        
    }
}

.welcome__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    p {
        text-transform: uppercase;
        font-size: clamp(1rem, 2vw + 1rem, 2.1rem);
        font-weight: 300;             
    }
    p > span {
        font-weight: 700;
        font-size: clamp(1rem, 2vw + 1rem, 2.1rem);
    }
}
.welcome__button{
    background-color: var(--color-back-light);
    color: var(--color-04);   
    font-family: var(--font-02-italic);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 600;
    padding: 0.5rem 2rem;
    border: 1px solid var(--color-04);
    border-radius: 0;
    margin-top: 1.5rem;
    
    &:hover {
        background-color: var(--color-04);
        color: white;
    }
}
.sections {
    padding-top: 3rem;
    padding-bottom: 3rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 2rem;   
    

    .sections__item {
        display: inline-block;
        width: 180px;
        height: 240px;
        padding: 1rem;
        background-color: var(--color-grey);
        color:white;        

        &:nth-child(odd) {
            background-color: var(--color-grey-light);
            color: black;
        }
        &:hover{
            background-color: var(--color-01);
            color: white;
        }
        
    }

    .sections__link {
        text-decoration: none;
        width: 100%;
        display: contents;
        padding: 1rem;
        text-align: center;
        }

    .sections__title {
        font-weight: 700;
        margin-bottom: 1rem;  
        font-size: 0.9rem;
        height: 2rem;     
    }

    .sections__description {
        font-size: 0.8rem;
        font-family: var(--font-02-italic);
        font-weight: 400;
        margin-bottom: 0.2rem;
        height: 5rem;    
    }

    .sections__logo {
        width: 75px;
        margin: 0 auto;
    }
}
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--color-04);
    color: var(--color-back-light);
    display: flex;
    flex-direction: column;
    justify-content: center;                   

    &__text {
        font-size: 1rem;
        line-height: 1.25rem;
        font-weight: 500;
    } 

    &--copyringht {
        font-family: var(--font-02-italic);
        font-size: 0.9rem;
        margin-top: 0.75rem;                     
    }

    &__link {
        color: var(--color-02);

        &:hover {
            text-decoration: underline;
        }
    }
}
.principios{
    padding-top: 40px;
    padding-bottom: 40px;      
}
.lista {    
    color: grey;
    margin-left: 20px;
    .item-lista{
        cursor: pointer;
        list-style-type: none;
        a:hover {
            color: black !important;
        }
    }
}

.btn_01 {
    background-color: var(--color-01);
    color: var(--color-back-light);
    border: 1px solid var(--color-01);
    padding: 10px 30px;
    font-weight: 600;

    &:hover {
        background-color: var(--color-back-light);
        color: var(--color-01);
    }
}
.bg_comentario {
    color: black;
    min-height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.botones {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
@media only screen and (max-width: 767px) {
    .welcome__title p {       
        text-align: center;
       /* font-size: 1.3rem;*/        
    }
    .botones, .welcome{
        flex-direction: column;
        width: 100%;
    }
    .botones {
        gap: 5px;        
    }
    .welcome {
       height: 90vh;
    }
    .welcome__button {
        margin-top: 0.5rem;
        text-align: center;
    }
    .welcome__card {
        width: 200px;
        padding-bottom: 30px;
    }

}
.logo-comentarios{
    width: 100px;
    height: auto;
}
.titulo_modal {
    font-size: 1.2em;
    text-transform: uppercase;
    padding-bottom: 20px;
    font-weight: 700;
}
.titulo-seccion {
    font-size: 1.7rem;
    text-align: center;
    font-weight: 700;
}
.enlace {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    text-align: center;
    font-size: 1em;    
    background-color: var(--color-grey-light);
    padding: 10px 30px;
    margin-bottom: 10px;

    &:hover {
        font-weight: 700;
    }
}
