/* contact html file styling start */
#contact-section1{
    display:flex;
    justify-content:center;
    align-items:center;
    position: relative;
    background-image: url(../images/hero-image6.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
#contact-section1::before{
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 255, 0.67);
    width: 100%;
    height: 100%;
}
#contact-section1 p{
    font-size:6rem;
    font-weight:700;
    text-align: center;
}
.contact-section2{
    background-color:  rgba(167, 0, 88, 0.13);
}
.main-contact{
    display:flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-contact .partner-btn {
    margin-bottom: 50px;
}
.contact-details{
    display:flex;
    justify-content: space-between;
}
.contact{
    width: 50%;
    margin: 20px;
}
.contact p:first-child{
    font-weight: 400;
    font-size: 1rem;
    line-height: 200%;
    letter-spacing: 0.1em;
    color: #0000FF;
    text-transform: uppercase;
}
.contact p:nth-child(2){
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 100%;
    color: #000000;
    margin-bottom: 20px;
}
.contact form input, .contact textarea{
    max-width: 90%;
    width: 90%;
    outline: none;
    font-weight: 400;
    font-size:1rem;
    line-height: 30px;
    letter-spacing: 0.05em;
    border:none;
    padding: 15px;
    background: rgba(217, 217, 217, 0.01);
}
.contact textarea{
    min-width: 90%;
}
.input-image{
    position: absolute;
    top: 15px;
    right: 15px;
}

.name-input, .email-input, .message-input{
    border: 2px solid rgba(0, 0, 255, 0.6);
    margin: 10px 0;
    position: relative;
}
.preloader{
    display:none;
    align-items: center;

}
.preloader img{
     animation: loader 0.8s linear infinite;
}
@keyframes loader {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.preloader p{
    margin:17px 10px;
    font-weight: 500!important;
    font-size: 0.9rem !important;
}
.contact form button{
    cursor:pointer;
    background: linear-gradient(264.62deg, #FFFF00 -22.29%, #FF0000 29.94%, #0000FF 100%);
    border-radius: 10px;
    width: 40%;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 139%;
    color: #FFFFFF;
    outline: none;
    padding: 10px;
    margin-top: 25px;
    border: none;
}
.phone, .email{
    display:flex;
    margin-top: 20px;
}
#phone-text p:first-child, #email-text p:first-child{
    font-weight: 700;
    font-size:1.5rem;
    line-height: 125%;
    color: #000000;
}
#phone-text p:nth-child(2), #email-text p:nth-child(2){
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 125%;
    color: #000000;
}
#email-image, #phone-image{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0000FF;
    width: 70px;
    margin-right: 10px ;
}
#phone-image{
    background-color: rgba(255, 0, 0, 0.8) !important;
}

/* max width 1050px styling start */
@media (max-width:1050px) {

    /* contact html file styling start */
        .main-contact{
            width: 90%;
        }
    /* contact html file styling end */
}
/* max width 1050px styling end */

/* max width 900px styling start */
@media (max-width:900px) {
    /* contact html file styling start */
    #contact-section1 p{
        font-size:4.5rem;
    }
    .main-contact{
        width: 95%;
    }
    .contact{
        width:45%;
        margin: 20px 5px 20px 0;
    }
    .contact p:nth-child(2){
        font-weight: 700;
        font-size: 2rem;
    }
    #contact-form{
        width: 60% !important;
        margin: 20px 0 20px 10px !important;
    }
    .contact form input, .contact textarea{
        font-size:0.9rem;
    }
    .contact form button{
        font-size: 1.2rem;
    }
    .contact form img{
        width: 25px;
    }
    #email-image, #phone-image{
        height: 50px;
    }
    #phone-image img, #email-image img{
        width: 25px;
    }
    #phone-text p:first-child, #email-text p:first-child{
        font-size:1.2rem;
    }
    #phone-text p:nth-child(2), #email-text p:nth-child(2){
        font-weight: 600;
        font-size: 0.8rem;
        line-height: 125%;
        color: #000000;
    }
    /* contact html file styling end */
}
/* max width 900px styling end */

/* max width 625px styling start */
@media (max-width:625px) {
    #contact-section1 p:first-child{
        font-size:3.2rem;
    }
       .contact{
        width: 90%!important;
        margin: auto;
        margin-top: 20px;
    }
    .contact-details{
        flex-direction: column;
    }
    #contact-form{
        width: 90% !important;
        margin: auto !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .contact form{
        width: 100%;
    }
    .contact form input, .contact textarea{
        width: 100%;
    } 
}
/* max width 625px styling end */

@media (max-width:400px) {
     #contact-section1 p:first-child{
        font-size:2.2rem;
    }
}
/* max width 400px styling  end */


/* contact html file styling end */
