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

html {
    font-size: 80%;
}


body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: cursive;
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 700; 
    color: rgb(32, 138, 0);
}


@media (max-width: 1920px) {
    body {
        font-size: 2.5rem;
        line-height: 3rem;
        font-weight: 700;
    }

    
}

@media (max-width: 820px) {
    body {
        font-size: 2rem;
        line-height: 2.5rem;
        font-weight: 600;
    }

    
}

@media (max-width: 320px) {
    body {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 500;
    }
   
}

@media (hover: hover) {
    .lvl:hover .lvl-item-icon {
        opacity: 1;
    }

    .lvl-item-input:hover ~.lvl-item-label,
    .lvl:hover {
    color: black;
    transition: 1s;
    }

    .lvl-item-input:hover ~.lvl-item-label .lvl-item-icon {
        background-image: url(../images/close.svg);
    }

    .lvl-item-label:hover .lvl-img {
        height: 25rem;
        opacity: 1;
    }
}
.accardeon{
    max-width: 192rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lvl {
    padding: 2rem;
    border: 0.1rem solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.lvl-item {
    border-bottom: 0.1rem solid rgb(180, 178, 178);
    margin-bottom: 1rem;
}

.lvl-item-input {
    display: none;
}

.lvl-item-label {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 1rem;
    cursor: pointer;
}

.lvl-item-string {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lvl-item-name {
    padding-left: 1rem;
   
}
.lvl-item-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../images/open.svg);
    opacity: 0;
    transition: opacity 1s;
}

@media (max-width:820px) {
    .lvl-item-icon {
        opacity: 1;
    }
}

.lvl-img {
    background-size: contain;
    background-repeat: no-repeat;
    width: 25rem;
    height: 0;
    opacity: 0;
    cursor: pointer;
    transition: all 1s;
}
@media (max-width: 320px) {
    .lvl-img {
        width: 16rem;
        height: 0;
        opacity: 0;
    }
}
.lvl-item-input:checked ~.lvl-item-label {
    color: black;
    transition: 1s;
}

.lvl-item-input:checked ~.lvl-item-label .lvl-item-icon {
    background-image: url(../images/close.svg);
}

.lvl-item-input:checked ~.lvl-item-label .lvl-img {
    height: 20rem;
    opacity: 1;
}

/*images*/
.lvl-1-img {
    background-image: url(../images/mem1.jpeg);
}

.lvl-2-img {
    background-image: url(../images/mem2.jpeg);
}

.lvl-3-img  {
    background-image: url(../images/mem3.jpg);
}

.lvl-4-img {
    background-image: url(../images/mem4.jpg);
}
.lvl-5-img  {
    background-image: url(../images/mem5.jpg);
}