body {
  margin: 0;
  display: block;
}

#main_div {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

#top_bar {
  background-color: #0f0f0f;
  width: 100%;
  height: 9%;
  min-height: 80px;

  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;

  container-type: size;
}

#content {
  background-color: #0f0f0f;
  width: 100%;
  height: 91%;
  gap: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#bts_logo {
  height: 54%;
  aspect-ratio: 1;
}

#bts_title {
  font-size: 40cqh;
  line-height: 1;
  white-space: nowrap;
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
}

#bts_content {
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  font-weight: 400;
  font-size: 26px;
  opacity: 0.85;
  width: 50%;
  text-align: center;
  margin: 0;
}

#bts_story {
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  font-weight: 400;
  font-size: 20px;
  opacity: 0.60;
  width: 40%;
  text-align: center;
  margin: 0;
}

#bottom_spacer {
  height: 10%;
}

.buttons_div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.email_input {
  font-family: inherit;
  font-size: 16px;
  /* border: #66ff7f35 solid 2px; */
  border: none;
  color: white;
  background-color: #0f0f0f;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
  justify-content: space-between;
  gap: 0.7em;
  position: relative;
  font-family: Rubik, sans-serif;
}

.email_input:focus {
  /* border: #68d87b6b solid 2px; */
  outline: none;
}

.subform {
  display: flex;
  gap: 16px;
}

.submit_button {
  font-family: inherit;
  font-size: 16px;
  background: #66ff80;
  color: #0f0f0f;
  padding: 0.25em 1em;
  display: inline-flex;
  align-items: center;
  /* font-weight: bold; */
  border: none;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
  /* cursor: pointer; */
  justify-content: space-between;
  gap: 0.7em;
  position: relative;
  /* width: 90%; */
  font-family: Rubik, sans-serif;
}

/* From Uiverse.io by adamgiebl */
.contact_button {
  font-family: inherit;
  font-size: 16px;
  background: #66ff80;
  color: white;
  padding: 0.25em 1em;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 50vh;
  overflow: hidden;
  transition: all 0.2s;
  /* cursor: pointer; */
  justify-content: space-between;
  gap: 0.7em;
  position: relative;
  /* width: 90%; */
}

.contact_button b {
  display: none;
  font-family: Rubik, sans-serif;
  font-weight: 500;
  color: #0f0f0f;
}

/**/
.contact_button b {
  display: block;
  transition: all 0.3s ease-in-out;
  /* text-align: end; */
}

.contact_button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.submit_button:hover .form-svg-wrapper {
  /* animation: fly-1 0.6s ease-in-out infinite alternate; */
}

.contact_button:hover svg {
  transform: translateX(3.3em) rotate(45deg) scale(1.1);
}

.contact_button:hover b {
  transform: translateX(10em);
}

.contact_button:active {
  transform: scale(0.95);
}


.contact_button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.submit_button svg {
  display: block;
  width: 16px;
  aspect-ratio: 1;

  /* transform-origin: center center;
  transition: transform 0.3s ease-in-out; */
}

@keyframes fly-1 {
  from {
    transform: translateY(0.05em);
  }

  to {
    transform: translateY(-0.05em);
  }
}

.newsletterpopup {
  position: fixed;
  background-color: #181919;
  border-radius: 16px;
  /* width: 25%;
  height: 25%; */
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  animation: newsletterAnim 1.6s ease-out forwards;
}

.newslettertitle {
  margin: 0;
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  font-size: 16px;
}

.newslettersubtitle {
  margin: 0;
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  opacity: 0.5;
}

.newsletterclosebutton {
  border: none;
  background: none;
  margin: 0;
  color: #e5e7ed;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  opacity: 0.3;
}

.newslettertop {
  display: flex;
  justify-content: space-between;
}

@keyframes newsletterAnim {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsletterHide {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}

.newsletterpopup.hide {
  animation: newsletterHide 0.5s ease-in forwards;
}

.failed_title {
 color: #ff7a66; 
}

.success_title {
 color: #7ee38f; 
}

@media only screen and (max-width: 768px) {
  /* Phone size */

  #bts_title {
    display: none;
  }

  #bts_content {
    width: 80%;
  }

  #bts_story {
    width: 80%;
  }

  .newsletterpopup {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  /* Desktop size */

  #bts_content {
    width: 50%;
  }

  #bts_story {
    width: 40%;
  }
}