.contactMeController {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    perspective: 1000px;
    position: absolute;

    background-color: black;
    overflow: hidden;
}

h2 {
    margin-bottom: 7%;
}

.icon {
    font-size: 3em;
    color: white;

    transition: transform 0.5s ease;
    text-decoration: none;
}

p {
    font-size: 1em;
    font-weight: bolder;
    transition: transform 0.5s ease;
}

p:hover {
    cursor: pointer;
}

/* Alert styles */

.alert {
    width: 200px;
    height: 50px;
    color: white;

    top: 20px;
    right: -100px;
    position: absolute;
    border: 2px solid white;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: width 0.5s ease;
    animation: showAlert 2s ease forwards;
}

.alert:hover {
    width: 225px;
    overflow: hidden;
}

@keyframes showAlert {
    0% {
        right: -60px;
    }

    25% {
        right: -20px;
    }

    50% {
        right: -10px;
    }

    75% {
        right: 0px;
    }

    100% {
        right: 1px;
    }
}



/* rotacion del cubo */

.icon:hover {
    transform: scale(2);
    cursor: pointer;
}

.cube {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(20deg);
    /* Vista inclinada desde arriba */
    animation: rotateCube 7s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(164, 42, 195, 0.548);
    border: 2px solid rgba(243, 202, 255, 0.945);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-size: 16px;
}

.front {
    transform: translateZ(100px);
    /* Empuja hacia adelante */
}

.back {
    transform: rotateY(180deg) translateZ(100px);
    /* Empuja hacia atrás */
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
    /* Empuja a la izquierda */
}

.right {
    transform: rotateY(90deg) translateZ(100px);
    /* Empuja a la derecha */
}

.top {
    transform: rotateX(90deg) translateZ(100px);
    /* Empuja hacia arriba */
    background-color: rgba(216, 46, 216, 0.548);
    /* Diferente color para la cara superior */
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
    /* Empuja hacia abajo */
    background-color: rgb(152, 23, 152);
    box-shadow: 0px -2px 62px 47px rgba(235, 152, 242, 0.68) inset;
    -webkit-box-shadow: 0px -2px 62px 47px rgba(235, 152, 242, 0.68) inset;
    -moz-box-shadow: 0px -2px 62px 47px rgba(242, 224, 243, 0.68) inset;
    /* Diferente color para la cara inferior */
}

@keyframes rotateCube {
    0% {
        transform: rotateX(20deg) rotateY(0deg);
        /* Vista inicial desde arriba */
    }

    100% {
        transform: rotateX(20deg) rotateY(360deg);
        /* Rotación horizontal completa */
    }
}