html {
  box-sizing: border-box;
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #d5c7ad inset !important;
  -webkit-text-fill-color: #f1ead8 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/*#endregion*/
body {
  font: 700 100% "Roboto Slab";
  color: #f1ead8;
  background: #d5c7ad;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #68604d transparent;
}
@media (pointer: coarse) {
  html {
    scroll-padding-top: 15dvh;
  }
}
@media (pointer: fine) {
  html {
    scroll-padding-top: 15vh;
  }
}

input,
textarea {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/*#endregion*/
#grid {
  display: grid;
  grid-template-areas: "header" "content" "footer";
  grid-template-rows: 15vh 1fr 5vh;
}
@media (pointer: coarse) {
  #grid {
    display: grid;
    grid-template-areas: "header" "content" "footer";
    grid-template-rows: 15dvh 1fr 5dvh;
  }
}

header {
  z-index: 9999;
  grid-area: header;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  background: #d5c7ad !important;
  border-bottom: 3px solid #68604d;
  padding: 10px 20px 10px 10px;
}
@media (pointer: coarse) {
  header {
    height: 15dvh;
  }
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}
#logo #logo-img {
  display: inline-block !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  cursor: pointer;
}
#logo #headline {
  color: #8a8e75;
  text-shadow: 1px 1px #f1ead8;
  font-size: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 10px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  position: relative;
  background-color: #8a8e75;
  box-shadow: 1px 1px #f1ead8;
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  content: "";
  position: absolute;
  top: -7px;
}

.hamburger::after {
  content: "";
  position: absolute;
  bottom: -7px;
}

.menu-container {
  z-index: 9999 !important;
  position: fixed;
  top: 15vh;
  bottom: 5vh;
  right: -100%;
  width: 100%;
  height: 80vh;
  background: #d5c7ad;
  transition: right 0.3s ease-in-out;
  padding: 80px 20px;
}
@media (pointer: coarse) {
  .menu-container {
    top: 15dvh;
    bottom: 5dvh;
    height: 80dvh;
    background: #8a8e75;
  }
}

@media (pointer: coarse) {
  .menu-container.active {
    right: 0%;
  }
}
@media (pointer: fine) {
  .menu-container.active {
    right: -80%;
  }
}

.menu-toggle.open .hamburger {
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.menu-toggle.open .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span {
  background-color: #8a8e75;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.open span {
  background-color: #8a8e75;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (pointer: coarse) {
  .main-navigation ul {
    align-items: center;
    width: 100%;
    text-align: center;
  }
}
.main-navigation li {
  list-style-type: none;
}
@media (pointer: coarse) {
  .main-navigation li {
    padding-bottom: 1%;
  }
}
.main-navigation a {
  text-decoration: none;
  margin-left: 15px;
  color: #8a8e75;
  text-shadow: 1px 1px #f1ead8;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.main-navigation a:hover {
  transform: translateX(5px) scale(1.1);
  color: #68604d;
}
@media (pointer: coarse) {
  .main-navigation a {
    color: #f1ead8;
    text-shadow: 1px 1px #68604d;
  }
}
.main-navigation .active-nav {
  pointer-events: none;
  color: #68604d;
  font-weight: bold;
  transform: scale(1.1);
}
@media (pointer: coarse) {
  .main-navigation .active-nav {
    color: #68604d;
    text-shadow: 1px 1px #d5c7ad;
    margin-left: 0px;
  }
}

/*#endregion*/
.lang-dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin-bottom: 5%;
  gap: 25px;
  margin-left: 15px;
}
@media (pointer: coarse) {
  .lang-dropdown ul {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
  }
}
.lang-dropdown li {
  transition: all 0.5s ease;
}
.lang-dropdown li a {
  text-decoration: none;
  color: #8a8e75;
  text-shadow: 1px 1px #f1ead8;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.lang-dropdown li a:hover {
  transform: scale(1.1);
  color: #68604d;
}
@media (pointer: coarse) {
  .lang-dropdown li a {
    color: #f1ead8;
    text-shadow: 1px 1px #68604d;
  }
}
.lang-dropdown li .active-lang {
  color: #68604d;
  text-shadow: 1px 1px #d5c7ad;
  pointer-events: none;
  color: #68604d;
  font-weight: bold;
  transform: scale(1.1);
}

#scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #68604d;
  border-radius: 5%;
  transition: width 0.1s ease-out;
  z-index: 10000;
}
@media (pointer: fine) {
  #scroll-progress {
    background-color: #d5c7ad;
  }
}

#content {
  grid-area: content;
  position: relative;
  height: 80vh !important;
  width: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: auto;
  overflow-x: hidden;
  transition: 0.3s ease-in-out;
}
@media (pointer: coarse) {
  #content {
    height: 80dvh !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
@media (pointer: fine) {
  #content.active {
    width: 80%;
  }
}
#content #home {
  border-right: 3px solid #68604d;
}
#content #home #hero-picture {
  width: 100%;
  height: 100%;
  filter: opacity(90%) brightness(95%);
}
#content #home #hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#content #home #hero-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}
#content #home #hero-overlay #title {
  text-shadow: 1px 1px #68604d;
  user-select: none;
}
@media (pointer: coarse) {
  #content #home #hero-overlay #title {
    font-size: 22px;
  }
}
#content #home #hero-overlay #title p:nth-child(1) {
  padding-left: 0px;
}
#content #home #hero-overlay #title p:nth-child(2) {
  padding-left: 40px;
}
#content #home ~ section {
  border-right: 3px solid #68604d;
}
#content #home ~ section figure {
  grid-area: image;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#content #home ~ section figure img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: opacity(90%) brightness(95%);
}
#content #home ~ section .container {
  grid-area: container;
  display: grid;
  grid-template-areas: "title" "content";
  height: 80vh;
  justify-content: center;
}
@media (pointer: coarse) {
  #content #home ~ section .container {
    height: 80dvh;
  }
}
#content #home ~ section .container .title {
  grid-area: title;
  padding-top: 5%;
  text-align: center;
  font-size: 38px;
}
@media (pointer: coarse) {
  #content #home ~ section .container .title {
    font-size: 26px;
  }
}
#content #home ~ section .container .section-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#content #home ~ section .container .section-content .list {
  height: 50vh;
  width: 40vw;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  justify-content: space-between;
  text-align: left;
  list-style: none;
  margin-left: 5%;
  font-size: 20px;
}
@media (pointer: coarse) {
  #content #home ~ section .container .section-content .list {
    height: 50dvh;
  }
}
#content #home ~ section:nth-child(even) {
  background-color: #d5c7ad;
  display: grid;
  grid-template-areas: "image title" "image container";
  grid-template-columns: 3fr 4fr;
  grid-template-rows: 1fr 11fr;
}
#content #home ~ section:nth-child(even) .title {
  color: #68604d;
  text-shadow: 1px 1px #bec5a4;
}
#content #home ~ section:nth-child(even) .section-content {
  color: #68604d;
  text-shadow: 1px 1px #bec5a4;
}
#content #home ~ section:nth-child(odd) {
  background-color: #8a8e75;
  display: grid;
  grid-template-areas: "title image" "container image";
  grid-template-columns: 4fr 3fr;
  grid-template-rows: 1fr 11fr;
}
#content #home ~ section:nth-child(odd) .title {
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
}
#content #home ~ section:nth-child(odd) .section-content {
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
}

#obstacles #obstacles-image {
  transform: scaleX(-1);
}

#challenges #challenges-image {
  transform: scaleX(-1);
}

#about {
  overflow: hidden;
}
#about #about-image {
  transform: scaleX(-1);
}
#about #about-container {
  display: grid;
  grid-template-areas: "about-title   ." "about-content about-content";
  grid-template-rows: 5vh 75vh;
  grid-template-columns: 50% 50%;
}
#about #about-container #about-title {
  grid-area: about-title;
  text-align: left;
  margin-left: 20%;
  margin-top: 15%;
}
#about #about-container #about-article {
  grid-area: about-content;
  overflow: hidden;
  margin: 10% 20% 0 10%;
  font-size: 14px;
}
@media (pointer: fine) {
  #about #about-container #about-article {
    width: 40vw;
    font-size: 18px;
    margin-top: 10%;
  }
}
@media (pointer: coarse) and (min-width: 768px) {
  #about #about-container #about-article {
    display: block;
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  #about #about-container #about-article #article-two {
    display: none;
  }
}
@media (pointer: coarse) and (min-width: 768px) {
  #about #about-container #about-article #article-two {
    display: block;
    font-size: 16px;
  }
}
#about #about-container #about-signature {
  grid-area: about-signature;
  overflow: hidden;
}
#about #about-container #about-signature #signature {
  transform: scale(0.8) rotate(-15deg);
}
@media (pointer: fine) {
  #about #about-container #about-signature #signature {
    transform: scale(0.6) rotate(-15deg);
  }
}

#contact #contact-form {
  height: 80vh !important;
  text-align: center;
  padding-top: 10vh;
}
@media (pointer: coarse) {
  #contact #contact-form {
    height: 80dvh !important;
    padding-top: 10dvh !important;
  }
}
#contact #form-feedback {
  height: 80vh !important;
  text-align: center;
  padding-top: 20vh;
}
#contact #form-feedback p {
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
  padding: 0 15px 0 15px;
  margin: 0;
  font-weight: bold;
}
@media (pointer: coarse) {
  #contact #form-feedback {
    height: 80dvh !important;
    padding-top: 20dvh !important;
  }
}
#contact .contact-form {
  display: flex;
  flex-direction: column;
}
#contact .contact-form section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#contact .contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin: 10px;
}
#contact .contact-form .form-group textarea {
  resize: none;
}
#contact .contact-form .form-group input {
  margin-bottom: 5px;
}
#contact .contact-form .form-group input,
#contact .contact-form .form-group select,
#contact .contact-form .form-group textarea {
  width: 100%;
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
  background: #8a8e75;
  border: 1px solid #68604d;
  border-radius: 4px;
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  outline: none;
}
#contact .contact-form .form-group input::placeholder,
#contact .contact-form .form-group select::placeholder,
#contact .contact-form .form-group textarea::placeholder {
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
  opacity: 0.6;
}
#contact .contact-form .form-group input:not(:placeholder-shown),
#contact .contact-form .form-group select:not(:placeholder-shown),
#contact .contact-form .form-group textarea:not(:placeholder-shown) {
  background: #d5c7ad;
  color: #68604d;
  text-shadow: 1px 1px #bec5a4;
}
#contact .contact-form .form-group input:-webkit-autofill, #contact .contact-form .form-group input:-webkit-autofill:hover, #contact .contact-form .form-group input:-webkit-autofill:focus, #contact .contact-form .form-group input:-webkit-autofill:active,
#contact .contact-form .form-group select:-webkit-autofill,
#contact .contact-form .form-group select:-webkit-autofill:hover,
#contact .contact-form .form-group select:-webkit-autofill:focus,
#contact .contact-form .form-group select:-webkit-autofill:active,
#contact .contact-form .form-group textarea:-webkit-autofill,
#contact .contact-form .form-group textarea:-webkit-autofill:hover,
#contact .contact-form .form-group textarea:-webkit-autofill:focus,
#contact .contact-form .form-group textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #d5c7ad inset !important;
  -webkit-text-fill-color: #68604d !important;
  font-family: inherit !important;
  transition: background-color 5000s ease-in-out 0s;
}
#contact .loading-dots {
  display: inline-block;
}
#contact .loading-dots span {
  animation: blink 1.4s infinite both;
}
#contact .loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
#contact .loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
#contact .hp-field {
  display: none !important;
  visibility: hidden;
}

footer {
  grid-area: footer;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5vh;
  background: #d5c7ad !important;
  border-top: 3px solid #68604d;
  padding: 10px 10px 10px 10px;
  display: flex;
  justify-content: space-between;
}
footer p {
  color: #8a8e75;
  text-shadow: 1px 1px #f1ead8;
  font-size: 13px;
}
@media (pointer: coarse) {
  footer {
    height: 5dvh;
  }
}

.enumeration {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 5%;
  grid-template-rows: repeat(3, min-content);
  row-gap: 5%;
  justify-items: start;
}
.enumeration h4 {
  white-space: nowrap;
  grid-column: 1;
  grid-row: 1/span 3;
  font-size: 40px;
}
@media (pointer: coarse) {
  .enumeration h4 {
    font-size: 20px;
  }
}
.enumeration p {
  white-space: nowrap;
}
.enumeration p a {
  color: #f1ead8;
  text-shadow: 1px 1px #68604d;
  text-decoration: underline;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}
@media (pointer: coarse) {
  .enumeration p a {
    font-size: 20px;
  }
}
.enumeration p:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
  font-size: 25px;
}
@media (pointer: coarse) {
  .enumeration p:nth-of-type(1) {
    font-size: 20px;
  }
}
.enumeration p:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
  font-size: 20px;
}
@media (pointer: coarse) {
  .enumeration p:nth-of-type(2) {
    font-size: 15px;
  }
}
.enumeration p:nth-of-type(3) {
  grid-column: 2;
  grid-row: 3;
  font-size: 20px;
}
@media (pointer: coarse) {
  .enumeration p:nth-of-type(3) {
    font-size: 15px;
  }
}

.hiddenDetail {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .hiddenDetail {
    display: none;
  }
}

.scroll-snap {
  height: 80vh !important;
  border: none;
}
@media (pointer: coarse) {
  .scroll-snap {
    height: 80dvh !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: none;
  }
}

.cta-button {
  display: inline-block;
  background-color: #d5c7ad;
  padding: 8px 20px;
  border: 3px solid #68604d;
  border-radius: 4px;
}
.cta-button p {
  color: #68604d;
  text-shadow: 1px 1px #bec5a4;
  font-weight: bold;
  text-decoration: none;
}