:root {
    --fondo: #1f1b3e;
    --degradado01: #e8553a;
    --degradado02: #e63389;
    --degradado03: #913f8f;
    --fondoiconos: #c8c6e1;
    --blanco: #fff;
    --negro: #000;
    --lineavertical: #c8c6e1;
    --error: #ce2628;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    /* 1rem = 10px */
    font-family: "Poppins", serif;
}

/*codigo para mantener el footer abajo*/
.contenedor-pagina {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
}

/*globales*/

span {
    font-weight: 700;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/*Fin globales*/

/*preloader*/

.hidden-preloader {
    overflow: hidden;
}

.preloader {
    height: 100vh;
    background-color: var(--fondo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-ripple,
.lds-ripple div {
    box-sizing: border-box;
    color: var(--degradado02);
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/*barra redes solciales*/
.social {
    position: fixed;
    right: 0;
    z-index: 2000;
    top: 25rem;
}

.social ul {
    list-style: none;
}

.social ul li a {
    display: inline-block;
    color: var(--blanco);
    background: linear-gradient(#913f8f, #e63389, #e8553a);
    padding: 1rem 1rem;
    text-decoration: none;
    font-size: 3rem;
}

.social ul li a:hover {
    cursor: pointer;
    background: linear-gradient(#e8553a, #e63389, #913f8f);
}

@media screen and (max-width: 960px) {
    .social ul li i {
        font-size: 2rem;
    }

    .social ul li a {
        padding: 0.5rem 0.5rem;
    }
}
