/* banner */
.image_container {
    /* margin-top: 60px; */
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

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

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

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

.address-container {
    position: relative;
    margin: 75px auto;
    width: 40%;
    height: 150px;
}

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

.banner_box:not(:hover) .slide-in-left {
    font-size: 56px;
    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: 20px;
    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 {
    margin-top: 20px;
    font-size: 24px;
    font-family: 'Cairo', sans-serif;
    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_container {
    position: relative;
    top: -75px;
    margin: 0 auto;
    width: 40%;
    height: 150px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.15);
}

.contact_div1 {
    height: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    overflow: hidden;
}

.contact_div1 a {
    text-align: center;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}


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

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

.address-icon {
    justify-self: center;
}

.contact_txt {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    color: rgba(216, 12, 36, 1);
    justify-self: center;
}


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

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

.contact_title dd {
    font-size: 24px;
    font-family: 'Cairo', sans-serif;

}

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

/* 下拉列表样式 */
label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Cairo', sans-serif;
    color: #666;
}

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

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

.nickname div {
    width: 48%;
}

/* 文本框样式 */
.input_txt,
input[type='tel'],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 30px;
    resize: vertical;
}

.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;
}

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

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


/* 嵌入 */

.qr_container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    min-width: 1000px;
    box-sizing: border-box;
    z-index: 999;
    animation: fadeInOut2 .3s ease-in-out;
    overflow-x: hidden;
    /* opacity: 0; */
}

@keyframes fadeInOut2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.close_icon {
    position: absolute;
    top: 12%;
    right: 100px;
    z-index: 999;
    transition: transform 0.5s ease-out;
}

.close_icon:hover {
    transform: rotate(90deg);
}

.qr_box {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 30px 0;
    width: 75%;
    height: 70vh;
    border-radius: 20px;
    z-index: 999;
    background-color: #fff;
}

.overlay {
    display: block;
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    pointer-events: none;
    z-index: 99;
}
