.contact {
    margin-top: 160px;
}

.contact h2 {
    color: #394648;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    text-align: center;

    position: relative;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 50px;
}

.contact h2:before {
    content: url(../../../assets/images/title-img.svg);
    position: absolute;
    left: -20px;
    top: -20%;
    z-index: -9;
}

.contact p{
    color: #394648;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;

    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    justify-content: space-between;
}


.content-telegram{
	display: grid;
    gap: 5px;
}


.content-form form{
    display: grid;
    gap: 5px;
}

.content-form form label{
    color: #AEAFAF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    margin-top: 5px;
}

.content-form form input{
    border-radius: 100px;
    border: 1px solid #83CB31;
    background: #FFF;
    display: block;
    height: 40px;
    padding: 10px 15px;
    width: -webkit-fill-available;
}

.content-form form input[type="submit"]{
    margin-top: 15px;
    border-radius: 100px;
    background: #83CB31;
    padding: 20px 100px;
    height: 60px;
    display: block;
    width: fit-content;
    justify-self: end;
    cursor: pointer;

    color: #FFF;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}
.content-form form input[type="submit"]:hover {
    background: #394648;
}

.content-form form textarea{
    border-radius: 33px;
    border: 1px solid #83CB31;
    background: #FFF;
    padding: 10px 15px;
    width: -webkit-fill-available;
}


.contact-info{
    background-image: url(../../../assets/images/contact-top.svg), url(../../../assets/images/contact-bottom.svg);
    background-position: top 0 right 0, bottom 0 right 0;
    background-repeat: no-repeat;
}
.contact-info h3,.content-telegram h3{
    color: #394648;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    margin-top: 60px;
    margin-bottom: 40px;
}

.content-telegram h3{
	margin-bottom:0;
	line-height:32px;
}

.content-telegram a{
	    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    border-radius: 100px;
    background: #83CB31;
    text-decoration: none;
    padding: 20px 105px; 
    margin-top: 40px;
    display: flex;
	gap:20px;
	align-items:center;
	height: fit-content;
    width: fit-content;
}

.content-telegram a img{
	width:30px;
	height:30px;
}

.contact-info img{
    width: 30px;
    height: 30px;
}

.contact-info a{
    color: #394648;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.contact-info .social-info a{
    text-transform: capitalize;
}





.contact-info .content-info{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}


.content-info .details-info{
    display: grid;
    gap: 20px;
}
.content-info .social-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-info > * > *{
    display: grid;
    grid-template-columns: min-content 1fr;
    gap: 15px;
    align-items: center;
}

@media screen and (min-width:1440px) and (max-width:1919px){
	.contact-info.info-tg{
    background-position: top 0 right 0, bottom -123px right 0;
}
}

@media screen and (max-width:1279px){
	.content-telegram h3{
		text-align:center;

	}
	
	.content-telegram a{
			margin: 30px auto 0;
	}
}

@media (min-width: 751px) and (max-width: 1024px) {
    .contact-content{
        grid-template-columns: 1fr;
    }
    .contact-info{
        display: grid;
        justify-content: center;
        padding-bottom: 150px;
        padding-top: 80px;
    }
    .contact-info h3{
        margin-top: 0;
    }
}
@media screen and (max-width: 750px) {
	.content-telegram a{
		padding: 20px 60px;
	}
	
    .contact p{
        font-size: 20px;
        text-align: left;
    }
    .contact-content{
        grid-template-columns: 1fr;
    }
    .contact-info .content-info{
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info{
        display: grid;
        justify-content: center;
        padding-top: 80px;
        padding-bottom: 150px;
    }

    .contact-info h3{
        margin-top: 0;
    }

    .content-form form input[type="submit"]{
        width: 100%;
    }

    .content-form form input, .content-form form textarea{
        width: 70vw;
    }
}
