body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url(../images/b.jpg);
    background-size: 100%;
}

.navbar {
    background-color: #0f070b;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    font-size: 24px;
}
.logo img {
    width: 110px;
}
.nav-links {
    list-style-type: none;
    display: flex;
    margin-left: 100px;
}
.nav-links li {
    margin-right: 80px;
}
.nav-links li a {
    text-decoration: none;
    color: #fff;
}
.nav-links li a:hover {
    color: #FF0;
    background-color: #960;
    padding: 10px;
}
.search-box {
    margin-right: 20px;
}
.search-box input[type="text"] {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.login-btn,
.register-btn {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #6A0000;
    color: #fff;
    text-decoration: none;
}
.login-btn:hover,
.register-btn:hover {
    background-color: #c9ad4e;
}

.box {
    width: 1200px;
    height: 300px;
    transform-style: preserve-3d;
    margin: 50px auto;
    position: relative;
}
.box img {
    width: 600px;
    height: 300px;
    position: absolute;
    top: 60px;
    transition: all .3s linear;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.box:hover .btn {
    opacity: 1;
}
.front {
    left: 0px;
}
.back {
    left: 600px;
}
.active {
    left: 300px;
    transform: scale(1.5);
    z-index: 10;
}
.btns .btn {
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
    font-size: 50px;
    font-family: "微软雅黑";
    color: rgba(255, 255, 255, .5);
    line-height: 55px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transition: opacity .3s linear;
}
.btns .btn:first-child {
    top: 175px;
}
.btns .btn:last-child {
    top: 175px;
    right: 0px;
}

.container1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 1200px;
    margin: 200px auto;
}
.text {
    flex: 1;
    padding-right: 20px;
    background-color: #960;
    color: #fff;
    padding: 20px;
}
.image {
    flex: 1;
    text-align: center;
}
.image img {
    max-width: 100%;
    height: auto;
}
video {
    margin-top: -100px;
}

.container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    width: 1200px;
    margin: 100px auto;
}
.profile {
    width: 280px;
    margin-bottom: 20px;
}
.profile img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.profile img:hover {
    transform: scale(1.2);
}
.profile .description {
    padding: 10px;
    background-color: #960;
    text-align: center;
    font-family: "隶书";
    color: #fff;
    font-size: 24px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

footer {
    background-color: #0f070b;
    padding: 50px;
    text-align: center;
    border-top: 10px #8b0000 solid;
    color: #fff;
}
main {
    width: 1200px;
    margin: 0 auto;
}

.a {
    border: 5px #fff solid;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
}
.text1 {
    border: 2px #960 solid;
    padding: 30px;
    background-color: #FFF;
    margin: 20px;
    border-left: 7px #000000 solid;
    border-right: 7px #000000 solid;
}
main h2 {
    font-family: "隶书";
    text-align: center;
    font-size: 36px;
}
.text1:hover {
    background-color: #990;
    color: #FFF;
}

.container3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    width: 1200px;
    margin: 100px auto;
}
.profiles {
    width: 550px;
    margin-bottom: 20px;
}
.profiles img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.profiles img:hover {
    transform: scale(0.8);
}
.profiles .descriptions {
    padding: 10px;
    background-color: #E5E5E5;
    color: #333;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
