.textfaq .text{
font-size: 40px;
line-height: 66px;
color: #fff;
font-weight: 600;
font-family: 'Open Sans', sans-serif;
}
/*контейнер*/
.textfaq{
width: 1920px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}
.textfaq .question a{
text-decoration: none;
font-size: 13px;
color: #fff;
font-weight: 300;
font-family: 'Open Sans', sans-serif;
}
.textfaq .question{
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0px 10px;
padding-left: 10px;
margin-left: 20px;
height: 40px;
background: rgba(255, 255, 255, 0.16);
border-radius: 12px;
}
.text-and-faq{
}
.question img {
margin-right: 10px;
}
<div>kdjfkgjdg</div>
div {
position: relative;
margin: auto;
}
<div>kdjfkgjdg</div>
div {
position: relative;
left: 50%;
transform: translate(-50%, 0%);
}
<div>kdjfkgjdg</div>
div {
position: relative;
top: 50%;
transform: translate(0%, -50%);
}
<div>kdjfkgjdg</div>
div {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}