/* 全局样式 */
html {
    font-size: 10px;
}
body,
html {
  padding: 0;
  margin: 0;
  background-color: #fff;
  color: #333;
  /* scroll-behavior: smooth; */
}

:root {
    --main-width: 100%;
}

.round-button {
    border-radius: 5rem;
    height: 4rem;
    background-color: transparent;
    cursor: pointer;
    margin: 0 0.8rem;
    padding: 0 2.4rem;
    border: solid #333 0.1rem;
    color: #333;
    font-size: 1.3rem;
}

.main {
    width: var(--main-width);
    padding: 0 0.5rem;
}

.primary-button {
    background-color: #05CECF;
    color: white;
    border: none;
}

.popup {
    position: absolute;
    top: calc(100% + 3rem);
    width: 25rem;
    left: -50%;
    margin-left: -50%;
    background-color: #fff;
    border-radius: 1rem;
    visibility: hidden;
    opacity: 0;
    padding: 2rem;
    border: 0.1rem solid rgb(229,230,235);
    box-shadow: 0 .4rem 1rem #0000001a;
    transition: transform 0.3s ease;
    transform: scale(0.1);
    transform-origin: 50% 0%;
}

.popup:after {
    content: "";
    background: #fff;
    border: .1rem solid rgb(229,230,235);
    box-sizing: border-box;
    height: .8rem;
    width: .8rem;
    top: 0;
    left: 50%;
    pointer-events: auto;
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(45deg);
    border-bottom: none;
    border-right: none;
}

header {
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: -webkit-sticky; /* Safari */
    position: sticky; 
    top: 0; 
    box-shadow: 0 .1rem 2rem 0 rgba(5, 0, 1, 0.1);
    background-color: white;
}

header .main {
    display: flex;
    justify-content: space-between;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo .logo-icon {
    width: 4rem;
    height: 4rem;
}
header .logo .logo-word {
    height: 3rem;
    margin-left: 1.6rem;
}

header .concat-us {
    position: relative;
}

header .concat-us:hover .popup {
    width: 25rem;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    display: flex;
    align-items: center;
    text-align: left;
}

header .concat-us .popup .qrcode {
    width: 10rem;
    margin-right: 1.5rem;
}

section .home-background{
    width: 100%;
    display: block;
}

footer {
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    background-color: #333;
}
footer .content {
    display: flex;
    color: white;
    font-size: 1.3rem;
    flex-direction: column;
    align-items: center;
}

footer .content a {
    text-decoration: none;
    color: white;
}

@media (min-width: 600px) {
    footer .content {
        justify-content: space-between;
        flex-direction: row;
    }
}

@media (min-width: 1000px) {
    :root {
        --main-width: 86%;
    }
}