main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 0;
}
.info { 
    display: flex;
    flex-direction: column;
    h1 {
        margin-bottom: 30px;
        font-size: 30px;
        font-weight: 600;
    }
    & > a, p  {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        font-weight: 500;
        color: var(--second);
        &::before {
            content: '\e001';
            font-family: 'icon';
            font-size: 14px;
            line-height: 14px;
        }
    }
    p {
        margin-bottom: 40px;
        &::before {
            content: '\e005';
            font-weight: 400;
        }
    }
    .social {
        display: flex;
        gap: 18px;
        a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            &::after {
                content: '\e006';
                font-family: 'icon';
                font-size: 40px;
                color: var(--second);
                opacity: 1;
                transition: .3s linear;
            }
            &.facebook::after {
                content: '\e008';
            }
        }
    }
}
form {
    display: flex;
    flex-direction: column;
    padding: 40px 60px 60px;
    background: var(--main);
    border-radius: 20px;
    h2 {
        font-size: 30px;
        font-weight: 500;
        margin-bottom: 30px;
    }
    textarea, input {
        width: 440px;
        padding: 13px 30px;
        margin-bottom: 20px;
        background: var(--input-bg);
        border: 1px solid var(--input-bg);
        border-radius: 20px;
        font-size: 16px;
        transition: .3s linear;
        &::placeholder {
            font-size: 16px;
            color: var(--snippet-text);
        }
        &:focus {
            border: 1px solid var(--second);
        }
    }
    textarea {
        resize: none;
        height: 80px;
    }
    button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 13px;
        background: var(--second);
        border: 1px solid var(--second);
        border-radius: 20px;
        color: var(--main);
        transition: .3s linear;
        &:disabled {
            opacity: 0.8;
            cursor: auto;
        }
        &::after {
            content: '\e002';
            font-family: 'icon';
            font-size: 18px;
            line-height: 18px;
            transition: .3s linear;
        }
    }
}
@media (max-width: 1080px) {
    main {
        padding: 80px 0;
    }
    .info { 
        h1 {
            margin-bottom: 20px;
            font-size: 24px;
        }
        & > a, p  {
            margin-bottom: 10px;
        }
        p {
            margin-bottom: 25px;
        }
        .social {
            gap: 10x;
            a {
                width: 30px;
                height: 30px;
                &::after {
                    font-size: 30px;
                }
            }
        }
    }
    form {
        padding: 30px 30px 40px;
        h2 {
            font-size: 24px;
            margin-bottom: 20px;
        }
        textarea, input {
            width: 320px;
            padding: 13px;
            margin-bottom: 10px;
        }
        textarea {
            margin-bottom: 15px;
        }
    }
}
@media (max-width:768px) {
    main {
        flex-direction: column;
        gap: 60px;
        align-items: flex-start;
        padding: 60px 0 80px;
    }
    .info { 
        h1 {
            font-size: 20px;
        }
        & > a, p {
            font-size: 16px;
        }
    }
    form {
        width: 100%;
        align-items: center;
        textarea, input {
            width: 100%;
            max-width: 400px;
        }
        button {
            max-width: 400px;
        }
    }
}
@media (hover:hover) {
    .info {
        & > a:hover::before {
            animation: phone 1.2s linear forwards;
        }
        .social a:hover::after {
            opacity: 0.8;
        }
    }
    form button:not(:disabled):hover {
        background: var(--main);
        color: var(--second);
        &::after {
            color: var(--second);
            animation: button-arrow 2s linear forwards;
        }
    }
}