@font-face {
    font-family: 'Manrope';
    src: url('./font/Manrope-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'light';
    src: url('./font/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./font/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'contact';
    src: url('./font/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./font/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./font/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./font/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ManropeVariable';
    src: url('./font/Manrope-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

a {
    font-weight: bold;
}

body {
    font-family: 'contact', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.content {
    background-image: url('./image/home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
     min-height: 420px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    position: relative;
}

.title {
    /* width: 31.5vw;
    height: 2.35vw; */
    width: 605px;
    height: 45px;
    background-image: url('./image/logo.png');
    background-size: contain;
    /* background-position: center; */
    background-repeat: no-repeat;
    margin: 4.95vw auto 0;
    /* margin: 95px auto 0; */
    cursor: pointer;
}

.coneact {
    /* font-size: 1.25vw; */
    font-size: 24px;
    color: #FFF;
    font-family: contact;
    position: absolute;
    top: 5.7vw;
    right: 3.65vw;
    /* top: 110px;
    right: 70px; */
    cursor: pointer;
}

.coneact:hover,
.coneact.active {
    border-bottom: 0.1vw solid white;
    padding-bottom: 0.4vw;
}

.content.contact-active {
    background-image: url('./image/content.png');
}

.text {
    /* font-size: 0.94vw; */
    font-size: 18px;
    text-align: center;
    color: #FFF;
    font-family: contact;
    margin-top: 15.36vw;
    max-width: 48vw;
    position: absolute;
    inset: 0;
    margin: auto;
    display: grid;
    align-items: center;
    pointer-events: none;
}

.text p {
    line-height: 2vw;
}

.text a {
    pointer-events: auto;
}

.copyRight {
    /* font-size: 0.73vw; */
    font-size: 14px;
    text-align: center;
    color: #FFF;
    font-family: light;
    position: absolute;
    bottom: 3.78vw;
    left: 0;
    right: 0;
    margin: auto;
}

.copyRight p:nth-child(1) {
    margin-bottom: 0.73vw;
}

.activeContact {
    margin-bottom: 1.04vw;
    line-height: inherit !important;
}

/* 平板设备适配 (768px - 1024px) */
@media screen and (max-width: 1366px) and (min-width: 768px) {
    .title {
        /* width: 30.75vw;
        height: 2.41vw; */
        width: 420px;
        height: 33px;
        margin: 4.95vw auto 0;
    }

    .coneact {
        /* font-size: 1.4vw; */
        font-size: 19px;
        top: 5vw;
        /* top: 68px; */
        right: 6.3vw;
    }

    .coneact:hover,
    .coneact.active {
        border-bottom: 0.15vw solid white;
        padding-bottom: 0.6vw;
    }

    .text {
        /* font-size: 1.25vw; */
        font-size: 17px;
        /* margin-top: 23.45vw; */
        max-width: 65vw;
        padding: 0 2vw;
    }

    .text p {
        line-height: 2;
    }

    .copyRight {
        /* font-size: 0.88vw; */
        font-size: 14px;
        bottom: 5.5vw;
        line-height: inherit;
        padding: 0 2vw;
    }

    .copyRight p:nth-child(1) {
        margin-bottom: 0.6vw;
    }

    .activeContact {
        margin-bottom: 1.47vw;
        line-height: inherit !important;
    }
}

/* 手机设备适配 (最大768px) */
@media screen and (max-width: 767px) {
    .title {
        width: 43.43vw;
        height: 3.16vw;
        margin: 12.7vw 0px 0 5.2vw;
    }

    .coneact {
        font-size: 3vw;
        top: 18.7vw;
        right: 5.2vw;
        display: none;
    }

    .coneact:hover,
    .coneact.active {
        border-bottom: 0.3vw solid white;
        padding-bottom: 1vw;
    }

    .text {
        font-family: contact;
        font-size: 3vw;
        /* font-size: 18px; */
        /* margin-top: 55.3vw; */
        max-width: 100%;
        /* padding: 0 5vw; */
    }

    .text p {
         line-height: 3.8vw;
    }

    .copyRight {
        font-family: light;
        font-size: 2.4vw;
        /* font-size: 15px; */
        bottom: 7.9vw;
        line-height: 2.8vw;
        /* padding: 0 3vw; */
        /* width: 64vw; */
        width: 74vw;
        /* width: 490px; */
    }

    .hamburger {
        position: absolute;
        display: block;
        top: 12.7vw;
        right: 5.2vw;
        cursor: pointer;
    }

    .line {
        display: block;
        width: 20px;
        height: 2px;
        margin: 3px auto;
        background-color: white;
        transition: all 0.3s ease-in-out;
    }

    /* X形状动画 */
    .hamburger.active .line:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .activeContact {
        margin-bottom: 3.8vw;
        line-height: inherit !important;
    }
}