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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #dad4a6;
}

h2 {
    text-align: center;
    font-size: 60px;
    letter-spacing: 2px;
    font-family: "Girassol", serif;
    color: #121212;
    margin-top: 10px;
}

.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 600px;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    background-color: #eeeeee;
    border: 10px solid #5c5c51;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, .1);
}

.buttonWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

button {
    letter-spacing: 2px;
    border: none;
    padding: 20px;
    background-color: #d5d8d1;
    color: #232c3d;
    font-size: 18px;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    align-items: center;
}

button>img {
    width: 20px;
    margin-right: 10px;
}

button:hover {
    background-color: #a1a198;
}

button.active {
    background-color: #eeeeee;
}

.active {
    background-color: #eeeeee;
}

.contentWrapper {
    width: 100%;
    height: 100%;
}

.content {
    display: none;
    padding: 10px 20px;
    height: 90%;
    overflow: hidden;
}

.content.active {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.class-head img {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    border-radius: 3px;
}

.class-head {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.class-head h5 {
    margin-top: 25px;
    margin-bottom: 20px;
    text-decoration: underline;
}

.class-stats {
    width: 40%;
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.card {
    width: 100%;
    height: 50%;
    padding: 1.5rem;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card>p {
    font-size: 14px;
}

.card-icon>img {
    width: 50px;
    margin-right: 10px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.btn-link {
    background-color: #121212;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.btn-link:hover {
    background-color: #080808;
    color: rgba(255, 255, 255, 0.836);
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    .class-stats {
        width: 45%;
    }
    .card-icon>img {
        width: 40px;
    }
    .card-header h3 {
        font-size: 17px;
    }
    .card>p {
        font-size: 13px;
    }
}

@media screen and (max-width: 800px) {
    h2 {
        margin: 0;
    }
    .wrapper {
        height: 700px;
    }
    .card {
        padding: 1rem;
    }
    .content {
        flex-direction: column;
        height: auto;
    }
    .class-head {
        width: 100%;
    }
    .class-head img {
        width: 50%;
    }
    .class-stats {
        width: 100%;
        margin: 0;
        flex-direction: row;
    }
}

@media screen and (max-width: 500px) {
    .wrapper {
        width: 90%;
        height: 550px;
    }
    h2 {
        font-size: 45px;
    }
    button {
        padding: 15px;
        font-size: 15px;
    }
    .content {
        flex-direction: column;
        height: auto;
    }
    .class-head {
        width: 100%;
    }
    .class-head img {
        width: 50%;
    }
    .class-stats {
        width: 100%;
        margin: 0;
        flex-direction: row;
    }
    .card-header h3 {
        font-size: 14px;
    }
    .card-icon>img {
        width: 35px;
    }
}

.logo {
    max-width: 100%;
    height: 250px;
}