html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {width: 100vw; height: 100vh; padding: 0; margin: 0; overflow-x: hidden; position: relative; overflow-y: auto;
      /* background: linear-gradient(135deg, #7091E6 0%, #f2c2f7 100%);
        min-height: 100vh; */
      /* background: radial-gradient(circle at 20% 30%, #7091E6, #3D52A0 70%), linear-gradient(to bottom, #f2c2f7 0%, #ADB BDA 100%); */
      background: linear-gradient(45deg, #7091E6, #3D52A0, #7091E6, #3D52A0, #7091E6, #3D52A0);
      /* background: radial-gradient(circle at 20% 30%, #7091E6, #3D52A0 100%); */
    /* background: radial-gradient(circle at 20% 30%, #7091E6 0%, #3D52A0 20%, #7091E6 40%, #3D52A0 60%, #7091E6 80%, #3D52A0 100%); */
    background-size: 200% 200%;
    animation: wave-bg 4s linear infinite;
      
    /* background-image: url("../image/home-back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
    position: relative;
}
@keyframes wave-bg {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 0%;
    }
    /* 100% {
        background-position: 0% 50%;
    } */
}

.flex {display: flex; justify-content: center; align-items: center;}
.flex-column {display: flex; justify-content: center; align-items: center; flex-direction: column;}
.title {font-weight: 700; font-size: 20px;}
.header, .footer {position: fixed; left: 0; width: 100%; height: 80px; background-color: #00000066; color: white; z-index: 3;}
.header { top: 0; border-bottom: 1px solid #f2c2f7;}
.footer { bottom: 0; border-top: 1px solid #f2c2f7;}
.header h1 {color: #f2c2f7;}
.page-content {
    width: 1440px;
    margin: auto;
    margin-top: 80px;
    height: calc(100vh - 170px);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.container-wrapper {
    color: white;
    border: 1px solid #5b79dc;
    background-color: #3D52A0AA;
    padding-bottom: 20px;
    height: fit-content;
    border-radius: 8px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
    transition: all 0.3s;
    /* @media (prefers-color-scheme: light) {
        box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    } */
}
.container-wrapper:hover {
    transform: scale(1.09);
}
.container {
    border: 3px solid #5b79dc;
    border-radius: 8px;
}

.container-wrapper .part-title {
    margin-top: 20px;
    font-weight: 700;
    font-size: 32px;
    cursor: pointer;
    color: #f2c2f7;
}
.container-wrapper:hover .part-title {
    animation: color-change 0.8s linear infinite;
}

@keyframes color-change {
    0% {
        color: #88AAFF;
    }
    33% {
        color: #FFD700;
    }
    66% {
        color: #FF4081;
    }
    100% {
        color: #88AAFF;
    }
}

.container-wrapper .part-description {
    margin-top: 10px;
    font-size: 26px;
    white-space: normal;      /* allows wrapping */
    word-wrap: break-word;    /* breaks long words if needed */
    overflow-wrap: break-word;
    text-align: center;
    padding: 0px 20px;
    color: #FFFFFFAA;
}

.setting {position: absolute; width: 330px; height: 100%; background-color: #000000AA; top: 0; right: 0; transition: all 0.3s;}
.setting * {color:white;}
.setting.hide {right: -330px;}
.setting-inner {position: relative; width: 100%; padding: 20px 0px; height: calc(100% - 40px);}
.setting-inner .main-title {font-size: 24px;}
.setting-inner .arrow {position: absolute; top: 0; left: 0; width: 45px; height: 60px; transition: all 0.3s; background-color: #00000000; cursor: pointer;}
.setting-inner .arrow img {width: 60%; transform: rotate(180deg); transition: all 0.3s;}
.setting.hide .setting-inner .arrow {left: -45px; background-color: #000000AA;}
.setting.hide .setting-inner .arrow img {transform: rotate(0deg);}

.footer .footer-item {
    margin: 0px 30px;
    font-size: 20px;
}

.footer .footer-item a {
    color: #f2c2f7; /* #F1E8F2; */
    margin-left: 10px;
    font-weight: 700;
}

@keyframes starFade {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}
.star {
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	z-index: -1;
	border-radius: 50%;
	opacity: 0;
}
@media (max-width: 1440px) {
    .page-content {
        width: 100vw;
    }
}
@media (max-width: 900px) {
    .page-content {
        width: 100%;
        flex-direction: column;
        height: auto;
        margin-top: 80px;
        overflow-y: auto;
        margin-bottom: 100px;
    }
    .container-wrapper {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .header {
        height: 60px;
    }
    .header,
    .footer {
        font-size: 16px;
    }
    .footer {
        flex-direction: column;
    }
    .footer .footer-item {
        font-size: 16px;
        margin: 3px 0px;
    }
    .container-wrapper .part-title {
        font-size: 24px;
    }
    .container-wrapper .part-description {
        font-size: 18px;
        padding: 0 10px;
    }
    .setting {
        width: 100vw;
        right: 0;
    }
    .setting.hide {
        right: -100vw;
    }
}