/* styles.css */

/* 确保所有元素的box-sizing设置为border-box，以便更容易控制元素大小 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background: #000;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    width: 150px;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    margin: 0;
}

header nav ul li {
    margin-right: 50px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.support-portal .btn-support {
    background: #00e8ff;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero {
    position: relative;
    background: url('bg_1.jpg') no-repeat center center/cover;
    color: #fff;
    height: 80vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding-left: 20%;
    transition: background 0.5s ease-in-out;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 50%;
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.hero p.subtext {
    font-size: 1em;
    margin-top: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    padding: 8px;
    width: 100%;
}

.login-form button {
    background: #00e8ff;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.login-form button:hover {
    background: #00d2e8;
}

footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hero {
        padding-left: 10%;
        height: auto;
        text-align: center;
    }

    .hero .container {
        width: 80%;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p.subtext {
        font-size: 1em;
    }

    .login-form {
        width: 100%;
    }

    .form-group input {
        width: 100%;
    }
}
