/*Import Font From Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*Reset Stylesheet*/
*{
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    font-family: "Noto Sans TC", sans-serif;
}

body {
    background-image: url(image/bac\ 4.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-color: rgb(0, 0, 0);
    min-width: 100vw;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent 50%, rgb(246, 228, 147, 0.05));
}

/*Background Images Setup*/
.content picture {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0%;
}

.content img:not(.logo-container, .logo, .logo-blur, .speaker) {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0%;
}

.back-1, .back-1blur, .back-2, .back-2blur {
    mix-blend-mode: lighten;
}


/*Logo Images Setup*/
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20vh auto 10vh auto;
    width: 100vw;
    height: auto;
}

.logo {
    position: absolute;
    width: 20vw;
    height: auto;
    max-width: 20vw;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.logo-blur {
    position: absolute;
    width: 20vw;
    height: auto;
    max-width: 20vw;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/*Header Setup*/
header {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Nav Bar Setup*/
nav {
    display: flex;
    gap: 5vw;
    padding: 0px 5vw;
    background-color: rgba(178, 189, 219, 0.4);
    height: 50px;
    border-bottom-left-radius: 0.75vw;
    border-bottom-right-radius: 0.75vw;
    backdrop-filter: blur(64px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav a {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
    color: rgb(44, 44, 44);
    width: 110px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.6);
    padding: 7px 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.active {
    background-color: rgb(27, 88, 123, 0.75);
    color: white;
}

nav a:hover {
    background-color: rgb(27, 88, 123, 0.75);
    color: white;
}

nav:hover > a:not(:hover) {
    background-color: transparent;
    color: rgb(53, 53, 53);
}

/*Nav Bar Change When In English*/
nav {
    gap: 1vw;
}

html[lang="en"] nav a {
    width: 150px;
}

/*Title Setup*/
.title {
    position: absolute;
    top: 37.5%;
    right: 50%;
    transform: translate(50%, -50%);
}

.title h1 {
    font-size: 11.5rem;
    font-weight: 800;
    letter-spacing: 40px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    margin: -15px 0;
}

.title h3 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 15px;
    color: white;
    text-align: center;
}

/*Intro Setup*/
.intro-info {
    background-color: rgba(168, 168, 168, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 60vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(64px);
    margin: 13.5vh auto 0vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.intro-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.intro-info h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: auto;
}

.intro-info p {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: auto;
    padding: 2vw;
}

/*Intro Change When In English*/
html[lang="en"] .intro-info h3 {
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.8);
    }

html[lang="en"] .intro-info p {
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.8);
}

/*News Info Setup*/

.news-info {
    background-color: rgba(168, 168, 168, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1vw;
    width: 55vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(64px);
    margin: 10vh auto 3vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.news-block-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1vw;
    width: 100%;
    justify-content: center;
}

.news-block {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 10vw;
    position: relative;
}

.large-news-block {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: calc(5 * 10vw + 4 * 1vw);
    margin-top: 0.5vh; 
}

.news-text {
    font-size: 105%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    align-self: flex-start;
    margin:  10px 0px 0px 10px;
    width: auto;
}

.news-date {
    font-size: 100%;
    font-weight: 450;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(194, 194, 194);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    align-self: center;
    margin:  0px 0px 0px 10px;
    width: auto;
}

.large-news-text {
    font-size: 360%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.8);
    align-self: center;
    width: auto;
}

html[lang="en"] .news-text {
    margin-top: 10px;
    line-height: 1.2;
    text-transform: uppercase;
}

/*Agenda Info Setup*/
.agenda-info {
    background-color: rgba(168, 168, 168, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 60vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(64px);
    margin: 10vh auto 5vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.agenda-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.agenda-info p1 {
    font-size: 450%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    text-align: left;
    width: auto;
}

/*Lecture Info Setup*/

.lecture-info {
    background-color: rgba(168, 168, 168, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 60vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(64px);
    margin: 10vh auto 5vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.lecture-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.lecture-block img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    max-width: 100%;
    margin: 20px;
    position: static;
}

.lecture-info p1, .lecture-info p2, .lecture-info p3 {
    text-align: left;
    width: auto;
}

.lecture-info p1, .lecture-info p2, .lecture-info p3, .lecture-info p4 {
    display: block;
    margin: 0.1%;
    margin-right: 1vw;
}

.lecture-info p1 {
    font-size: 175%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 2.0;
    color: rgb(164, 222, 255);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
}

.lecture-info p2 {
    font-size: 145%;
    font-weight: 475;
    letter-spacing: 0.2px;
    line-height: 1.85;
    color: rgb(255, 255, 255);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
}

.lecture-info p3 {
    font-size: 135%;
    font-weight: 425;
    letter-spacing: 0.2px;
    line-height: 1.75;
    color: rgb(244, 253, 157);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
}

.lecture-info p4 {
    font-size: 105%;
    font-weight: 375;
    letter-spacing: 0.2px;
    line-height: 1.65;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 1vh;
}

/* Submission Setup */
.submission-info {
    background-color: rgba(168, 168, 168, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 60vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(64px);
    margin: 10vh auto 5vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.submission-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.submission-content p1 {
    font-size: 150%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    align-self: flex-start;
    margin:  10px 0px 0px 10px;
    width: auto;
}

.submission-content p2 {
    white-space: pre-wrap;
    font-size: 135%;
    font-weight: 450;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(194, 194, 194);
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    align-self: flex-start;
    margin:  0px 0px 0px 10px;
    width: auto;
}

html[lang="en"] .submission-content p1 {
    text-transform: uppercase;
}

/*Coming_Soon Info Setup*/
.coming-info {
    background-color: rgba(141, 141, 141, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 60vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(32px);
    margin: 0vh auto 5vh auto; /* adjust third value can set footer location */
    display: flex;
    flex-direction: column;
}

.coming-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.coming-info p1 {
    font-size: 450%;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.8;
    color: rgb(212, 212, 212);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    text-align: left;
    width: auto;
}

/*Call To Action Setup*/
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 5%;
}

.fpage, .tinfo{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 15vh;
    gap: 5%;
    padding-bottom: 2vh; /* adjust third value can set footer location */
}

.registration {
    padding-bottom: 5vh;
}

.format,.form {
    padding-bottom: 5vh; /* adjust third value can set footer location */
}

.cta {
    position: relative;
    bottom: auto;
    display: flex;
    justify-content: center;
    width: 200px;
    z-index: 1;
    text-decoration: none;
}

.cta button {
    text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(32px);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    height: 50px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.cta button:hover{
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(53, 53, 53);
}

/*Cta Button Change When In English*/
html[lang="en"] .cta {
    width: 300px;
}

html[lang="en"] .cta button {
    letter-spacing: 1px;
    width: 300px;
}

html[lang="en"] .button-container {
    gap: 3%;
}

html[lang="en"] .registration {
    padding-bottom: 0.5%; /* adjust third value can set footer location */
}

/*Bio Language Switch Botton Setup*/

.lang {
    position: absolute;
    bottom: 15%;
    display: flex;
    justify-content: center;
    z-index: 1;
    text-decoration: none;
}

.lang button {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    height: 50px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    cursor: pointer;
}

.lang button:hover{
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(53, 53, 53);
}

.switcher {
    position: absolute;
    Top: 5%;
    right: 2.5%;
    gap: 15px;
}

/*Language Button Status Setup*/
html[lang="zh"] .zh-btn {
    background-color: rgba(255, 255, 255, 0.35);
    color: rgb(53, 53, 53);
}

html[lang="en"] .eh-btn {
    background-color: rgba(255, 255, 255, 0.35);
    color: rgb(53, 53, 53);
}

/*Footer Setup*/
.site-footer {
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    padding: auto;
    z-index: 1;
}

.footer-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-image {
    width: 75px;
    height: auto;
}

.footer-text {
    font-size: 100%;
    font-weight: 300;
    color: rgb(204, 204, 204);
    line-height: 1.6;
}

/*Animation Setup*/
@keyframes bottomIn {
    from {
        transform: translateY(200px);
    }
    to {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.back-1 {
    opacity: 0;
    animation:fadeIn 1s ease-out forwards;
}

.back-2{
    opacity: 0;
    animation: fadeIn 1.3s ease-out forwards;
}

.back-1blur {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards, blurInOutSpot 2.5s ease-in-out infinite;
}

.back-2blur {
    opacity: 0;
    animation: fadeIn 1.3s ease-out forwards, blurInOutSpot 2.5s ease-in-out infinite;
}

.logo {
    animation: bottomIn 1.5s ease-out forwards;
}

.logo-blur {
    animation: bottomIn 1.5s ease-out forwards, blurInOut 2.5s ease-in-out infinite;   
}

.site-footer {
    animation: bottomIn 1.8s ease-out forwards;
}

@keyframes bottomInText {
    from {
        transform: translateY(500px);
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.lecture-block {
    animation: bottomInText 1s ease-out forwards;
}

.lecture-info {
    animation: bottomInText 1.3s ease-out forwards;
}

.news-info {
    animation: bottomInText 1s ease-out forwards;
}

.news-block-container {
    animation: bottomInText 1.2s ease-out forwards;
}

.large-news-block {
    animation: bottomInText 1.4s ease-out forwards;
}

.agenda-info {
    animation: bottomInText 1s ease-out forwards;
}

.agenda-block {
    animation: bottomInText 1.2s ease-out forwards;
}

.submission-info {
    animation: bottomInText 1.2s ease-out forwards;
}

.submission-block {
    animation: bottomInText 1.4s ease-out forwards;
}

.title h1 {
   animation: bottomInText 1s ease-out forwards;
}

.title h3 {
    animation: bottomInText 1.2s ease-out forwards;
}

.intro-info {
    animation: bottomInText 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.intro-content h3 {
    animation: bottomInText 1.2s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.intro-content p {
    animation: bottomInText 1.4s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.coming-info {
    animation: bottomInText 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.cta button {
    animation: bottomInText 1.2s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes backgroundImage {
    from {
        background-position: top;
    }
    to {
        background-position: 50% 15%;
    }
}

body {
    animation: backgroundImage 1.6s ease-out forwards;
}

@keyframes headerIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

nav {
    animation: headerIn 1.2s ease-out forwards;
}


@keyframes switcherIn {
    from {
        transform: translateY(-15%);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.switcher {
    animation: switcherIn 1.2s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes blurInOut {
    0% {
        filter: blur(10px);
    }
    50% {
        filter: blur(5px);
    }
    100% {
        filter: blur(10px);
    }


}

@keyframes blurInOutSpot {
    0% {
        filter: blur(12px);
        opacity: 1;
    }
    50% {
        filter: blur(2px);
        opacity: 0.5;
    }
    100% {
        filter: blur(12px);
        opacity: 1;
    }
}

/* Added media query - mobile version (max-width: 768px) */
@media (max-width: 768px) {
    body {
        background-image: url(image/mobile-bac-4.png); 
        min-width: 100vw;
        background-size: cover;
    }

    .logo {
    width: 50vw;
    height: auto;
    max-width: 50vw;
    }


    .logo-blur {
    width: 50vw;
    height: auto;
    max-width: 50vw;
    }

    .back-1 {
        opacity: 0;
        animation: none;
    }

    .back-2{
        opacity: 0;
        animation: none;
    }

    .back-1blur {
        opacity: 0;
        animation: none;
    }

    .back-2blur {
        opacity: 0;
        animation: none;
    }


    nav {
        flex-direction: row; 
        height: auto;
        width: 90vw;
        gap: 10px;
        padding: 10px;
    }

    nav a {
        border-radius: 0.5vh;
        width: 100%;
        font-size: 2.5vw;
        padding: 0.6vw 0.2vw;
    }

    html[lang="en"] nav a {
        width: 100%;
    }

    .title h1 {
        font-size: 4rem;
        letter-spacing: 10px;
    }

    .title h3 {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    .intro-info h3 {
        font-size: 1.5rem;
    }

    .intro-info p {
        font-size: 1rem;
    }

    html[lang="en"] .intro {
        font-size: 80%;
        padding: 10px;
        margin: 5vw 50vh 0vh 1.5vh;
    }

    .intro-info {
        width: 90%;;
    }

    .intro-info-block {
        width: 100%;
    }

    .news-info, .agenda-info, .lecture-info, .submission-info {
        width: 94%;
        margin: 15vh auto;
        padding: 10px;
    }

    .news-block-container {
        flex-direction: column;
    }

    .news-block {
        width: 100%;
    }

    .large-news-block {
        width: 100%;
    }

    .large-news-text {
        font-size: 200%;
    }

    .agenda-block {
        flex-direction: column;
    }

    .agenda-info p1 {
        font-size: 200%;
    }

    html[lang="en"] .lecture-info {
        width: 90%;
    }

    .lecture-block {
        align-items: center;
    }

    .lecture-block img {
        width: 20vw;
        height: auto;
        border-radius: 1.5rem;
        margin: 1vw;
        min-width: 20vw;
        position: static;
    }

    .lecture-info p1 {
        font-size: 155%;
    }

    .lecture-info p2 {
        font-size: 125%;
    }

    .lecture-info p3 {
        font-size: 105%;
    }

    .lecture-info p4 {
        font-size: 95%;
    }

    html[lang="en"] .lecture-block {
        align-items: center;
    }

    .lecture-block img {
        width: 100%;
    }

    .submission-block {
        align-items: center;
    }

    .submission-info {
        width: 90%;
    }

    .button-container {
        flex-direction: row;
        gap: 1vh;
    }

    .cta {
        position: relative;
        bottom: auto;
        display: flex;
        justify-content: center;
        width: 100%;
        z-index: 1;
        text-decoration: none;
    }

    .cta button {
        width: 80%;
        font-size: 14px;
    }

    .fpage, .tinfo{
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: 5vh;
        padding-bottom: 2vh; /* adjust value can set footer location */
    }

    html[lang="en"] .fpage, .tinfo{
        margin-top: 5vh;
    }

    html[lang="en"] .cta button {
        width: 100%;
    }

    .lang {
        bottom: 5%;
        flex-direction: row;
        gap: 10px;
    }

    .lang button {
        backdrop-filter: blur(5px);
        margin-top: 3vh;
        font-size: 12px;
        height: 45px;
        width: 75px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-text {
        font-size: 90%;
    }

}