:root{
    --color-gray: #F1F2F4;
    --color-primary: #0B0130;
    --color-secondary: #545558;
    --color-blue: #00A0FB;
    --color-divider: #EEEEEE;
    --max-width: 1330px;
}

body{
    color: var(--color-secondary);
    font-family: 'OnAir-Regular';
}

#banner{
    background-color: var(--color-gray);
    font-size: 0.875rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    padding: 1rem 0;
}

.content{
    max-width: var(--max-width);
    width: 90%;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6rem;
}

nav{
    padding: 1.5rem 0;
}

header{
    background-color: var(--color-gray);
    padding: 30px 0 40px;
}

header .content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
}

header .content.column{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 0 0;
}

header .content.column img{
    margin: 0 auto;
}

header .content img{
    max-width: 100%;
}

header .content > div{
    padding: 2.4rem 5rem;
}

header .content.column > div {
    max-width: 800px;
    margin: 0 auto;
}

h1{
    font-size: 2.5rem;
    font-family: 'OnAir-Bold';
    margin-bottom: 2rem;
    line-height: 3rem;
    color: var(--color-primary);
}

header p{
    color: var(--color-secondary);
}

h2{
    font-size: 2rem;
    margin-bottom: 1.4rem;
    color: var(--color-primary);
    line-height: 2.4rem;
}

#consultas{
    max-width: 800px;
    padding: 60px 0 30px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6rem;
}

#consultas > div{
    padding: 60px 0 0;
    display: grid;
    gap: 2rem;
}

details{
    width: 100%;
    border: .1rem solid rgba(221, 221, 221, 1);
    border-radius: 1.4rem;
    text-align: left;
}

summary{
    padding: 1.6rem;
    font-size: 1.25rem;
    color: var(--color-primary);
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    position: relative;
    cursor: pointer;
}

summary::after{
    width: 12px;
    height: 6px;
    content: '';
    background-image: url(../img/up.svg);
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transition: 500ms;
    transform: rotate(180deg);
}

details[open] summary::after{
    transform: rotate(0deg);
}

summary:hover h3{
    text-decoration: underline;
    text-underline-offset: .4rem;
}

details p{
    padding: 1.6rem;
    padding-top: 0;
}

details a{
    color: var(--color-blue);
}

footer{
    text-align: center;
    margin-top: 5rem;
}

footer div{
    color: var(--color-primary);
    margin-bottom: 2.4rem;
}

b{
    font-family: 'OnAir-Bold';
}

footer b span{
    color: var(--color-blue);
}

footer nav{
    color: var(--color-secondary);
    border-top: 1px solid var(--color-gray);
    display: flex;
    max-width: var(--max-width);
    width: 90%;
    margin: 3rem auto;
    justify-content: space-between;
}

footer nav a{
    color: var(--color-secondary);
    text-decoration: none;
}

.buttons{
    display: flex;
    gap: 1.6rem;
    justify-content: center;
    padding: 2rem 0 0;
}

.btn{
    display: flex;
    height: 3rem;
    border-radius: 5px;
    padding: 0 16px;
    align-items: center;
    font-family: 'OnAir-Bold';
    font-size: 1rem;
    line-height: 1.2rem;
}

.btn.black{
    color: #fff;
    background-color: var(--color-primary);
    text-decoration: none;
}

.btn.transparent{
    color: var(--color-primary);
}

#breadcrumb{
    border-top: 1px solid var(--color-divider);
    padding: 0.5rem 0;
    font-size: 0.75rem;
}

#breadcrumb a{
    color: var(--color-secondary);
    text-decoration: none;
}

#infocontent{
    text-align: center;
    padding: 3rem 0;
}

#infocontent h1{
    font-size: 2rem;
    font-family: 'OnAir-Regular';
    margin-bottom: 1rem;
}

#infocontent h2{
    margin: 5rem 0 1rem;
    text-align: left;
    font-family: 'OnAir-Bold';
}

#infocontent > div{
    text-align: left;
    gap: 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#infocontent > div ul{
    margin: 0 1.8rem 1rem;
    list-style: disc;
}

#infocontent > div a{
    color: var(--color-secondary);
}

.legal{
    padding-top: 3rem;
}

.legal h1{
    margin-bottom: 5rem;
    font-size: 2rem;
}

.legal ol{
    margin: 2rem;
    list-style: decimal;
}

.legal ol li{
    margin: 5px 0;
}

.legal ul{
    list-style: disc;
    margin-left: 1rem;
}

.legal:not(ol) ul{
    margin: 2rem;
}

.legal .title{
    font-weight: bold;
    margin: 30px 0;
}

.legal a{
    color: var(--color-secondary);
}

.overflowtable{
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin: 3rem 0;
    overflow: auto;
    width: 100%;
}

.legal table{
    width: 100%;
}

.legal table td {
    padding: 1.2rem;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.legal table tbody tr:last-child td{
    border-bottom: 0;
}

.legal table tbody tr td:first-child:before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 10px;
    background-color: #fff;
    content: '';
    height: 1px;
}

.legal table tbody tr td:last-child:after {
    position: absolute;
    top: -1px;
    right: 0;
    width: 10px;
    background-color: #fff;
    content: '';
    height: 1px;
}

.legal thead{
    font-size: 1.25rem;
    font-weight: bold;
}

a{
    word-break: break-word;
}

.centrado{
   text-align: center !important;
}


@media screen and (max-width:700px){
    
    header .content{
        grid-template-columns: 1fr;
    }

    header .content div {
        padding: 2.4rem 0rem;
    }

    #logo{
        width: 65px;
    }

    h1{
        font-size: 2rem;
        line-height: 2.4rem;
    }
    
    summary {
        padding: 1.2rem;
        grid-template-columns: 30px 1fr;
    }

    summary::after {
        right: 1rem;
    }

    footer nav{
        flex-direction: column;
        gap: 2rem;
    }

    .buttons{
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    #infocontent > div{
        gap: 2rem;
        grid-template-columns: 1fr;
    }

}