#custom-app {
  position: relative;
  height: 100%;
  font-family: "Montserrat", serif;
}

.custom-bubbles-section {
    width: 100%;
    position: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 4cm 0;
    overflow: hidden;
}

.custom-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8); /* blanco semitransparente */
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    box-sizing: border-box;
}

.custom-hero h1, .custom-hero h4 {
    margin: -10;
    padding: 0;
    color: #520D90;
    text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.9), 
    0 0 20px rgba(255, 255, 255, 0.7),
    0 0 30px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.3);

    word-wrap: break-word;
	display: inline;
}

.custom-hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 48px);
    font-weight: 650;
}

.custom-hero h4 {
    font-size: clamp(1rem, 2vw, 16px);
    font-weight: 300;
}

#custom-webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.custom-buttons {
    position: absolute;
    top: 180px;
    right: -120px;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
}

.custom-buttons button {
    font-family: "Montserrat", serif;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    border: 1px solid grey;
    padding: 8px 15px;
    cursor: pointer;
}

.custom-buttons button:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #333;
}

@media screen and (max-width: 768px) {
    .custom-hero {
        width: 90%;
        padding: 5% 10px;
    }

    .custom-hero h1 {
        font-size: 8vw;
    }

    .custom-hero h4 {
        font-size: 4vw;
    }

    .custom-buttons {
        top: 120px;
        right: 10px;
    }
}