.contact-hero{
    background-image: url(../images/contact-b.jpg);
}
.contact-section-outside{
    background-color: #252525;
    padding: 4rem 0;
}
.contact-section {
    padding: 2rem;
    /* max-width: 1200px; */
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    width: 80%;
}
.contact-info, .contact-form {
    display: inline-block;
    vertical-align: top;
    width: 48%;
}
.contact-info {
padding: 2rem;
background-color: #252525;
border-radius: 6px;
width: 40%;
background-repeat: no-repeat;
background-size: cover;
background-position: right;
background-image: url(../images/rb_2750.png);
}
.contact-info h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-family: anton;
    font-weight: 500;
    color: white;
}
.contact-info p {
    margin: 8px 0;
    color: #fff;
    font-family: unbounded;
    font-size: 0.9rem;
    margin: 1rem 0;
}
.contact-info p i {
    margin-right: 10px;
    color: #17a2b8;
}
.contact-form {
padding: 2rem;
width: 60%;
}
/* From Uiverse.io by G4b413l */ 
.row {
display: flex;
margin-bottom: 4rem;
}
.group {
position: relative;
margin-right: 3rem;
width: 100%;
}

.input {
font-size: 16px;
padding: 10px 10px 10px 5px;
display: block;
border: none;
border-bottom: 1px solid #515151;
background: transparent;
width: 100%;
font-family: unbounded;
}

.input:focus {
outline: none;
}

label {
color: #999;
font-size: 14px;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 5px;
top: 10px;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
font-family: unbounded;


}

.input:focus ~ label, .input:valid ~ label {
top: -20px;
font-size: 14px;
color: #5264AE;
}

.bar {
position: relative;
display: block;
width: 100%;
}

.bar:before, .bar:after {
content: '';
height: 2px;
width: 0;
bottom: 1px;
position: absolute;
background: #5264AE;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}

.bar:before {
left: 50%;
}

.bar:after {
right: 50%;
}

.input:focus ~ .bar:before, .input:focus ~ .bar:after {
width: 50%;
}

.highlight {
position: absolute;
height: 60%;
width: 100px;
top: 25%;
left: 0;
pointer-events: none;
opacity: 0.5;
}

.input:focus ~ .highlight {
animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
from {
background: #5264AE;
}

to {
width: 0;
background: transparent;
}
}

@media (max-width: 1024px){
    .contact-section {
        width: 90%;
    }
}

@media(max-width: 900px){
    .contact-section {
        width: 90%;
        flex-direction: column;
    }
    .contact-info {
        width: 100%;
        background-size: contain;
        background-image: url(../images/rb_2750.png);
    }
    .contact-form {
        padding: 2rem;
        width: 100%;
    }
}

@media (max-width: 465px){
    .row {
        margin-bottom: 0;
        flex-direction: column;
    }
    .group {
        margin-bottom: 2rem;
    }
    .contact-form {
        padding: 2rem 0rem;
    }
}
