/* reset styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
em, i {
    font-style: normal;
}
strong, b {
    font-weight: normal;
}
input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}
body {
    line-height: 1;
    background: #fff;
    color: #000;
}
@property --accent {
    syntax: "<color>";
    inherits: true;
    initial-value: #701096;
}

@keyframes accentShift {
    0%, 15% { --accent: #701096; }
    20%, 35% { --accent: #961010; }
    40%, 55% { --accent: #929610; }
    60%, 75% { --accent: #109628; }
    80%, 95% { --accent: #104A96; }
    100% { --accent: #701096; }
}
.mobile2 {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #3B3A41;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-size: 32px;
}
.mobile2.active {
    transform: translateX(0);
}
/* .counter {
    display: inline-block;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
} */

/* .counter-changing {
    opacity: 0;
    transform: scale(0.001);
} */
.mobile-header {
    display: flex;
    justify-content: flex-end;
    padding: 58px;
    padding-top: 58px;
    padding-bottom: 20px;
}
.mobile-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.mobile-menu nav{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}
.main-header-btn-3 {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
}
.main-header-btn-3 img {
    width: 17px;
    height: 17px;
}
/* body */
body {
    animation: accentShift 15s ease-in-out infinite;
    background: linear-gradient(to bottom, #3B3A41 40%, var(--accent));
    font-family: "Roboto";
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    color: white;
    display: flex;
    justify-content: center;
}
.main {
    height: calc(100vh - 20px);
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 60px;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    width: 100%;
}

/* header */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    padding-bottom: 30px;
}
.main-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-header-logo p {
    font-size: 32px;
}
.main-header-menu {
    padding: 30px 30px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    width: fit-content;
}
.main-header-menu a {
    padding: 0 15px;
}
.main-header-menu-first {
    padding-left: 0 !important;
}
.main-header-menu-end {
    padding-right: 0 !important;
}
.main-header-btn, .main-header-btn-2 {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.main-header-btn-2 {
    display: none;
}

/* body */
.main-body {
    display: flex;
    flex: 1;
    padding: 0px 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
}
.main-body-left {
    display: flex;
    flex-direction: column;
}
.main-body-left-sd {
    font-weight: 700;
    margin-top: auto;
    margin-bottom: auto;
}
.main-body-left-yc {
    display: flex;
    justify-content: space-between;
}
.main-body-left-sd p {
    font-size: 128px
}
.main-body-left-sd h1 {
    display: none;
}
.main-body-left-yc h1 {
    font-size: 128px;
}
.main-body-left-yc p {
    font-size: 24px;
    text-align: center;
}
.main-body {
    overflow: hidden;
}

.main-body-right {
    flex: 0 1 50%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-body-right img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* adaptive */
@media screen and (max-width: 1608px), (max-height: 680px) {
    .main {
        width: 100%;
        max-width: 100%;
    }
    .main-body {
        display: flex;
        flex: 1;
        padding: 0 50px 50px;
        justify-content: center;
        text-align: center;
    }
    .main-body-right img {
        display: none;
    }
    .main-body-right {
        display: none;
    }
    .main-body {
        position: relative;
        overflow: hidden;
    }
    .main-body::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("../img/body-logo.svg") center center / contain no-repeat;
        opacity: 0.1;
        pointer-events: none;
        z-index: 0;
    }
    .main-body > * {
        position: relative;
        z-index: 1;
    }
}

@media screen and (max-width: 1068px), (max-height: 670px) {
    .main-header-menu {
        display: none;
    }
    .main-header-btn {
        display: none;
    }
    .main-header-btn-2 {
        display: inline-block;
        text-align: center;
        padding: 10px;
    }
    .main-header-btn-2 img {
        width: 17px;
        height: 17px;
    }
}

.main-header-menu {
    padding: 0;
}

.main-header-menu nav {
    display: flex;
    height: 60px;
    overflow: hidden;
    border-radius: 60px;

    padding-left: 24px;
    padding-right: 24px;
}

.main-header-menu nav a {
    position: relative;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

    border-radius: 0;
    background: transparent;

    transition: background 250ms ease, color 250ms ease;
    z-index: 2;
}

.main-header-menu nav a:hover {
    background: rgba(255,255,255,0.30);
}

.main-header-menu nav a::before,
.main-header-menu nav a::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 24px;
    background: rgba(255,255,255,0.30);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 250ms ease, transform 250ms ease;
    transform: translateX(0);
}

.main-header-menu-first::before {
    left: -24px;
    transform: translateX(-6px);
}

.main-header-menu-end::after {
    right: -24px;
    transform: translateX(6px);
}

.main-header-menu-first:hover::before,
.main-header-menu-end:hover::after {
    opacity: 1;
    transform: translateX(0);
}
