* {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

::selection {
  background: rgba(255, 255, 255, 0.0);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

.navigationbuttons {
  display: table;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .navigationbuttons {
    margin-top: 250px;
  }
}

.navigationbuttonscontact {
  display: table;
  margin: 0 auto;
}


li a {
  display: block;
  color: #e6e6e6;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: clamp(1.2em, 3vw, 2.5em);
  transform: brightness(100%);
  font-family: "barlow-condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  text-shadow: 0 calc(2px + 0.1vw) 0px #0e1111;
}

li a:hover {
  color: #ffffff;
}

.bg-color {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0e1111;
  z-index: -3;
}

/* Background image */
.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-image: url("img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0e1111;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-wrapper.loaded {
  opacity: 1;
}

.image-square {
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.image-square.loaded {
  opacity: 1;
}


.content {
  position: relative;
  z-index: 1;
}

#hero-section {
  color: #e6e6e6;
  padding: clamp(20px, 5vh, 0px) 0;
  width: 100vw;
  min-width: 320px;
  overflow: hidden;
  text-wrap: nowrap;
  will-change: background-position;
}

path {
  fill: none;
  stroke: #e6e6e6;
  stroke-width: 3;
  stroke-linecap: none;
  stroke-linejoin: square;
  filter: drop-shadow(0 calc(2px + 0.1vw) 0px #0e1111);
}

#hero-section .title1 {
  display: block;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero-section .title2 {
  display: block;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (max-width: 767px) {
  #hero-section .title1 {
    width: 130vw;
    height: auto;
    align-items: center;
    -webkit-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -o-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }

  #hero-section .title2 {
    width: 130vw;
    height: auto;
    align-items: center;
    -webkit-transform: translate(-25%, -30%);
    -moz-transform: translate(-25%, -30%);
    -ms-transform: translate(-25%, -30%);
    -o-transform: translate(-25%, -30%);
    transform: translate(-25%, -30%);
  }
}

@media screen and (min-width: 768px) {
  #hero-section .title1 {
    width: 75vw;
    height: auto;
    -webkit-transform: translate(-5%, 0%);
    -moz-transform: translate(-5%, 0%);
    -ms-transform: translate(-5%, 0%);
    -o-transform: translate(-5%, 0%);
    transform: translate(-5%, 0%);
  }

  #hero-section .title2 {
    width: 75vw;
    height: auto;
    -webkit-transform: translate(5%, -100%);
    -moz-transform: translate(5%, -100%);
    -ms-transform: translate(5%, -100%);
    -o-transform: translate(5%, -100%);
    transform: translate(5%, -100%);
  }
}


#hero-section .hero-header {
  text-align: center;
  margin: 0px;
  font-family: "barlow-condensed", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(3em, 6vw, 6em);
  text-transform: uppercase;
  text-shadow: 0 calc(2px + 0.1vw) 0px #0e1111;
  border: 2px solid #e6e6e6;
}

.profile-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #f8f8f8;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0px;
  border: 2px solid #0e1111;
}

.about-text-content h3 {
  font-family: "barlow-condensed", sans-serif;
}

.about-text-content {
  border: 2px solid #0e1111;
  padding: 20px;
  background-color: #f8f8f8;
}

.about-text-content a {
  font-family: "barlow-condensed", sans-serif;
  text-decoration: none;
  color: #0e1111;
  pointer-events: auto;
  padding: 0px 20px 20px 0px;
}

hr {
  color: #0e1111;
}

@media (min-width: 768px) {
  .profile-image-container {
    height: 75vh;
    max-height: 600px;
  }
}

@media (max-width: 767px) {
  .profile-image-container {
    height: 350px;
    margin: 0 auto;
  }

  .about-text-content {
    text-align: center;
    padding: 0 20px;
  }
}


#mission-section {
  color: rgb(40, 40, 40);
  background-color: #f8f8f8;
  padding: 20px;
  margin: 0px;
  margin-bottom: 30vh;
  width: 100vw;
  min-width: 320px;
  border: 2px solid #0e1111;
}

#mission-section p {
  font-size: clamp(1em, 3vw, 1.6em);
  margin: 0 auto;
  text-align: left;
}

.text {
  font-style: normal;
  font-size: 200%;
  position: relative;
  bottom: 20px;
}

.about-header {
  border-bottom: 2px solid #0e1111;
}

.about-links {
  color: #0e1111;
  border-top: 2px solid #0e1111;
  pointer-events: auto;
}

.about-links a:hover {
  color: #595959;
}

#contact-section {
  background-color: #0e1111;
  color: white;
  padding: 20px;
  margin: 0px;
  text-align: center;
  width: 100vw;
  border-top: 2px solid #e6e6e6;
  box-shadow: none;
  min-width: 320px;
}

#contact-section img.logo {
  height: clamp(25px, 15vh, 50px);
  width: clamp(25px, 15vh, 50px);
  margin: 5px;
  filter: brightness(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#contact-section img:hover {
  filter: brightness(85%);
}

#gallery-section {
  text-align: center;
  padding: 20px;
  margin: 0px;
  width: 100vw;
  min-width: 320px;
}

.border-container {
  border: 2px solid #0e1111;
  padding: 20px;
  background-color: #f8f8f8;
  will-change: transform;
  transition: transform 0.2s ease-in-out;
}

#gallery-section img {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid #0e1111;
}

/* CONTACT SHEET FIELDS */
.formcarry-container {
  box-sizing: border-box;
  margin: 0px auto;
  margin-bottom: 10vh;
  font-family: 'Barlow', sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.01em;
  border: 2px solid #0e1111;
  padding: 20px;
  background-color: #f8f8f8;

  width: 400px;

  --fc-border-color: transparent;
  --fc-normal-text-color: #0e1111;
  --fc-normal-placeholder-color: #d1d1d1;

  --fc-field-hover-bg-color: #ffffff;
  --fc-border-hover-color: transparent;
  --fc-field-hover-text-color: #d1d1d1;
}

.formcarry-container * {
  box-sizing: border-box;
}

.formcarry-container label {
  display: block;
  cursor: pointer;
}

.formcarry-container .formcarry-block:not(:first-child) {
  margin-top: 16px;
}

.formcarry-container input,
.formcarry-container textarea,
.formcarry-container select {
  margin-top: 4px;
  width: 100%;
  height: 42px;
  box-shadow: 0 1px 2px var(--fc-border-color);
  color: var(--fc-normal-text-color);
  border-radius: 0px;
  padding: 8px 12px;

  font-family: 'Barlow', sans-serif;
  font-size: 1em;
  transition: 125ms background, 125ms color, 125ms box-shadow;
  border: 2px solid #0e1111;
}

.formcarry-container textarea {
  min-height: 188px;
  max-width: 100%;
  padding-top: 12px;
}

.formcarry-container input::placeholder,
.formcarry-container textarea::placeholder,
.formcarry-container select::placeholder {
  color: var(--fc-normal-placeholder-color);
}

.formcarry-container input:hover,
.formcarry-container textarea:hover,
.formcarry-container select:hover {
  border: 2px solid #0e1111;
  background-color: var(--fc-field-hover-bg-color);
}

.formcarry-container input:hover::placeholder,
.formcarry-container textarea:hover::placeholder,
.formcarry-container select:hover::placeholder {
  color: var(--fc-field-hover-text-color);
}

.formcarry-container input:focus,
.formcarry-container textarea:focus,
.formcarry-container select:focus {
  background-color: #fff;
  border: 2px solid #0e1111;
  box-shadow: hsla(var(--fc-primary-hsl), 8%) 0px 0px 0px 3px;
  outline: none;
}

.formcarry-container input:focus,
.formcarry-container select:focus {
  padding: 8px 11px;
}

.formcarry-container textarea:focus {
  padding: 11px;
}

.formcarry-container select {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.9997 14.5001L8.46387 10.9642L9.64303 9.78589L11.9997 12.1434L14.3564 9.78589L15.5355 10.9642L11.9997 14.5001Z' fill='%236C6F93'/%3E%3C/svg%3E%0A");
  background-size: 24px 24px;
  background-position: 98%;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
}

.formcarry-container button {
  font-family: 'barlow-condensed', sans-serif;
  font-weight: 500;
  font-size: clamp(1em, 6vw, 1.5em);
  letter-spacing: -0.02em;
  height: 40px;
  line-height: 24px;
  width: 100%;
  border: 2px solid #0e1111;
  border-radius: 0px;
  box-sizing: border-box;
  background-color: transparent;
  color: #0e1111;
  cursor: pointer;
  box-shadow: 0 0 0 0 transparent;
  transition: 125ms all;
}

.formcarry-container button:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), hsla(var(--fc-primary-hsl));
}

.formcarry-container button:focus {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), hsla(var(--fc-primary-hsl));
  border-inline: 1px solid inline rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 0px 3px rgba(var(--fc-primary-hsl), 12%);
}

.formcarry-container button:active {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), hsla(var(--fc-primary-hsl));
}

.formcarry-container button:disabled {
  background-color: hsla(var(--fc-primary-hsl), 40%);
  cursor: not-allowed;
}

.formcarry-container input:focus:required:invalid,
.formcarry-container input:focus:invalid,
.formcarry-container select:focus:required:invalid,
.formcarry-container select:focus:invalid {

  border: 2px solid #0e1111;
  box-shadow: 0px 0px 0px 3px hsla(var(--fc-error-hsl), 12%);
}

#fc-notice {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #8f8f8f;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}

/* CONTACT SHEET END */

/* Modal styles */
.caption {
  color: #e6e6e6;
  font-size: 1em;
  text-align: left;
  padding: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-content: center;
}

.modal-margins {
  margin-left: 20vw;
  margin-right: 20vw;
}

.modal-box {
  background-color: #0e1111;
}

.modal-content {
  align-content: center;
  max-width: 100%;
  border-radius: 0px;
  border-top: 2px solid #0e1111;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-animation-name: modalSlideIn;
  -webkit-animation-duration: 0.6s;
  animation-name: modalSlideIn;
  animation-duration: 0.6s;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(1) rotateY(0deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

@-webkit-keyframes fadeInBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(0px);
  }

  to {
    opacity: 1;
    -webkit-filter: blur(0);
  }
}

@keyframes fadeInBlur {
  from {
    opacity: 0;
    filter: blur(0px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Hero section layout */
@media (min-width: 768px) {
  .hero-section-fullscreen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mission-section-layout {
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}

h2 {
  opacity: 0;
  transform: translateY(20px);
}

.content--canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* or lower than bg-wrapper */
  pointer-events: none;
}