@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&display=swap');

:root {
    --main-color: #27ae60;
    --bg-primary: #ffffff;
    --bg-secondary: #eee;
    --text-color: #000000;
    --text-color-two: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 0 5px var(--bg-primary), 0 0 25px var(--bg-primary), 0 0 50px var(--bg-primary), 0 0 100px var(--bg-primary);
    --border: .1rem solid rgba(0, 0, 0, .1);
    --bg-home: url("../image/index/Imagen-fondo.webp");
}

[data-theme="dark"] {
    --main-color: #27ae60;
    --bg-primary: #1a1a1a;
    --bg-secondary: #333333;
    --text-color: #fff;
    --text-color-two: #000;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 0 5px var(--main-color), 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
    --border: .1rem solid rgba(255, 255, 255, 0.1);
    --bg-home: url("../image/jpg/Imagen-fondo-dark-2.jpg");
}


* {
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
    transition: width none;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: linear-gradient(var(--main-color), #0d3c20);
}

.hiden {
    display: none !important;
}

.btn {
    margin: 0.5rem auto;
    display: block;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    color: #fff;
    background: var(--main-color);
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

.swal2-confirm {
    background: var(--main-color) !important;
}

.swal2-image {
    margin: 0 !important;
}

.alto-contraste {
    filter: invert(1);
}

.container-message {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.459);
    display: flex;
    align-items: center;
    justify-content: center;
}

.f0 {
    font-size: 1rem !important;
}

.f1 {
    font-size: 1.2rem !important;
}

.f2 {
    font-size: 1.3rem !important;
}

.f3 {
    font-size: 1.5rem !important;
}

.flags {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    display: flex;
    gap: 1rem;
    transform: translate(-50%, -50%);
}

.flags__item {
    width: 2.5rem;
}

.flags__item img {
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
}

.message-error {
    width: fit-content;
    padding: 1.5rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    font-size: 1.3rem;
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 2rem 2rem 0.5rem 2rem;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .5);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
}

.login-box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.9rem;
}

.login-box .user-box {
    position: relative;
}

.login-box .user-box input,
select {
    width: 100%;
    padding: 10px 0;
    font-size: 1.1rem;
    color: #fff;
    margin-top: .5rem;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}

select:focus {
    background: #0d3c20;
}

.login-box .user-box .label-select {
    color: #fff;
    display: block;
    text-align: left;
    font-size: 1.1rem;
}

.login-box .user-box .label-input {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 1.1rem;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}

.login-box .user-box input:focus~.label-input,
.login-box .user-box input:valid~.label-input {
    top: -20px;
    left: 0;
    font-size: 1rem;
}

form {
    text-align: center;
}

.login-box form button,
.login-box form .btn-create-account {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    overflow: hidden;
    transition: .5s;
    letter-spacing: 2px;
    font-weight: 600;
    background: transparent;
    border: none;
}

.login-box form .btn-create-account {
    display: block;
    margin-top: 1rem;
}

.btn-create-account p,
.btn-create-account span {
    letter-spacing: 0;
}

.label-terminos {
    width: 100%;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-top: -1rem;
    margin-bottom: .5rem;
}

.user-box .label-terminos .input-terminos {
    width: 15%;
    margin-bottom: 0.6rem;
}

.terminos__link {
    color: #418d61;
    ;
    margin-bottom: 1.5rem;
    display: block;
    text-align: justify;
}

.login-box form a span {
    color: var(--main-color);
}

.login-box button:hover {
    background: var(--main-color);
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--main-color),
        0 0 25px var(--main-color),
        0 0 50px var(--main-color),
        0 0 100px var(--main-color);
}

.login-box button span {
    position: absolute;
    display: block;
}

.login-box button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff);
    animation: btn-anim1 1.5s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.login-box button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #fff);
    animation: btn-anim2 1.5s linear infinite;
    animation-delay: .25s
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.login-box button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #fff);
    animation: btn-anim3 1.6s linear infinite;
    animation-delay: .5s
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

.login-box button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--main-color));
    animation: btn-anim4 1.5s easy infinite;
    animation-delay: .75s
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.container-menu {
    position: absolute;
    top: 10%;
    left: .4%;
}

.container-menu .tooltip-bubble {
    width: 30rem;
    top: 16rem;
    left: 10rem;
    background-color: #fff;
    position: fixed;
    z-index: 9999999;
    text-align: center;
    border-radius: 1rem;
}

.container-menu .tooltip-bubble h3 {
    text-align: center;
    font-size: 2rem;
    padding: 1.5rem;
    line-height: 1.5;
}

.container-menu .tooltip-bubble .btn {
    margin-bottom: 1.5rem;
}

.container-menu .tooltip-bubble .tooltip-bubble__flecha {
    width: 3rem;
    height: 3rem;
    top: 3rem;
    left: -1.5rem;
    position: absolute;
    background-color: #fff;
    transform: rotate(45deg)
}

.menu-bubble {
    position: fixed;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-left: -70px;
    z-index: 100000;
    transition: all 1s;
}

.menu-bubble.active .bubble {
    transform: rotate(0deg);
    transition: 1.3s;
}

.menu-bubble .bubble:hover {
    color: var(--main-color);
}

.menu-bubble li {
    position: absolute;
    list-style: none;
    left: 0;
    transform-origin: 100px;
    transition: .5s;
    transition-delay: calc(.1s * var(--i));
    transform: rotate(0deg) translateX(90px);
}

.menu-bubble.active li {
    transform: rotate(calc(180deg / 4 * var(--i)));
}

.menu-bubble li i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--text-color);
    border-radius: 50%;
    transform: rotate(calc(180deg / -4 * var(--i)));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
    color: var(--text-color-two);
    transition: .5s;
    font-size: 1.1rem;
    margin-left: -5px;
}

.menu-bubble li i:hover {
    color: var(--text-color);
    border: 1px solid var(--text-color);
    background-color: var(--text-color-two);
}

.bubble {
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    z-index: 9;
    -webkit-animation: spin-logo 15s linear infinite;
    animation: spin-logo 15s linear infinite;
}

.bubble img {
    width: 100%;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 99999999;
    background-color: rgba(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container.active {
    display: none;
}

.loader-container img {
    height: 7%;
}

@keyframes spin-logo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width:425px) {

    html {
        font-size: 90%;
    }

    .login-box {
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: auto;
        transform: translate(0%, -0%);
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    form {
        position: relative;
    }

    .container-menu {
        top: -.5%;
        left: -.5%;
    }

    .bubble {
        width: 50px;
        height: 50px;
    }

    .menu-bubble li {
        transform-origin: 90px;
    }

    .flags {
        top: -6rem;
    }

}