:root {
    --color-negro-c: #222222;
    --color-blanco-o: #cccccc;
}

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(var(--color-negro-c) 80%, rgb(83, 83, 83));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contenedor {
    background-color: white;
    width: 800px;
    padding: 5px 0 5px 0;
    border-radius: 20px;
    border-top: orange 5px solid;
}

.perfil {
    display: flex;
    flex-direction: row;
}

.avatar {
    text-align: center;
}

.avatar img {
    border-radius: 50%;
    width: 125px;
    border: var(--color-negro-c) 2px solid;
}

.avatar img:hover {
    outline: 2px black solid;
    transition: 0.1s;
}

.contenedor .usuario {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-right: var(--color-negro-c) 3px solid;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.usuario .datos {
    width: 100%;
    text-align: center;
}

.datos .nombre {
    font-family: 'Segoe UI', sans-serif;
    font-size: 40px;
    margin: 15px;
    text-shadow: 2px 2px var(--color-blanco-o);
    text-shadow: 1px 1px 5px orange;
    cursor: default;
}

.datos .descripcion {
    margin: 0;
    color: rgb(37, 18, 0);
    text-shadow: 1px 2px var(--color-blanco-o);
    font-size: 18px;
    font-weight: bolder;
}

.perfil .contactos {
    text-align: center;
}

.contactos a {
    text-decoration: none;
}

.redes {
    display: inline-block;
    width: 150px;
    padding: 20px;
    margin: 5px;
    border: var(--color-negro-c) 1px solid;
    border-radius: 20px;
    color: black;
}

.redes img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.redes .datos-red {
    display: flex;
    align-items: center;
}

.datos-red {
    font-weight: 600;
}

.redes:hover {
    transform: scale(105%);
    background-color: orange;
    color: white;
    text-shadow: 1px 1px 20px #000000;
}

.discord {
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.discord .front {
    backface-visibility: hidden;
    z-index: 2;
}

.discord .back {
    top: -2%;
    right: -2%;
    position: fixed;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.girar {
    transform: rotateY(180deg);
    perspective: 400px;
    transition: transform 1s;
}

.original {
    transform: rotateY(0);
    perspective: 400px;
    transition: transform 1s;
}

/* MOVIL VERSION */

@media (width <= 720px) {

    body {
        background: var(--color-negro-c);
        align-items: flex-start;
    }

    .contenedor {
        width: 90%;
        padding: 5px 0 20px 0;
    }

    .perfil {
        display: block;
    }

    .contenedor .usuario {
        display: flex;
        background-color: white;
        flex-direction: column;
        border-bottom: orange 5px solid;
        align-items: center;
        border-right: none;
        margin-bottom: 10px;
    }

    .avatar {
        margin-bottom: -20px;
        padding: 0;
    }

    .avatar img {
        width: 120px;
    }

    .redes {
        background-color: white;
    }

}