@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");

@font-face {
    font-family: "Lato-Light";
    src: url(../fonts/Lato-Light.ttf);
}

@font-face {
    font-family: "Lato-Regular";
    src: url(../fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: "Lato-Bold";
    src: url(../fonts/Lato-Bold.ttf);
}

[data-aos="opacity-heightdown"] {
    opacity: 1;
    clip-path: inset(0% 0 100% 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-heightdown"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-left"] {
    opacity: 1;
    clip-path: inset(0% 100% 0 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-left"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-right"] {
    opacity: 1;
    clip-path: inset(0% 0 0 100%);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-right"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

.opacity {
    animation: opacity 2s ease 0s forwards;

}

@keyframes opacity-left {

    from {
        opacity: 0;
        clip-path: inset(0% 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.opacity-left {
    animation: opacity-left 2s ease 0s forwards;
    animation-delay: 1s;
}

:root {}

body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    --vw-base: calc(100vw / 1920);
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

button,#submitbtn,
input,
textarea,
select,
option {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    /* background-color: #b8c5c5; */
    flex-shrink: 0;
}

.main1 {
    position: relative;
    width: 100%;
    height: calc(398* var(--vw-base));
    background-image: url(../img/04/login-bg1.jpg);
    background-size: cover;
    background-position: 0;
    background-repeat: no-repeat;
    transform: scale(1.2);
    filter: brightness(0.5);
    animation: backgroundScale 6s ease forwards, filterDark 3s ease 0.4s forwards;
}

@keyframes backgroundScale {
    from {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@keyframes filterDark {
    from {
        filter: brightness(0.5);
        /* 一開始加深，變暗 */
        opacity: 1;
    }

    to {
        filter: brightness(1);
        /* 回到原色 */
        opacity: 1;
    }
}

.main2 {
    position: relative;
    width: 100%;
    height: calc(916* var(--vw-base));
    background-image: url(../img/04/login-bg2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main2 .content {
    position: relative;
    width: calc(822* var(--vw-base));
    height: calc(502* var(--vw-base));
    display: flex;
    flex-direction: column;
    align-items: center;
    border: #313131 calc(1* var(--vw-base)) solid;
}

.main2-title {
    position: relative;
    display: flex;
    margin: calc(74* var(--vw-base)) 0 calc(84* var(--vw-base)) 0;
    justify-content: center;
    align-items: center;
}

.main2-title .txt1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: calc(5* var(--vw-base));
}

.main2-title .txt2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: calc(20* var(--vw-base));
}

.main2 h1 {
    color: #313131;
    font-size: calc(30* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: calc(30* var(--vw-base));
}

.main2 h2 {
    color: #ff4200;
    font-size: calc(40* var(--vw-base));
    font-family: "Lato-Bold";
    letter-spacing: 0.05em;
    line-height: 40* var(--vw-base);
}

.main2 h3 {
    color: #313131;
    font-size: calc(20* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: calc(20* var(--vw-base));
}

.main2 h4 {
    color: #b3b3b3;
    font-size: calc(20* var(--vw-base));
    font-family: "Lato-Bold";
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: calc(20* var(--vw-base));
}

.main2 .redline {
    position: relative;
    margin: 0 calc(17* var(--vw-base));
    width: 1px;
    height: calc(75* var(--vw-base));
    background-color: #ff4200;
    flex-shrink: 0;
}

.main2 .input {
    position: relative;
    margin-bottom: calc(31* var(--vw-base));
    width: calc(526* var(--vw-base));
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.input-title {
    position: relative;
    top: calc(6* var(--vw-base));
    color: #313131;
    font-size: calc(20* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: calc(20* var(--vw-base));
}

form input[type="text"],
form input[type="password"] {
    /* height: calc(45 * var(--vw-base)); */
    position: relative;
    display: block;
    width: calc(464* var(--vw-base));
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-appearance: none;
    outline: none;
    font-size: calc(20 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    line-height: calc(20 * var(--vw-base));
    letter-spacing: 0.05em;
    color: #313131;
    padding-bottom: calc(5 * var(--vw-base));
    border-bottom: #313131 calc(1 * var(--vw-base)) solid;
}


.btns {
    position: relative;
    display: flex;
    justify-content: center;
    gap: calc(17* var(--vw-base));
    margin-top: calc(25* var(--vw-base));
}

.btns button,#submitbtn {
    background: none;
    /* 移除背景顏色 */
    border: none;
    /* 移除邊框 */
    padding: 0;
    /* 移除內邊距 */
    margin: 0;
    /* 移除外邊距 */
    box-shadow: none;
    /* 移除陰影 */
    cursor: pointer;
    /* 指定滑鼠游標為點擊狀態 */
    outline: none;
    color: #313131;
    font-size: calc(20 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
    width: calc(160* var(--vw-base));
    height: calc(38 * var(--vw-base));
    border: #313131 calc(1 * var(--vw-base)) solid;
}

.btns button:hover,#submitbtn:hover {
    color: #74912f;
    border: #74912f calc(1 * var(--vw-base)) solid;
   transition: all 0.4s ease;
}