ul {
    list-style-type: none;
}

.banner {
    height: 60px;
}

section {
    width: 80%;
    border-radius: 20px;
}

#back-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: white;
    color: black;
    font-family: "DeYiHei", Arial, sans-serif;;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
    text-decoration: overline;
    text-decoration-color: #354656;
    text-underline-offset: 4px;
    z-index: 9999;
}
#back-to-top:hover {
    animation: Jumping 0.8s ease-out forwards;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dome {
    background-color: bisque;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 10px 10px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInBackground 2s ease-in-out forwards;
}

.dome h2 {
    font-size: 60px;
    margin-top: 60px;
    text-align: center;
}

.dome p {
    color: #354656;
    text-align: center;
    font-size: 18px;
    margin: 25px 0;
}

.dome a {
    color: #354656;
    text-decoration: none;
    border: 1px solid #ACACAC;
    padding: 10px 20px;
    border-radius: 5px;
}

.dome h2, .dome p, .dome a {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 1s ease-out forwards;
}

.services {
    background-color: #f6f7f9;
    display: flex;
    align-items: center;
    box-shadow: 5px 10px 10px 5px rgba(0, 0, 0, 0.3);
}

.left-div {
    height: 50%;
    flex: 35;
    color: #DDDDDD;
    padding: 5%;
}

.left-div h2 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 30px;
}

.left-div p {
    color: #2c2c2c;
    width: 100%;
    line-height: 1.5;
    font-size: 16px;
    text-align: left;
}

.right-div {
    height: 100%;
    flex: 65;
    padding-top: 5%;
    padding-bottom: 5%;
}

.right-div img {
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
}

#img-1 {
    width: 20%;
    margin-left: 5%;
    margin-top: 20px;
}

#img-2 {
    width: 40%;
    margin-top: 20px;
    margin-left: 5%;
}

#img-3 {
    width: 40%;
    margin-left: 5%;
    margin-top: 30px;
}

#img-4 {
    width: 30%;
    margin-left: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.services-list {
    margin-top: 20px;
    background-color: #f6f7f9;
    display: flex;
    align-items: center;
    color: #2c2c2c;
}

.services-left-div,
.services-right-div {
    flex: 1;
}

.services-left-div ul li,
.services-right-div ul li {
    margin-bottom: 20px;
    font-size: 16px;
}

.services-left-div ul li img,
.services-right-div ul li img {
    height: auto;
    width: 16px;
}

.lesson-introduce {
    background-color: #f6f7f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    box-shadow: 5px 10px 10px 5px rgba(0, 0, 0, 0.3);
}

.lesson-style-1,
.lesson-style-2 {
    width: 95%;
    margin-bottom: 10vh;
    background-color: #f6f7f9;
    display: flex;
}

.lesson-imgbox {
    width: 100%;
    flex: 45;
}

.lesson-imgbox img {
    border-radius: 10px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.lesson-txtbox {
    height: 50%;
    flex: 55;
    padding-left: 5%;
    padding-top: 2%;
}

.lesson-txtbox .Subheading {
    color: #949d9a;
    margin-bottom: 10px;
    text-align: left;
}

.lesson-txtbox h1 {
    font-size: 35px;
}

.yellow-underline {
    text-decoration: underline;
    text-decoration-color: #fab758;
    text-underline-offset: 4px;
}

.lesson-info {
    display: flex;
    flex-wrap: wrap;
}

.info {
    padding-top: 30px;
    padding-right: 30px;
    flex: 1 0 35%;
}

.info h4 {
    margin-bottom: 10px;
}
.info p {
    text-align: left;
}

.questions {
    background-color: #f6f7f9;
    box-shadow: 5px 10px 10px 5px rgba(0, 0, 0, 0.3);
}

.questions h2,
p {
    text-align: center;
}

.questions h2 {
    margin-top: 30px;
    font-size: 30px;
}

.questions p {
    margin-top: 20px;
    font-size: 16px;
}

.question-list {
    display: flex;
}

.list-left,
.list-right {
    flex: 1;
    margin: 30px;
}

.content-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.toggle-button {
    width: 80%;
    font-size: 16px;
    text-align: left;
    margin-left: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    border: none;
    background-color: white;
    cursor: pointer;
    font-weight: 1000;
}

.toggle-button:hover {
    color: #3f78e0;
    transition: 0.5s;
}

.toggle-button img {
    height: 20px;
    margin-right: 10px;
    transform: rotate(-90deg);
    transition: 0.5s;
}
.toggle-button.active img {
    transform: rotate(90deg);
}

.content-grap{
    display: none;
}
.content-grap p {
    padding-left: 50px;
    padding-right: 40px;
    text-align: left;
    color: #607d7b;
    line-height: 1.8;
}
.content-grap a {
    padding-left: 50px;
    padding-right: 30px;
    color: #3f78e0;
    text-decoration: none;
}
.content-grap img {
    width: 40%;
    margin-top: 10px;
    margin-left: 25%;
    border-style: outset;
    border-radius: 10px;
}
.contact{
    background-color: #f6f7f9;
    box-shadow: 5px 10px 10px 5px rgba(0, 0, 0, 0.3);
    display: flex;
}
.address{
    flex: 40;
    display: flex;
    align-items: center;
}
.contact-info{
    flex: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.address{
    padding: 5%;
}
.address img{
    width: 100%;
    border-radius: 20px;
    border-style: outset;
}
.contact-info-title h1{
    font-size: 24px;
    margin-bottom: 5%;
}
.contact-info-content{
    display: flex;
    margin-bottom: 20px;
}
.contact-icon{
    margin-right: 15px;
}
.contact-icon img{
    width: 30px;
}
.contact-text h2{
    font-size: 20px;
    margin-bottom: 10px;
}
.contact-text p{
    color: #949d9a;
}

@keyframes fadeInBackground {
    0%{
        background-color: transparent;
        background-image: url("../images/background_1.png");
        opacity: 0;
    }
    100% {
        background-color: transparent;
        background-image: url("../images/background_1.png");
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes Jumping {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.dome h2 {
    animation-delay: 1s;
}

.dome p {
    animation-delay: 1.5s;
}

.dome a {
    animation-delay: 2.5s;
}

@media screen and (max-width: 1024px) {
    .services,
    .lesson-style-1,
    .lesson-style-2,
    .question-list {
        flex-direction: column;
    }

    .lesson-txtbox {
        padding-bottom: 4%;
    }

    .left-div h2 {
        font-size: 20px;
    }

    .left-div p {
        font-size: 16px;
    }

    .services-left-div ul li,
    .services-right-div ul li {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .services-left-div ul li img,
    .services-right-div ul li img {
        width: 12px;
    }


    section {
        width: 90%;
        border-radius: 20px;
    }

    .dome h2 {
        font-size: 40px;
    }

    .lesson-imgbox img {
        width: 98%;
    }

    .lesson-imgbox {
        flex: 55;
    }

    .lesson-txtbox {
        flex: 45;
    }
}

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

    .services,
    .lesson-style-1,
    .lesson-style-2,
    .question-list {
        margin-bottom: 2vh;
        padding-top: 0;
    }

    .lesson-introduce {
        padding-top: 2vh;
    }

    .lesson-imgbox {
        margin-top: 6vh;
    }

    #img-1 {
        width: 90%;
    }

    #img-2 {
        width: 90%;
    }

    #img-3 {
        width: 90%;
    }

    #img-4 {
        width: 90%;
    }

    .contact-info-title h1{
        font-size: 20px;
    }

    .contact-icon img{
        width: 16px;
    }

    .contact-text h2{
        font-size: 16px;
    }

    .contact-text p{
        font-size: 16px;
        text-align: left;
    }
    
    .contact{
        flex-direction: column;
    }

    .address img{
        width: 40%;
        margin-left: 25%;
    }
    .contact-info{
        padding-left: 15%;
        padding-right: 15%;
    }
}