@font-face {
    font-family: poppins-bold;
    src: url(../font/Poppins-Bold.otf);
}

@font-face {
    font-family: nanumsquare;
    src: url(../font/NanumSquareR.otf);
}

@font-face {
    font-family: nanumsquare-bold;
    src: url(../font/NanumSquareB.otf);
}

body{
    font-family: nanumsquare;
    margin: 0;
}

.top-menu-bar{
    display: flex;
    position: fixed;
    z-index: 2;
    background: white;
    width: 70%;
    top: 0;
    justify-content: space-between;
    align-items: center;
    padding : 10px 15%;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.25);
}

.top-menu-bar > img {
    height: 40px;
}

.top-menu-bar > div {
    display: flex;
    column-gap: 10px;
}

.top-menu-bar > div > img {
    height: 40px;
}

.banner {
    background-image: url('../img/banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 85%;
    height: 80vh;
    padding : 10% 0 0 15%;
    overflow: hidden;
}

.banner > h1 {
    font-family: poppins-bold;
    font-weight: bold;
    font-size: 72px;
    line-height: 82px;
    letter-spacing: -0.04em;
    color: #DF1F26;
}

.banner > .sub-title{
    font-size: 28px;
    line-height: 31px;
    letter-spacing: -0.01em;
    color: #DF1F26;
}

.banner > .banner-description {
    font-size: 24px;
    line-height: 160%;
    letter-spacing: -0.01em;
    color: #8D8F92;
}

.service {
    padding : 0 27%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service > div:first-child {
    text-align: right;
}

.service > p {
    font-weight: bold;
    font-size: 24px;
    margin-top: 100px;
    line-height: 160%;
    text-align: center;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.service > div > h1{    
    font-family: poppins-bold;
    padding-top: 100px;
    font-weight: bold;
    font-size: 64px;
    margin: 0;
    letter-spacing: -0.04em;
    color: #DF1F26;
}

.service > div > p{    
    margin: 0;
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    text-align: right;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.service > p > span {
    color: #DF1F26;
}

.service-box {
     display: flex;
     flex-direction: column;
    padding-top: 100px;
     row-gap: 100px;
}

.box {
    width: 72px;
}

.graph {
    width: 103px;
}

.community {
    width: 105px;
}

.service-box > div > p {
    font-weight: bold;
    font-size: 18px;
    line-height: 160%;
    text-align: center;
    letter-spacing: -0.01em;
    color: #8D8F92;
}

.service-box > div > p > span {
    color: #DF1F26;
}

.service-description {
    text-align: left !important;
    font-weight: bold;
    font-size: 18px !important;
    line-height: 160% !important;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.service-description > span {
    color: #DF1F26;
}

.system{
    width: 50%;
    padding : 0 25% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.system > h1 {
    font-size: 36px !important;
    margin-top: 200px !important; 
    line-height: 40px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #221E1F !important;
}

.system > h1 > span {
    color: #DF1F26;
}

.system > img {
   width:  75%;
   padding : 15% 0 ;
}

.system > p {
    font-weight: bold;
    text-align: left !important;
    font-size: 18px !important;
    line-height: 160% !important;
    letter-spacing: -0.01em;
    color: #221E1F;
    padding-bottom: 50px;
}

.system > p > span {
    color: #DF1F26;
}

.befor-after {
    display: flex;
    flex-direction: column;
    justify-content : center;
}

.before-after > div {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 17px;
}

.before-after > div > img {
    width: 300px;
}

.before-after > img {
    width: 130% ;
    margin-left: -12% !important;
    padding-top: 10px;
}

.power-nap {
    display: flex;
    flex-direction: column;
    padding-top: 200px;
    justify-content: center;
    align-items: center;
}

.power-nap > h1 {
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.power-nap > h1 > span{
    color: #DF1F26;
}

.power-nap > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 40%;
    row-gap: 17px;
    margin-left: 10%;
}

.power-nap > div > img {
    width: 110%;
    margin-left: -15%;
    padding-top: 50px;
    padding-bottom: 40px;
}

.power-nap > div > div {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.power-nap > div > div > p {
    margin: 0 !important;
}

.power-nap > div > div > p > span {
    color: #DF1F26;
}

.power-nap > div > div > img {
    width: 20px;
}

.certificate {
    display: flex;
    flex-direction: column;
    padding-top: 200px;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
}

.certificate > h1 {
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #221E1F;
}

.certificate > h1 > span{
    color: #DF1F26;
}

.certificate > img {
    width: 70%;
    padding-top: 50px;
    padding-bottom: 40px;
}

.certificate-box{
    display: flex;
    flex-wrap: wrap;
    padding : 0 0 0 15%;
}

.certificate-box > div {
    display: flex;
    align-items: center;
    column-gap: 7px;
    width: 30%;
}

.certificate-box > div > img {
    width: 20px;
}

.footer {
    display: flex;
    justify-content: center;
    border: 1px solid #8D8F92;
    padding: 1%;
}

.footer > img {
    width: 7%;
}


.mobile-footer {
    display: none;
}

@media screen and (max-width: 786px) { 
    body {
        max-width: 400px;
    }
    .top-menu-bar{
        width: 100vw;
        justify-content : center;
        padding : 2% 0;
    }
    .top-menu-bar > div {
        display: none;
    }
    .banner{
        padding : 0 0 0 5%;
        background-size: 180%;
        background-position: 37% 40%;
        width: 100vw;
    }
    .banner > h1 {
        font-size: 36px;
        padding-top: 14%;
        line-height: 130%;
    }
    .banner > .sub-title {
        font-size: 18px;
        letter-spacing: -0.01em;
        font-weight: bold;
        font-family: nanumsquare-bold;
    }

    .banner > .banner-description {
        font-size: 14px;
        font-weight: bold;
        font-family: nanumsquare-bold;
    }

    .service {
        padding: 0;
    }

    .service >div > h1 {
        padding : 0;
        font-size: 36px;
        text-align: center;
        line-height: 100%;
    }

    .service > div > p {
        font-size: 18px;
        font-family: nanumsquare-bold;
    }
    .service > p {
        font-size: 14px;
        margin-top: 50px;
    }
    .service-box {
        padding-top: 50px;
        row-gap: 50px;
    }
    .service-box > div > p{
        font-size: 12px;
    }

    .box {
        width: 50px;
    }

    .graph {
        width: 80px;
    }

    .community {
        width: 83px;
    }

    .service-description {
        font-size: 14px !important;
        padding: 0 5%;
    }

    .system {
        padding : 0 !important;
        width: 100%;
    }

    .system > h1 {
        font-size: 16px !important;
    }

    .system > img {
        padding : 40px 0;
    }

    .system > p {
        font-size: 14px !important;
        margin-top: 0;
        padding : 0 5% 50px 5%;
    }
    .before-after > div > img {
        width: 150px;
    }
    .before-after > img {
        width: 120%;
        margin-left: -8% !important;
    }
    .power-nap {
        padding-top: 50px;
        padding : 50px 0 0 0;
    }
    .power-nap > h1 {
        font-size: 18px;
    }
    .power-nap > div {
        width: 90%;
        margin-left: 10%;
    }
    .power-nap > div > img {
        width: 100%;
        margin-left: -5%;
        padding-bottom: 20px;
    }
    .power-nap > div > div > p {
        font-size: 12px;
    }
    .certificate > h1 {
        font-size: 18px;
    }
    .certificate > img {
        width: 100%;
    }

    .certificate-box{
        display: flex;
        flex-wrap: wrap;
        padding : 0 0 0 5%;
    }

    .certificate-box > div {
        display: flex;
        align-items: center;
        column-gap: 7px;
        width: 50%;
    }

    .certificate-box > div > p {
        font-size: 8px !important;
    }

    .certificate-box > div > img {
        width: 14px;
    }

    .footer {
        display: none;
    }
    .mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }
    .mobile-footer > img {
        width: 30%;
    }
}
