@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@font-face {
    font-family: 'FagoNoBlackTF';
    src: url('./Resource/font/FagoNoBlackTF.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FagoNoBoldLF';
    src: url('./Resource/font/FagoNoBoldLF.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FagoNoBlackTFSC';
    src: url('./Resource/font/FagoNoBlackTFSC.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'FagoNoBoldLFSC';
    src: url('./Resource/font/FagoNoBoldLFSC.otf');
    font-weight: bold;
    font-style: normal;
}
html {
    font-family: PingFangSC, PingFang SC;
}

body, p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    font-size: 14px;
}

.header {
    position: relative;
}

.header-bg {
    background-color: #66FF69;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    height: 280px;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}

.logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dogeMoney {
    position: absolute;
    top: 200px;
    left: 50%;
    height: 260px;
    transform: translate(-50%, -50%);
}

.info {
    text-align: center;
    font-family: 'FagoNoBlackTF';
}

.info-number {
    font-size: 100px;
    color: rgba(0,0,0,0.8);
    line-height: 117px;
    text-align: center;
    font-style: normal;
}

.info-desc {
    font-family: 'FagoNoBlackTF';
    font-size: 36px;
    color: rgba(0,0,0,0.8);
    text-align: center;
    font-style: normal;
}

.subscrible {
    text-align: center;
    width: 80%;
    margin: 30px auto;
}

.subscrible-input {
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    width: 80%;
    margin: 0 auto;
    border-radius: 25px;
    padding: 0px 20px;
}

.subscrible button {
    font-family: 'FagoNoBlackTF';
    background-color: #66FF69;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border: none;
    border-radius: 20px;
    margin-top: 20px;
    padding: 0px 10px;
}

button[disabled] {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

@keyframes dogeMove {
    0% {
        opacity: 0;
        transform: translateX(-300px);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-150px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes dogeMove2 {
    0% {
        opacity: 0;
        transform: translateX(300px);
    }
    50% {
        opacity: 0.3;
        transform: translateX(150px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.modal {
  font-size: 14px;
}

.doge {
    position: relative;
    display: flex;
    width: 100%;
    margin-top: 55px;
}

.doge img {
    width: 70%;
}

.doge img.dog-yellow {
    position: relative;
    top: 20px;
    animation-name: dogeMove;
    animation-duration: 0.5s;
    animation-timing-function:linear
}

.doge img.dog-green {
    position: absolute;
    z-index: -1;
    right: 0%;
    animation-name: dogeMove2;
    animation-duration: 0.5s;
    animation-timing-function: linear;
}

.slug {
    font-family: 'FagoNoBlackTF';
    font-size: 48px;
    color: #CACACA;
    text-align: center;
    margin: 18px 0;
}

.intro {
    position: relative;
    margin-top: 40px;
}

.intro .color {
    background-color: #66FF69;
    height: 14px;
    width: 120%;
    transform: skewY(-5deg);
    position: absolute;
}

.intro .name {
    font-family: 'FagoNoBlackTF';
    font-size: 36px;
    color: #222222;
    text-align: center;
    margin-top: 18px;
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
}

.feature {
    margin: 100px 35px 0px 35px;
}

.feature-title {
    font-family: 'FagoNoBlackTFSC';
    font-size: 14px;
    line-height: 28px;
}

.feature-intro {
    font-family: 'FagoNoBoldLF';
    font-size: 26px;
}

.feature-desc {
    font: 16px;
    margin: 26px 0px;
}

@keyframes imageShow {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    50% {
        transform: translateY(50px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0px);
        opacity: 1
    }
}
.feature-image {
    text-align: center;
    margin-bottom: 100px;
}

.feature-image .animation {
    animation-name: imageShow;
    animation-duration: 0.5s;
    animation-timing-function: linear;
}

.footer {
    position: relative;
    height: 50px;
    margin-bottom: 100px;
}

.footer .color {
    background-color: #66FF69;
    height: 14px;
    width: 120%;
    transform: skewY(5deg);
    position: absolute;
}

.footer .copyright {
    color: #22222288;
    font-size: 12px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen  and (min-width: 980px) {
    .container {
        width: 980px;
        margin: 0 auto;
        overflow: hidden;
    }
    .feature-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
    .header-bg {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    }
    .doge img.dog-yellow {
        top: 30px;
        rotate: calc(-3deg - var(--velocity)*.25deg);
        --translateY: -6%;
        translate: calc(var(--offsetX)*1px) calc(var(--offsetY)*1px + var(--translateY))
    }
    .intro {
        display: none;
    }


    .footer .color {
        display: none;
    }
    .footer .copyright {
        position: relative;
    }
    .footer .copyright {
        text-align: left;
    }

    .subscrible {
        position: relative;
        display: flex;
        margin: 30px auto;
        width: 500px;
        justify-items: center;
        align-items: center;
        position: relative;
    }
    .subscrible input {
        width: 100%;
        font-size: 20px;
        padding-right: 142px;
    }
    .doge img.dog-green {
        top: -20px;
    }
    .subscrible button {
        margin: 0;
        position: absolute;
        right: 10px;
    }
}