@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html,body{
    width: 100%;
    overflow-x: hidden;
}
body{
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}
.header{
    background-color:white;
    box-shadow:0 .1rem 1rem rgba(0, 0, 0, 0.2);
    min-width:375px;
    width:100%;
}
.contact-bg{
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(image/contact-bg.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 130px;
}
.contact-bg h2{
    font-size: 3rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
    transition: 0.3s all;
}
.contact-bg h2:hover{
    font-size: 3.1rem;
    color: #f7327a;
}
.line div{
    margin: 0 0.2rem;
}
.line div:nth-child(1),
.line div:nth-child(3){
    height: 3px;
    width: 70px;
    background: #f7327a;
    border-radius: 5px;
}
.line{
    display: flex;
    align-items: center;
}
.line div:nth-child(2){
    width: 10px;
    height: 10px;
    background: #f7327a;
    border-radius: 50%;
}
.text{
    font-weight: 300;
    opacity: 0.9;
}

/* Get in touch Section  */
.get-in-touch{
    margin:50px 100px;
}
.get-in-touch h2{
    font-weight: bold;
    font-size: 32px;
    color: black;
    border-left: 5px solid #f7327a;
    padding-left: 20px;
}
.get-in-touch .git-container{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.git-container .git-box{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 30px 0;
}
.git-box#second-git-box{
    border-left: 5px solid #f7327a;
    border-right: 5px solid #f7327a;
    padding: 20px;
}
.git-box i{
    font-size: 50px;
    color: hsl(241, 77%, 63%);
    margin-bottom: 20px;
}
.git-box h3{
    color: hsl(241, 77%, 63%);
}

.contact-bg .text{
    margin: 1.6rem 0;
}
.contact-body{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form-data{
    padding: 2rem 0;
    border-top: 1px solid #c7c7c7;
}
.contact-form-data form{
    padding-bottom: 1rem;
}
.form-control{
    width: 100%;
    border: 1.5px solid #c7c7c7;
    border-radius: 5px;
    padding: 0.7rem;
    margin: 0.6rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    outline: 0;
}
.form-control:focus{
    box-shadow: 0 0 6px -3px rgba(48, 48, 48, 1);
}
.contact-form-data form div{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.6rem;
    height: 60px;
    margin-bottom: 20px;
}
.contact-form-data form div input{
    font-size: 15px;
}
.contact-form-data form textarea{
    margin-bottom: 20px;
    font-size: 15px;
}
.send-btn{
    width: 25%;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    background: #f7327a;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 50px;
}
.send-btn:hover{
    opacity: 0.8;
}
.contact-form-data > div img{
    width: 85%;
}
.contact-form-data > div{
    margin: 0 auto;
    text-align: center;
}
.contact-social-media{
    padding: 2rem 0;
}
.contact-social-media h3{
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}
.social-links{
    display: flex;
    justify-content: center;
}
.social-links a{
    text-decoration: none;
    width: 40px;
    height: 40px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.4rem;
    transition: all 0.4s ease;
}
.social-links a:hover{
    color: #f7327a;
    border-color: #f7327a;
}

@media screen and (min-width: 768px){
    .contact-bg .text{
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-info{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px){
    .contact-bg .text{
        width: 50%;
    }
    .contact-form-data{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media screen and (min-width: 1200px){
    .contact-info{
        grid-template-columns: repeat(4, 1fr);
    }
}
@media(max-width:400px){
    .contact-bg{
        margin-top: 100px;
        height: 100vh;
    }
    .get-in-touch{
        margin:50px 20px;
    }
    .get-in-touch h2{
        font-size: 25px;
    }
    .get-in-touch .git-container{
        flex-direction: column;
    }
    .git-box#second-git-box{
        border: none;
        border-bottom: 5px solid #f7327a;
    }
    .git-box{
        border-bottom: 5px solid #f7327a;
        padding: 20px;
    }
    .git-container .git-box{
        width: 90%;
    }
    .send-btn{
        width: 40%;
    }
    .text{
        width: 350px;
    }
}