how can i put curves little above ?
i tried everything and margin -1em worked but i don't know if it's a right way to do it ?



content.c-jmqsMK::after <div class="box">
<h1 class="text">we're designing<br>come back later.</h1>
<div class="bottom">
<div class="curves"></div>
</div>
</div>@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap");
$font: (
font-family: "fraunces",
font-optical-sizing: auto,
font-weight: 700,
font-style: normal,
font-variation-settings: (
"SOFT" 0,
"WONK" 0
)
);
$primary-color: (#88c574);
$secondary-color: (#fbffdb);
body {
background-color: $primary-color;
color: white;
margin: 0;
font-family: "fraunces", serif;
background-image: url("noise-light.png");
display: grid;
grid-template-rows: auto 1fr auto; /* Header, Main Content, Footer */
min-height: 100vh;
}
.box {
display: grid;
grid-template-rows: 7fr 3fr; /* 70% top, 30% bottom */
grid-template-columns: 1fr;
height: 100vh;
h1 {
display: grid;
place-items: center; /* Center text horizontally and vertically */
color: #104d00;
font-family: "fraunces";
font-optical-sizing: auto;
font-weight: 900;
font-style: normal;
font-variation-settings: ("SOFT" 0, "WONK" 0);
font-size: 4rem;
text-align: center;
margin: 0;
height: 70vh;
}
.bottom {
display: grid;
position: relative;
background-color: #104d00;
align-items: start; /* Push curves to the bottom */
justify-items: stretch;
.curves {
height: 2.5rem;
width: 100%;
background-repeat: repeat-x;
background-size: contain;
background-image: url("curves.svg");
}
}
}body {
background-color: $primary-color;
color: white;
margin: 0;
background-image: url("noise-light.png");
}
.box {
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
height: 100vh;
.text {
align-content: center;
}
h1 {
color: #104d00;
font-family: "fraunces";
font-optical-sizing: auto;
font-weight: 900;
font-style: normal;
font-variation-settings: ("SOFT" 0, "WONK" 0);
font-size: 4rem;
text-align: center;
margin: 0 auto 0 auto;
height: 70vh;
}
.bottom {
background-color: #104d00;
height: 30vh;
margin: 0;
bottom: 0;
left: 0;
z-index: 0 !important;
.curves {
position: absolute;
bottom: 0; /* Align to the bottom */
width: 100%;
height: 2rem;
&::after {
content: "";
width: 100%;
height: 100%;
position: absolute;
bottom: 0;
left: 0;
background-repeat: repeat-x;
background-size: contain;
background-image: url("curves.svg");
}
}
}
}