section#top {
    display: flex;
    background-image: url("/image/main/main-background.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    height: 970px;
    padding-top: 90px;
    align-items: center;
}

section#top div p {
    color: white;
    font-family: "Agency FB";
    margin: 0px;
}

section#top div p:nth-child(1) {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 56px;
}

section#top div p:nth-child(2) {
    font-size: 38px;
    line-height: 60px;
    margin-bottom: 72px;
}

section#top div p:nth-child(3) {
    display: inline-block;
    font-family: "Nanum Square";
    font-weight: bold;
    font-size: 23px;
    padding: 10px 22px;
    background-color: #c90000;
}

section#middle p.title {
    font-size: 48px;
    font-family: "Agency FB";
    font-weight: bold;
    margin-top: 60px;
    margin-bottom: 20px;
}

section#middle p.sub-title {
    font-size: 18px;
    line-height: 24px;
    font-family: "Nanum Square";
    color: #9b9b9b;
}

section#middle div.solution-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: space-around;
}

section#middle div.solution-inner {
    width: 25%;
    text-align: center;
}

section#middle div.solution-inner>img {
    width: 35%;
    height: auto;
}

section#middle div.solution-inner div {
    padding: 16px;
}

section#middle div.solution-inner>div>img {
    cursor: pointer;
}

section#middle div.solution-inner p {
    margin: 0px;
}

section#middle div.solution-inner p:nth-child(1) {
    font-family: "Nanum Square";
    font-weight: bold;
    font-size: 24px;
    padding-bottom: 16px;
}

section#middle div.solution-inner p:nth-child(2) {
    font-family: "Nanum Square";
    font-size: 18px;
    line-height: 32px;
    padding-bottom: 16px;
    color: #9b9b9b;
}

section#partners {
    background-color: #ededed;
}

section#partners p.title {
    font-size: 48px;
    font-family: "Agency FB";
    font-weight: bold;
    padding-top: 40px;
    margin-bottom: 40px;
    margin-top: 20px;
}

section#partners div.partners-container {
    padding: 0px 65px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 124px;
}

section#partners div.partners-container div {
    position: relative;
    width: calc(25% - 4px);
    height: 0px;
    background-color: white;
    padding-top: 9%;
    overflow: hidden;
    margin-bottom: 8px;
}

section#partners div.partners-container div img {
    position: absolute;
    width: 50%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section#map {
    background-image: url("/image/main/main-map3-blur-min.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    height: 720px;
    margin-bottom: -4px;
    align-items: center;
}

section#map div p {
    color: white;
    font-family: "Agency FB";
    margin: 0px;
}

section#map div p:nth-child(1) {
    font-size: 64px;
    font-weight: bold;
    padding-top: 120px;
    margin-bottom: 84px;
}

section#map div p:nth-child(2) {
    font-size: 26px;
    font-family: "Nanum Square";
    font-weight: bold;
    margin-bottom: 26px;
}

section#map div p:nth-child(3) {
    font-size: 28px;
}

@media all and (max-width: 1400px) {
    section#middle div.solution-inner {
        width: 50%;
        margin-bottom: 60px;
    }
    section#middle div.solution-inner>img {
        width: 40%;
    }
    section#partners div.partners-container {
        font-family: "Nanum Square";
    }
    section#partners div.partners-container div img {
        width: 160px;
    }
}

@media all and (max-width: 1600px) and (min-width: 1200px) {
    section#top {
        display: flex;
        background-image: url(/image/main/main-background.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        height: 690px;
        padding-top: 90px;
        align-items: center;
    }
    section#top div p:nth-child(1) {
        font-size: 40px;
        font-weight: bold;
        margin-bottom: 56px;
    }
    section#top div p:nth-child(2) {
        font-size: 30px;
        line-height: 50px;
        margin-bottom: 90px;
    }
    section#middle p.title {
        font-size: 36px;
        font-family: "Agency FB";
        font-weight: bold;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    section#middle p.sub-title {
        font-size: 16px;
        line-height: 24px;
        font-family: "Nanum Square";
        color: #9b9b9b;
    }
    section#middle div.solution-inner {
        width: 25%;
        margin-bottom: 0px;
    }
    section#middle div.solution-inner>img {
        width: 25%;
    }
    section#middle div.solution-inner div {
        padding: 6px;
    }
    section#middle div.solution-inner p:nth-child(1) {
        font-family: "Nanum Square";
        font-weight: bold;
        font-size: 18px;
        padding-bottom: 8px;
    }
    section#middle div.solution-inner p:nth-child(2) {
        font-family: "Nanum Square";
        font-size: 14px;
        line-height: 24px;
        padding-bottom: 8px;
        color: #9b9b9b;
    }
    section#partners p.title {
        font-size: 36px;
        font-family: "Agency FB";
        font-weight: bold;
        padding-top: 20px;
        margin-bottom: 30px;
        margin-top: 20px;
    }
    section#map {
        background-image: url("/image/main/main-map3-blur-min.jpg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        height: 540px;
        margin-bottom: 0px;
        align-items: center;
    }
    section#map div p:nth-child(1) {
        font-size: 48px;
        font-weight: bold;
        padding-top: 90px;
        margin-bottom: 68px;
    }
    section#map div p:nth-child(2) {
        font-size: 22px;
        font-family: "Nanum Square";
        font-weight: bold;
        margin-bottom: 26px;
    }
    section#map div p:nth-child(3) {
        font-size: 24px;
    }
}

@media all and (max-width: 1000px) {
    section#partners div.partners-container div {
        width: calc(50% - 4px);
        padding-top: 28%;
    }
    section#partners div.partners-container div img {
        width: 200px;
    }
}

@media all and (max-width: 600px) {
    section#top {
        height: 720px;
        padding-top: 40px;
    }
    section#top div p:nth-child(1) {
        font-size: 50px;
        line-height: 75px;
    }
    section#top div p:nth-child(2) {
        font-size: 30px;
        line-height: 50px;
    }
    section#top div p:nth-child(3) {
        font-size: 18px;
    }
    section#middle p.title {
        font-size: 40px;
    }
    section#partners p.title {
        font-size: 40px;
        padding-top: 60px;
    }
    section#map div p:nth-child(1) {
        font-size: 40px;
        color: black;
    }
    section#middle div.solution-inner {
        width: 80%;
    }
    section#partners div.partners-container {
        padding: 15px 15px;
    }
    section#partners div.partners-container div {
        width: 48%;
        padding-top: 32%;
    }
    section#partners div.partners-container div img {
        width: 90%;
    }
    section#map div p:nth-child(2) {
        font-size: 18px;
        color: #9b9b9b;
    }
    section#map div p:nth-child(3) {
        font-size: 22px;
        color: #9b9b9b;
    }
    section#map {
        background-image: inherit;
        height: 520px;
    }
}