* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif, 'Bebas Neue', cursive, 'Poppins', sans-serif;
}

ul {
    list-style: none;
}

.contact {
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("../../../ALOFIO/WEBSITE 2021-1/img/HEADER-5.jpg");
    background-size: cover;
}

    .contact .content {
        max-width: 800px;
        margin-top: 10px;
        text-align: center;
    }

        .contact .content h2 {
            font-size: 50px;
            font-weight: 500;
            color: #fff;
        }

        .contact .content h3 {
            font-size: 16px;
            font-weight: 500;
            color: #fff;
        }

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 150px;
}

    .container .contactInfo {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

        .container .contactInfo .box {
            position: relative;
            padding: 20px 0;
            display: flex;
        }

            .container .contactInfo .box .icon {
                min-width: 40px;
                height: 40px;
                background: #2f56a5;
                color: #e2f0fb;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                font-size: 20px;
            }

            .container .contactInfo .box .text {
                display: flex;
                margin-left: 20px;
                font-size: 16px;
                color: #fff;
                flex-direction: column;
                font-weight: 300;
            }

                .container .contactInfo .box .text h3 {
                    font-weight: 500;
                    font-size: 20px;
                    color: #e2f0fb;
                }

                .container .contactInfo .box .text p {
                    font-weight: 300;
                    font-size: 16px;
                    color: #fff;
                }

                .container .contactInfo .box .text p2 {
                    font-weight: 500;
                    font-size: 16px;
                    color: #fff;
                }

.contactForm {
    width: 40%;
    padding: 40px;
    background: #fff;
}

    .contactForm h2 {
        font-size: 30px;
        color: #333;
        font-weight: 500;
    }

    .contactForm .inputBox {
        position: relative;
        width: 100%;
        margin-top: 10px;
    }

        .contactForm .inputBox input,
        .contactForm .inputBox textarea {
            width: 100%;
            padding: 5px 0;
            font-size: 16px;
            margin: 10px 0;
            border: none;
            border-bottom: 2px solid #333;
            outline: none;
            resize: none;
        }

        .contactForm .inputBox span {
            position: absolute;
            left: 0;
            padding: 5px 0;
            font-size: 16px;
            margin: 10px 0;
            pointer-events: none;
            transition: 0.5s;
            color: #777777;
        }

        .contactForm .inputBox input:focus ~ span,
        .contactForm .inputBox input:valid ~ span,
        .contactForm .inputBox textarea:focus ~ span,
        .contactForm .inputBox textarea:valid ~ span {
            color: #2f56a5;
            font-size: 12px;
            transform: translateY(-20px);
        }

        .contactForm .inputBox input[type="submit"] {
            width: 100px;
            background: #2f56a5;
            color: #fff;
            border: none;
            cursor: pointer;
            padding: 10px;
            font-size: 18px;
        }

.home a {
    background: #2f56a5;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    color: #e2f0fb;
    text-decoration: none;
}

    .home a:hover {
        background: #e2f0fb;
        color: #2f56a5;
    }

@media (max-width: 991px) {
    .contact {
        padding: 50px;
    }

    .container {
        flex-direction: column;
    }

        .container .contactInfo {
            margin-bottom: 40px;
        }

        .container .contactInfo,
        .contactForm {
            width: 100%;
        }
}
