﻿
.ld-contact {
    position: relative;
    overflow: auto;
    margin-bottom: 4rem;
}

.ld-contact-ico {
    width: 60%;
    float: right;
    max-width: 700px;
}

.ld-contact-ico img{
    width: auto;
    height: auto; 
    max-height: 100%;
    max-width: 100%;
}

.ld-contact-form-wrapper {
    width: 40%;
    float: right;
    text-align: center;
}

.ld-contact-form {
    width: 100%;
    max-width: 600px;
    padding-right: 2rem;
    display: inline-block;
    padding-bottom: 2rem;
}

    .ld-contact-form h1.ld-section-title-2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: rgb(var(--smash-yellow-4-rgb));
    }

    .ld-contact-form textarea,
    .ld-contact-form input {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        margin-bottom: 1rem;
        font-size: 1rem;
        border-radius: 2rem;
        background: rgb(var(--smash-grey-2-rgb));
        border: none;
    }

        .ld-contact-form textarea:focus,
        .ld-contact-form input:focus {
            outline: none;
        }


#ld-contact-section {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute; 
    top: -100px;
}

.ld-contact-info {
    background: rgba(var(--smash-grey-2-rgb), 0.25);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.ld-contact-info-data {
    display: block;
}



.ld-contact-form [data-valid="0"] {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(var(--smash-red-1-rgb), 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(var(--smash-red-1-rgb), 0.75);
    box-shadow: 0px 0px 5px 0px rgba(var(--smash-red-1-rgb), 0.75);
}

.ld-contact-form [data-valid="1"] {
    -webkit-box-shadow: 0px 0px 3px 0px rgba(var(--smash-green-2-rgb),1);
    -moz-box-shadow: 0px 0px 3px 0px rgba(var(--smash-green-2-rgb),1);
    box-shadow: 0px 0px 3px 0px rgba(var(--smash-green-2-rgb), 1);
}