/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

a {
    text-decoration: none !important;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-main: #061df9;
    --color-background-main: #000730;
    --color-button-main: #061df9;
    --color-button-main-hover: #ffffff;
    --color-background-nav-main: rgba(0, 7, 48,.7);
    --color-divider: rgba(30, 0, 255, .8);
    --color-form-control-background: #000623;
    --color-background-flip: #001987;
    --color-gray-1: #c5c5c5;
    --opacity-gray-1: rgba(0, 0, 0, .1);
    --opacity-gray-2: rgba(0, 0, 0, .2);
    --opacity-gray-3: rgba(0, 0, 0, .3);
    --opacity-gray-4: rgba(0, 0, 0, .4);
    --opacity-gray-5: rgba(0, 0, 0, .5);
    --opacity-gray-7: rgba(0, 0, 0, .7);
    --black-1: #000;
    --black-2: #222;
    --black-3: #2d2d2d;
    --text-primary: #ffffff;
    --text-primary-emphasis: #4a6bfd;
    --font-primary: "Poppins", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --color-white: #ffffff;
    --color-blue-low: #0087ff;
    --color-transparent: transparent;
    --flip-card-line: #002eff;
    --flip-card-primary: #061df9;
    --flip-card-secondary: #001988;

}

/* HEADER SITE */

body {
    font-family: var(--font-primary) !important;
    color: var(--text-primary) !important;
    background-color: var(--color-background-main) !important;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    padding-top: 115px;
    width: 100%;
    height: 100%;
}

.bg-grad {
    background: rgb(2,0,36);
    background: -moz-linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(0,0,101,1) 45%, rgba(0,17,115,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(0,0,101,1) 45%, rgba(0,17,115,0) 100%);
    background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(0,0,101,1) 45%, rgba(0,17,115,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#001173",GradientType=1);
}

.background-container {
    width: 100%;
    height: 100vh;
    background-image: url('../images/shape.gif');
    background-size: cover;
    background-position: center;
    position: relative;
}

.icon-down-custom {
    width: 60px;
    margin-bottom: 160px;
    color:var(--color-white);
    opacity: 50%;
    transition: all 0.35s;
}

.icon-down-custom:hover {
    color:var(--color-white);
    opacity: 100%;
    
}

.text-banner-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
}

/* TITLE & TEXT */

.title-banner {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 30px;
}

.title-section {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.Subtitle-section {
    font-size: 30px;
    font-weight: 100;
    text-align: center;
}

.Subtitle-banner {
    font-size: 30px;
    font-weight: 100;

}

.text-main {
    font-size: 22px;
    line-height: 40px;
    font-weight: 100;
}


/* NAV MENU */
header.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: var(--color-background-nav-main);
    -webkit-backdrop-filter: blur(13.5px);
    backdrop-filter: blur(13.5px);
    padding: 10px 0;
}

.navbar-brand {
    padding: 20px 0px;
    margin: 20px 0px;
}

.qr-logo {
    width: 220px;
}

.navbar {
    background: var(--color-background-nav-main);
    -webkit-backdrop-filter: blur(13.5px);
    backdrop-filter: blur(13.5px);
    -webkit-backdrop-filter: saturate(100%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 2px;
    position: relative;
    text-decoration: none;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--color-button-main);
    transition: width 0.5s ease, left 0.5s ease;
}

.navbar-nav .nav-link:hover::after, 
.navbar-nav .nav-link:focus::after {
    color: var(--text-primary);
    width: 100%;
    left: 0;
}

/* HAMBURGUER ICON */

.navbar-toggler-icon {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon span {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-main);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler-icon span:nth-child(1) {
    top: 6px;
}

.navbar-toggler-icon span:nth-child(2) {
    top: 12px;
}

.navbar-toggler-icon span:nth-child(3) {
    top: 18px;
}

/* Estilos para el icono de la cruz */
.navbar-toggler.collapsed .navbar-toggler-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar-toggler.collapsed .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* BUTTONS */

a {
    cursor: pointer;
}

.btn-main {
    background-color: var(--color-button-main);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--color-white);
    transition: all 0.34s;
    font-weight: 500;

}

.btn-main:hover {
    background-color: var(--color-button-main-hover);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--color-main);
    font-weight: 500;
}

button.navbar-toggler:focus {
    text-decoration: none;
    box-shadow: none;
}

/* LAYOUT */

.content-wrap {
    padding: 40px 0;
}

.images-qs {
    max-height: 300px;
}

/* DIVIDER */

.dropdown-divider {
    margin: 0 !important;
    border-top: 1px solid  !important;
    border-color: var(--color-divider) !important;
}

/* FORM */

label {
    font-weight: 200;
}

.custom-form-control input, 
.custom-form-control textarea,
.custom-form-control input:focus, 
.custom-form-control textarea:focus {
    color: var(--color-white);
    background-color: var(--color-form-control-background);
    background-clip: padding-box;
    border: 1px solid var(--color-main);
    box-shadow: none;  
}

/* FLIP CARDS*/

.flip-container {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    cursor: pointer;
}

.icon-container {
    width: 100%;
    height: 100%;
    
}

.icono-ia {
    position:absolute;
    width: 35px;
    z-index: 100;
    top: 22px;
    right: 20px;
}

.front,
.back {
    background-size: cover;
    box-shadow: 0 4px 8px 0 var(--opacity-gray-2);
    border-radius: 30px;
    background-position: center;
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: 280px;
    height: auto;
    color: var(--white-1);
    font-size: 1.5rem;
}

.back {
    background: var(--gray-5);
    background: -webkit-linear-gradient(45deg, var(--flip-card-primary) 0%, var(--flip-card-secondary) 100%);
    background: -o-linear-gradient(45deg, var(--gray-5) 0%, var(--error) 100%);
    background: linear-gradient(45deg, var(--flip-card-secondary) 0%, var(--flip-card-primary) 100%);
}

.front:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    opacity: 0.8;
    background-color: var(--color-background-flip);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 29px;
}

.flip-container:hover .front,
.flip-container:hover .back {
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
}

.title-flip {
    font-family: var(--font-primary);
    color: var(--color-white);
    font-weight: 700;
}

.subtitle-flip {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
}

.text-flip {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-white);
}

.flip-container .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-container .front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-container:hover .back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-container:hover .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.front .inner p {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.front .inner p:after {
    content: "";
    width: 4rem;
    height: 2px;
    position: absolute;
    background: var(--flip-card-line);
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -0.75rem;
}

.front .inner span {
    color: var(--color-white);
    font-family: "Poppins";
    font-weight: 300;
    letter-spacing: 1px;
}

/* IMG BUBBLE */

.bubble-container {
    position: relative; 
    z-index: 1; 
    overflow: hidden; 
    width: 100%; 
    height: 100%; 
}

.wave-animation {
    animation: wave 12s infinite ease-in-out;
    position: relative; 
    max-width: 100%; 
    max-height: 100%; 
}

@keyframes wave {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg) skew(0deg, 0deg);
    }
    20% {
        transform: translate(-5px, -5px) scale(0.95) rotate(-15deg) skew(-2deg, 2deg); 
    }
    40% {
        transform: translate(5px, -5px) scale(0.9) rotate(15deg) skew(2deg, -2deg); 
    }
    60% {
        transform: translate(5px, 5px) scale(0.95) rotate(-15deg) skew(-2deg, -2deg); 
    }
    80% {
        transform: translate(-5px, 5px) scale(0.9) rotate(21deg) skew(2deg, 2deg); 
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg) skew(0deg, 0deg);
    }
}

/* FOOTER */

footer {
    background-color: var(--color-button-main);
    color: var(--color-white);
    padding: 50px 0px;
}

.qr-logo-footer {
    width: 70px;
}

.social-footer li {
    opacity: 100%;
    transition: opacity .15s ease-in-out;
}

.social-footer li:hover {
    opacity: 70%;

}

@media (max-width: 992px) {
    body {
        padding-top: 87px;
    }

    header {
        padding: 0;
    }

    header.navbar {
        padding: 0;
    }

    .qr-logo {
        width: 180px; 
        transition: width 0.3s ease;
    }
    .text-banner-container {
        top: 220px;
    }

    .icon-down-custom {
       display: none;
    }

    .navbar-nav .nav-link, .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus  {
        border-bottom: none;
    }
    
}

@media  (max-width: 768px) {
    .navbar-collapse  {
        padding-bottom: 30px;
    }
    .title-banner {
        font-size: 46px;
        margin-bottom: 30px;
    }
    .Subtitle-banner {
        font-size: 24px;
    }
    .title-section {
        font-size: 46px;
        margin-bottom: 20px;
    }
    .Subtitle-section {
        font-size: 24px;
    }
    .text-main {
        font-size: 18px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .text-banner-container {
        top: 220px;
    }
    .title-banner {
        font-size: 46px;
        margin-bottom: 30px;
    }
    .Subtitle-banner {
        font-size: 24px;
    }
    .title-section {
        font-size: 46px;
        margin-bottom: 20px;
    }
    .Subtitle-section {
        font-size: 24px;
    }
    .text-main {
        font-size: 18px;
        text-align: center;
    }
    .description-text {
        order: 2;
    }
    .description-img {
        padding-bottom: 30px;
    }
    .content-wrap {
        padding: 80px 0px;
    }

    .icon-down-custom {
        display: flex;
        width: 40px;
        margin-bottom: 250px;
        color:var(--color-white);
        transition: all 0.35s;
    }
    
    .icon-down-custom:hover {
        color:var(--color-white);
    }
    
}

@media (max-height: 700px) {
    .icon-down-custom {
        display: none;
    }

    .aurora {
        display: none;
    }
}
