/* banner */
.image_container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner_box {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    /* 不让图片超出容器 */
    overflow: hidden;
}

.banner {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 1s ease-in-out;
}

.banner_box:hover .banner {
    transform: scale(1.1);
}

.banner-text {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 54px;
}

.banner_box:hover .slide-in-left {
    font-size: 50px;
    transition: all 1s ease-out;
}

.banner_box:not(:hover) .slide-in-left {
    font-size: 64px;
    transition: all 1s ease-out;
}

.banner_box:hover .slide-in-right {
    font-size: 18px;
    transition: all 1s ease-in-out;
}

.banner_box:not(:hover) .slide-in-right {
    font-size: 24px;
    transition: all 1s ease-in;
}

/* 左进场动画 */
.slide-in-left {
    font-size: 64px;
    font-weight: bold;
    font-family: 'Impact';
    letter-spacing: 3px;
    animation: slide-in-left 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

/* 右进场动画 */
.slide-in-right {
    font-size: 20px;
    font-family: Arial;
    animation: slide-in-right 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(1000px);
        transform: translateX(1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.contact {
    box-sizing: border-box;
    padding: 30px 35px;
    background: #F1F1F1;
}

/* 联系方式 */
.contact_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 96px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.15);
}

.yx_icon {
    width: 45px;
    height: 45px;
    background-image: url("../../img/contact/yx.png");
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.yx_icon:hover {
    background-image: url("../../img/contact/yx_active.png");
}


.contact_txt {
    margin-left: 20px;
    font-size: 22px;
    font-weight: 700;
    font-family: Arial;
    color: rgba(216, 12, 36, 1);
}


/* 留资 */
.contact_title {
    text-align: center;
    margin: 90px auto 0 auto;
}

.contact_title h1 {
    font-size: 64px;
    font-family: Impact;
}

.contact_title dd {
    font-size: 24px;
    font-family: Arial;
    line-height: 30px;
}

/* 表单 */
form {
    box-sizing: border-box;
    margin: 30px auto;
    padding: 20px;
}

/* 下拉列表样式 */
label {
    display: block;
    margin-bottom: 10px;
    line-height: 30px;
    font-size: 26px;
    font-family: Arial;
    color: #666;
}

#subject {
    width: 100%;
    height: 60px;
    font-size: 22px;
    padding: 0 10px;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ccc;
    margin-bottom: 30px;
    background: transparent;
}

.nickname {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.nickname div {
    width: 48%;
}

/* 文本框样式 */
.input_txt,
input[type='tel'],
textarea {
    width: 100%;
    height: 60px;
    padding: 3px 10px;
    font-size: 22px;
    border: 1px solid #838282;
    box-sizing: border-box;
    margin-bottom: 50px;
    resize: vertical;
    background: transparent;
}

.active {
    border: 1px solid red !important;
}


/*手机号 */
.phnoe_container {
    display: flex;
}

.country_container {
    position: relative;
}

.country_container:hover .options {
    display: block;
}

.options {
    display: none;
    position: absolute;
    overflow-y: scroll;
    width: 300px !important;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.options li {
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 14px;
}

.options li:hover {
    background-color: #ccc;
}

.options li img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
}

.inp {
    display: block;
    border-left: none !important;
}

.country {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #ccc;
    border-right: none;
    width: 80px;
    height: 35px;
}

.country img:nth-child(1) {
    width: 15px;
    height: 10px;
}

.country img:nth-child(2) {
    width: 15px;
    height: 10px;
}

.term {
    display: flex;
    align-items: baseline;
    height: 20px;
}

.term a {
    font-size: 26px;
    color: #666;
}

input[type="checkbox"] {
    margin-right: 10px;
    width: 26px;
    height: 26px;
}

.btn {
    margin-top: 50px;
    border: none;
    width: 100%;
    height: 60px;
    font-size: 26px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(216, 12, 36, 1);
    cursor: pointer;
}