/*=============== CONTACT ===============*/
.contact{
    &__container{
        row-gap: 3.5rem;
    }
    &__data{
        display: grid;
        row-gap: 2rem;
    }
    &__subtitle{
        font-size: var(--normal-font-size);
        font-weight: var(--font-medium);
        color: var(--text-color);
        margin-bottom: var(--mb-0-5);
    }
    &__description{
        display: inline-flex;
        align-items: center;
        column-gap: .5rem;
        color: var(--title-color);
        font-weight: var(--font-medium);
    }
    &__icon{
        font-size: 1.25rem;
    }
    &__inputs{
        display: grid;
        row-gap: 2rem;
        margin-bottom: var(--mb-2-5);
    }
    &__content{
        position: relative;
        height: 3rem;
        border-bottom: 1px solid var(--text-color-light);
    }
    &__input{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 1rem 1rem 1rem 0;
        background: none;
        color: var(--text-color);
        border: none;
        outline: none;
        z-index: 1;

        &:focus + .contact__label{
            top: -.75rem;
            left: 0;
            font-size: var(--smaller-font-size);
            z-index: 10;
        }
        &:not(:placeholder-shown).contact__input:not(:focus) + .contact__label{
            top: -.75rem;
            font-size: var(--smaller-font-size);
            z-index: 10;
        }
    }
    &__label{
        position: absolute;
        top: .75rem;
        width: 100%;
        font-size: var(--small-font-size);
        color: var(--text-color-light);
        transition: .3s;
    }
    &__area{
        height: 7rem;

        & textarea{
            resize: none;
        }
    }
}