@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Pacifico&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    color: #fff;
    background-color: rgba(28,37,65,1);
}

section {
    margin-top: 50px;
    height: auto;
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

section .section-title h2{
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 20px;
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #6fffe9;
    /* border: 1px solid #fff; */
}

article {
    margin: 20px 20px;
    padding: 10px 10px;
    width: 700px;
    height: auto;
    background-color: #002855;
    border-radius: 9px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    word-spacing: 3px;
    letter-spacing: 3px;
    /* box-shadow: 0px 0px 4px #edf2f4; */
}

.question-title {
    width: auto;
    height: auto;
    padding: 5px 10px;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    /* border: 1px solid #fff; */
}

article button {
    color: #6fffe9;
    border: none;
    background-color: transparent;
    transition-property: transform;
    transition-duration: 0.5s;
    cursor: pointer;
   
}

article button i {
    font-size: 1.6rem;
    
}

article button:hover{
    transform: rotate(90deg);
}

/* article .close-btn {
    color: #6fffe9;
    border: none;
    background-color: transparent;
    transition-property: transform;
    transition-duration: 0.5s;
    cursor: pointer;
}

article .close-btn i {
    font-size: 1.6rem;
}

article .close-btn:hover{
    transform: rotate(90deg);
} */

.question-text::before {
    content: '';
    display: block;
    width: auto;
    height: 1px;
    background-color: #6fffe9;
    margin-top: 0;
    margin-bottom: 20px;
}

.question-text {
    width: auto;
    height: auto;
    padding: 10px;
    transition-property: display;
    transition-duration: 1s;
}

.question-text p {
    font-size: 1rem;
    text-align:left;
}



.question-text {
    display: none;
}

.show-text .question-text {
    display: block;
}

.close-btn {
    display: none;
}

.show-text .close-btn {
    display: inline;
}

.show-text .plus-btn {
    display: none;
}


@media only screen and (max-width:800px) {
    section {
        margin-top: 50px;
        width: 90%;
        height: auto;
        /* border: 1px solid white; */
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    section .section-title h2{
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 20px;
        font-family: 'Pacifico', cursive;
        font-size: 5vw;
        text-align: center;
        color: #6fffe9;
        /* border: 1px solid #fff; */
    }

    article {
        margin: 20px 20px;
        padding: 10px 10px;
        width: 90%;
        height: auto;
        background-color: #002855;
        border-radius: 9px;
        font-family: 'Nunito Sans', sans-serif;
        font-size: 4.5vw;
        font-weight: 500;
        word-spacing: 3px;
        letter-spacing: 3px;
        /* box-shadow: 0px 0px 4px #edf2f4; */
    }
}