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

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template:
        "header header header" 75px
        "aside main side" 1fr
        "footer footer footer" 35px / 12% 1fr 12%;
}


/*--------------------------HEADER--------------------------------*/

header {
    grid-area: header;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/vistas/elrecurso/header1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    padding: 0 50px;

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

.logo {
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
}

/*---------------------------MAIN---------------------------------*/

main {
    grid-area: main;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

main h1 {
    text-align: center;
    margin-bottom: 15px;
}

.container_actividades {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px 50px;
}

.card {
    min-width: 265px;
    min-height: 260px;
    padding: 120px 0 0 0;
    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/vistas/elrecurso/cardbg-2.jpg) no-repeat top center/cover;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: #fff;
    box-shadow: 0px 4px 15px -3px rgba(79, 79, 79, 0.371);
    transition: all 0.2s;
}

.card:hover {
    transform: scale(1.08);
}

.card_content {
    width: 100%;
    position: relative;
    padding: 20px;
    color: rgb(57, 57, 57);
    background-color: #fff;
    border-top-left-radius: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
}

.card_content::before {
    content: '';
    position: absolute;
    top: -52px;
    right: -58px;
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 50%;
    box-shadow: inset -48px -48px #fff;
}

.actividad_title {
    width: 260px;
    text-wrap: wrap;
    font-size: 25px;
    font-weight: bolder;
}

.actividad_fecha {
    font-size: 14.5px;
    color: #545454;
}

.actividad_btn {
    border: none;
    padding: 8px 13px;
    font-size: 15px;
    border-radius: 8px;
    color: #fff;
    font-weight: bolder;
    background: rgb(255,119,0);
    background: linear-gradient(16deg, rgba(79, 170, 255, 0.871) 0%, rgba(41, 120, 255, 0.896) 100%);
    box-shadow: 0px 4px 15px -10px #000;
    cursor: pointer;
    transition: all 0.2s;
}

.actividad_btn:hover {
    transform: scale(1.06);
}

.paginacion {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.paginacion a {
    border: 2px solid transparent;
    background: rgba(41, 120, 255, 0.896);
    text-decoration: none;
    font-size: 13.5px;
    color: #fff;
    font-weight: bolder;
    padding: 7px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.paginacion a:hover {
    background: #fff;
    color: rgba(41, 120, 255, 0.896);
    border: 2px solid rgba(41, 120, 255, 0.896);
}

/*--------------------------FOOTER--------------------------------*/

footer {
    grid-area: footer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/nuevo_lastoo/vistas/elrecurso/header1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;


    p {
        span {
            color: #3dd2ff;
        }
    }
}