main .contact{
    background-color: white;
    min-width: 700px;
    margin: 15px auto;
    border-radius: 20px;
}
main .contact > div{
    display: flex;
    gap: 50px;
    justify-content: space-around;
}
main .contact > div > div{
    max-width: calc( 50% - 25px);
    order: 2;
}
main .contact > div > div:nth-child(2){
    order: 1;
}
main .contact > div h4{
    font-size: 29px;
    color: var(--second-color);
    font-weight: 900;
    word-spacing: 2px;
    margin-bottom: 20px;
}
main .contact > div p{
    margin: 10px 0;
}
main .contact > div form label{
    display: block;
    letter-spacing: .5px;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 0;
    margin-top: 7px;
    color: var(--second-color);
}
main .contact > div form input,
main .contact > div form textarea{
    width: 100%;
    padding: 10px 15px;
    display: block;
    border-radius: 15px;
    border: none;
    background-color: #f1e8ca2e;
    outline: solid #ffc61163 1px;
    letter-spacing: .5px;
    color: #333;
    font-weight: 600;
    text-align: left;
}
main .contact > div form textarea{
    resize: none;
    min-height: 125px;
}
main .contact > div form input[type='submit']{
    color: white;
    background-color: #2c7599bd;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin-top: 26px;
    cursor: pointer;
    padding: 6px;
    transition: .3s;
}
main .contact > div form input[type='submit']:hover{
    transform: translateY(-5px);
    background-color: #2c7599;
}
main .contact > div >div:nth-child(2) img{
    max-width: 229px;
    margin-bottom: 40px;
    margin: 53px 0;
}
main .contact > div >div:nth-child(2) .cont .icon{
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    opacity: .9;
    margin-left: 11px;
    color: #555;
}
main .contact > div >div:nth-child(2) .cont span{
    font-size: 15px;
    letter-spacing: .5px;
    color: #555;
}
main .contact > div >div:nth-child(2) > div:last-child{
    margin-top: 25px;
}
main .contact > div >div:nth-child(2) > .social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-decoration: none;
    background-color: #1e5b79;
    color: white;
    font-size: 26px;
    margin: 0 5px;
    transition: .4s;
}
main .contact > div >div:nth-child(2) > div:last-child a:hover{
    transform: translateY(-5px);
}
p.error{
    color: red;
    font-size: 14px;
    letter-spacing: .2px;
    background-color: #ffebeb;
    padding: 5px;
}
@media(max-width:700px){
    main .contact > div{
        flex-direction: column;
    }
    main .contact > div > div{
        max-width: 100%;
    }
    main .contact > div >div:nth-child(2) img{
        display: block;
        margin: 30px auto;
    }
    main .contact > div >div:nth-child(2) > div{
        /*margin-right: 50px;
        margin-bottom: 40px;*/
    }
}