button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: initial;
  color: inherit;
  border: none;
  font: inherit;
}

button:focus,
button:active {
  outline: none;
  box-shadow: none;
}

body {
  background: #FEFBF6;
  color: #222;
  font-family: "Montserrat";
  font-size: 14px;
  font-style: 1.5;
  font-weight: 400;
}

h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
}

h2 {
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

h4 {
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
  color: inherit;
}

a:focus, a:active {
  text-decoration: none;
  color: inherit;
}



p, label {
  font-size: 14px;
  line-height: 1.5;
}

label {
  padding-bottom: 5px;
}

label:nth-of-type(2) {
  margin-top: 35px;
}

@media (min-width: 767px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 35px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 30px;
  }
  
  p {
    font-size: 16px;
  }

  body {
    font-size: 16px;
  }
}

button {
  padding-left: 15px;
  padding-right: 15px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 17.5px;
  border: 1px solid #222;
  background: #FEFBF6;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  margin-top: 15px;
  cursor: pointer;
  color: #222;
}

@media (min-width: 767px) {
  button {
    height: 35px;
    margin-top: 20px;
    font-size: 16px;
  }
}

button:hover {
  background-color: #F1F4FC;
}

button:active {
  background-color: #222;
  color: #FEFBF6;
}

.banner {
  background-color: #6F8FE3;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  color: #fff;
}

.banner a {
  text-decoration: underline;
}

.block-container {
  margin: 0 auto;
}

.container {
  padding-left: 90px;
  padding-right: 90px;
  margin-bottom: 175px;
  margin-top: 175px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1212px;
}

@media (max-width: 500px) {
  .container {
    padding-left: 35px;
    padding-right: 35px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

.flex-item {
  flex: 1;
}

.flex-centered {
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 110px;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  white-space: nowrap;
}

.nav-list li {
  flex-grow: 0;
  flex-shrink: 1;
}

.open-modal {
  margin-top: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-button {
  display: block;
}

.mobile-button {
  display: none;
  border-radius: 23px;
  width: 50px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #FEFBF6;
  padding: 50px;
  border-radius: 26px;
  width: 55%;
  overflow-y: auto;
  max-height: 75vh;
  max-width: 715px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.modal-content-header {
  margin-bottom: 35px;
}

.modal-content-body {
  overflow-y: auto;
  flex: 1;  
}

.modal-headline-flex {
  display: flex;
}

.modal-headline {
  flex: 9;
  text-align: left;
  margin-bottom: 0;
}

.close {
  float: right;
  cursor: pointer;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 100%;
  gap: 15px;
}

#modal-sign-up-form input {
  background: rgba(255, 255, 2555, 0);
  border: none;
  border-bottom: 1px solid #222;
  outline: none;
  height: 35px;
}

.modal-button {
  align-self: flex-end;
}

.error-message {
  visibility: hidden;
  color: #A21515;
  height: 20px;
}

.error-message.visible {
  visibility: visible;
}

#modal-submit.success {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 3px solid #28a745;
  color: #28a745;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s ease;
}

#modal-submit.success span {
  display: none;
}

#modal-submit.success::before {
  content: '✔';
  color: #28a745;
  font-size: 24px;
  display: block;
}

#main-submit {
  margin-top: 0px;
  align-self: flex-start;
  flex: 0 0 auto;
}

#main-submit.success {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 3px solid #28a745;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s ease;
}

#main-submit.success span {
  display: none;
}

#main-submit.success::before {
  content: '✔';
  color: #28a745;
  font-size: 24px;
  display: block;
}

.hero-image-bg {
  background-image: url('images/blob.png');
  background-image: image-set(url('images/blob-1x.avif') type('image/avif'), url('images/blob.png') type('image/png'));
  background-size: cover;
  background-position: center -300px;
  min-height: 1700px;
  background-repeat: no-repeat;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image-bg {
      background-image: url('images/blob@2x.png');
  background-image: image-set(url('images/blob-2x.avif') type('image/avif'), url('images/blob@2x.png') type('image/png'));
  }
}

@media (max-width: 767px) {
  .hero-image-bg {
    background-position: -1050px -300px;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 1150px;
  padding: 20px 50px 0px 50px;
  margin-top: 0px;
}

.hero-headline {
  margin-top: 320px;
  max-width: 750px;
  margin-bottom: 17px;
}

.hero-paragraph {
  max-width: 500px;
  margin-bottom: 34px;
  margin-top: 0px;
}

@media (max-width: 767px) {
  .mobile-button {
    display: flex;
  }

  .desktop-button {
    display: none;
  }

  .nav-list {
    gap: 5px;
  }

  .hero {
    padding: 20px 35px 0px 35px;
  }
}

.mission {
  font-size: 40px;
  flex-direction: column;
  align-items: center;
  padding-top: 0px;
  margin-top: -470px;
}

.mission p {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.science {
  flex-direction: column;
  margin-top: 250px;
}

.science p {
  max-width: 740px;
  margin: 0px auto 40px auto;
}

.science-centered-text {
  text-align: center;
}

.text-image-2-column-collapse {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 0rem;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 1212px;
  margin: 0 auto;
}

@media (min-width: 767px) {
  .text-image-2-column-collapse {
    flex-direction: row;
    gap: 0.5rem;
  }
  .text-image-2-column-collapse h3 {
    margin-bottom: 0px;
    margin-top: 30px;
  }
}

.text-image-2-column-collapse h3 {
  margin-bottom: 0px;
  margin-top:0px;
}

.text-image-2-column-collapse h2 {
  text-align: left;
}

.text-image-2-column-collapse h4 {
  margin-top: 0px;
}

.text-image-2-column-collapse-image {
  flex: 1;
  min-width: 0;
  max-width: 525px;
}

.text-image-2-column-collapse-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-image-2-column-collapse-text {
  flex: 1;
  padding: 10px;
  max-width: 525px;
}

@media (max-width: 767px) {
  .text-image-2-column-collapse-text {
    order: 2;
  }
  .text-image-2-column-collapse-image {
    order: 1;
  }
}

.quote {
  display: flex;
  text-align: center;
  font-family: Montserrat;
  max-width: 740px;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  flex-direction: column;
}

.quote p{
  font-weight: 400;
  font-size: 14px;  
  line-height: 1.5;
}

.quote-bio {
  font-size: 12px;
}

.investors {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F1F4FC;
  height: 60px;
}

.investors-flex {
  margin: 0 auto;
  width: 95%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

@media (max-width: 700px) {
  .investors {
    height: 140px;
  }
  .investor-logo {
      flex: 1 1 100%;
      margin-bottom: 10px;
  }
  .investor-logo:first-of-type {
    display: none;
  }
  .investor-logo:nth-child(2),
  .investor-logo:nth-child(3),
  .investor-logo:nth-child(4),
  .investor-logo:nth-child(5) {
      flex: 1 1 calc(50% - 20px);
      text-align: center;
  }
}

.bold-small-text {
  font-weight: 500;
}

.investor-logo img {
  height: 45px;
}

.about-us-container {
  margin-top: 150px;
}

.join-us-container h2 {
  text-align: left;
}
.join-us-container h4 {
  margin-bottom: 0px;
}

.join-us-container p {
  max-width: 700px;
}

#join-us-button {
  align-self: flex-start;
  flex: 0 0 auto;
}

.job-listing {
  display: flex;
  border: 1px solid #6F8FE3;
  margin: -1px 0;
  padding-left: 30px;
  padding-right: 30px;
  height: 128px;
  align-items: center;
}

@media (max-width: 500px) {
  .job-listing {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.job-title, .job-location {
  flex: 1 1 30%;
}

.job-apply {
  text-align: right;
}

.job-apply a:hover {
  text-decoration: none;
}

.job-list > div:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.job-list > div:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.job-small {
  display: none;
}

.job-apply-button-icon {
  display: none;
  width: 8px;
  height: 15px;
}

.job-apply-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
}

@media (max-width: 768px) {
  .job-apply button{
    width: 45px;
  }
  .job-apply-button-text-desktop {
    display: none;
  }
  .job-apply-button-icon {
    display: inline-block;
  }

  .job-small {
    display: block;
  }
  .job-location {
    display: none;
  }
}

.footer-image{
  background-image: url('images/footer.png');
  background-image: image-set(url('images/footer-1x.avif') type('image/avif'), url('images/footer.png') type('image/png'));
  background-size: cover;
  background-position: top;
  min-height: 700px;
  margin-bottom: 0px;
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .footer-image {
      background-image: url('images/footer@2x.png');
  background-image: image-set(url('images/footer-2x.avif') type('image/avif'), url('images/footer@2x.png') type('image/png'));
  }
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 700px;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 10px;
}

#signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#signup-form input {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 2555, 0);
  border: none;
  border-bottom: 1px solid #222;
  outline: none;
  max-width: 300px;
}

#signup-form input::placeholder {
  color: #222;
}

.nav-footer {
  margin-top: auto;
}

.nav-list-footer {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-left: 0px;
}

@media (max-width: 600px) {
  .nav-list-footer li {
    order: 2;
  }
  
  .nav-list-footer li:last-child {
    order: 1;
    flex-basis: 100%;
  }  
}

.last-item-footer {
  margin-left: auto;
}

.slick-dots li button::before {
  font-size: 12px; 
  color: #D9D9D9;
  opacity: 1;
}

.slick-dots li.slick-active button::before {
  color: #6F8FE3;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 15px;
}

@media (max-width: 500px) {
  .slick-prev, .slick-next {
      display: none !important;
  }
}

.modal-open {
  overflow: hidden;
}
/* Intrinsic width/height attributes are for layout stability only; let CSS size images. */
:where(img[width][height]) { height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
