body,
html,
main {
    margin: 0;
    padding: 0;
    height: 100%;
    background: radial-gradient(circle, #0d1a30 0%, #020202 90%);
    position: relative;
    overflow-x: hidden;
    max-height: 100vh;
    overflow-y: auto;
}

span,
p {
      font-family: 'M PLUS Rounded 1c', sans-serif;
    color: white;
    font-weight: bold;
}

h1 {
    display: fixed;
    font-size: 2rem;
    font-weight: bolder;
    color: white;
      font-family: 'Lilita One', cursive;
}

p {
    font-size: 1.2rem;
}

span {
    font-size: 1rem;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(50px);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease;
}

#overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.6);
}

.box1 {
    background-color: #1f2a40;
    padding: 10px 20px;
    background-color: #1f2a40;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
    animation: pulseShadow 15s infinite ease-in-out;
    position: relative;
    z-index: 10;
}

.image-text {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 30px;
    justify-self: center;
    height: 50%;
}

.image-left {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
    animation: pulseShadow 14s infinite ease-in-out;
    position: relative;
    z-index: 10;
}


@keyframes pulseShadow {

    0%,
    100% {
        box-shadow: 0 0 10px 2px rgba(0, 90, 185, 0.4);
    }

    10% {
        box-shadow: 0 0 11px 2.2px rgba(0, 92, 190, 0.45);
    }

    20% {
        box-shadow: 0 0 13px 2.6px rgba(0, 95, 195, 0.55);
    }

    30% {
        box-shadow: 0 0 15px 3px rgba(0, 97, 200, 0.65);
    }

    40% {
        box-shadow: 0 0 17px 3.4px rgba(0, 89, 185, 0.75);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(0, 90, 185, 0.9);
    }

    60% {
        box-shadow: 0 0 17px 3.4px rgba(0, 89, 185, 0.75);
    }

    70% {
        box-shadow: 0 0 15px 3px rgba(0, 97, 200, 0.65);
    }

    80% {
        box-shadow: 0 0 13px 2.6px rgba(0, 95, 195, 0.55);
    }

    90% {
        box-shadow: 0 0 11px 2.2px rgba(0, 92, 190, 0.45);
    }
}

.text-right {
    flex: 1;
}

.solo-text {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    position: relative;
    z-index: 10;
}

.logo-text-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    max-width: 1000px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #1f2a40;
    padding: 50px 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
    animation: pulseShadow 17s infinite ease-in-out;
    position: relative;
    z-index: 10;
    max-width: 250px;
    width: 100%;
}

.logo-text img {
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}

.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at center, rgba(173, 216, 230, 0.4), rgba(173, 216, 230, 0) 80%);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(2) {
    left: 20%;
    width: 60px;
    height: 60px;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    left: 40%;
    width: 30px;
    height: 30px;
    animation-duration: 12s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    left: 60%;
    width: 50px;
    height: 50px;
    animation-duration: 15s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    left: 80%;
    width: 70px;
    height: 70px;
    animation-duration: 18s;
    animation-delay: 3s;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .image-text {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 0 15px;
        padding-top: 20px;
    }

    .image-left {
        width: 150px;
        height: 150px;
    }

    .box1 {
        padding: 15px;
        height: auto;
    }

    .logo-text-grid {
        flex-direction: column;
        gap: 30px;
        margin: 20px auto;
        padding: 0 15px;
        max-width: 100%;
        justify-self: center;
        display: flex;
        align-items: center;
    }

    .logo-text {
        width: 90%;
        max-width: none;
        padding: 30px 15px;
    }

    h1 {
        font-size: 1.6rem;
    }

    p,
    span {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .overlay-image {
        width: 120px;
        height: 120px;
    }

    .image-left {
        width: 120px;
        height: 120px;
    }

    .logo-text {
        width: 90%;
        padding: 20px 10px;
    }

    h1 {
        font-size: 1.3rem;
    }

    p,
    span {
        font-size: 0.85rem;
    }
}