:root {
  --black: #161616;
  --blue: #1fa8c7;
  --green: #1e975d;
}

@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: "LexendExa";
  src: url("../fonts/LexendExa.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "LexendPeta";
  src: url("../fonts/LexendPeta.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

body {
  color: #ffffff;
  background-color: var(--black);
  font-family: Lexend;
  font-weight: 400;
}

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

label {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

img,
button,
input,
form {
  user-select: none;
}

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;
}

input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media screen and (min-width: 1024px) {
  .hidden-on-desktop {
    display: none;
  }

  .tablet-only {
    display: none;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  .tablet-only {
    display: block !important;
  }
}

@media screen and (max-width: 1023px) {
  .hidden-on-mobile {
    display: none;
  }

  .tablet-only {
    display: none;
  }

  .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: 10;
    pointer-events: none;
  }

  .overlay.active {
    opacity: 1;
    transition: all 0.4s ease-in-out;
    pointer-events: auto;
  }
}

/* FORM SUCCESS & ERROR */
.form-msg {
  display: none;
  text-align: center;
}

.formSuccess {
  color: var(--green);
}

.formError {
  color: red;
}

.msg-sent {
  outline: 0.0625rem solid var(--green);
}

.msg-not-sent {
  outline: 0.0625rem solid red;
}

.no-line-break {
  display: inline;
}

/* Form Error */
form .row {
  position: relative;
}

.parsley-errors-list {
  font-size: 14px;
  list-style-type: none;
  position: absolute;
  bottom: -30px;
  left: 50%;
  padding: 10px;
  margin: 0;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  color: #721c24;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  white-space: nowrap;
  display: none;
}

.parsley-errors-list.visible {
  display: block;
}

.parsley-errors-list::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #f8d7da transparent;
}

.parsley-error {
  border-color: red !important;
}

/* Style for the error icon */
.parsley-error-item::before {
  content: "⚠️";
  display: inline-block;
  margin-right: 6px;
  color: red; /* Color of the icon */
  font-size: 16px; /* Size of the icon */
}

@media (min-width: 1440px) {
  .parsley-errors-list {
    left: 70%;
  }
}

@media (max-width: 1023px) {
  .parsley-errors-list {
    left: 70%;
  }
}

@media (max-width: 767px) {
  .parsley-errors-list {
    left: 60%;
  }
}

@media (max-width: 639px) {
  .parsley-errors-list {
    left: 50%;
  }
}
