.main-container{
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.nav-bar{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.first-half-nav{
    /*width: 50%;*/
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    /*cursor: pointer;*/
}

.sec-half-nav{
    float:right;
    width: 45%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.navbar{
    display: flex;
    flex-direction: row;
}

.first-half-nav > img{
    width: 40%;
    align-content: center;
}

.nav-bar.anchor{
    width: 50%;
    justify-content: space-evenly;
}

.nav-bar.anchor > a{
    display: block-inline;
    text-decoration: none;
}

.anchor-elem{
    padding: 10% 1%;
    white-space: nowrap;
    margin:0;
    margin-left: 5%;
    font-size: 15px;
    font-family: BentonSansBBVABook;
    text-decoration: none;
    opacity: 0.6;
    color: #000000; 
}

.anchor-elem.active {
    font-family: BentonSansBBVAMedium;
    opacity: 1; 
    color: #225A8f !important;
    border-bottom: 5px solid #225A8f !important;
}

.search{
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}
.search > input{
    background-color: transparent;
    border: 0;
    width: 75%;
    min-width: 50px;
    font-family: BentonSansBBVAMedium;
    font-size: 0.75em;
    color: #2FA8AC;
    border-radius: 0;
}

.search > input:focus{
    outline: none;
}

.search > input::placeholder{
    color: #2FA8AC;
}

.search > img{
    width: 20px;
    height: 20px;
}

.register{
    border-left: 1px solid #e9e9e9;
    margin: 0;
    padding-left: 5%;
    margin-left: 5%;
}

.register > button {
    font-size: 15px;
    font-family: BentonSansBBVAMedium;
}

.button-signup{
    background-color: #004480;
    border-radius: 1px;
    color: #ffffff;
}

.button-login{
    background-color: transparent;
    color: #004480;
}

.main-content-container{
    position: relative; 
    margin: 0; 
    width: 100%;
}

.company-banner{
    width: 100%;
    background-color: #014481;

    background-image: url("./assets/homepage_banner_image.png");
    background-size: 100%, cover;
    background-repeat: round;

    color: #ffffff;
    margin: 0;
}

.banner-title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    margin-right: 50%;
    margin-top: 0;
    padding: 5% 0;
}

.banner-title-container > h1 {
    font-size: 2em;
    font-family: BentonSansBBVABold;
}

.banner-title-container > h2 {
    font-size: 1.1em;
    font-family: BentonSansBBVABook;
}

.instruction-banner{
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5%;
    margin: 0;
}

.instruction-banner-title{
    margin: 3% auto;
    font-size: 2.3em;
    font-family: BentonSansBBVALight;
}

.instruction-steps{
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.instruction-step{
    width: 18%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #333333;
}

.step-number{
    width: 48px;
    height: 38px;
    background-color: #014481;
    border-radius: 24px;
    margin-bottom: 25%;
    color: #ffffff;
    font-size: 1.5em;
    font-family: BentonSansBBVABold;
    padding-top: 10px;
}
.step-number > span{
    vertical-align: middle;
}

.instruction-title{
    font-family: BentonSansBBVAMedium;
    margin: 20%;
    font-size: 1.2em;
}

.instruction-desc{
    font-family: BentonSansBBVABook;
    font-size: 0.9em;
    line-height: 1.5;
    color: #014481;
}

.api-list-banner{
    background-color: #014481;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.apis-title{
    margin-top: 3%;
    color: #ffffff;
    font-size: 2.25em;
    font-family: BentonSansBBVALight;
}

.api-group-container{
    width: 40%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1%;
}

.api-group-elem{
    padding: 3% 5%;
    border-bottom: 1px solid #DFDFE0;
    font-size: 1em;
    font-family: BentonSansBBVABook;
    color: #ffffff;
    opacity: 0.6;
}

.api-group-elem.active{
    border-bottom: 3px solid #ffffff;
    font-family: BentonSansBBVAMedium;
    opacity: 1;
}

.api-list-container{
    display: none;
}

.api-list-container.active{
    display: grid;
    grid-template-columns: 30% 30%;
    justify-content: center;
    grid-gap: 0;
}

.api-elem{
    margin: 0;
    display: inline-block;
    position: relative;
}

.no-hover-api-info{
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15% 7% 5%;
    color: #ffffff;
}

.no-hover-api-info > img {

    align-self: flex-start;
}

#api-sect-1{
    background-color: #1973B8;
}

#api-sect-2{
    background-color: #02306E;
}

#api-sect-3{
    background-color: #1464A5;
}

#api-sect-4{
    background-color: #1973B8;
}

.no-hover-content{
    width: 55%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.api-title{
    font-family: BentonSansBBVAMedium;
    font-size: 1.6em;
    margin-bottom: 5%;
}

.api-info{
    font-family: BentonSansBBVABook;
    font-size: 0.8em;
    line-height: 1.5;
}

/* .api-elem > .hover-api-info{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    padding: 2% 7.5%;
    background-color: rgb(6, 32, 71, 0.8);
    margin: 0;
}

.api-elem:hover > .no-hover-api-info{
    opacity: 0.1;
}

.api-elem:hover > .hover-api-info{
    opacity: 0.8;
}

.hover-content{
    display: flex;
    flex-direction: column;
    color: #ffffff;
} */

.all-apis-label{
    font-size: 0.8em;
    color: #5BBEFF;
    font-family: BentonSansBBVAMedium;
    margin: 2% auto 4%;
}

.all-apis-label > a{
    text-decoration: none;
}

.learn-more-banner{
    width: 100%;
    background-color: #ffffff;
    margin: 0;
}

.learn-more-container{
    width: 75%; 
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items:center;
    margin: 5% auto;
}

.gt-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ref-title{
    margin: 25px auto;
    font-size: 1.5em;
    font-family: BentonSansBBVAMedium;
    color: #121212; 
    text-align: center;
}

.gt-container > a{
    font-size: 0.9em;
    text-decoration: none;
    font-family: BentonSansBBVAMedium;
    color: #1464A5;
}

.logo-container{
    background-color: #F5F5F5;
    width: 150px;
    height: 150px;
    border-radius: 72px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer{
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-container{
    width: 1096px;
    max-width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2% 0;
}

.copyright{
    width: 50%;
    display: flex;
    justify-content: flex-end;
    
    color: #5BBEFF;
    font-size: 0.75em;
    font-family: BentonSansBBVABook;
    margin: 0;
}

.contact-us{
    width: 60%;
    font-family: BentonSansBBVAMedium;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
}

.contact-us > a{
    text-decoration: none;
    color: #2DCCCD;
}

.faq{
    width: 50%;
    font-family: BentonSansBBVAMedium;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
}

.faq > a{
    text-decoration: none;
    color: #2DCCCD;
}

.question{
    font-family: BentonSansBBVAMedium;
    font-size: 1.2em;
    margin-bottom: 5%;
}

.answer{
    font-family: BentonSansBBVABook;
    font-size: 0.8em;
    line-height: 1.5;
}

.faq-elem{
    margin-top: 5%;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 10%;
}

.hidden{
    display: none;
}

#dim{
    display: none;
}

/*
.step1-img{
    display: none;
    .api-group-elem{
    display: none;
}
}*/

@media screen and (max-width:963px) {

    body{
        background-color: #ffffff;
    }

    .main-container{
        position:relative;
        display: inline;
    }
    .nav-bar{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        margin: 2.5% auto 1%;
    }

    .anchor{
        display: none;
    }

    .first-half-nav{
        justify-content: flex-start;
    }

    #logo{
        cursor: pointer;
    }
    
    .sec-half-nav{
        display: none;
    }
    
    .collapse-menu{
        margin: 0;
        display: inline;
    }

    .collapse-icon-container{
        margin: 0;
    }

    .hidden-icon{
        display: none;
    }

    .menu-container{
        margin: 0;
        position: relative;
    }

    .navbar-menu{
        background-color: #ffffff;
        margin: 0;
        z-index: 99;
        position: absolute;
        width: 100%;
    }

    .searchbar{
        border-top: 1.5px solid #777777;
        border-bottom: 1.5px solid #777777;
        margin-top: 0;
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .searchbar > img{
        width: 20px;
        height: 20px;
        margin: auto 5%;
    }

    .searchbar > input {
        outline: none;
        border: none;
        font-family: BentonSansBBVAMedium;
    }

    .search > input{
        min-width: 100%;
    }

    .searchbar > input::placeholder {
        color: #2fa8ac;
        font-family: BentonSansBBVAMedium;
    }

    .nav-routes{
        margin: 0;
        margin-left: 5%;
    }

    .page-tab{
        border-bottom: 1px solid #e9e9e9;
        font-size: 0.8em;
        font-family: BentonSansBBVABook;
        padding: 3% 0;
    }

    .auth-buttons{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        font-family: BentonSansBBVAMedium;
    }

    #dim{
        min-width: 100% !important;
        min-height: 100% !important;
        z-index: 50;
        background-color: grey !important;
        position: absolute;
        opacity: 0.5;
        margin: 0;
        padding: 0;
    }

    .company-banner{
        background: url('./assets/homepage_banner_image\ -\ Copy.png');
        background-size: 100%;
        background-repeat: round;
    }

    .banner-title-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding-bottom: 30%;
    }

    .banner-title-container > h1{
        font-size: 32px;
    }

    .banner-title-container > h2{
        font-size: 20px;
    }

    .instruction-banner{
        background-color: #ffffff;
    }

    .instruction-banner-title{
        font-size: 24px;
        margin: 7.5% auto 2.5%;
    }

    .instruction-steps{
        flex-direction: column;
        align-items: bottom;
        width: 100%;
        margin: 0;
    }

    .instruction-step{
        width: 100%;
    }

    .step-number {
        width: 36px;
        height: 28px;
        border-radius: 50%;
        margin: 10% auto 5%;
        padding-top: 7px;
        font-size: 18px;
    }

    .instruction-title{
        margin: 5% auto 3%;
        font-size: 15px
    }

    .instruction-desc{
        font-size: 13px;
        padding: 70px 0;
        align-content: center;
    }

    .apis-title{
        font-size: 24px;
        margin: 10% auto 3%;
    }

    .api-group-container{
        display: none;
    }

    .api-list-container.active{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .api-elem{
        width: 90%;
    }

    .no-hover-api-info{
        padding: 10% 5% 5%;
    }

    #api-sect-1 > div > img{
        width: 76px;
        height: 98px;
    }
    
    #api-sect-2 > div > img{
        width: 91px;
        height: 90px;
    }
    
    #api-sect-3 > div > img{
        width: 115px;
        height: 78px;
    }
    
    #api-sect-4 > div > img{
        width: 120px;
        height: 95px;
    }

    .api-title{
        font-size: 20px;
    }
    
    .learn-more-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        padding: 5% 0;
    }

    .footer{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    
    .footer-container{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    .copyright {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2% 0;
    }
    .contact-us {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2% 0;
    }

    .faq {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2% 0;
    }
}

