.previous-box{
    margin-top: 5.8rem;
    padding: 1rem;
    position: fixed;
    left: 0;
    right: 0;
    border-bottom: 0.07rem solid;
    display: none;
}

main{
    margin-top: 5.8rem;
    background: whitesmoke;
}

.back-btn:link, .back-btn:visited{
    color: black;
    cursor: pointer;
}

.section-1{
    background: var(--secondary-color);
    margin: 1rem;
    transition: all 0.5s ease;
}

.section-1:hover{
    border: 0.07rem dashed var(--accent-color);
}

.section-1 h2, /*.div-1 h2, .div-2 h2,*/ .section-3 h2{
    color: var(--primary-color);
    transform: translateY(2rem);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.section-1 p, /*.div-2 p, .div-1 p,*/ .section-3 p{
    color: black;
    transform: translateY(2rem);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-2{
    margin: 0 auto;
}

.div-1 h2, .div-2 h2{
    text-align: center;
}

.div-1 p, .div-2 p{
    line-height: 1.6;
    text-align: center;
}

.div-1, .div-2{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.section-3 p{
    line-height: 1.6;
}

.section-3 h2{
  color: var(--primary-color);  
}

.section-3 ul p{
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-color);
    font-style: italic;
}

ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

ul li::marker{
    color: var(--accent-color);
}


@media screen and (min-width: 922px){
    .mobile-menu{
        display: none;
    }
    
        main{
        margin-top: 7.9rem;
    }
    
        .previous-box{
        display: block;
        margin-bottom: 1rem;
            background: whitesmoke;
    }
}

