@charset "UTF-8";

html, body, p, ul, li {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

header {
    background-color: #637588;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.navbar-container {
    display: flex;
    justify-content: center;
}

.navbar {
    background-color: #637588;
    overflow: hidden;
}

.nav-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    float: left;
}

.nav-item a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav-item a:hover {
    background-color: black;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    z-index: 1;
    list-style: none;
    padding: 0;
}

.dropdown-menu a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-menu a:hover {
    background-color: #111;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.modal-body {
    padding: 10px 0;
    line-height: 1.6;
    color: #555;
}

main {
    flex: 1;
    margin: 20px auto;
    max-width: 1000px;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 90%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: relative;
    width: 100%;
    max-height: 80vh;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin: 0 auto;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.carousel img.active {
    display: block;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #F6BF22;
}

footer {
    background-color: #637588;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer a {
    text-decoration: none;
    color: white;
}

.beian {
    color: #F6BF22;
}