.clr {
    clear: both;
    font-size: 0;
}

#hidden-content {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.8s ease-out;
}

.currCard {
    z-index: 1;
    transition: 0.3s;
    padding: 1.5em;
    background-color: rgb(50, 92, 94);
    width: 18em;
    min-width: 15em;
    height: 24em;
    margin: 0 40% 0 40%;
    border-radius: 5px;
    text-align: center;
}

.cardButton {
    width: 70%;
    margin-top: 1.5em;
    margin-bottom: 1.2em;
    padding: 0.6em;
    border-color: rgba(240, 248, 255, 0);
    background-color: var(--blue-color);
    border-radius: 2px;
    border: 4px solid rgba(240, 248, 255, 0);
    font-weight: 600;
    transition: 0.25s;
    color: white;
}

.cardButton:hover {
    transition: 0.25s;
    border-color: var(--blue-color);
    color: var(--blue-color);
    background-color: #00000000;
    border-radius: 2px;
    border: 4px solid var(--blue-color);
}



.levelsection {
    transition: 0.5s;
    position: relative;
    left: -200em;
    display: flex;
    align-items: center;
    width: 0;
}

.cardbg {
    background-color: aliceblue;
}

.level {
    background-color: var(--main-color);
    color: var(--text-color2);
    width: 14.5em;
    height: 20em;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.level h2 {
    color: var(--text-color2);
    font-size: 1.5em;
    margin-top: 0.5em;
}

.level ul {
    width: 80%;
    margin: 0 auto;
}

.currCard h2,
h3 {
    color: var(--text-color2);
}

.currCard h3 {
    font-size: 1.1em;
    text-align: left;
}

.arrow {
    width: 1.5em;
    height: 1.5em;
    margin: 5px;
}

/*=================================================MEDIA===================================================*/
@media screen and (max-width:1300px) {
    .cardSection {
        justify-content: center;

    }

    .currCard {
        z-index: 1;
        transition: 0.3s;
        padding: 1.5em;
        background-color: var(--main-color);
        width: 50%;
        min-width: 15em;
        height: 24em;
        margin: 0 20% 0 20%;
        border-radius: 5px;
        text-align: center;
    }

}

@media only screen and (min-width: 1000px) {
    .cardSection:hover .currCard {
        transition: 0.3s;
        background-color: var(--main-color);
        width: 18em;
        height: 24em;
        margin: 0 3em 0 0;
        border-radius: 5px;
        text-align: center;
    }

    .cardSection:hover .levelsection {
        transition: 0.5s;
        left: 0;
        width: 80%;
    }
}