@import url(./fonts.css);

body,
html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 100%;
}

@keyframes fade {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    80% {
        transform: translateY(0);
    }

    100% {
        opacity: 1;
    }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fade 1s ease-out;
}
.nav-item .collapse {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    z-index: 1000;
}

.login-form-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.form-intro {
    color: #4C9C9C;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}

#loginForm form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#loginForm .form-control {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

#loginForm .form-control:focus {
    border-color: #4C9C9C;
    box-shadow: 0 0 0 0.2rem rgba(76, 156, 156, 0.25);
}

#loginForm .btn-primary {
    background-color: #4C9C9C;
    border: none;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

#loginForm .btn-primary:hover {
    background-color: #3b7f7f;
    transform: translateY(-2px);
}
.bg {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #d3b0ab 50%, #4C9C9C 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
}

.bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 4s;
}

.bg3 {
    animation-duration: 5s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.containerM {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    color: #fff;
}

.info {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 50px;
}

.info h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: .9;
    margin: 0 0 3rem 0;
}

.info p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0 0 20px 10px;
}

.key {
    font-size: 10rem;
    display: inline-block;
    letter-spacing: -1rem;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        rotate: 90deg;
        scale: 0.1;
        transform: translate(-100px, -100px);
    }

    60% {
        opacity: 1;
        rotate: -45deg;
        scale: 1;
        transform: translate(0, 0);
    }

    100% {
        rotate: 1deg;
    }
}

@keyframes pressDown1 {

    30%,
    40%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(10px);
    }
}

@keyframes pressDown2 {

    70%,
    80%,
    100% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(10px);
    }
}

@keyframes pressDown3 {

    30%,
    40%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(10px);
    }
}

@keyframes pressDown4 {

    40%,
    50%,
    100% {
        transform: translateY(0);
    }

    45% {
        transform: translateY(10px);
    }
}

@keyframes pressDown5 {

    20%,
    30%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(10px);
    }
}

@keyframes pressDown6 {

    60%,
    70%,
    100% {
        transform: translateY(0);
    }

    65% {
        transform: translateY(10px);
    }
}

@keyframes pressDown7 {

    10%,
    20%,
    100% {
        transform: translateY(0);
    }

    15% {
        transform: translateY(10px);
    }
}

@keyframes pressDown8 {

    35%,
    45%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }
}

@keyframes pressDown9 {

    65%,
    75%,
    100% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(10px);
    }
}

@keyframes pressDown10 {

    80%,
    90%,
    100% {
        transform: translateY(0);
    }

    85% {
        transform: translateY(10px);
    }
}

@keyframes pressDown11 {

    55%,
    65%,
    100% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(10px);
    }
}

.k1 {
    animation: fadeIn 1.5s ease-in-out, pressDown1 2s infinite;
}

.k2 {
    animation: fadeIn 1.5s ease-in-out .1s, pressDown2 3s infinite;
}

.k3 {
    animation: fadeIn 1.5s ease-in-out .2s, pressDown3 4s infinite;
}

.k4 {
    animation: fadeIn 1.5s ease-in-out .3s, pressDown4 2.5s infinite;
}

.k5 {
    animation: fadeIn 1.5s ease-in-out .4s, pressDown5 2.5s infinite;
}

.k6 {
    animation: fadeIn 1.5s ease-in-out .5s, pressDown6 3.5s infinite;
}

.k7 {
    animation: fadeIn 1.5s ease-in-out .6s, pressDown7 2.2s infinite;
}

.k8 {
    animation: fadeIn 1.5s ease-in-out .7s, pressDown8 3.2s infinite;
}

.k9 {
    animation: fadeIn 1.5s ease-in-out .8s, pressDown9 2.8s infinite;
}

.k10 {
    animation: fadeIn 1.5s ease-in-out .9s, pressDown10 3.8s infinite;
}

.k11 {
    animation: fadeIn 1.5s ease-in-out 1s, pressDown11 2.6s infinite;
}

.redirect {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: -1;
    transform: translateX(100%);
}


form .btn-primary {
    background-color: #4C9C9C;
    border: none;
    transition: background-color 0.3s, transform 0.3s
}

form .btn-primary:hover {
    background-color: #3b7f7f;
    transform: scale(1.05);

}

@keyframes buttons {
    0% {
        opacity: 0;
        transform: translateX(500px);
    }

    40% {
        transform: translateX(-40px);
        opacity: 1;
    }

    70% {
        transform: translateX(0px);
    }
}

.fadeLeft1 {
    animation: buttons 3s ease-in-out;
    animation-delay: 1s;
}

.fadeLeft2 {
    animation: buttons 3s ease-in-out;
    animation-delay: 1.1s;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated-text span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft .5s ease forwards;
}

.animated-text span:nth-child(1) {
    animation-delay: 0.5s;
}

.animated-text span:nth-child(2) {
    animation-delay: 0.55s;
}

.animated-text span:nth-child(3) {
    animation-delay: 0.6s;
}

.animated-text span:nth-child(4) {
    animation-delay: 0.65s;
}

.animated-text span:nth-child(5) {
    animation-delay: 0.7s;
}

.animated-text span:nth-child(6) {
    animation-delay: 0.75s;
}

.animated-text span:nth-child(7) {
    animation-delay: 0.8s;
}

.animated-text span:nth-child(8) {
    animation-delay: 0.85s;
}

.animated-text span:nth-child(9) {
    animation-delay: 0.9s;
}

.animated-text span:nth-child(10) {
    animation-delay: 0.95s;
}

.animated-text span:nth-child(11) {
    animation-delay: 1s;
}

.animated-text span:nth-child(12) {
    animation-delay: 1.05s;
}

.animated-text span:nth-child(13) {
    animation-delay: 1.1s;
}

.animated-text span:nth-child(14) {
    animation-delay: 1.15s;
}

.animated-text span:nth-child(15) {
    animation-delay: 1.2s;
}

.animated-text span:nth-child(16) {
    animation-delay: 1.25s;
}

.animated-text span:nth-child(17) {
    animation-delay: 1.3s;
}

.animated-text span:nth-child(18) {
    animation-delay: 1.35s;
}

.animated-text span:nth-child(19) {
    animation-delay: 1.4s;
}

.animated-text span:nth-child(20) {
    animation-delay: 1.45s;
}

.animated-text span:nth-child(21) {
    animation-delay: 1.5s;
}

.animated-text span:nth-child(22) {
    animation-delay: 1.55s;
}

.animated-text span:nth-child(23) {
    animation-delay: 1.6s;
}

.animated-text span:nth-child(24) {
    animation-delay: 1.65s;
}

.animated-text span:nth-child(25) {
    animation-delay: 1.7s;
}

.animated-text span:nth-child(26) {
    animation-delay: 1.75s;
}

.animated-text span:nth-child(27) {
    animation-delay: 1.8s;
}

.animated-text span:nth-child(28) {
    animation-delay: 1.85s;
}

.animated-text span:nth-child(29) {
    animation-delay: 1.9s;
}

.animated-text span:nth-child(30) {
    animation-delay: 1.95s;
}

.animated-text span:nth-child(31) {
    animation-delay: 2s;
}

.animated-text span:nth-child(32) {
    animation-delay: 2.05s;
}

.animated-text span:nth-child(33) {
    animation-delay: 2.1s;
}

.animated-text span:nth-child(34) {
    animation-delay: 2.15s;
}

.animated-text span:nth-child(35) {
    animation-delay: 2.2s;
}

.hero-border-special {
    margin: 0 !important;
    padding: 0 !important;
    width: 98.9%;
    --border-angle: 0turn;
    /* para la animacion */
    --main-bg: conic-gradient(from var(--border-angle),
            rgb(255, 255, 255),
            rgb(255, 255, 255) 95%);

    border: solid 5px transparent;
    --gradient-border: conic-gradient(from var(--border-angle),
            transparent 25%,
            #5b6a93,
            #f595a0 99%,
            transparent);

    background:
        var(--main-bg) padding-box,
        var(--gradient-border) border-box;
    animation: bg-spin 3s linear infinite;
}

.hero-border-special .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100%;
}

.hero {
    width: 100%;
    background: linear-gradient(to right, #e0b7e6, #abc9c8);
    color: white;
    padding: 100px 0;
    text-align: center;
}

@keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}

@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

.section-title {
    color: #5b9391;
    font-size: 5rem;
    margin-bottom: 40px;
}

.separation {
    margin: 100px 0 200px 0;
}

.nosotros-text {
    font-size: 1.2rem;
    color: #333;
}

.contador {
    font-size: 150px;
    font-weight: bold;
    transition: transform 0.3s;
    letter-spacing: -7px;
}

#contador1,
#contador3 {
    color: #4C9C9C;
}

#contador2 {
    color: #d3b0ab;
}

.contador.visible {
    transform: scale(1.1);
}

.contador-box {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(100px);
    transition: all .6s ease-out;
}

.main-card {
    height: 100%;
    transition: all .2s ease-in-out;
}

.main-card:hover {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contador-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.contador-box:nth-child(2) {
    transition-delay: .2s;
}

.contador-box:nth-child(3) {
    transition-delay: .3s;
}

.contador-text {
    font-size: 24px;
    padding: 0 50px;
    color: #555555;
}

.special-sub {
    width: 50%;
    border: 2px solid #d1d1d1f3;
    color: #777;
    font-size: 3rem;
    margin: 0 auto;
}

.process-container {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 100px;
}

.process-line {
    width: 100%;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.process-line line.animate {
    animation: fillLine 3s ease forwards;
}

.hover-box {
    position: absolute;
    top: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity .35s ease-out, transform 0.3s, border 0.3s;
}

.hover-box.visible {
    opacity: 1;
}

.hover-box:nth-child(2) {
    transition-delay: .2s, 0s, 0s;
}

.hover-box:nth-child(3) {
    transition-delay: .45s, 0s, 0s;
}

.hover-box:nth-child(4) {
    transition-delay: .68s, 0s, 0s;
}

.hover-box:nth-child(5) {
    transition-delay: .95s, 0s, 0s;
}

.hover-box:nth-child(6) {
    transition-delay: 1.2s, 0s, 0s;
}

.hover-box:nth-child(7) {
    transition-delay: 1.7s, 0s, 0s;
}

.hover-box:nth-child(odd) {
    color: #4C9C9C;
}

.hover-box:nth-child(even) {
    color: #d3b0ab;
}

.hover-box:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.hover-box:nth-child(odd):hover {
    border: 1px solid #4C9C9C;
}

.hover-box:nth-child(even):hover {
    border: 1px solid #d3b0ab;
}

.hidden-text {
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    opacity: 0;
    transition: all 0.3s;
    transition-delay: .1s;
    text-align: left;
    padding: 50px 15px 50px 50px;
    color: #000;
    pointer-events: none;
}

.hidden-text:nth-child(even) {
    border-left: 10px solid #7cc4bc;
}

.hidden-text:nth-child(odd) {
    border-left: 10px solid #e5c3c4;
}

.hover-box:nth-child(1):hover~.text-row .text-1,
.hover-box:nth-child(2):hover~.text-row .text-2,
.hover-box:nth-child(3):hover~.text-row .text-3,
.hover-box:nth-child(4):hover~.text-row .text-4,
.hover-box:nth-child(5):hover~.text-row .text-5,
.hover-box:nth-child(6):hover~.text-row .text-6 {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(-10px);
}
.text-row {
    position: relative;
    height: 120px;
    margin: 100px 0 0 0;
}
.hidden-text p {
    font-size: 20px;
}

@keyframes fillLine {
    to {
        stroke-dashoffset: 0;
    }
}

.invisible-texts {
    color: #000;
}

/* Footer */
.footer {
    margin: 0 auto;
    background-color: #222;
    color: #f1f1f1;
    padding: 40px 0;
    border-top: 5px solid #cbb5b2;
}

.footer h4,
.footer h5 {
    margin-bottom: 10px;
    font-weight: bold;
}

.footer p {
    margin-bottom: 5px;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #555;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: #abc9c8;
}

.footer .bi {
    font-size: 1.5em;
}

/* Media Queries */
@media (max-width:1500px) {
    .info h1 {
        font-size: 1rem;
    }

    .redirect a {
        font-size: 20px;
    }
}

@media (max-width:1250px) {
    .containerM {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        margin: 120px 0;
    }

    .info {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .info h1 {
        font-size: 4rem;
    }

    .key {
        font-size: 10rem;
    }

    .redirect {
        text-align: center;
        width: 70%;
    }

    .redirect a:hover {
        transform: translateY(-5px);
    }

    .contador {
        font-size: 120px;
    }

    .contador-text {
        font-size: 22px;
        padding: 0 30px;
    }

    .text-row {
        margin: 80px 0 0 0;
    }
}

@media (max-width: 992px) {
    .info h1 {
        font-size: 3.5rem;
    }

    .key {
        font-size: 8rem;
    }

    .redirect a {
        font-size: 1.2rem;
        width: 50%;
    }

    .contador {
        font-size: 100px;
    }

    .contador-text {
        font-size: 20px;
        padding: 0 25px;
    }

    .section-title {
        font-size: 4rem;
    }

    .hover-box {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    .hidden-text h1{
        font-size: 2rem;
    }
    .hidden-text p{
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header_logo img {
        height: 50px;
    }

    .info h1 {
        font-size: 2.5rem;
    }

    .info p {
        font-size: 1.2rem;
        margin: 0 0 20px 0;
    }

    .key {
        font-size: 7rem;
    }

    .redirect a {
        font-size: 1rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .nosotros-text {
        font-size: 1.1rem;
    }

    .separation {
        margin: 70px 0 150px 0;
    }

    .special-sub {
        width: 80%;
        font-size: 2rem;
    }

    .hover-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .hidden-text{
        padding: 30px 5px 30px 30px;
    }
    .hidden-text p{
        font-size: 16px;
    }
}

@media (max-width:576px) {
    .header_logo img {
        height: 40px;
    }

    .info h1 {
        font-size: 1.2rem;
    }

    .info p {
        font-size: 1rem;
    }

    .redirect {
        margin: 40px 0;
        width: 90%;
    }

    .redirect a {
        font-size: 0.8rem;
        width: 70%;
    }

    .separation {
        margin: 50px 0 120px 0;
    }
    .hidden-text h1{
        font-size: 1.5rem;
    }
    .hidden-text p{
        font-size: 14px;
    }
}

@media (max-width: 486px) {
    .header_logo img {
        height: 35px;
    }

    .info h1 {
        font-size: 1.1rem;
        letter-spacing: 7px;
    }

    .info p {
        font-size: 0.9rem;
    }

    .key {
        font-size: 5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .nosotros-text {
        font-size: 1rem;
    }

    .separation {
        margin: 70px 0 90px 0;
    }

    .hover-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .hidden-text h1{
        font-size: 1.2rem;
    }
    .hidden-text p{
        font-size: 12px;
    }
}

@media (max-width: 406px) {
    .info h1 {
        font-size: 1rem;
    }

    .info p {
        font-size: 0.7rem;
    }

    .key {
        font-size: 4rem;
    }

    .redirect a {
        font-size: 0.7rem;
    }

    .separation {
        margin: 70px 0;
    }
}

@media (max-width: 346px) {
    .info h1 {
        font-size: 0.9rem;
    }

    .info p {
        font-size: 0.6rem;
    }

    .key {
        font-size: 3.5rem;
    }
}