*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family:monospace;
}

div, ul, nav, li, header, footer, label, a, body, h1, h2, h3, p{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/* --------- Inicio header__rocketlab ---------- */

.header__rocketlab{
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 2;
}

.header__container{
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    transition: border .3s ease;
    padding: 10px;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: #000;
}

.header__container a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo{
    width: 164px;
    transition: filter .5s ease;
    filter: brightness(1.1);
}

.header__logo:hover{
    filter: brightness(.9);
}

.header__checkbox{
    display: none;
}

.header__open-nav{
    font-size: 2.5rem;
    color: #FFF;
    font-weight: bold;
    cursor: pointer;
    transition: transform .4s ease, color .3s ease;
    padding-right: 5px;
}

.header__open-nav:hover{
    transform: scale(1.05);
    color: #d45204;
}

.header__nav{
    display: flex;
    flex-direction: column;
    position: fixed;
    transform: translateX(150%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: transform .5s ease;
    z-index: 99;
    overflow: hidden;
    overflow-y: auto;
}

.header__checkbox:checked ~ .header__nav{
    transform: translateX(0);
}

.header__nav-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: #010101;
}

.nav__head-img{
    width: 164px;
    transition: filter .3s ease, opacity .6s ease;
}

.nav__head-img:hover{
    filter: brightness(.8);
}

.header__close-nav{
    font-size: 2.5rem;
    color: #FFF;
    font-weight: bold;
    cursor: pointer;
    transition: transform .4s ease, color .3s ease;
    padding-right: 5px;
}

.header__close-nav:hover{
    transform: scale(1.1);
    color: #d45204;
}

.header__nav-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 30px 10px;
    background-color: #222;
}

.header__nav-item{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.header__nav-item a{
    font-size: 1.3rem;
    width: 100%;
    padding: 20px 0;
    color: #FFF;
    font-weight: bold;
    filter: brightness(1.1);
    transition: filter .5s ease, transform .3s ease, color .3s ease;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid #FFF;
    font-style: italic;
}

.header__nav-item:first-child{
    border-top: 1px solid #FFF;
}

.header__nav-item img{
    width: 100px;
}

.header__nav-item a:hover{
    transform: translateY(-5%);
    filter: brightness(1.3);
    color: #d45204;
}

.header__nav-footer{
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: start;
    align-items: center;
    padding: 20px 10px;
    background-color: #222;
    height: 100%;
}

.header__nav-footer a{
    transition: transform .3s ease, color .3s ease, border-color .3s ease;
}

.header__nav-footer a:hover{
    transform: translateY(-5%) scale(1.02);
}

.nav__footer-us{
    padding: 10px;
    background-color: #222;
    color: #FFF;
    border: 2px solid #FFF;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.3rem;
}

.nav__footer-us:hover{
    color: #d45204;
    border-color: #d45204;
}

/* --------- header__rocketlab queries ----------*/

@container header (min-width:56.25rem){

    .header__container{
        justify-content: space-between;
        gap: 10px;
        padding: 20px 10px;
    }

    .header__nav{
        flex-direction: row;
        justify-content: space-evenly;
        position: relative;
        width: 80%;
        opacity: 0;
        transition: transform 1s ease, opacity 1s ease;
    }

    .header__nav.visible{
        transform: translateX(0);
        opacity: 1;
    }

    .header__open-nav{
        display: none;
    }

    .header__close-nav{
        display: none;
    }

    .header__nav-head{
        display: none;
    }

    .header__nav-list{
        flex-direction: row;
        justify-content: space-between;
        background-color: transparent;
        padding: 0;
        width: 100%;
    }

    .header__nav-item{
        height: 100%;
        width: auto;
    }

    .header__nav-footer{
        display: none;
    }

    .header__nav-item a{
        border: none;
        background-color: transparent;
        height: 100%;
        width: auto;
        padding: 10px 15px;
        font-size: 1.5rem;
        font-family: monospace;
    }

    .header__nav-item img{
        width: 115px;
    }

    .header__nav-item:first-child{
        border: none;
    }
}

/* --------- fin header__rocketlab ------------*/

/* ---------- inicio footer__rocketlab ---------- */

.footer__rocketlab{
    display: flex;
    margin: 0 auto;
    position: relative;
    flex-direction: column;
    container-type: inline-size;
    container-name: footer;
    z-index: 10;
}

.footer__logo-container-background{
    background-color: #000;
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer__logo-container{
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    position: relative;
    width: 100%;
    max-width: 1500px;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.footer__logo-container.visible{
    opacity: 1;
}

.footer__logo-container::before{
    content: '';
    width: 95%;
    height: 100%;
    border-bottom: 2px solid #d45204;
    position: absolute;
    left: 2.5%;
}

.footer__rocketlab-logo{
    width: 180px;
    transition: filter .5s ease;
    filter: brightness(1.1);
}

.footer__rocketlab-logo:hover{
    filter: brightness(.9);
}

.footer__container{
    background-color: #000;
    padding: 25px 10px;
}

.footer__grid-general{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-items: stretch;
    justify-content: center;
    gap: 40px 20px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.footer__grid-general.visible{
    opacity: 1;
}

.footer__grid-item{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-item-title{
    font-size: 1.4rem;
    color: #FFF;
    font-weight: 400;
}

.grid-item-text{
    font-size: 1rem;
    color: #FFF;
    font-weight: 300;
}

.grid-item-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid-item-list-item a{
    color: #FFF;
    font-size: 1rem;
}

.grid-item-list-item a:hover{
    text-decoration: underline;
}

.footer__copyright{
    background-color: #171717;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-wrap: balance;
    width: 100%;
    height: 100%;
    bottom: 0;
    color: #fff;
    font-weight: 500;
    padding: 20px 10px 0 10px;
    position: relative;
    gap: 10px;
    border-top: 1px solid #fff;
}

.infodoc__signature{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
    font-size: .9rem;
    font-weight: 200;
    gap: 5px;
    color: #fffc;
}

.infodoc__signature span{
    font-weight: bold;
    color: #fff;
}

.infodoc__signature a{
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: color .5s ease;
}

.infodoc__signature a:hover{
    color: #d45204;
}

/* --------- footer__rocketlab queries ------ */

@container footer (min-width:700px){
    .footer__grid-general{
        display: grid;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        align-items: stretch;
        justify-content: center;
        gap: 40px 20px;
        width: 100%;
        padding-left: 20px;
    }
}

@container footer (min-width:56.25rem){
    .footer__grid-general{
        display: grid;
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        align-items: stretch;
        justify-content: center;
        gap: 40px 20px;
        width: 100%;
    }

    .infodoc__signature{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-size: .9rem;
        font-weight: 200;
        position: absolute;
        left: 10px;
        bottom: 5px;
    }

    .footer__copyright{
        padding: 20px 10px 20px 10px;
    }
}

/* ------- fin footer__rocketlab -------------- */