@import url("https://fonts.googleapis.com/css2?family=Kanit&display=swap");
@import url("https://use.typekit.net/lxd2qvl.css");

* {
  margin: 0;
  padding: 0;
  max-width: 1920px;
}

body {
  box-sizing: border-box;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

html {
  margin: 0 auto;
  font-family: "Kanit", sans-serif;
  font-size: 100%;
  box-sizing: border-box;
  background-color: rgb(79, 95, 170);
}

textarea {
    resize: none;
}

/* --- HONEYPOT BOT-FÆLDE UTILITY --- */
.v-shield {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- CONTACT SECTION --- */
.contact {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact input:valid + span::after {
  position: absolute;
  content: "✓";
  margin-top: 1rem;
  padding-left: 0.5rem;
  color: rgba(5, 49, 5, 0.2823529412);
  font-size: 1.8rem;
  margin-left: -3rem;
}
.contact-content {
  margin-top: 10vh;
}
.contact-form-input {
  width: 500px;
  padding: 0.5rem;
  margin-top: 1rem;
  background-color: rgba(64, 57, 63, 0.1215686275);
  font-family: "lft-etica-mono", sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid rgba(26, 36, 33, 0.4588235294);
  border-top: none;
  border-left: none;
  border-right: none;
  line-height: 1.5;
  letter-spacing: 2px;
  color: #1A2421;
}
.contact-form-input:invalid {
  content: "Udfylf venligst korrekt";
}
.contact-form-input:valid {
  border-bottom: 2px solid rgba(26, 36, 33, 0.4588235294);
}
.contact-form-txt {
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  line-height: 160%;
  padding: 1.5rem;
  color: black;
}
.contact-form-txt-icon {
  width: 1.5rem;
  padding-right: 0.5rem;
  float: left;
}
.contact-form-success {
  text-align: center;
  margin-top: 2rem;
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  line-height: 160%;
  padding: 1.5rem;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-form-error {
  text-align: center;
  margin-top: 2rem;
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  line-height: 160%;
  padding: 1.5rem;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-form-error-link {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  font-size: 1.5rem;
  color: #000;
}
.contact-form-error-link:hover {
  color: #fff5ef;
  cursor: pointer;
}
.contact #inputMessage {
  width: 500px;
  padding: 0.5rem;
  margin-top: 1rem;
  background-color: rgba(64, 57, 63, 0.1215686275);
  font-family: "lft-etica-mono", sans-serif;
  border-bottom: 1px solid rgba(26, 36, 33, 0.4588235294);
  border-top: none;
  border-left: none;
  border-right: none;
  line-height: 1.5;
  letter-spacing: 2px;
  color: #1A2421;
  resize: none;
}
.contact #inputMessage:valid {
  border-bottom: 2px solid rgba(26, 36, 33, 0.4588235294);
}
.feedback {
    color: rgb(113, 14, 14);
    font-size: 0.8em;
    margin-top: 5px;
    min-height: 1em; 
}
.feedback.valid::after {
    content: "✓";
    color: rgb(3, 82, 3);
    margin-left: 5px;
}

.custom-btn {
  float: right;
  border: none;
  background: transparent;
  cursor: pointer;
}
.custom-btn-img {
  width: 4rem;
}
.custom-btn:hover {
  cursor: pointer;
}
.custom-btn:after {
  position: absolute;
  content: url("../images/img-email_aftenregn_black-500px.png");
  visibility: hidden;
  opacity: 0;
  transition: opacity 3.5s ease-in-out;
  margin-top: -20rem;
  margin-left: -34rem;
}
@media (max-width: 1024px) {
  .custom-btn:after {
    content: url("../images/img-email_aftenregn_black-500px.png");
  }
}
@media (max-width: 768px) {
  .custom-btn:after {
    content: url("../images/img-email_aftenregn_black-300px.png");
  }
}
.custom-btn:hover:after {
  opacity: 1;
  visibility: visible;
}

.custom-404-title {
    color: #fff !important;
}

.custom-404-text {
    text-align: center;
    font-family: 'Kanit', sans-serif;
    color: #000;
}

.custom-404-link-container {
    text-align: center;
    margin-top: 2rem;
}