* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg1: rgb(109, 0, 82);
    --color-bg2: rgb(0, 35, 75);
    --color1: 18, 113, 255;
    --color2: 221, 74, 255;
    --color3: 100, 220, 255;
    --color4: 200, 50, 50;
    --color5: 180, 180, 50;
    --color-interactive: 140, 100, 255;
    --circle-size: 80%;
    --blending: hard-light;
}

body {
    font-family: "Exo 2", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Akira';
    src: url("https://awakte.com/akira.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}

.logo, .redondeado {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 150px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.logo:hover, .redondeado:hover {
    transform: scale(1.05);
}


.div1 {
    text-align: center;
    padding: 1px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1s forwards;
    z-index: 2;
    position: relative;
}

.div2 {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    width: 400px;
    margin: 20px auto;
    opacity: 0;
    animation: fadeIn 2s ease-out 2s forwards;
    z-index: 2;
    position: relative;
}

.button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: grid; /* Cambiar a grid */
    align-items: center;
    gap: 10px; /* Espacio consistente entre icono y texto */
    width: 300px; /* Aumentar el ancho */
    justify-content: center; /* Centrar el contenido */
    padding: 15px 20px; /* Padding uniforme */
    grid-template-columns: 20px 1fr; /* Primera columna para icono, segunda para texto */
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.button i {
    width: 20px;
    text-align: center;
}

.button span {
    text-align: center;
    margin-left: -20px; /* Compensar el espacio del icono */
}


h1 {
    font-size: 3em; /* more visible */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-top: 150px;
    color: white;
    letter-spacing: 2px;
    margin-bottom:10px;
    font-family: 'Akira Expanded', sans-serif;                                           
}

.letraK {
    color: #f3fb85;
    font-family: Akira;
}


.gradient-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    z-index: 0;
    top: 0;
    left: 0;
    pointer-events: none;
}

@keyframes moveInCircle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}


.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
}

.g1, .g2, .g3, .g4, .g5 {
    position: absolute;
    width: var(--circle-size);
    height: var(--circle-size);
    mix-blend-mode: var(--blending);
    opacity: 1;
}

.g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
}

.g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
}

.interactive {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: -15%;
    left: 0%;
    opacity: 0.7;
    pointer-events: none;
}


@media screen and (max-width: 1500px) {
    .interactive {
        left: -5%;
    }
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    animation: fadeOut 3s ease-out forwards;
    pointer-events: none;
}


@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: -1;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 2.5s forwards;
    transition: all 0.3s ease;
}

.floating-buttons a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-buttons a:hover{
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

::selection {
    color: rgb(112, 112, 112);
    background: #e2d244
  }


.about-container {
    position: relative;
    max-width: 700px;
    margin: 100px auto;
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    animation: fadeIn 1.5s ease forwards;
}

.about-container h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.about-container p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    text-decoration: none;
    color: #fff;
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-home:hover {
    background-color: rgba(255,255,255,0.4);
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    display: flex;
}

.popup-contenido {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 25px;
    max-width: 500px;
    position: relative;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
}


.cerrar {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    color: #888;
}

.cerrar:hover,
.cerrar:focus {
    color: white;
    text-decoration: none;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.email-text{
    color: white;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
}
.language-text {
    color: white;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
}


.email-text:hover, .language-text:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
#h1englishpopup, #parrafoenglish, #parrafoenglish2, #ESespa, #ESespaemail{
display: none;
}

#madewithluv{
    position: absolute; right: 0px;
    margin-right: 10px;
    bottom: 0px;
    margin-bottom: -30px;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
    animation: fadeIn 1.5s forwards;
    transition: all 0.3s ease;
}