@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);

:root {
    --main-color: #FFE66F;
    --second-color: #E0E0E0;
}

html,
body {
    font-family: "cwTeXYen", sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-display: optional;
}

.root {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* vegas setting */
.vegas-timer-progress {
    background: var(--main-color) !important;
}

/* Nav Bar */
.navbar {
    padding-left: 7px;
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 20;
    background-image: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
    transition: all 0.4s;
}

.navbar.active {
    box-shadow: 0px 0px 15px 5px rgba(91, 91, 91, 0.1);
    background-color: white;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem;
}

.logo-container {
    height: 50px;
    width: fit-content;
    margin: 13px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img {
    height: 100%;
    object-fit: cover;
}

.img-text {
    width: fit-content;
    height: fit-content;
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    line-height: 24px;
}

.nav-item {
    color: black;
    font-weight: 600;
    text-align: center;
    padding: 0px 10px;
    transition: .3s;
    cursor: pointer;
    border-radius: 50px;
}

.nav-link {
    color: black;
    font-size: 18px;
    margin: 3px 15px;
}

.nav-item.active {
    background: var(--main-color) !important;
}

.nav-item:hover {
    transform: translateY(-7%);
}

/* footer */
.footer {
    width: 100%;
}

.footer-info {
    width: 100%;
    height: fit-content;
    background: var(--main-color);
}

.footer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 36px;
    font-weight: bold;
    line-height: 36px;
}

.footer-info-text {
    font-size: 20px;
    font-weight: 600;
}

.copyright {
    text-align: center;
    padding: 10px 20px;
    background: #FFF8D7;
    background: var(--second-color);
}

.text-img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.flex-center {
    display: flex;
    align-items: center;
}

iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 5px rgba(91, 91, 91, 0.2);
    margin: 15px 0px;
}

/* back top */
.backtop-content {
    position: fixed;
    border-radius: 50%;
    z-index: 20;
    width: 70px;
    height: 70px;
    bottom: 8%;
    right: calc(-100px);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .3s;
    cursor: pointer;
    opacity: 1;
}

.backtop-content:hover {
    opacity: .9;
    transform: translateY(-8%);
}

.backtop {
    width: 100%;
    height: 100%;
}

.backtop img {
    width: 100%;
    object-fit: cover;
}

.backtop-content.active {
    right: 35px;
}

/* slider */
.slider {
    width: 100%;
    height: 80vh;
    object-fit: contain;
}

/* title */
.index-title {
    width: 100%;
    height: fit-content;
    text-align: center;
    padding: 30px 20px;
    font-size: 40px;
    font-weight: bold;
    color: black;
}

.index-sub-title {
    width: 100%;
    height: fit-content;
    text-align: center;
    padding: 0px 20px;
    font-size: 26px;
    font-weight: bold;
    color: black;
}

.index-introduction {
    font-size: 22px;
    font-weight: bold;
    line-height: 36px;
    text-indent: 2em;
}

.specialColor {
    color: #ad8330;
}

/* image */
.img-title {
    width: 100%;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
}

.img-child {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.border-radius-50 {
    border-radius: 50%;
}

.start {
    width: 100%;
    background: var(--main-color);
    font-size: 28px;
    font-weight: 600;
    padding: 13px 22px;
    margin: 15px 0px 50px;
    text-align: center;
}

/* index video */
.video-content {
    background: url("../resource/videobg.png") center center/cover;
    background-attachment: fixed;
}

.video-title {
    width: 100%;
    height: fit-content;
    text-align: center;
    padding: 50px 20px 10px 20px;
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: black 0px 0 15px;
}

.video-name {
    width: 100%;
    height: fit-content;
    text-align: center;
    padding: 3px 20px 10px 20px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-shadow: black 0px 0 15px;
}

/* faculty */
.cards {
    width: 100%;
    height: fit-content;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 5px rgba(130, 130, 130, 0.2);
    cursor: pointer;
    transition: .3s;
    font-size: 20px;
    padding: 15px 26px;
    background: url("../resource/faculty/background-faculty.jpg") center center/cover;
}

.cards:hover {
    transform: translateY(-2%);
    box-shadow: 0px 0px 15px 5px rgba(91, 91, 91, 0.2);
}

.nav-link.active {
    background-color: var(--main-color) !important;
    color: black !important;
}
.tab-text {
    font-size: 20px;
}
.none-border {
    border: none;
}

/* cooperation */
.logo-img {
    width: 90%;
    left: 5%;
    object-fit: contain;
}

.logo-card {
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 5px rgba(130, 130, 130, 0.2);
    transition: .4s;
}
.cooperation-text {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(45deg, #FFDC35, var(--main-color), #FFE153);
    border-radius: 0px 0px 15px 15px;
    transition: all .4s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inner-text {
    position: relative;
    width: fit-content;
    height: fit-content;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}
.inner-text:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: black;
    transition: all .2s ease-in-out;
}
.logo-card:hover {
    transform: translateY(-3%);
    box-shadow: 0px 2px 5px 5px rgba(100, 100, 100, 0.1);
}
.logo-card:hover .inner-text:after {
    width: 100%;
    left: 0;
}
.btn {
    width: 100%;
    height: fit-content;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding-block: 20px;
    background-color: aqua;
}

/* course */
.paragraph {
    text-align: justify;
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0px;
}
.text-indent {
    text-indent: 2em;
}

.paragraph-title {
    text-align: left;
    font-size: 28px;
    font-weight: 600;
    margin: 10px 0px;
}

.paragraph-sub-title {
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0px;
}

.description {
    width: 100%;
    text-align: center;
    padding-top: 5px;
}

.sub-title {
    width: 100%;
    text-align: center;
    padding: 5px;
    font-size: 26px;
}

.indent {
    padding-left: 2em;
}
/* lab */
.lab-card {
    padding: 20px 20px;
    background: url("../resource/lab-bg.jpg") center center/cover;
    border-radius: 10px;
    box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
}
.lab-card:hover {
    box-shadow: 0px 0px 8px 5px rgba(100, 100, 100, 0.1);
    transform: translateY(-3%);
}
.lab-card-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}
.lab-card-text {
    width: calc(100% - 40px);
    height: fit-content;
    padding-left: 20px;
    text-align: justify;
    font-size: 22px;
    font-weight: bold;
}

/* report */
.report-frame {
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
}
.report-frame:hover {
    transform: translateY(-10px);
    background: #eeeeee;
}
.report-frame:hover .report-text{
    color: blue;
}
.report-img-frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;

}
.report-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.report-title {
    color: black;
    font-size: 22px;
    font-weight: bold;
    margin-inline: 15px;
}
.report-time {
    font-size: 18px;
    color: gray;
    margin-block: 10px;
    margin-inline: 15px;
}
.report-text {
    color: black;
    font-size: 18px;
    margin-inline: 15px;
}

/* loading */
.la-line-scale,
.la-line-scale>div {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.la-line-scale {
    display: block;
    font-size: 0;
    color: #fff;
}

.la-line-scale.la-dark {
    color: #333;
}

.la-line-scale>div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}

.la-line-scale {
    width: 40px;
    height: 32px;
}

.la-line-scale>div {
    width: 4px;
    height: 32px;
    margin: 2px;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    -webkit-animation: line-scale 1.2s infinite ease;
    -moz-animation: line-scale 1.2s infinite ease;
    -o-animation: line-scale 1.2s infinite ease;
    animation: line-scale 1.2s infinite ease;
}

.la-line-scale>div:nth-child(1) {
    -webkit-animation-delay: -1.2s;
    -moz-animation-delay: -1.2s;
    -o-animation-delay: -1.2s;
    animation-delay: -1.2s;
}

.la-line-scale>div:nth-child(2) {
    -webkit-animation-delay: -1.1s;
    -moz-animation-delay: -1.1s;
    -o-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.la-line-scale>div:nth-child(3) {
    -webkit-animation-delay: -1s;
    -moz-animation-delay: -1s;
    -o-animation-delay: -1s;
    animation-delay: -1s;
}

.la-line-scale>div:nth-child(4) {
    -webkit-animation-delay: -.9s;
    -moz-animation-delay: -.9s;
    -o-animation-delay: -.9s;
    animation-delay: -.9s;
}

.la-line-scale>div:nth-child(5) {
    -webkit-animation-delay: -.8s;
    -moz-animation-delay: -.8s;
    -o-animation-delay: -.8s;
    animation-delay: -.8s;
}

.la-line-scale.la-sm {
    width: 20px;
    height: 16px;
}

.la-line-scale.la-sm>div {
    width: 2px;
    height: 16px;
    margin: 1px;
    margin-top: 0;
    margin-bottom: 0;
}

.la-line-scale.la-2x {
    width: 80px;
    height: 64px;
}

.la-line-scale.la-2x>div {
    width: 8px;
    height: 64px;
    margin: 4px;
    margin-top: 0;
    margin-bottom: 0;
}

.la-line-scale.la-3x {
    width: 120px;
    height: 96px;
}

.la-line-scale.la-3x>div {
    width: 12px;
    height: 96px;
    margin: 6px;
    margin-top: 0;
    margin-bottom: 0;
}

/*
  * Animation
  */
@-webkit-keyframes line-scale {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(.4);
        transform: scaleY(.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@-moz-keyframes line-scale {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(.4);
        -moz-transform: scaleY(.4);
        transform: scaleY(.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@-o-keyframes line-scale {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(.4);
        -o-transform: scaleY(.4);
        transform: scaleY(.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        -o-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes line-scale {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(.4);
        -moz-transform: scaleY(.4);
        -o-transform: scaleY(.4);
        transform: scaleY(.4);
    }

    20% {
        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        -o-transform: scaleY(1);
        transform: scaleY(1);
    }
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 19;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
}
.loading-style {
    color: #dbbe39;
    padding-top: 30px;
}

/* media screen */
@media screen and (max-width: 768px) {
    .logo-container {
        height: 35px;
        width: fit-content;
        margin: 13px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .img-text {
        font-size: 18px;
        font-weight: bold;
        margin-left: 10px;
        line-height: 18px;
    }

    .index-title {
        padding: 20px 30px;
        font-size: 28px;
    }

    .index-sub-title {
        font-size: 18px;
    }

    .img-title {
        font-size: 28px;
    }

    .name {
        font-size: 28px;
        font-weight: bold;
        line-height: 28px;
    }

    .footer-info-text {
        font-size: 18px;
        font-weight: 600;
    }

    .video-title {
        font-size: 36px;
        padding: 30px 20px 10px 20px;
    }

    .start {
        font-size: 20px;
        margin: 0px 0px 30px;
    }
    .lab-card-text {
        font-size: 20px;
    }
}

