@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.terms-section {
    background: #9BD9D3;
    padding: 80px 0;
}

.terms-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.blue-star {
    position: relative;
    width: 9rem;
    height: auto;
    top: 30%;
    right: 10%;
}

.yellow-semi {
    position: relative;
    width: 10rem;
    height: auto;
    top: 30%;
}

.first-card {
    background-color: #FDC14D;
}

.second-card {
    background-color: #FFAE8B;
}

.third-card {
    background-color: #68C7BC;
}

.fourth-card {
    background-color: #A5B9E5;
}

.fifth-card {
    background-color: #FDC14D;
}

.sixth-card {
    background-color: #FFAE8B;
}

.seventh-card {
    background-color: #68C7BC;
}

.head-string {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1E4EBB;
    font-weight: 400;
    line-height: 1.5;
    font-size: 1.2rem;
    width: 98%;
}

.header-active {
    width: 100% !important;
    padding-right: 1%;
}

.terms-outer-div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.terms-main-div {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    border-radius: 30px;
    gap: 30px;
    color: #1E4EBB;
    border: none;
    padding: 0;
    text-align: left;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.terms-inner-div {
    padding: 2rem 3rem;
}

.terms-inner-div, .content {
    text-align: left;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    width: 95%;
    font-family: 'Poppins', sans-serif;
}

.readable {
    margin: 0;
    padding: 10px 20px !important;
}

.personalInfoBullets, .eta-first-term-bullet-points, .eta-seventh-term-bullet-points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-left: 3vw;
}

.piLists {
    display: list-item;
}

.terms-main-title {
    font-size: 4.5rem;
    color: #1E4EBB;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 97%;
    letter-spacing: 0.8px;
    width: 23vw;
}

.system-requirements {
    color: #1E4EBB;
}

.main-img {
    flex: 1;
}

.deco-svg-terms {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.expander, .collapser {
    cursor: pointer;
    padding: 2px;
    font-size: 1.8rem;
    text-align: center;
}

.hidden {
    display: none;
}

.card-active {
    background-color: rgb(255, 255, 255) !important;
}

.content-initial {
    display: flex;
}

@media screen and ((min-width:550px) and (max-width: 768px)) {
    .terms-main-title {
        font-size: 3.5em;
    }

    .terms-section {
        padding: 40px 10px !important;
    }
   }

@media screen and (max-width: 550px) {
    .terms-main-title {
        font-size: 54px;
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

        .terms-main-title p {
            margin: 15px;
            padding-left: 0;
        }

    .terms-section {
        padding: 40px 10px !important;
    }

    .terms-inner-div, .content {
        max-width: 90%;
        padding: 20px 0px !important;
        gap: 0px
    }

    .content {
        max-width: 100%
    }

    .readable {
        padding: 15px 20px !important;
    }

    p {
        margin: 0;
    }

    .main {
        flex-direction: column-reverse;
        gap: 5px;
        padding: 0px;
    }

    .main-div {
        padding-bottom: 50px;
    }

    .deco-terms, .deco-svg-terms {
        height: auto;
        gap: 40px;
        margin-bottom: 5px;
    }

    .deco-terms {
        align-items: center;
    }

    .deco-svg-terms {
        justify-content: center;
    }

    .main-img {
        width: 80vw;
        height: 315px;
        flex-shrink: 0;
        border-radius: 40px;
    }

    .blue-star {
        position: static;
        width: 3rem;
        height: auto;
    }

    .yellow-semi {
        position: static;
        width: 20vw;
        height: auto;
    }
}

@media screen and (max-width: 320px) {
    .terms-main-title {
        font-size: 45px;
        width: 100%;
        text-align: center;
    }
}
