.school-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}

.school-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    margin: 5rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#school-intro {
    margin-top: 3%;
}

.school-desc {
    font-size: 18px;
    text-align: center;
    margin-bottom: 3rem;
}

.school-link {
    border-radius: 30px;
    color: white;
    padding-left: 30px;
    padding-right: 30px;
    border: white 1px solid;
}

.school-link:hover {
    cursor: pointer;
    text-decoration: none;
    color: white;
}


/* animation */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeIn-show {
    animation: fadeIn ease 2s;
}


/* animation */

#school-intro-title {
    margin-top: 50px;
    /* text-align: center; */
    font-size: 50px;
}

#school-intro-subtitle {
    margin-top: -10px;
    /* text-align: center; */
    font-size: 30px;
}

#school-container {
    background-color: #4caf50;
}

#school-container div {
    text-align: left;
}

.finger {
    position: absolute;
    z-index: 5;
    left: 70%;
    bottom: 10%;
    /* color: black; */
    color: rgb(239, 73, 117);
    animation: silde-finger 2s;
    animation-iteration-count: 3;
    animation-fill-mode: forwards;
}

@keyframes silde-finger {
    0% {
        left: 70%;
    }
    99% {
        opacity: 1;
    }
    100% {
        left: 20%;
        opacity: 0;
    }
}


/* swiper */

.school-swiper-container {
    position: relative;
    height: 550px;
}

.swiper-slide {
    height: 300px;
    /* border: #000 1px solid; */
}

.swiper-slide img {
    height: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
    object-fit: contain;
}

.swiper-slide:hover {
    transform: scale(1.2);
    overflow: visible;
    animation: clickScale 1s;
    cursor: pointer;
}

@keyframes clickScale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.swiper-wrapper {
    align-items: center;
}


/* school provide */

#school-provide {
    margin-top: 30px;
    /* margin: 100px 30px 0 0; */
    width: 100%;
}

#school-provide-title {
    text-align: center;
    font-size: 50px;
}

#school-provide-imgs {
    display: flex;
    margin-top: 20px;
    margin-bottom: 50px;
}

#school-provide-imgs div {
    margin-left: 15px;
    margin-right: 15px;
}


/* school contact */

.school-contact-us {
    margin: 3rem 0;
}

.school-contact {
    margin-top: 3rem;
}


/* school contact */


/* form */

#school-form {
    margin-bottom: 50px;
}

#school-form-title {
    font-size: 25px;
    text-align: center;
}

#form-type {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.4);
}

select {
    /* styling */
    background-color: white;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 7px 1em 5px 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}


/* arrows */

select.minimal {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0em;
    background-size: 5px 5px, 5px 5px, 1px 2.1em;
    background-repeat: no-repeat;
}

select.minimal:focus {
    background-image: linear-gradient(45deg, gray 50%, transparent 50%), linear-gradient(135deg, transparent 50%, gray 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0em;
    background-size: 5px 5px, 5px 5px, 1px 2.1em;
    background-repeat: no-repeat;
    outline: 0;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

#form-school-name {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 4px;
    padding: 7px 1em 5px 1em;
}

#form-name {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 4px;
    padding: 7px 1em 5px 1em;
}

#form-phone {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid rgb(118, 118, 118);
    padding: 7px 1em 5px 1em;
}

#form-email {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid rgb(118, 118, 118);
    padding: 7px 1em 5px 1em;
}

#form-location {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    font-size: 18px;
    border-radius: 4px;
    padding: 7px 1em 5px 1em;
    border: 1px solid rgb(118, 118, 118);
}

#form-bot {
    width: 30px;
}


/* The container */

#form-bot-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

#form-bot-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

#form-bot-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 5px;
    background-color: white;
    border: rgb(118, 118, 118) 2px solid;
}


/* On mouse-over, add a grey background color */

#form-bot-container:hover input~#form-bot-checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

#form-bot-container input:checked~#form-bot-checkmark {
    background-color: #2196F3;
    border: rgb(118, 118, 118) 0px solid;
}


/* Create the checkmark/indicator (hidden when not checked) */

#form-bot-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

#form-bot-container input:checked~#form-bot-checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

#form-bot-container #form-bot-checkmark:after {
    left: 7.5px;
    top: 2px;
    width: 10px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#form-reset {
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    padding: 9px 1em 7px 1em;
    background-color: #ff5252;
    color: white;
}

#form-submit {
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    padding: 9px 1em 7px 1em;
    background-color: #4caf50;
    color: white;
}


/* model */

.model {
    background-color: white;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1031;
    display: none;
    overflow: auto;
}

#cross {
    width: 50px;
    height: 50px;
    background-color: rgb(255, 255, 255, 0.8);
    position: absolute;
    right: 2%;
    top: 2%;
    z-index: 1032;
}

#cross:hover {
    cursor: pointer;
}

.close {
    font-size: 2.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    padding: 20px;
}

.anination_in {
    animation: modelIn 1s;
}

@keyframes modelIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes modelOut {}


/* model */


/* new css model */

.model-cover {
    max-height: 70%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    object-fit: cover;
    object-position: 50% 0%;
}

.model-full-container {
    width: 100%;
    height: 100%;
}

.model-new-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
}

.model-top-title {
    margin: 3% 0 6% 0%;
    background-color: rgb(121, 160, 183);
    width: fit-content;
    padding: 15px 10px;
    font-size: 35px;
    color: #fff;
}

.model-mid {
    display: flex;
    justify-content: space-around;
}

.model-mid-left {
    width: 40%;
}

.model-mid-right {
    width: 60%;
    color: rgb(121, 160, 183);
    align-self: flex-end;
    padding: 0 2rem;
}

.model-mid-left-top {
    display: inline-block;
    background-color: rgba(121, 160, 183, 0.85);
    padding: 30% 50px 30% 50px;
}

.model-mid-left-bottom {
    font-family: 'Wong';
    padding: 1rem;
    text-align: center;
    margin: auto;
    font-size: 55px;
    color: rgb(67, 121, 161);
}

.model-mid-title {
    line-height: 1;
    display: inline-block;
}

.model-mid-title-l1 {
    font-family: 'Wong';
    font-size: 50px;
    /* font-weight: bold; */
    color: rgb(148, 221, 192);
}

.model-mid-title-l2 {
    font-family: 'Futura-Conden';
    font-size: 100px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    padding-top: 1rem;
}

.model-mid-title-l3 {
    font-family: 'Futura-Med-Iat';
    font-size: 50px;
    color: #fff;
    display: block;
    transform: translateX(50px);
}

.model-mid-dec {
    border-top: 1px solid #fff;
    margin-top: 40%;
}

.model-mid-dec-l1 {
    line-height: 1rem;
    font-size: 20px;
    color: #fff;
    margin: 3rem 0 3rem 0;
}

.model-mid-dec-l2 {
    line-height: 1.2;
    font-size: 20px;
    color: #fff;
}

.pentagon {
    display: block;
    padding: 10px;
    height: 20px;
    width: 20px;
    clip-path: polygon(50% 2.45%, 100% 38.77%, 80.9% 97.55%, 19.1% 97.55%, 0% 38.77%);
    background-color: rgb(150, 220, 191);
    /* margin-right: 1rem; */
    margin: 5px 1rem 5px 5px;
}

.model-mid-right-title {
    font-size: 35px;
    text-align: right;
}

.model-mid-right-point {
    font-family: 'Microsoft JhengHei';
    font-size: 18px;
    margin: 1rem 0;
    display: flex;
}

.model-bottom {
    display: flex;
    gap: 10px;
}

.model-bottom-class {
    flex: 1;
    position: relative;
}

.model-bottom-class-title {
    font-size: 25px;
    color: #fff;
    font-family: 'Wong';
    background-color: rgb(121, 160, 182);
    position: absolute;
    width: fit-content;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.model-bottom-class-img img {
    margin-top: 1rem;
    height: 240px;
    object-fit: cover;
    width: 100%;
}

.model-contact {
    padding: 2rem 0 0 0;
    margin: 2rem 0 0 0;
    background-color: rgb(176, 229, 206);
}

.model-contact-title {
    text-align: center;
    font-size: 40px;
}

.model-contact-subtitle {
    text-align: center;
    font-size: 30px;
}

.model-contact-click {
    text-align: center;
    font-size: 20px;
}

.model-contact-list {
    display: flex;
    justify-content: space-around;
}

.model-contact-list a {
    text-decoration: none;
    color: black;
}

.model-contact-list a:hover {
    color: black;
}

.model-contact-box {
    text-align: center;
    width: 100%;
    margin: 3rem;
    /* border: 3px #000 solid; */
    padding: 2rem 0;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
}

.model-contact-box a {
    text-decoration: none;
    color: black;
}

.model-contact-box a:hover {
    color: black;
}

.model-contact-box-con {
    margin-top: 1rem;
    font-size: 20px;
}

.model-contact-box:hover {
    cursor: pointer;
}


/* new css model */

.model-title {
    background-color: rgb(201, 188, 155);
    display: inline;
    padding: 5px 10px;
    font-size: 25px;
}

.model-subtitle {
    padding: 5px 10px;
}

.model-container {
    padding: 5%;
    background-color: rgb(201, 188, 155);
    margin: 3%;
}

.model-container-row1,
.model-container-row2,
.model-container-row3 {
    display: flex;
}

.model-container-row1 img,
.model-container-row3 img {
    width: 50%;
}

.model-container-row2 img {
    width: 55%;
}

@media only screen and (min-width: 1600px) {
    .model-cover {
        max-height: 70% !important;
    }
}

@media only screen and (min-width: 1200px) {
    .model-cover {
        max-height: 80%;
        object-position: center;
    }
}

@media only screen and (max-width: 990px) {
    .school-swiper-container {
        height: 600px;
    }
}

@media only screen and (max-width: 768px) {
    .school-swiper-container {
        height: 700px;
    }
    .school-contact-us {
        margin: 3rem 1rem;
    }
    .school-subtext {
        margin: 3rem auto 0 auto;
    }
    #school-intro-title {
        font-size: 34px;
    }
    #schoolHeader-bottom {
        font-size: 18px;
    }
    .model-cover {
        height: 60%;
    }
    .model-mid {
        display: block;
    }
    .model-mid-left {
        width: 100%;
    }
    .model-mid-left-top {
        width: 50%;
        padding: 10% 50px 10% 50px;
    }
    .model-mid-left-bottom {
        width: 100%;
    }
    .model-mid-right {
        width: 100%;
    }
    .model-bottom-class-title {
        padding: 0 1rem;
    }
    .model-contact-list {
        flex-direction: column;
    }
    .model-contact-box {
        width: auto;
        margin: 1rem 0rem;
    }
    .model-contact {
        padding: 0rem 1rem;
    }
}

@media only screen and (max-width: 500px) {
    .model-mid-left-top {
        width: 80%;
        padding: 5%;
    }
    .model-bottom {
        flex-direction: column;
    }
    .model-bottom-class-img {
        margin: 1rem;
    }
    .school-header-title {
        font-size: 4vmax;
    }
    .school-subtext {
        font-size: 1.5vmax;
    }
    .model-top-title {
        font-size: 20px;
    }
    .model-mid-title-l1,
    .model-mid-title-l3 {
        font-size: 30px;
    }
    .model-mid-title-l2 {
        font-size: 60px;
    }
    .model-mid-dec {
        margin-top: 20%;
    }
    .model-mid-dec-l1 {
        margin: 2rem 0 2rem 0;
        font-size: 18px;
    }
    .model-mid-dec-l2 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 350px) {
    .school-swiper-container {
        height: 800px;
    }
}