section
{
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container
{
    position: relative;
    min-width: 1100px;
    min-height: 550px;
    display: flex;
    z-index: 1000;
}
.container .contactInfo
{
    position: absolute;
    top: 40px;
    width: 350px;
    height: calc(100% - 80px);
    background-color: #f4a12b;
    z-index: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 5px 20px  black;
    border-radius: 12px;
}
.container .contactInfo h2
{
    color: white;
    font-size: 24px;
    font-weight: 500;
}
.container .contactInfo ul.info
{
    position: relative;
    margin: 20px 0;
}
.container .contactInfo ul.info li
{
    position: relative;
    list-style: none;
    display: flex;
    margin: 20px 0;
    cursor: pointer;
    align-items: flex-start;
}
.container .contactInfo ul.info li span:nth-child(1)
{
    width: 50px;
    min-width: 50px;
}
.container .contactInfo ul.info li span:nth-child(1) img
{
    max-width: 100%;
    filter: invert(1);
}
.container .contactInfo ul.info li span:nth-child(2) 
{
    margin-left: 10px;
    font-weight: 300;
}
.container .contactInfo ul.info li span:nth-child(2) a
{
    color: white;
    font-size: 15px;
}
.container .contactForm
{
    position: absolute;
    padding: 70px 50px;
    padding-left: 250px;
    margin-left: 150px;
    width: calc(100% - 150px);
    height: 100%;
    background-color: white;
    box-shadow: 0px 10px 40px black;
    border-radius: 12px;
}
.container .contactForm h2
{
    color: black;
    font-size: 30px;
    font-weight: 500;
}
.container .contactForm .formBox
{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}
.container .contactForm .formBox .inputBox
{
    position: relative;
    margin-bottom: 35px;
}
.container .contactForm .formBox .inputBox.w50
{
    width: 47%;
}
.container .contactForm .formBox .inputBox.w100
{
    width: 100%;
}
.container .contactForm .formBox .inputBox input,
.container .contactForm .formBox .inputBox textarea
{
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 300;
    color: black;
    border: none;
    outline: none;
    border-bottom: 1px solid black;
}
.container .contactForm .formBox .inputBox textarea
{
    height: 120px;
}
.container .contactForm .formBox .inputBox span
{
    position: absolute;
    left: 0;
    padding: 5px 0;
    pointer-events: none;
    font-size: 18px;
    font-weight: 300;
    transition: 0.3s;
}
.container .contactForm .formBox .inputBox input:focus ~ span,
.container .contactForm .formBox .inputBox input:valid ~span,
.container .contactForm .formBox .inputBox textarea:focus ~ span,
.container .contactForm .formBox .inputBox textarea:valid ~span
{
    transform: translateY(-20px);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #f4a12b;
    font-weight: 500;
}
.container .contactForm .formBox .inputBox input[type ="submit"]
{
    position: relative;
    cursor: pointer;
    background: #00a4ff;
    color: white;
    border: none;
    max-width: 150px;
    padding: 12px;
}
.container .contactForm .formBox .inputBox input[type ="submit"]:hover
{
    background: #aee3ff;
}
@media (max-width:1200px)
{
    .container
    {
        width: 90%;
        min-width: auto;
        margin: 20px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    }
    .container .contactInfo
    {
        top: 0;
        height: 500px;
        position: relative;
        box-shadow: none;
    }
    .container .contactForm
    {
        position: relative;
        width: calc(100%-350px);
        padding-left: 0;
        margin-left: 0;
        padding: 40px;
        height: 550px;
        box-shadow: none;
    }
}
@media (max-width: 991px)
{
    section
    {
        background: white;
    }
    section::before
    {
        display: none;
    }
    .container
    {
        display: flex;
        flex-direction: column-reverse;
    }
    .container .contactForm
    {
        width: 100%;
        height: auto;
    }
    .container .contactInfo
    {
        width: 100%;
        height: auto;
        flex-direction: row;
    }
}
@media (max-width: 600px)
{
    .container .contactForm
    {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .container .contactForm .formBox .inputBox.w50
    {
        width: 100%;
    }
}
