/* fonts  */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* background: linear-gradient(rgba(0, 0, 50, 0.7), rgba(0, 0, 50, 0.7)), url('../images/background.jpg'); */
    /* background-color: #ffd301 !important; */
    background-image: url('./img/login-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.message {
    text-align: left;
    /* background: #ffffff; */
    padding: 15px 0px;
    color: #232D4B;
}





.container {
    margin-top: 60px;
    margin: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    border-radius: 5px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 垂直對齊方式 */
}

/* 左側區域的寬度調整 */
.left-panel {
    flex: 1;
    /* 設定左側區域擴展為主要區塊 */
    margin-right: 20px;
    /* 右側留空間給右邊面板 */
}

/* 右側區域的寬度調整 */
.right-panel {
    width: 30%;
    /* 調整右側區域的寬度 */
    max-width: 400px;
    /* 最大寬度 */
    margin-left: auto;
    /* 自動靠右 */
    border-radius: 5px;
    background-color: #FFD300;
    /* 背景顏色 */
    padding: 20px;
    /* 內距 */
}

.form-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;

}

.logo img {
    width: 200px;
    display: block;
    margin: 0 auto;
}

.separator {
    height: 0.5px;
    background-color: #c5c5c5;
    margin: 30px 0;
    width: 100%;

}


.box {
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    padding: 35px 35px;
    border-radius: 5px;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1), 0 32px 64px -48px rgba(0, 0, 0, 0.5);
}

.form-box {
    width: 450px;
    margin: 50px 10px;
}

.input-container {
    display: flex;
    width: 80%;
    margin: 15px;
}

.button {
    background-color: #232D4B;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 77%;
    height: 50px;
    font-size: 16px;
}

.button:hover {
    background-color: #373e55;
}

.icon {
    padding: 15px;
    background: transparent;
    color: #555;
    background-color: #f1f1f1;
    min-width: 50px;
    text-align: center;
    cursor: pointer;
}

.input-field {
    width: 100%;
    padding: 10px;
    height: 50px;
    outline: none;
    border: none;
    font-size: 15px;
    background-color: #f1f1f1;
}

.input-field:focus {
    color: #2B547E;
}







.remember {
    display: flex;
    font-size: 15px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.remember .check {
    margin-right: 5px;
}

.remember span {
    margin-left: 105px;
}

.remember span a {
    text-decoration: none;
    color: #2B547E;
}

.remember span a:hover {
    font-weight: bold;
}


/* wrong password */
.btn {
    height: 45px;
    width: 250px;
    background-color: #232D4B;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    /* padding: 0 15px; */
    /* margin: auto; */

}

.btn:hover {
    opacity: 0.7;
}


.links {
    margin: 25px;
    text-align: center;
}

.links a {
    text-decoration: none;
    color: #2B547E;
}

.links a:hover {
    font-weight: bold;
}


/* home page  */

.nav {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    line-height: 60px;
    z-index: 100;
}

.logo {
    font-size: 25px;
    font-weight: 900;
}

.logo a {
    text-decoration: none;
    color: #000;
}

.right-links a {
    padding: 0 10px;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.main-box {
    display: flex;
    flex-direction: column;
    width: 70%;
}

.main-box .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bottom {
    width: 100%;
    margin-top: 20px;
}

@media only screen and (max-width: 840px) {
    .main-box .top {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .top .box {
        margin: 10px 10px;
    }

    .bottom {
        margin-top: 0;
    }
}