@font-face {
    font-family: DMsans-medium;
    src: url(/fonts/DMSans-Medium.ttf);
}

@font-face {
    font-family: DMsans-bd;
    src: url(/fonts/DMSans-Bold.ttf);
}

@font-face {
    font-family: Montserrat-SB;
    src: url(/fonts/Montserrat-SemiBold.ttf);
}

@font-face {
    font-family: DMsans-regular;
    src: url(/fonts/DMSans-Regular.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#active {
    color: #B1AFE6 !important;
}


/* Hero section */

.contacthero-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contacthero-container {
    background-image: url(/images/contact-hero.webp);
    width: 100%;
    max-width: 1920px;
    height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-origin: content-box;
}

.contacthero-container img {
    width: 100%;
    height: 100%;
}


/* end of hero section */


/* contact form section */

.contactform-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding:5vw 10vw ;
}
.get-intouch{
    font-family: DMsans-regular;
    font-weight: 600;
    font-size: 1.2vw;
    color: #8280cb;
    margin-bottom: 2vw;
}

.contactform-container {
    width: 100%;
    max-width: 1920px;
    height: auto;
    /* gap: 2vw; */
    display: flex;
    flex-direction: row;
}
.contactform-container div h5{
    font-family: DMsans-bd;
    font-size: 2.6vw;
    margin-bottom: 2vw;
    line-height: 1.2;
}
.form-container{
    width:100%;
}
.form-box {
    width: 100%;
}


.form input , .form textarea {
    width: 80%;
    background-color: #8CAAE450;
    padding: 1.2vw;
    border: .15vw solid #00000013;
    margin: 10px 0px;
    font-size: 1.2vw;
    color: #000;
    border-radius: .8vw;
}



.form label {
    color: #2F2F2F;
    font-family: "DMsans-bd";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

input:focus {
    border: 1px solid #8ca9e469;
    background-color: #8caae480;
    outline: #8caae4;
    color: #000;
}

input::placeholder, textarea::placeholder {
    color: #8D8D8D;
    font-family: DMsans-regular;
}

.form button {
    padding: 1vw 3vw;
    border-radius: 10px;
    background-color: #8280cb;
    color: white;
    width: 80%;
    font-size: 1.2vw;
    font-family: DMsans-BD;
    margin-top: 30px;
    border: none;
}

.social-box {
    width: 100%;
}

.social-box p {
    color: #8280cb;
    font-family: DMsans-regular;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4em;
    letter-spacing: 0.595px;
    margin: 10px 0;
}

.social-box h5 {
    color: #000;
    font-family: DMsans-medium;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 1px;
    margin: 15px 0;
    padding: 0 90px 0 0;
}
.image-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}
.image-container img{
    width: 100%;
    
}
.info-box {
    align-self: flex-start;
    display: flex;
    margin-left: 1vw;
    flex-direction: column;
    margin-top: 4vw;
}
.social-icons-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8280cb;
    padding: 1vw 1vw;
    gap: 1vw;
    border-top-left-radius: 1vw;
    position: absolute;
    bottom: 2vw;
    right: -10vw;
}
.social-icons-container a i{
    font-size: 1.2vw;
    color: #8280cb;
    background-color: #fff;
    padding: .5vw;
    border-radius: 5vw;
    width:2.2vw;
    text-align: center;transition: .2s ease-in-out;
}
.social-icons-container a i:hover{
    scale: 1.2;
}
.error{
    display: none;
    color: red;
    font-family:'Montserrat', sans-serif;
    font-size: .8vw; 
    margin-bottom: 1vw;
}
.info-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1vw;
    align-items: center;
    margin: 1vw 0;
}

.info-container img {
    width: 2vw;
}

.textdesc {
    margin-left: 10px;
}

.info-container p {
    color: #000;
    font-family: DMsans-regular;
    font-size: 1.3vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4em;
    letter-spacing: 0.595px;
    margin: 0px;
}

.info-container h5 {
    color: #000;
    font-family: DMsans-regular;
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2em;
    letter-spacing: 1px;
    margin: 0px;
}

.follow-text {
    color: #000 !important;
    font-family: DMsans-regular;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4em;
    letter-spacing: -0.595px;
    margin: 0px;
}


/* end of form section */
.web{
    display: block;
}
.mobile{
    display: none;
}

/* mobile version */

@media screen and (max-width: 700px) {
    
    .contacthero-container {
        background-image: url(/images/innovid-contact-mob.webp);
        height: 50vh;
    }
    /* contact form section */
    .contactform-section{
        padding: 2vw 12vw;
    }
    .contactform-container {
        
        display: flex;
        gap: 4vw;
        flex-direction: column-reverse;
    }
    .form-box {
        margin-bottom: 40px;
    }
    .form {
        width: 100%;
    }
    .form input , .form textarea{
        width: 85%;
        font-size: 3vw;
        padding: 3vw;
    }
    .form button{
        font-size: 3.5vw;
        padding: 2vw 5vw;
        margin-top: 10px;
        border-radius: 1vw;
        
        width:85%;
    }
    .social-box {
        width: 100%;
    }
    .social-box p {
        text-align: center;
    }
    .social-box h5 {
        font-size: 25px;
        padding: 0;
        text-align: center;
    }
    .info-box {
        display: flex;
        flex-direction: column;
    }
    .info-container {
        display: flex;
        flex-direction: row;
        
        align-items: center;
        margin: 20px 0;
    }
    .info-container img {
        width: 4vw;
    }
    .info-container p{
        font-size: 3vw;
    }
    .follow-text {
        text-align: center;
    }
    .web{
        display: none;
    }
    .mobile{
        display: block;
    }
    .get-intouch img{
        width: 3vw;
    }
    .get-intouch{
        font-size: 2vw;
    }
    .contactform-container div h5{
        font-size: 5vw;
    }
    .error{
        font-size: 2vw;
    }
}