main {
  display: flex;
  height: auto;
  overflow: hidden;
}
.main-container {
  display: flex;
  position: relative;
  flex-direction: row;
  min-height: 100svh;
  min-width: 100svw;
  background-color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 7rem;
}
/* ////////////////////////////////////////////////////////////////////// */
/* success page style */
/* Animations */
@-webkit-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-moz-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-o-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-webkit-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@-moz-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@-o-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
.success-bg {
  /* img size is 50x50 */
  background: url("Icons/whitebox.jpg") repeat 0 0;
  -webkit-animation: bg-scrolling-reverse 2.5s infinite;
  /* Safari 4+ */
  -moz-animation: bg-scrolling-reverse 2.5s infinite;
  /* Fx 5+ */
  -o-animation: bg-scrolling-reverse 2.5s infinite;
  /* Opera 12+ */
  animation: bg-scrolling-reverse 2.5s infinite;
  /* IE 10+ */
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  -o-animation-timing-function: linear;
  animation-timing-function: linear;
}

.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
    Helvetica, sans-serif;
}

.success h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000000;
}

.success button {
  background-color: #000000;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.6rem;
  text-decoration: none;
  transition: background-color 0.3s;
}
.success button:hover {
  background-color: #d4ceac;
  color: black;
}
/* ////////////////////////////////////////////////////////////////////// */
.contact {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 50%;
  height: 100svh;
  background-color: #ffffff;
  padding: 3rem;
  justify-content: center;
  /* align-items: center; */
}
.contact-box {
  margin-left: 10%;
}
.contact-box .span {
  display: block;
  float: left;
  height: 100%;
  width: 0.8rem;
  background: linear-gradient(to bottom, #ffffff, #000000, #ffffff);
  margin-right: 4rem;
}
.contact h2 {
  color: rgb(0, 0, 0);
  margin-bottom: 4rem;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
    Helvetica, sans-serif;
}
.contact h3 {
  color: rgb(0, 0, 0);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
    Helvetica, sans-serif;
}
.contact p,
.contact a {
  color: rgb(0, 0, 0);
  font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
    Helvetica, sans-serif;
  font-size: 2rem;
}
.bg-container {
  display: flex;
  position: absolute;
  right: 0;
  width: 50%;
  height: 100svh;
  background-color: #000000;
  padding: 0 3rem;
  overflow: hidden;
}
.neogeo {
  display: flex;
  position: relative;
  height: 100%;
  width: 100%;
  background-image: url(Images/neo-geo-gold.svg);
  background-size: 100% auto; /* Set width to 100% and height to auto */
  background-repeat: repeat-y; /* Repeat vertically */
  filter: brightness(1) invert(0);
  animation: moveDown 200s linear infinite; /* Adjust the animation duration as needed */
}
@keyframes moveDown {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000%; /* Move the pattern downwards */
  }
}

/* ////////////////////////////////////////////////////////////////////// */
.contact-form {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100%;
  width: 50%; /* Adjust this width as needed */
  margin: 0 auto;
  padding: 2rem;
  background: #fffffff6;
  /* top: 4rem; */
  font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
    Helvetica, sans-serif;
  z-index: 2;
}
.contact-form h2 {
  font-size: 2rem;
}
.contact-form p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  margin-top: 0.5rem;
}
form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.5rem;
}

button[type="submit"] {
  background-color: #000000;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #d4ceac;
  color: black;
}

/* ////////////////////////////////////////////////////////////////////// */
@media (max-width: 60em) {
  .main-container {
    margin-top: 5.5rem;
  }
  .contact h2 {
    margin-bottom: 4rem;
    font-size: 2.8rem;
  }
  .contact h3 {
    font-size: 1.8rem;
  }
  .contact p,
  .contact a {
    font-size: 1.3rem;
  }
}
@media (max-width: 45em) {
  .main-container {
    display: flex;
    position: relative;
    flex-direction: column;
    min-height: 100vh;
    min-width: auto;
    background-color: rgb(255, 255, 255);
    justify-content: flex-start;
    align-items: center;
  }
  .contact {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 2rem;
    top: 0;
    bottom: 0;
    justify-content: center;
    /* align-items: center; */
  }
  .contact-box {
    margin-bottom: 2rem;
    margin-left: 1rem;
  }
  .bg-container {
    display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 50svh;
    background-color: #000000;
    padding: 3rem;
    justify-self: flex-end;
    /* overflow: hidden; */
  }
  .neogeo {
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    background-image: url(Images/neo-geo-gold.svg);
    background-size: 100% auto; /* Set width to 100% and height to auto */
    background-repeat: repeat-y; /* Repeat vertically */
    filter: brightness(0) invert(1);
    animation: moveDown 100s linear infinite; /* Adjust the animation duration as needed */
  }
  .contact-box .span {
    display: none;
  }
  .contact-form {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 50%;
    width: 100%; /* Adjust this width as needed */
    margin: 0 auto;
    padding: 2rem;
    background: #ecececf6;
    /* top: 4rem; */
    font-family: DMSans, OpenSans, Tajawal-Bold, MerriSans, verdana, Arial,
      Helvetica, sans-serif;
    z-index: 2;
  }
  .contact h2 {
    margin-bottom: 3rem;
    font-size: 2.2rem;
  }
}
