@font-face {
    font-family: 'Lora';
    src: url('../tipography/Lora-VariableFont_wght.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    color: inherit;
    font-family: 'Lora';
}

header{
    width: 100%;
    background: linear-gradient(to right, #034228, #045933);
}   

.rta__header{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    container-type: inline-size;
    container-name: header__rta;
    position: fixed;
    background: linear-gradient(to right, #034228, #045933);
    transition: transform .3s ease;
    z-index: 20;
    color: #fff;
}

.rta__header.header--hidden {
    transform: translateY(-100%);
}

.header__container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    color: #fff;
    padding: 15px;
    gap: 15px;
    z-index: 20;
    position: relative;
    background: linear-gradient(to right, #034228, #045933);
}

.header__open-nav-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    justify-content: start; 
}

.header__open-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: start; 
    transition: color .4s ease;
    font-size: 1.3rem;
    background-color: transparent;
    border: none;
}

.header__open-nav:hover{
    color: #4c9;
    cursor: pointer;
}

.header__open-nav-text{
    display: none;
}

.header__img-container{
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__img-container img{
    width: 100%;
    max-width: 50px;
    object-fit: cover;
}

.header__shortcuts{
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: end;
    padding-top: 5px;
    align-items: center;
}

.header__shortcut-search{
    background-color: transparent;
    border: none;
}

.header__shortcut-location i, .header__shortcuts a{
    font-size: 1rem;
    transition: color .4s ease;
}

.header__shortcut-location i:hover, .header__shortcuts a:hover{
    color: #4c9;
    cursor: pointer;
}

.header__shortcut-location.active{
    color: #4c9;
}

.header__shortcut-search i{
    font-size: 1rem;
    transition: color .4s ease;
}

.header__shortcut-search i:hover{
    color: #4c9;
    cursor: pointer;
}

.header__nav{
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
    height: 100vh;
    transform: translateY(-5%);
    transition: transform .8s ease;
    z-index: 10;
    background: linear-gradient(to right, #034228, #045933);
    color: #fff;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
}

.is-open{
    transform: translateY(99.9%);
}

.header__nav-list{
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
}

.header__list-item a{
    font-size: 1rem;
    font-weight: 600;
    transition: color .3s ease, transform .6s ease;
    letter-spacing: 1px;
    position: relative;
}

.header__list-item a:hover{
    color: #4c9;
}

.header__search{
    display: flex;
    position: absolute;
    bottom: 0;
    padding: 10px 10px 20px 10px;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    transform: translateY(-5%);
    transition: transform .6s ease;
    z-index: 10;
    background: linear-gradient(to right, #034228, #045933);
    color: #fff;
    gap: 5px;
}

.search-open{
    transform: translateY(99%);
}

.search__label{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 8px;
    font-size: .8rem;
    color: #fff9;
}

.header__search-border{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 16px;
    background-color: #045f43;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

#searchInput{
    background-color: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    flex: 5;
}

#searchInput::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

#searchInput::placeholder{
    color: #fff6;
}

.search__buttons{
    display: flex;
    justify-content:flex-end;
    align-items: center;
    max-height: 23px;
    gap: 15px;
    flex: 1.4;
}

.search__clear-btn{
    background-color: transparent;
    border: none;
    font-size: 1.3rem;
    display: none;
}

.clearBtnActive{
    display: block;
}

.search__clear-btn i{
    padding: 3px 6px;
    background-color: #0345287f;
    border-radius: 100%;
    transition: color .3s ease;
    cursor: pointer;
}

.search__clear-btn i:hover{
    color: #4c9;
}

.seeker__button{
    background-color: transparent;
    border: none;
    font-size: 1.3rem;
}

.seeker__button i{
    transition: color .3s ease;
    cursor: pointer;
}

.seeker__button i:hover{
    color: #4c9;
}

/* -------------- header queries ------------ */

@container header__rta (min-width:375px){
    .header__shortcut-location i{
        display: block;
    }
}

@container header__rta (min-width:425px){
    .header__shortcuts{
        gap: 25px;
    }

    .search__buttons{
        gap: 25px;
    }

    .search__label{
        font-size: 1rem;
    }

    #searchInput{
        font-size: 1rem;
    }

    .seeker__button{
        font-size: 1.5rem;
    }

    .search__clear-btn{
        font-size: 1.3rem;
    }

    .search__clear-btn i{
        padding: 4px 5px;
    }
}

@container header__rta (min-width:768px){

    .header__img-container img{
        max-width: 60px;
    }

    .header__open-nav{
        gap: 10px;
    }

    .header__open-nav-text{
        display: block;
        font-size: 1rem;
    }

    .header__list-item a{
        font-size: 1.2rem;
    }

    .header__shortcuts{
        gap: 30px
    }

    .header__shortcuts i{
        font-size: 1.1rem;
    }

    .header__nav-list{
        gap: 30px;
    }

    .header__search-border{
        max-width: 600px;
    }

    .search__buttons{
        gap: 30px;
    }

    .search__label{
        max-width: 600px;
        font-size: 1.2rem;
    }
}

/* ----------- fin header ------------- */

/* ---------- inicio footer ------------- */

.rta__footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    container-type: inline-size;
    container-name: rtaFooter;
    position: relative;
    background-color: #fff;
    box-shadow: 0 -1px 5px 1px #00000009;
    color: #000;
    z-index: 10;
    gap: 40px;
    overflow: hidden;
}

.footer__networks-list{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    padding: 30px 10px 20px 10px;
    max-width: 400px;
    position: relative;
    background-color: #00000003;
    color: #000d;
    opacity: 0;
    transform: translateY(50%);
    transition: transform .8s ease, opacity 1s ease;
}

.footer__networks-list.visible{
    transform: translateY(0);
    opacity: 1;
}

.footer__networks-list::before{
    content: '';
    position: absolute;
    width: 90%;
    border-bottom: 2px solid #000a;
    border-radius: 16px;
    bottom: 0px;
    margin: 0 auto;
}

.footer__networks-item{
    opacity: 0;
    transform: translateY(40%);
    transition: transform 1s ease, opacity 3s ease;
}

.footer__networks-item.visible{
    transform: translateY(0);
    opacity: 1;
}

.footer__networks-item a{
    font-size: 1.7rem;
}

.footer__networks-item a i{
    transition: transform .3s ease, color .3s ease;
}

.footer__networks-item a i:hover{
    transform: scale(1.05);
    color: #034228;
}

.footer__container{
    display: grid;
    grid-template-columns: repeat(1, minmax(250px, 1fr));
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.footer__item{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 1s ease;
}

.footer__item.visible{
    opacity: 1;
}

.footer__text-first{
    text-align: justify;
    max-width: 400px;
    opacity: 0;
    transition: opacity 1s ease;
}

.footer__text-first.visible{
    opacity: 1;
}

.footer__item-title{
    width: 100%;
    max-width: 500px;
    font-size: 1.5rem;
    text-align: center;
}

.footer__item-list{
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer__item-item{
    text-align: center;
}

.noI a:hover{
    text-decoration: underline;
}

.contactF{
    width: 100%;
    max-width: 150px;
}

.contactF a{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: start;
    gap: 7px;
    width: 100%;
}

.contactF i{
    font-size: 1.2rem;
}

.contactF-label:hover{
    text-decoration: underline;
}

.footer__infodoc-background{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    background-color: #1a1a1a;
    width: 100%;
    color: #ddd;
}

.footer__infodoc{
    width: 100%;
    max-width: 1500px;
    padding: 10px 10px 10px 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: opacity 1s ease;
}

.footer__infodoc.visible{
    opacity: 1;
}

.footer__infodoc-copyright{
    text-align: center;
}

.footer__infodoc-copyright span{
    font-weight: bold;
    color: #fff;
}

.footer__infodoc-spam{
    font-weight: 200;
    font-size: .8rem;
    text-align: center;
}

.footer__infodoc-spam a{
    font-weight: bold;
    transition: color .3s ease;
    color: #fff;
}

.footer__infodoc-spam a:hover{
    color: #ddd;
}


@container rtaFooter (min-width:375px){
    .footer__item-title{
        font-size: 1.6rem;
    }
}

@container rtaFooter (min-width:768px){
    .footer__container{
        grid-template-columns: repeat(2, minmax(250px, 350px));
        align-items: start;
    }

    .footer__item-item a{
        width: 100%;
    }

    .contactF{
        max-width: 160px;
    }

    .contactF a{
        gap: 10px;
    }

    .contactF i{
        font-size: 1.3rem;
    }
}

@container rtaFooter (min-width:56.25rem){
    .footer__container{
        grid-template-columns: repeat(4, minmax(175px, 350px));
        max-width: 1500px;
        align-items: start;
        margin-top: 20px;
        padding: 0 20px;
    }

    .footer__img-container img{
        max-width: 200px;
    }

    .footer__item{
        padding: 0;
    }

    .footer__item-list{
        max-width: 300px;
        gap: 20px;
    }

    .footer__item-item{
        width: 100%;
        text-align: start;
    }

    .footer__item-item a{
        font-size: 1.1rem;
    }

    .contactF{
        max-width: 185px;
    }

    .contactF i{
        font-size: 1.5rem;
    }

    .footer__infodoc-background{
        margin-top: 40px;
    }

    .footer__infodoc{
        gap: 5px;
    }

    .footer__infodoc-spam{
        text-align: start;
    }
}