body {
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

/* ======== Header =================== */

header.popup-header {
  z-index: 99;
  position: relative;
  background: transparent;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-container {
  max-width: 1220px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  height: 100%;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.header-column a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: normal;
}

.header-column .open-popup--btn {
  width: 100%;
  background-color: #fff;
  color: #282725;
  text-decoration: none;
  font-size: 18px;
  padding: 20px 32px 20px;
  border-radius: 4px;
  font-family: "Bebas Neue", sans-serif;
  display: block;
  column-gap: 10px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-align: center;
  cursor: pointer;
  border: none;
}

.header-column .open-popup--btn:hover {
  -webkit-box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
}

/* ======== Startup Popup ========= */
section.popup-section {
  background-size: cover !important;
  overflow: hidden;
  background-attachment: fixed !important;
  background-position: center center !important;
  padding-top: 20px;
  padding-bottom: 20px;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

section.popup-section.hide-popup {
  animation: fadeOut 1s ease-out forwards;
}

/* Define the fade-out keyframes */
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
  }
}

section.popup-section:before {
  content: "";
  overflow: hidden;
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.8;
  background: #383632;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  height: 100%;
  top: 0;
}

section.popup-section .inner-container {
  max-width: 1220px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  height: 100%;
}

section.popup-section .inner-container .row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  height: 100%;
}

.popup-inner {
  z-index: 9;
  width: 100%;
  max-width: 80%;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-inner--row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.popup-inner-column {
  flex: 0 0 auto;
  width: 50%;
}

.bg-cover {
  background-size: cover;
  background-position: center center;
  position: relative;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.popup-form {
  padding: 12% 8%;
}

.startup-popup-header .form-subheading {
  margin: 0;
  color: #d51f0f;
  font-weight: 600;
  text-transform: uppercase;
  line-height: normal;
  font-style: normal;
  font-size: 15px;
  margin-bottom: 15px;
}

.startup-popup-header h1 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: normal;
}

.startup-popup-header h2 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 2.5rem;
  line-height: normal;
}

.startup-popup-header h3 {
  color: #383632;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: normal;
}

.startup-popup-header h4 {
  color: #383632;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  line-height: normal;
}

.startup-popup-header h5 {
  color: #383632;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: normal;
}

.form-fields .form-field {
  width: 100%;
  color: #8d8987;
  max-width: 100%;
  resize: none;
  outline: 0;
  font-size: 16px;
  border: 1px solid #e4e4e4;
  padding: 20px 28px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.form-fields .submit-btn {
  width: 100%;
  background-color: #282725;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  padding: 20px 32px 20px;
  border-radius: 4px;
  display: block;
  column-gap: 10px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-align: center;
  cursor: pointer;
}

.form-fields .submit-btn:hover {
  -webkit-box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
  -webkit-transform: translate3d(0, -2px, 0);
  transform: translate3d(0, -2px, 0);
}

span.close-popup--btn {
  height: 40px;
  width: 40px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  background: #e2e2e2;
  line-height: 0;
  padding-top: 5px;
}

#popup-ok-button {
  display: inline-block;
}


.startup-popup-content {
  margin-bottom: 30px;
}

/* RESPONSIVE IPAD  */
@media only screen and (min-width: 768px) and (max-width: 981px) {
  .popup-inner-column {
    flex: 0 0 auto;
    width: 100%;
  }

  .bg-cover {
    height: 500px;
  }

  .popup-form {
    padding: 5%;
  }

  .startup-popup-header h2 {
    font-size: 2rem;
  }

  .startup-popup-header h3 {
    font-size: 1.3rem;
  }

  .startup-popup-header h4 {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 767px) {
  .popup-inner-column {
    flex: 0 0 auto;
    width: 100%;
  }

  .bg-cover {
    height: 250px;
  }

  .startup-popup-header h2 {
    font-size: 1.5rem;
  }
	.popup-form {
		padding: 5%;
	  }

  .startup-popup-header h3 {
    font-size: 1.2rem;
  }

  .startup-popup-header h4 {
    font-size: 1rem;
  }

  .popup-inner {
    max-width: 100% !important;
  }
}