* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Titillium Web';
    src: url(../font/TitilliumWeb-Regular.ttf) format('truetype');
}

:root {
    --primary-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --primary-bg-color: rgb(13, 57, 90);
    --border-roud: 10px;
}

body {
    position: relative;
    /*Ventana de carga*/
}

main {
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    gap: 10px;
}

section {
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: #FFFFFF;
}

.roulette {
    border: 5px solid #0D395A;
    border-top: 10px solid #FF9933;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    margin-top: 200px;
}

#form-loader{
    width: 100%;
    height: 100% ;
    position: absolute;
    top:0;
    background-color: rgba(112, 112, 112, 0.289);
    display: none;
}

#form-wheel{
    border: 10px solid #0D395A;
    border-top: 10px solid #FF9933;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    margin-top: 200px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {
    width: 100%;
    position: sticky;
    top: -1px;
    z-index: 2;
    font-family: 'Titillium Web';
    background-color: var(--primary-bg-color);
}

header .menu-container>div>img {
    cursor: pointer;
}

header .menu-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
}

.navbar {
    display: flex;
    align-items: center;
    position: relative;
}

/*Incio, Quienes Somos, Contacto*/
.navbar>ul>li>a,
/*Guía Tributaria*/
.navbar>ul>li>span {
    position: relative;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
}

/* nav>ul>li>span::before */
nav>ul>li>a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #FF9933;
    transition: all .5s ease-out;
    border-radius: 1000px;
}

.navbar ul li a:hover::before,
.navbar ul li span:hover::before {
    width: 100%;
}

.navbar ul {
    list-style: none;
}

.navbar a {
    text-decoration: none;
}

.navbar>ul {
    width: fit-content;
    height: 30px;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 30px;
}

/*=============== Dropdown =================*/

@keyframes slideDropdown {
    0% {

        transform: translateY(50px);
    }

    100% {

        transform: translateY(0);
    }
}

.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown>ul {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    position: absolute;
    top: 30px;
    width: 200px;
    transition: all 1s ease-out;
    display: none;
    backdrop-filter: blur(20px);
    background-color: #0d395ab7;
    animation: slideDropdown 1s ease;
}

.dropdown>ul>li {
    cursor: pointer;
}

.dropdown>ul>li:hover {
    background-color: #FF9933;
}

.dropdown>ul>li>a {
    display: block;
    color: #FFFFFF;
    font-family: 'Titillium Web';
    font-weight: normal;
    font-size: 14px;
    padding: 10px 10px;
}

.dropdown>ul>li>a:hover {
    color: #000000;
}

.dropdown>div {
    content: '';
    position: absolute;
    top: 0;
    bottom: 5px;
    right: -20px;
    left: auto;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 0 5px;
    border-color: #FFFFFF transparent transparent transparent;
    transition: all 0.5s ease;
    cursor: pointer;
}

.hamburguer {
    width: 45px;
    height: 45px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-radius: 5px;
    margin-bottom: 10px;
    position: absolute;
    right: 20px;
    left: auto;
    top: 0;
    bottom: 0;
    margin: auto;
}

.hamburguer>div {
    width: 30px;
    height: 3px;
    border-radius: 20px;
    background-color: #0D395A;
}

@media (min-width:1000px) {
    .hamburguer {
        display: none !important;
    }
}

@media (max-width:1000px) {

    .navbar {
        width: 75%;
        height: 100vh;
        position: absolute;
        top: 80px;
        left: 0;
        right: auto;
        display: none;
        background: #0D395A;
        animation: slideRight 0.5s ease-out;
    }

    .navbar>ul {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 0;
    }

    .navbar>ul>li>a,
    .navbar>ul>li>span {
        padding: 5px 15px;
        display: block;
        text-align: left;


    }

    .dropdown {
        width: 100%;
    }

    .dropdown>ul {
        width: 100%;
        display: none;
    }

    .dropdown>ul>li {
        width: 100%;
        padding-left: 10px;
    }

    .dropdown>div {
        right: 30px;
    }

    .hamburguer {
        display: block;
    }
}

@media(max-width:470px) {
    header .menu-container {
        justify-content: space-between;
    }

    .iconsulting {
        width: 60% !important;
        height: 40% !important;
        margin: 0 20px;
    }
}


.show {
    display: block !important;
}

.invert {
    transform: scaleY(-1);
}

.bars {
    position: absolute;
    width: 60%;
    height: 4px;
    transform-origin: center;
    transition: all 0.5s ease-out;
}

.firstBar {
    transform: rotate(45deg);
}

.secondBar {
    transform: rotate(-45deg);
}

.lastBar {
    display: none;
}

/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
#home-section {
    width: 100%;
    height: 650px;
    position: relative;
    background-image: linear-gradient(#0D395A, #012851, #001743);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

#home-section>div:first-child {
    width: 100%;
    height: 200px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#typing-text {
    font-family: var(--primary-font);
    font-size: 50px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, .3),
        0 0 30px rgba(255, 255, 255, .3),
        0 0 50px rgba(255, 255, 255, .3); */
}

@keyframes blinkCursor {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#cursor {
    display: inline-block;
    width: 2px;
    height: 52%;
    /*Utiliza % para configurar la altura del cursor*/
    background-color: #FFFFFF;
    animation: blinkCursor 1s infinite;
    margin-left: 10px;
}

#home-section>div:first-child>div:first-child {
    width: 120px;
    height: 55px;
    /*Envés de redimensionar la imagen que la imagen se adpate al contenedor*/
}

#home-section>div:first-child>div>img {
    width: 100%;
    height: 100%;
}

#home-section>div:nth-child(3) {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home-section>div:nth-child(3)>label{
    position: absolute;
    color: #FFFFFF;
    font-size: 12px;
    font-family: var(--primary-font);
    top: -20px;
    left: 25px;
    display: none;
}

#home-section>div:nth-child(3)>span {
    position: relative;
    left: 30px;
    pointer-events: none;
    filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(2%) hue-rotate(360deg) brightness(111%) contrast(100%);
}

#home-section>div:nth-child(3)>div {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    left: auto;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 0 5px;
    border-color: #FFFFFF transparent transparent transparent;
    pointer-events: none;
}

#languages {
    width: 120px;
    height: 40px;
    outline: none;
    border-radius: 2px;
    background-color: transparent;
    border: thin solid #FFFFFF;
    color: #FFFFFF;
    padding-left: 40px;
    cursor: pointer;
    appearance: none;
    font-family: var(--primary-font);
}

option {
    background-color: #ffffff;
    color: #000000;
    border-radius: none;
    font-size: 16px;
    font-family: var(--primary-font);
}

@media (max-width:680px) {

    #typing-text {
        font-size: 6vw;
        margin-top: 60px;
    }
}

@media (max-width:420px) {

    #home-section {
        gap: 0;
    }

    #home-section>div:first-child>div:first-child {
        width: 90px;
        height: 40px;
    }

    #home-section>div:first-child>div>img {
        width: 60px;
        height: 30px;
        position: relative;
        top: 30px;
    }

    #home-section>div:nth-child(3) {
        top: 20px;
    }

    #languages {
        width: 100px;
        font-size: 10px;
        padding-left: 35px;
    }

    option {
        font-size: 10px;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    width: 90%;
    min-height:200px;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-inner {
    display: flex;
    gap: 35px;
    border-radius: 15px;
    overflow-x: scroll;
    scrollbar-width: none;
}

.carousel-inner>div {
    height: 150px;
    width: 240px;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: var(--primary-font);
    line-height: 30px;
    border-radius: var(--border-roud);
    margin: 25px 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
    color: #000000;
    backdrop-filter: blur(10px);
    background-color: rgb(255, 255, 255);
}

.carousel-inner>div>p {
    padding-left: 20px;
}

.carousel-inner>div>div {
    width: 100%;
    min-height: 55px;
    color: #ffffff;
    background-image: linear-gradient(#2c74ce, #1f397a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 20px;
    border-top-left-radius: var(--border-roud);
    border-top-right-radius: var(--border-roud);
}


@media (max-width:490px){
    .services{
        padding: 50px 0;
    }
}
/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
#about-us-section>video {
    border-radius: 10px;
}

#about-us-section {
    width: 80%;
    min-height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;

}


#about-us-section>div:first-child {
    width: 60%;
    font-family: var(--primary-font);
    line-height: 30px;
    padding: 50px;
    border-radius: 10px;
    text-align: justify;
    background-color: var(--primary-bg-color);
    color: #FFFFFF;
}

#about-us-section>div:first-child>h1 {
    font-size: 40px;
    padding: 10px 0;
    font-family:var(--primary-font);
    color: #FF9933;
}



@media (max-width:1120px) {
    #about-us-section {
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        gap: 10px;
    }
}

@media (max-width:940px) {
    

    #about-us-section>div:first-child {
        width: 100%;
        font-size: 14px;
    }

    #about-us-section>video{
        width: 95%;
    }
}

@media (max-width:600px) {
    #about-us-section>div:first-child>h1 {
        font-size: 5vw;
    }
}

@media (max-width:430px) {
    #about-us-section>div:first-child {
        text-align: left;
        padding: 20px 15px;
    }
}

/*--------------------------------------------------------------
# Client Section
--------------------------------------------------------------*/

#client-section {
    width: 80%;
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin: 0 auto;
    gap: 30px;
}

#client-section>p {
    width: 20%;
    font-family: 'Titillium Web';
}

#client-section>div {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#client-section>div>img {
    border-radius: 5px;
}

@media (max-width:1000px) {
    #client-section>div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        justify-items: center;
        gap: 50px;

    }

    #client-section>p {
        width: 40%;
        margin-right: 20px;
        text-align: center;
    }
}

@media (max-width:500px) {
    #client-section {
        flex-direction: column;
    }

    #client-section>p {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    width: 100%;
    min-height: 300px;
    color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    font-family: var(--primary-font);
    background-color: var(--primary-bg-color);
    padding: 20px 0;
}

footer>div {
    width: 50%;
    display: flex;
    flex-direction: column;
}

footer>div:first-child {
    justify-content: center;
    align-items: center;

}

footer>div:nth-child(2) {
    justify-content: space-between;
    padding-left: 150px;
    height: 150px;
}

footer>div>div img {
    margin: 20px;
}

footer>div>div>span {
    font-size: 16px;
    margin-right: 10px;

}

footer>p {
    width: 100%;
    height: fit-content;
    text-align: center;

}

@media (max-width:1000px) {
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer>div {
        width: 100%;
    }

    footer>div:nth-child(2) {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 10px 0 30px 0;
    }

    footer>div:nth-child(2)>div {
        width: 300px;
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animator-right {
    animation: slideRight 1.5s ease-out;
}

.animator-top {
    animation: slideTop 1.5s ease-out;
}

/*--------------------------------------------------------------
# Logos
--------------------------------------------------------------*/
.iconsulting {
    width: 300px;
    height: 40px;
}

#client-section>div>img:first-child{
    width: 130px;
    height: 50px;
}

#client-section>div>img:nth-child(2){
    width: 120px;
    height: 60px;
}

#client-section>div>img:nth-child(3){
    width: 150px;
    height: 70px;
}

#client-section>div>img:nth-child(4){
    width: 100px;
    height: 90px;
}

.whatsapp {
    padding: 15px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 50px;
    background-color: #3FC451;
    border-radius: 50%;
}

.whatsapp:hover {
    transform: scale(0.9);
}

@media (max-width:1000px) {
    .whatsapp {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width:565px) {

    .whatsapp {
        width: 60px;
        height: 60px;
        right: 30px;
    }

    .whatsapp img {
        width: 40px;
        height: 40px;
    }

    .facebook {
        width: 40px;
        height: 40px;
    }

    .instagram {
        width: 40px;
        height: 40px;
    }

    #client-section>div>img:first-child{
        width: 100%;
        height: 80%;
  
    }
    
    #client-section>div>img:nth-child(2){
        width: 80%;
        height: 90%;
    
    }
    
    #client-section>div>img:nth-child(3){
        width: 100%;
        height: 80%;
    
    }
    
    #client-section>div>img:nth-child(4){
        width: 60%;
        height: 100%;
   
    }
}

.facebook,
.instagram,
.whatsapp {
    cursor: pointer;
}


