@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background-image: url(./elrecurso/blue-curva.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    font-family: 'Poppins', sans-serif;
}

/*Magic card*/
.card {
    width: 490px;
    height: 400px;
    padding: 10px;
    background: #f5f5f5;
    overflow: visible;
    box-shadow: 0 5px 20px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    border-radius: 40px;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    /* gap: 2em; */
    padding: 0 1rem;
}

.card-img {
    --size: 180px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    /* transform: translateY(-50%); */
    /* background: #42caff;
    background: linear-gradient(to bottom, #42caff 0%, #e81aff 100%); */
    background-image: url("https://emilianisomascos.edu.gt/sede_central/recurso/icon-logo.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 15px;
    position: relative;
    transition: all .3s ease-in-out;
}

.card-img::before {
    content: "";
    border-radius: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    /* border: 1px solid #e8e8e8; */
}

/*Text*/
.text-title {
    text-transform: uppercase;
    font-size: 0.75em;
    color: #42caff;
    letter-spacing: 0.05rem;
}

.text-body {
    font-size: .8em;
    text-align: center;
    color: #6f6d78;
    font-weight: 400;
    font-style: italic;
}

/*Hover*/
/* .card:hover .card-img {
    --size: 110px;
    width: var(--size);
    height: var(--size);
} */








/* ----------------------input------------------- */

/* From uiverse.io by @alexruix */
.input {
    width: 80%;
    line-height: 28px;
    border: 2px solid transparent;
    border-bottom-color: #777;
    padding: .2rem 0;
    outline: none;
    margin-bottom: 25px;
    background-color: transparent;
    color: #0d0c22;
    transition: .3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.input:focus,
input:hover {
    outline: none;
    padding: .2rem 1rem;
    border-radius: 1rem;
    border-color: #7a9cc6;
}

.input::placeholder {
    color: #777;
}

.input:focus::placeholder {
    opacity: 0;
    transition: opacity .3s;
}




/* ------------boton--------------- */
.buttons {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.button {
    background: linear-gradient(-45deg, #023F9C, #086A85, #309C88, #318F56);
    background-size: 800% 400%;
    padding: 10px;
    display: inline-block;
    border: none;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all .5s ease-in-out;
    animation: gradient 10s infinite cubic-bezier(.62, .28, .23, .99) both;
}

.button:hover {
    animation: gradient 3s infinite;
    transform: scale(1.05);
}

.button:active {
    animation: gradient 3s infinite;
    transform: scale(0.8);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}





button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more {
    width: 12rem;
    height: auto;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button:hover .circle {
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button:hover .button-text {
    color: #fff;
}



/* -------------------BIENVENIDO FUENTE DE VIDA---------- */
.fdv {
    width: 500px;
    margin: 30px 0;
}