Why do the divider lines in this section of my website appear to be different sizes even though they have the same pixel height? Take a look at the code snippet below for reference.
Are there any alternative methods for creating visually appealing section divider lines?
https://i.sstatic.net/R5PTc.png
body {
margin: 0px;
}
p,
a,
h1,
h2 {
margin: 0px;
color: white;
}
.seg-2 {
background: linear-gradient(358deg, rgba(51, 82, 124, 1) 0%, rgba(18, 59, 114, 1) 100%);
padding: 5% 0px;
}
.seg-2-sizeing {
width: 60%;
margin: auto;
}
.seg-2-flex-container {
display: flex;
justify-content: space-around;
margin: 15px auto;
}
.seg-2-text {
flex-basis: 250px;
}
.seg-2-text p {
margin-top: 10px;
}
.seg-2-line {
height: 1px;
background: hsl(240deg 19% 88%);
}
<div class="seg-2">
<div class="seg-2-line seg-2-sizeing"></div>
<div class="seg-2-flex-container seg-2-sizeing"></div>
<div class="seg-2-line seg-2-sizeing"></div>
</div>