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

body {
    background-color: white;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.sectionBegginer, 
.sectionIntermediary, 
.sectionAdvanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 0;
    width: 100%;
}

.titleSection {
    margin-bottom: 2em;
    font-weight: bold;
    font-size: 1.5em;
    color: rgba(201, 12, 12, 1);
    text-align: center;
}

.containerBook {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2em;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contentBook {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    width: 17em;
    min-height: 25em;
    background-color: #fdfdfd;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1em 0;
    transition: transform 0.3s ease;
}

.contentBook:hover {
    transform: translateY(-5px);
}

.btnBook {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-bottom: 1em;
    gap: 0.8em;
}

.btnDescription, .btnBuy {
    width: 90%;
    height: 2.8em;
    background-color: rgba(196, 14, 14, 1);
    border-radius: 8px;
    font-size: 1em;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.3s;
}

.btnDescription:hover, .btnBuy:hover {
    background-color: rgba(52, 72, 127, 1);
}

.sectionDescription {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.containerDescription {
    background-color: #feffe5;
    padding: 2em;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

@media (max-width: 768px) {
    .containerBook {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .contentBook {
        width: 85% !important;
        height: auto;
        min-height: auto;
        margin-bottom: 1.5em;
    }

    .titleSection {
        font-size: 1.2em;
        padding: 0 10px;
    }
}