section {
    padding: 25px 0;
}

body {
    scroll-behavior: smooth;
    background-size: cover;
    background-repeat: no-repeat;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url("../img/contact_bg.jpg");
    background: -o-linear-gradient(bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url("../img/contact_bg.jpg");
    background: -moz-linear-gradient(bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url("../img/contact_bg.jpg");
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url("../img/contact_bg.jpg");
    background-attachment: fixed;
}

/* start of preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e283c;
    opacity: 0;
    z-index: -1;
    transition: .3s all;
}

#preloader.loaded {
    z-index: 500;
    opacity: 1;
}

.logo {
    max-width: 400px;
    height: 70px;
    margin: 150px auto 50px auto;
    font-size: 50px;
    text-shadow: -1px 2px 2px #000;
    text-align: center;
    color: azure;
}

.loader-frame {
    width: 70px;
    height: 70px;
    margin: auto;
    position: relative;
}

.loader1, .loader2 {
    position: absolute;;
    border: 5px solid transparent;
    border-radius: 50%;
}

.loader1 {
    width: 70px;
    height: 70px;
    border-top: 5px solid azure;
    border-bottom: 5px solid azure;
    animation: clock-wise-spin 2s linear 3;
}

.loader2 {
    width: 60px;
    height: 60px;
    border-left: 5px solid darkturquoise;
    border-right: 5px solid darkturquoise;
    top: 5px;
    left: 5px;
    animation: anti-clock-wise-spin 2s linear 3;
}

@keyframes clock-wise-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes anti-clock-wise-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* end of preloader */

#page-menu .menu li a.contact.active {
    border-bottom: 5px solid #1e283c;
    font-size: 2.2rem;
    animation-name: active-menu;
    animation-duration: 3s;
}

@keyframes active-menu {
    from {
        border-bottom: 0 solid #1e283c;
        font-size: 1.3rem;
    }
    to {
        border-bottom: 5px solid #1e283c;
        font-size: 2.2rem;
    }
}

main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100% - 96px);
}

#contact p.subtitle {
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 1px 1px 1px #111111,
    1px 2px 1px black,
    1px 3px 1px #111111,
    1px 4px 1px #111111
}

.word-0, .word-1 {
    display: block;
    margin-bottom: 5px;
}

.word-0 {
    transition: opacity, transform;
    transition-delay: 700ms !important;
    font-size: 50px;
}

.word-1 {
    transition: opacity, transform;
    transition-delay: 780ms !important;
    font-size: 50px;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(40px) rotate(2deg);
}

#contact p {
    margin-top: 0;
}

#contact p span:nth-child(even) {
    margin-bottom: 15px;
}


#contact p span:nth-child(odd) {
    color: orange;
    text-shadow: 1px 1px 3px black;
    font-size: 21px;
    font-weight: bold;
}

#contact p span:nth-child(even) {
    font-size: 19px;
    color: #111111;
}

#contact .neon {
    font-size: 30px;
    line-height: 30px;
    color: #FB4264;
    margin-top: 10px;
}

#contact .neon {
    animation: neon 3s ease infinite;
    -moz-animation: neon 3s ease infinite;
    -webkit-animation: neon 3s ease infinite;
}

@keyframes neon {
    0%,
    100% {
        text-shadow: 0 0 1vw #FA1C16, 0 0 2vw #FA1C16;
        color: #FED128;
    }
    50% {
        text-shadow: 0 0 .5vw #800E0B, 0 0 1.5vw #800E0B;
        color: #806914;
    }
}

.contact-form, .contact-form .form-grid, .contact-form .first-row-inputs {
    display: flex;
    flex-direction: column;
}

.contact-form .architect {
    flex-direction: column;
    height: 430px;
    justify-content: center;
    align-items: center;
}

.contact-form img {
    width: 90%;
    border-radius: 15px;
    border: 5px solid #28e0d0;
    box-shadow: 10px 10px 5px #ccc;
}

.contact-form .fa-arrow-right {
    font-weight: 900;
    font-size: 3rem;
    color: orange;
    margin-top: 10px;
    border: 2px solid orange;
    text-shadow: 2px 2px 5px #1e283c;
}

/*
.contact-form > .info {
    margin-top: 100px;
}*/

.contact-form .first-row-inputs label {
    margin-bottom: 0;
}

.contact-form .form-grid input, .contact-form .form-grid textarea {
    width: 100%;
    padding: 0;
    font-size: 13px;
    margin-bottom: 20px;
    color: #888888;
    font-family: Arial, sans-serif;
}

.contact-form .btn {
    display: inline-block;
    background-color: #ffb32f;
    color: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 3px;
    margin: 5px 0;
}

.contact-form a {
    color: black;
    text-shadow: 1px 1px 3px orange;
    font-size: 1.6rem;
}

header, footer {
    background-color: #1e283c !important;
}

@media screen and (min-width: 757px) {
    .subtitle {
        max-width: 60%;
    }

    .contact-form .info {
        flex: 3;
    }

    .contact-form .form-grid {
        flex: 5;
    }

    .contact-form .first-row-inputs label:first-child, .contact-form .first-row-inputs label:first-child input {
        margin-right: 10px;
        width: 97%;
    }

    .contact-form .first-row-inputs label:last-child, .contact-form .first-row-inputs label:last-child input {
        margin-left: 10px;
        width: 97%;
    }

    .contact-form, .contact-form .first-row-inputs {
        flex-direction: row;
        justify-content: space-between;
    }

}

@media screen and (min-width: 576px) {
    .contact-form img {
        width: 90%;
    }
}
