html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden; /* Hides horizontal scrollbar, use as last resort */
  box-sizing: border-box;
  background-color: #31363f;
}
.display-row{
  display: flex;
  justify-content: space-between;
  flex-direction: row
}
.display-column{
  display: flex;
  flex-direction: column;
  justify-content: flex-start
}
.row {
  display: flex;
  width: 100%;
  padding: 25px 59px 0;
  align-items: center;
  justify-content: flex-start
}
.new-home {
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  background-image: url(./img/hero-img-01.png); /* Replace with your image path */
  background-repeat: no-repeat;
  background-size: cover; /* Ensure the image covers the entire element */
  background-position: center; /* Optionally, center the image */
}

.text-link{
  text-decoration: none;
  font-family: "Neuzeit Grotesk-Bold", Helvetica, serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 25px;
  letter-spacing: 0;
  line-height: normal;
}


.we-re-excited-to {
  font-family: "Neuzeit Grotesk-Light", Helvetica, serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 25px;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 50px;
}

.logo-aec{
  width: 153px;
  height: 78px;
}
.dashed-line {
  border: 0;
  position: relative;
  height: 10px;
  width: 100%;

}

.dashed-line:before {
  height: 1px;
  content: "";
  width: 100%;
  position: absolute;
  border-bottom: 0;
  top: 50%;

  background-image: linear-gradient(to right, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0) 10%);
  background-position: center top;
  background-size: 10px 3px;
  background-repeat: repeat-x;
}

.hero{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 82px 59px;
  align-items: center;
  justify-content: center;
}

.overlap-group{
  width: 100%;

}
.geometry{
  width: 500px;
  position: absolute;
  top: -8rem;
  left: 45%;
  margin-left: -250px;
}
.new-home .text-wrapper {
  width: 100%; /* Example of relative width */
  font-family: "Neuzeit Grotesk-Bold", Helvetica, serif;
  font-weight: 700;
  color: #f4dd4f;
  font-size: 50px; /* Responsive font size */
  letter-spacing: 0;
  line-height: normal;
}
.grid{
  position: relative;
  display: flex;
  width: 50%;
  padding: 5px;
}
.container-geometry{
  position: relative;
  width: 100%;
}
/* Media Queries for different screen sizes */
@media (max-width: 968px) {
  .geometry{
    width:200px;
    position: relative;
    margin: auto;
    left: 0;
    top: 0;
  }
  .container-geometry{
    width: auto;
  }
  .grid{
    width: 100%;
    padding: 25px 59px;
    align-items: center;
    justify-content: center;
  }
  .display-row{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .hero{
    padding: 25px;
  }
  .new-home .text-wrapper {
    width: 70%; /* Adjust width for smaller screens */
    font-size: 5vw; /* Larger relative font size for readability */
    top: 10%;
    left: 0;
  }
}

@media (max-width: 480px) {
  .new-home .text-wrapper {
    font-size: 5vw; /* Even larger font size for very small screens */
    letter-spacing: 0;
  line-height: normal;
  }
}



.button-border {
  width: 276px;
  height: 49px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Neuzeit Grotesk-Bla", Helvetica, serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 30px; /* Responsive font size */
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  border-radius: 99px;
  border: 1px solid #ffffff;
  transition: 0.5s;
}
.button-border:hover{
  transform: scale(1.06);
}

.new-home .text-wrapper-3 {
  width: 40vw;

  font-family: "Neuzeit Grotesk-Bold", Helvetica, serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 36px; /* Responsive font size */
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  border-radius: 99px;
  border: 1px solid #ffffff;
}


.new-home .rectangle {

  width: 1440px;
  height: 384px;
  top: -2642px;
  left: 2195px;
}
