*,
*::after,
*::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: sans-serif;
    height: 100%;
    background-color: #8000ffdc;
    display: grid;
    place-items: center;
    color: white;
}

.cover{
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00b5b5;
    background-size: cover;
    transform-origin: 0;
    box-shadow: 1px 1px 12px #000;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: all 0.5s;
    cursor: pointer;
}

.book{
position: relative;
width: 390px;
height: 650px;
border-radius: 10px;
background-color: #effffe;
box-shadow: 1px 1px 12px #000;
transform: preserve-3d;
perspective: 2000px;
display: flex;
align-items: center;
justify-content: center;
color: #000;
text-align: center;
}

.book:hover .cover {
    transition: all 0.5s;
    transform: rotatey(-82deg);
}

.cover > p {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.cover > h2 > span {
    color: white;
    font-size: 28px;
    font-weight: bolder;
}

.content > p {
    margin-bottom: 10px;
}

.youtube-channel {
    color: #5b42f3;
}

.X-CERRAR {
 max-width: 200px;
  height: auto;
  object-fit: contain;
}


.card{
    display: flex;
    align-items: center;
    width: 75vw;
    max-width: 650px;
    padding: 50px 30px 50px 20px;
    background: #0063b3;
    border-radius: 24px;
    box-shadow: 1px 1px 15px 1px #8257d9;
}

.card img{
    max-width: 280px;
    width: 28vw;
    height: 300px;
    object-fit: cover;
    margin-left: -60px;
    margin-right: 30px;
    border-radius: 20px;
}

.card .text1{
    font-size: 22px;
    margin-right: 30px;
    text-transform: uppercase;
    font-weight: 900;
    color: white;
}

.card .text2{
    font-size: 16px;
    font-weight: 900;
    color:white;
}

.card .paragraph{
    font-size: 14px;
    margin-bottom: 24px;
    color: white
}

.card .btn{
    border: 0;
    background:#00b5b5;
    color:white;
    font-weight:900;
    padding:15px 20px;
    font-size: 13px;
    border-radius: 40px;
    cursor: pointer;
    transition: .5s, color .10s;
}

.card .btn:hover{
    background-image: linear-gradient(#af40ff, #5b42f3 50%, #00ddeb);
    transform: scale3d(1.1,1.1, .3);
}

@media (width <= 740px){
    .card{
        margin: 0 40px;
        padding-left: 50px;
        padding-right: 50px;
        min-width: 100%;
        max-width: 100%;
        text-align: center;
        flex-direction: column;
        border-radius: 0;
        background: #8257d9;
        color: white;
    }

    .card img{
        margin: 100px 0 30px 0;
        width: 100%;
        max-width: 1000px;
        height: 100%;
        box-shadow: white 0 1px 20px, white 0 1px 2px;
    }

    .card .text1{
        margin-right: 0;
        font-size: 26px;
        color: white;
    }

    .card .text2, .card .paragraph{
        color: white;
    }

    .card .btn{
        background: #00b5b5;
        color: white;
    }






}







/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/
/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/

.footer-global {
    width: 100%;
    background-color: #4b0082;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-icon {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.icon-elem a {
    color: white;
    font-size: 28px;
    transition: color 0.3s ease;
}

.icon-elem a:hover {
    color: #ffd700;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.menu-elem a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu-elem a:hover {
    color: #ffd700;
}

.text {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.8;
}


/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/
/* Estilos, para el footer - En este caso al footer se lo puso adentro de una nueva sección*/

