:root {
  --primary: #e7dfd2;
  --text: #663911;
}

@font-face {
  src: url("../fonts/DokoSans-Regular.otf");
  font-family: "DokoSans-regular";
}
@font-face {
  src: url("../fonts/DokoSans-Bold.otf");
  font-family: "DokoSans-bold";
}

a {
  color: black;
  text-decoration: none;
}

label {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--primary);
  font-family: DokoSans-regular;
  font-size: 1.125rem;
  height: 100%;
  color: var(--text);
}

input {
  color: var(--primary);
  background: none;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  border-style: solid;
  border-color: var(--primary);
  border-radius: 5px;
  font-family: DokoSans-regular;
  font-size: 1rem;
  padding: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 300px white inset;
}

input:-webkit-autofill {
  -webkit-text-fill-color: black !important;
  font-family: DokoSans-regular;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

img,
button,
input {
  user-select: none;
}

form {
  user-select: none;
  position: relative;
}

select {
  background-image: url("../img/contact-us/dropdown.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: DokoSans-regular;
  font-size: 1.25rem;
  border: none;
  color: white;
  outline: none;
  cursor: pointer;
  width: 11rem;
}

@keyframes dropdownAnimation {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: auto;
    opacity: 1;
  }
}
select option {
  background-color: black;
  color: white;
  border: none;
  padding-right: 1rem;
  outline-color: black;
  border-color: black;
}

select:focus {
  outline: none;
  box-shadow: none;
  outline-color: black;
  border-color: black;
  background-color: black;
}

.highlighted-text {
  font-weight: bold;
  text-decoration: underline;
}

button {
  cursor: pointer;
}

:focus {
  outline: none !important;
}

button,
input,
image {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

textarea {
  color: black;
  background: none;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  border-style: solid;
  border-color: var(--primary);
  border-radius: 5px;
  font-family: DokoSans-regular;
  font-size: 1rem;
  padding: 1rem;
  min-height: 15rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  border-width: 0.125rem;
}

.submit-msg {
  display: none;
  color: green;
  font-size: 1.125rem;
  letter-spacing: 0.0625rem;
  margin-top: 1.5rem;
}

.error-msg {
  display: none;
  color: red;
  font-size: 1rem;
  letter-spacing: 0.0625rem;
  margin-top: 1rem;
}

.animate {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInLeft {
  0% {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  0% {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__slideInLeft {
  animation-name: slideInLeft;
}

.animate__slideInRight {
  animation-name: slideInRight;
}

@media screen and (min-width: 1024px) {
  .hidden-on-desktop {
    display: none;
    visibility: hidden;
  }
}
@media screen and (max-width: 1023px) {
  .hidden-on-mobile {
    display: none;
    visibility: hidden;
  }
}

@media screen and (max-width: 1024px) {
  .scroll {
    overflow: visible;
  }

  .scroll.off {
    overflow: hidden !important;
  }

  .overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 99;
    pointer-events: none;
  }

  .overlay.active {
    opacity: 1;
    transition: all 0.4s ease-in-out;
    pointer-events: auto;
  }
}
