@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
    background-image: url(./assets/images/background-pattern-mobile.svg);
    background-repeat: no-repeat;
    background-color: hsl(275, 100%, 97%);
    color: hsl(0, 0%, 0%);
    font-family: 'Work sans', sans-serif;
    font: 16px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: scroll;
}

.main-container {
    background-color: hsl(0, 0%, 100%);
    height: 90%;
    margin: 1em 1em;
    padding: 20px 20px 0 20px;
    border-radius: 15px;
    box-shadow: 1px 1px 30px hsl(0, 0%, 44%);
}

/* Header Section */
.header {
    display: flex;
    align-items: center;
    padding: 10px 10px 15px 10px;
}

.header-title {
    color: hsl(292, 42%, 14%);
    font-size: 35px;
}

/* Star Image Animation */

.header-image img {
    width: 25px;
    margin-right: 15px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);}

    50% {transform: translateY(-20px);}

    100% {transform: translateY(0);}
}

/* End of Star Animation */

/* FAQ Section */

.faq-accordion {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background-color: hsl(0, 0%, 100%);
    color: hsl(294, 25%, 30%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-radius: 20px;
    padding: 20px 0;
    width: 100%;
    transition: box-shadow 0.4s ease, color 0.4s ease;
}

.faq-question:hover {
    box-shadow: 1px 1px 15px hsl(280, 61%, 36%);
    color:  hsl(280, 43%, 56%);
    cursor: pointer;
}

.toggle-icon {
    transition: transform 0,9s ease, opacity 0.9s ease;
}

.faq-question img {
    padding-right: 10px;
}

span {
    font-size: 15px;
    font-weight: 700;
    width: 65%;
    padding-left: 10px;
}

.faq-answer {
    color: hsl(292, 16%, 49%);
    padding: 20px 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
}


.faq-answer.show {
    max-height: 500px;
    opacity: 1;
}
/* FAQ Section End*/


@media only screen and (max-width: 931px) {


}


@media only screen and (min-width: 375px) {

    body {
        background-image: url('./assets/images/background-pattern-desktop.svg');
        background-size: fill;
        background-size: 100%;
        display: flex;
        justify-content: center;
    }

    .main-container {
        width: 900px;
        height: 90%;
    }

    .header-image img {
        padding: 0 0 30px 0;
    }

    .header-title {
        font-size: 50px;
        padding: 0 0 30px 0;
    }


    span {
        font-size: 17px;
        font-weight: 600;
        text-align: left;
        width: 100%;
    }

}