/* ------------------------- Styleguide ® Code by Dennis -------------------------------------------------- */

/* ------------------------- Fonts -------------------------------------------------- */

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-Lt.ttf') format('truetype');
   font-weight: 300;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-LtIt.ttf') format('truetype');
   font-weight: 300;
   font-style: italic;
   font-display: swap;
}

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-Roman.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-It.ttf') format('truetype');
   font-weight: 400;
   font-style: italic;
   font-display: swap;
}

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-MdEx.ttf') format('truetype');
   font-weight: 600;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Helvetica Neue LT Pro';
   src: url('../fonts/HelveticaNeueLTPro-BdEx.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
   font-display: swap;
}

/* ------------------------- Colors -------------------------------------------------- */

:root {

   --color-dark-rgb: 0, 33, 27;
   --color-dark: rgba(var(--color-dark-rgb), 1);

   --color-light-rgb: 243, 241, 235;
   --color-light: rgba(var(--color-light-rgb), 1);

   --color-white-rgb: 255, 255, 255;
   --color-white: rgba(var(--color-white-rgb), 1);

   --color-black-rgb: 0, 0, 0;
   --color-black: rgba(var(--color-black-rgb), 1);

   --color-primary: #10352B;
   --color-secondary: #B0A47F;
   --color-gray: #E3DECF;
   --color-gray-darker: #d9d3bf;
   --color-lightgray: #EDEAE0;

   --color-border: var(--color-gray);
   --color-border-light: var(--color-primary);
   --color-text: rgba(var(--color-dark-rgb), 1);
   --color-text-light: rgba(var(--color-white-rgb), 1);

   --color-alert-error: #c60000;
   --color-alert-success: #46d054;

   --animation-primary: 0.3s cubic-bezier(0.3, 1, 0.3, 1);
   --animation-bounce: 0.4s cubic-bezier(0.3, 2, 0.6, 1);
   --animation-smooth: 0.6s cubic-bezier(.7, 0, .3, 1);

   --section-padding: min(8vw, 8em);
   --container-padding: min(4vw, 4em);

   --row-padding: clamp(2.5em, 4vw, 4em);
   --row-padding-small: clamp(1.5em, 2.5vw, 2.5em);
   --col-padding: clamp(1.5em, 4vw, 4em);
   --col-padding-small: clamp(2em, 2.5vw, 2.5em);

   --title-size: clamp(5em, 7.5vw, 8.5em);

   --border-radius: 0;
}

[data-theme-section="dark"] {
   --color-border: var(--color-primary);
   --color-text: rgba(var(--color-white-rgb), 1);
}

@media screen and (max-width: 1024px) {
   :root {
      --container-padding: 6vw;
   }
}

@media screen and (max-width: 720px) {
   :root {
      --section-padding: 12vh;
   }
}

@media screen and (max-width: 540px) {

   :root {
      --section-padding: min(4em, 12vh);
      --container-padding: clamp(1.25em, 4vw, 2.5em);
   }
}

/* ------------------------- Hide Scrollbar -------------------------------------------------- */

body::-webkit-scrollbar{display: none;} /* Chrome, Safari, Opera */
body {-ms-overflow-style: none;} /* IE & Edge */
html {scrollbar-width: none;} /* Firefox */

/* ------------------------- Body -------------------------------------------------- */

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
li, ul, figure { padding: 0; margin: 0; list-style: none;}

html {
   scroll-behavior: initial;
}

body {
   -webkit-font-smoothing: antialiased;
   font-family: 'Helvetica Neue LT Pro', sans-serif;
   color: var(--color-text);
   line-height: 1.5;
   font-weight: 400;
   font-style: normal;
   font-size: 16px;
   font-size: clamp(16px, 1.2vw, 20px);
   background-color: var(--color-light);
}

html, body {
   width: 100%;
   min-height: 100%;
   -webkit-font-smoothing: antialiased;
   position: relative;
}

/* Selection */
::selection {
   background-color: var(--color-primary);
   color: var(--color-light);
   text-shadow: none;
}

::-moz-selection {
   background-color: var(--color-primary);
   color: var(--color-light);
   text-shadow: none;
}

/* General */
canvas, img, video, picture, figure {
   max-width: 100%;
   height: auto;
   box-sizing: border-box;
   display: block;
}

svg {
   max-width: none;
   height: auto;
   box-sizing: border-box;
}

audio, canvas, iframe, img, svg, video, picture, figure {
   vertical-align: middle;
}

/* ------------------------- Typography -------------------------------------------------- */

h1, h2, h3, h4, h5, h6, p, a, li, ul, ol, span, strong, em, figcaption  {padding: 0; margin: 0; font-style: normal; letter-spacing: normal;}

h1 {
   font-weight: 600;
   font-size: calc(var(--title-size) * 0.625);
   line-height: 1;
   color: var(--color-dark);
}

h2, 
h1.small {
   font-weight: 600;
   font-size: calc(var(--title-size) * 0.45);
   line-height: 1.1;
   color: var(--color-dark);
}

h3 {
   font-weight: 600;
   font-size: calc(var(--title-size) * 0.25);
   line-height: 1.2;
   color: var(--color-dark);
}

h3.big {
   font-weight: 600;
   font-size: calc(var(--title-size) * 0.35);
   line-height: 1.1;
   color: var(--color-dark);
}

@media screen and (max-width: 1024px) {
   h1 {
      font-size: calc(var(--title-size) * 0.75);
   }
}

@media screen and (max-width: 540px) {
   h1 {
      font-size: 10vw;
   }

   h2, 
   h1.small {
      font-size: 7.75vw;
   }

}

[data-theme-section="dark"] :where(h1, h2, h3) {
   color: var(--color-white);
}

h5 {
   font-weight: 600;
   font-size: 0.775em;
   line-height: 1;
   color: var(--color-secondary);
   text-transform: uppercase;
   letter-spacing: 0.16em;
}

h6 {
   font-weight: 600;
   font-size: 0.675em;
   line-height: 1.3;
   color: var(--color-secondary);
   text-transform: uppercase;
   letter-spacing: 0.14em;
}

[data-theme-section="dark"] :where(h5, h6) {
   color: var(--color-secondary);
}

p {
   font-weight: 400;
   font-style: normal;
   font-size: 1em;
   line-height: 1.55;
   color: var(--color-text);
}

span {
   font-weight: inherit;
   color: inherit;
}

strong {
   font-weight: 600;
   color: var(--color-dark);
}

em {
   font-style: italic;
}

[data-theme-section="dark"] strong {
   color: var(--color-white);
}

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

/* ------------------------- Styled - Typography -------------------------------------------------- */

.styled-content {
   gap: var(--row-padding-small);
}

.styled-content :where(h1, h2, h3, p) {
   margin-bottom: 1.25em;
}

.styled-content :where(h1, h2, h3, p):last-child {
   margin-bottom: 0;
}

.styled-content p > a {
   color: var(--color-dark);
   text-decoration: underline;
   white-space: nowrap;
   transition: var(--animation-primary);
}

.styled-content p > a:hover {
   opacity: 0.5;
}

[data-theme-section="dark"] .styled-content p > a,
.notification-bar.styled-content p > a {
   color: var(--color-light);
}

.styled-content ul {
   display: flex;
   flex-direction: column;
   padding-left: 1em;
   padding-bottom: 1em;
}

.styled-content ul li {
   position: relative;
}

.styled-content ul li::before {
   content: "";
   left: -1em;
   top: 50%;
   transform: translateY(-50%);
   height: 0.3em;
   width: 0.3em;
   background: var(--color-primary);
   position: absolute;
   border-radius: 50%;
}

.large-p p {
   font-weight: 300;
   font-size: 1.45em;
   line-height: 1.333;
}

.small-p p {
   font-size: 0.85em;
   line-height: 1.666;
}

.styled-content.flex {
   display: flex;
   flex-direction: column;
   gap: var(--row-padding-small);
}

.styled-content figure,
.styled-content .image-box,
.styled-content figure img {
   width: 100%;
}

.styled-content figure figcaption {
   font-size: 0.8em;
   line-height: 1.666;
   padding-top: 1em;
}

@media screen and (max-width: 1024px) {
   .large-p p {
      font-size: 1.35em;
   }
}

/* ------------------------- Main Elements -------------------------------------------------- */

.section {
   padding-top: var(--section-padding);
   padding-bottom: var(--section-padding);
   position: relative;
}

.section-wrap {
   position: relative;
}

[data-theme-section="dark"]:where(.section, .section-wrap) {
   background-color: var(--color-dark);
}

[data-background-section="lightgray"]:where(.section, .section-wrap) {
   background-color: var(--color-lightgray);
}

[data-background-section="secondary"]:where(.section, .section-wrap) {
   background-color: var(--color-secondary);
}

.container {
   margin: 0 auto;
   padding-left: var(--container-padding);
   padding-right: var(--container-padding);
   max-width: calc(var(--title-size) * 12);
}

.container.full {
   max-width: 100vw;
}

.container.large {
   max-width: calc(var(--title-size) * 13.333);
}

.container.small {
   max-width: calc(var(--title-size) * 8);
}

.container.tiny {
   max-width: calc(var(--title-size) * 6);
}

.row {
   display: flex;
   width: 100%;
   position: relative;
}

.col {
   position: relative;
}

.col:has(.col-row) {
   display: flex;
   flex-direction: column;
}

.col-row {
   position: relative;
}

.overlay {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
}

.overlay.overlay-dark {
   background-color: rgba(var(--color-black-rgb), 0.5);
}

img.overlay,
video.overlay {
   object-fit: cover;
}

.no-select {
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

@media screen and (min-width: 1024px) {
   
   div.mobile, .mobile {
      display: none;
   }
}

@media screen and (max-width: 1024px) {
   
   div.desktop, .desktop {
      display: none;
   }
}

/* ------------------------- Most Used -------------------------------------------------- */

/* Basic 2 Col Grid */

.row.split {
   flex-wrap: wrap;
   gap: var(--row-padding) var(--gap);
   --gap: var(--col-padding);
   --columns: 2;
}

.row.split.large-gap {
   --gap: calc(var(--col-padding) * 2);
}

.row.split > .col {
   width: calc((99.99% / var(--columns)) - (var(--gap) * ((var(--columns) - 1) / var(--columns))));
}

@media screen and (max-width: 1024px) {
   .row.split {
      --columns: 1;
   }
}

/* Row - Two Third */

.row.two-third {
   max-width: 66.66%;
}

@media screen and (max-width: 1024px) {
   .row.two-third {
      max-width: 100%;
   }
}

/* Row - Half */

.row.half {
   max-width: 50%;
}

@media screen and (max-width: 1024px) {
   .row.half {
      max-width: 100%;
   }
}

/* Section Full Height */

.section.full-height {
   padding: 0;
}

.section.full-height .row {
   min-height: 100vh;
   padding-top: var(--section-padding);
   padding-bottom: var(--section-padding);
}

@media (hover: hover) { 
   .section.full-height .row {
      min-height: 100vh;
      min-height: calc(var(--vh, 1vh) * 100);
   }
}

@media screen and (min-width: 1024px) {

   .section.full-height-desktop {
      padding: 0;
   }
   
   .section.full-height-desktop .row {
      min-height: 100vh;
      padding-top: var(--section-padding);
      padding-bottom: var(--section-padding);
   }
}

/* ------------------------- Main -------------------------------------------------- */

main {
   overflow: hidden;
   box-sizing: border-box;
}

main, body {
   overflow: visible;
}

.main-wrap {
   will-change: transform;
   box-sizing: border-box;
}

footer {
   margin-bottom: -1px;
}

/* ------------------------- Buttons -------------------------------------------------- */

.row-btn {
   align-items: flex-start;
   gap: 0.5em;
}

.btn {
   position: relative;
   border: 0;
   outline: 0;
   flex-shrink: 0;
}

.btn input {
   cursor: pointer;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0;
}

.btn .btn-click {
   cursor: pointer;
   border: 0;
   outline: 0;
   background-color: transparent;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   border-radius: 100em;
   height: 3.2em;
}

.btn .btn-fill {
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) rotate(0.001deg);
   background-color: transparent;
   border-radius: 100em;
   border: 2px solid var(--color-secondary);
   transition: height var(--animation-bounce), border var(--animation-primary), background-color var(--animation-primary);
   height: 100%;
   pointer-events: none;
}

.btn .btn-content {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0.5em 1.4em 0.5em 1.4em;
   gap: 0.8em;
}

.btn .btn-content span {
   text-transform: uppercase;
   font-weight: 600;
   font-size: 0.7em;
   line-height: 1;
   color: var(--color-dark);
   text-transform: uppercase;
   letter-spacing: 0.14em;
   transition: color var(--animation-primary);
}

.btn .btn-content i {
   position: relative;
   width: 0.9em;
   height: 0.9em;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-shrink: 0;
}

.btn .btn-content i .arrow {
   position: relative;
   width: 100%;
   height: 100%;
   transform: rotate(0.001deg);
   transition: all var(--animation-bounce);
}

.btn .btn-content i .arrow .bar {
   position: absolute;
   background-color: var(--color-secondary);
   transition: all var(--animation-bounce);
}

.btn .btn-content i .arrow .bar:nth-child(1) {
   width: 2px;
   height: 100%;
   right: 0;
   top: 0;
   transform: scaleY(1) rotate(0.001deg);
   transform-origin: right bottom;
}

.btn .btn-content i .arrow .bar:nth-child(2) {
   width: 100%;
   height: 2px;
   bottom: 0;
   right: 0;
   transform: scaleX(1) rotate(0.001deg);
   transform-origin: right bottom;
}

.btn .btn-content i .arrow .bar:nth-child(3) {
   width: 120%;
   height: 2px;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) rotate(45deg);
}

/* Hover */

.btn .btn-click:hover .btn-fill {
   height: 70%;
   background-color: var(--color-dark);
   border: 2px solid var(--color-dark);
}

.btn .btn-click:hover .btn-content i .arrow {
   transform: rotate(-45deg);
}

.btn .btn-click:hover .btn-content i .bar:nth-child(1) {
   transform: scaleY(0.6) rotate(0.001deg);
}

.btn .btn-click:hover .btn-content i .bar:nth-child(2) {
   transform: scaleX(0.6) rotate(0.001deg);
}

.btn .btn-click:hover .btn-content span {
   color: var(--color-white);
}

/* Dark */

[data-theme-section="dark"] .btn .btn-content span {
   color: var(--color-white);
}

[data-theme-section="dark"] .btn .btn-click:hover .btn-fill {
   background-color: var(--color-white);
   border: 2px solid var(--color-white);
}

[data-theme-section="dark"] .btn .btn-click:hover span {
   color: var(--color-dark);
}


/* Secondary */

.btn.btn-secondary .btn-fill {
   background-color: var(--color-secondary);
}

.btn.btn-secondary .btn-content {
   color: var(--color-dark);
}

/* Dark */

.btn.btn-dark .btn-fill {
   background-color: var(--color-dark);
}

/* ------------------------- Figure -------------------------------------------------- */

.styled-figure {
   display: flex;
   flex-direction: column;
   gap: 0.5em;
   position: relative;
}

.styled-figure figcaption {
   font-weight: 400;
   font-style: normal;
   font-size: 0.8em;
   line-height: 1.3;
   color: var(--color-text);
}

/* ------------------------- Styled Image / Video -------------------------------------------------- */

.styled-image,
.styled-video {
   display: flex;
   flex-direction: column;
   position: relative;
}

.styled-image[data-ratio-status="true"] img,
.styled-video[data-ratio-status="true"] video {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   object-fit: cover;
}

.styled-image.overlay,
.styled-video.overlay {
   object-fit: cover;
}

/* ------------------------- Styled Form -------------------------------------------------- */

.styled-form {
   display: flex;
   flex-direction: column;
   width: 100%;
   gap: var(--row-padding-small);
}

.styled-form h2 {
   margin-top: 0.5em;
   margin-bottom: 0.2em;
}

.styled-form .form-col {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
}

.styled-form .form-label {
   padding-bottom: 0.25em; 
}

.styled-form abbr[title] {
   color: var(--color-secondary);
   text-decoration: none;
   font-size: 1.2em;
}

.styled-form input {
   display: block;
   transition: var(--animation-primary);
}

.styled-form input::placeholder {
   color: rgba(var(--color-dark-rgb), 0.5);
}

/* Text */

.styled-form input:where([type="text"], [type="email"], [type="tel"]) {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   border-bottom: 2px solid var(--color-border);
   padding: 1.25em 0em;
   width: 100%;
   border-radius: 0;
   background-color: transparent;
   transition: border var(--animation-primary);
}

.styled-form input:where([type="text"], [type="email"], [type="tel"]):focus {
   outline: 0;
   outline-width: 1px !important;
   outline-offset: 0px;
   border-bottom: 2px solid var(--color-secondary);
}

/* Textarea */

.styled-form textarea {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 2px solid var(--color-border);
   resize: vertical;
   min-height: 18em;
   padding: 1.25em 1em;
   width: 100%;
   border-radius: 0;
   background-color: transparent;
   margin-top: 1em;
   transition: border var(--animation-primary);
}

.styled-form textarea:focus {
   outline: 0;
   outline-width: 1px !important;
   outline-offset: 0px;
   border: 2px solid var(--color-secondary);
}

.styled-form textarea.small {
   min-height: 6em;
}

/* Select */

.styled-form select {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   border-bottom: 2px solid var(--color-border);
   padding: 1.25em 2em 1.25em 0;
   width: 100%;
   border-radius: 0;
   background-color: transparent;
   background-image: url("../images/chevron-bottom-color.svg");
   background-size: 1em;
   background-repeat: no-repeat;
   background-position: right center;
   transition: border var(--animation-primary);
}

.styled-form select:invalid {
   color: rgba(var(--color-dark-rgb), 0.5);
}

.styled-form select:focus {
   outline: 0;
   outline-width: 1px !important;
   outline-offset: 0px;
   border-bottom: 2px solid var(--color-secondary);
}

/* --- Radio --- */

.styled-form .radio-group {
   display: flex;
   gap: 1em;
   padding-top: 0.7em;
}

.styled-form .radio {
   display: flex;
   gap: 0.5em;
   position: relative;
}

.styled-form .radio input {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   opacity: 0;
   position: absolute;
   z-index: 1;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   cursor: pointer;
}

.styled-form .radio label {
   order: 2;
   padding: 0.5em 1em 0.5em 0;
   transition: var(--animation-primary);
   color: rgba(var(--color-dark-rgb), 0.5);
}

.styled-form .radio .custom-radio {
   position: relative;
   order: 1;
   width: 1.2em;
   height: 1.2em;
   border: 1px solid var(--color-secondary);
   border-radius: 0em;
   box-shadow: 0;
   overflow: hidden;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-top: 0.1em;
   transition: var(--animation-primary);
   flex-shrink: 0;
   margin-top: 0.65em;
}

.styled-form .radio .custom-radio:after {
   display: block;
   content: "";
   width: 0.6em;
   height: 0.6em;
   background: var(--color-secondary);
   border-radius: 50%;
   transform: scale(0) rotate(0.001deg);
   transition: var(--animation-bounce);
}

.styled-form .radio input:checked ~ .custom-radio:after {
   transform: scale(1) rotate(0.001deg);
}

.styled-form .radio:hover input ~ .custom-radio {
   background-color: var(--color-gray);
}

.styled-form .radio input:checked ~ .custom-radio {
   border: 1px solid var(--color-secondary);
   background-color: var(--color-light);
}

.styled-form .radio input:checked + label {
   color: rgba(var(--color-dark-rgb), 1);
}

/* --- Checkbox --- */

.styled-form .checkbox-group {
   display: flex;
   flex-direction: column;
}

.styled-form label + .checkbox-group {
   padding-top: 0.7em;
}

.styled-form .checkbox {
   display: flex;
   gap: 0.5em;
   position: relative;
}

.styled-form .checkbox input {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   opacity: 0;
   position: absolute;
   z-index: 1;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   cursor: pointer;
}

.styled-form .checkbox label {
   order: 2;
   padding: 0.5em 1em 0.5em 0;
   transition: var(--animation-primary);
   color: rgba(var(--color-dark-rgb), 0.5);
}

.styled-form .checkbox .custom-checkbox {
   position: relative;
   order: 1;
   width: 1.2em;
   height: 1.2em;
   border: 1px solid var(--color-secondary);
   border-radius: 0em;
   box-shadow: 0;
   overflow: hidden;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-top: 0.1em;
   transition: var(--animation-primary);
   flex-shrink: 0;
   margin-top: 0.65em;
}

.styled-form .checkbox .custom-checkbox:after {
   display: block;
   content: "";
   width: 0.6em;
   height: 0.6em;
   background: var(--color-secondary);
   border-radius: 50%;
   transform: scale(0) rotate(0.001deg);
      transition: var(--animation-bounce);
}

.styled-form .checkbox input:checked ~ .custom-checkbox:after {
   transform: scale(1) rotate(0.001deg);
}

.styled-form .checkbox:hover input ~ .custom-checkbox {
   background-color: var(--color-gray);
}

.styled-form .checkbox input:checked ~ .custom-checkbox {
   border: 1px solid var(--color-secondary);
   background-color: var(--color-light);
}

.styled-form .checkbox input:checked + label {
   color: rgba(var(--color-dark-rgb), 1);
}

/* --- Upload / File --- */

.styled-form .styled-upload {
   display: flex;
   align-items: center;
   gap: 1em;
   position: relative;
   flex-wrap: wrap;
}

.styled-form .styled-upload .btn {
   z-index: 2;
}

.styled-form .styled-upload input {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   opacity: 0;
   height: 100%;
}

.styled-form .styled-upload .file-name,
.styled-form .styled-upload .file-none {
   overflow: hidden;
   white-space: nowrap;
   flex-shrink: 0;
}

.styled-form .styled-upload input:invalid ~ .file-none {
   color: rgba(var(--color-dark-rgb), 0.5);
   display: block;
}

.styled-form .styled-upload input:valid ~ .file-none {
   color: rgba(var(--color-dark-rgb), 0);
   display: none;
}

.styled-form .styled-upload input:invalid ~ .file-name {
   display: none;
}

.styled-form .styled-upload input:valid ~ .file-name {
   display: block;
   color: rgba(var(--color-dark-rgb), 1);
}


/* Error */

.styled-form input.has-error {
   border-bottom: 2px solid var(--color-alert-error);
}

.styled-form textarea.has-error {
   border: 2px solid var(--color-alert-error);
}

.styled-form .radio-group.has-error .radio .custom-radio {
   border: 1.5px solid var(--color-alert-error);
}

.styled-form input[type="checkbox"].has-error ~ .custom-checkbox {
   border: 1.5px solid var(--color-alert-error);
}

.styled-form .checkbox-group:has(.has-error) + .form-error-message {
   display: flex;
}

.styled-form select.has-error {
   border-bottom: 2px solid var(--color-alert-error);
}

.styled-form .has-error + .form-error-message {
   display: flex;
}

.styled-form input[type="file"].has-error ~ .form-error-message {
   display: flex;
}

.form-error-message {
   width: 100%;
   display: none;
   color: var(--color-alert-error);
   font-size: 0.9em;
   font-weight: 400;
   padding: 0.25em 0;
}


/* Submit */

.styled-form input[type="submit"] {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   outline: none;
   border: 0;
   padding: 1em;
   background: var(--color-primary);
   color: var(--color-light);
   cursor: pointer;
   border-radius: 0;
}

/* Autofill */

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
   -webkit-text-fill-color: #000;
   -webkit-box-shadow: 0 0 0px 1000px #fff inset;
   box-shadow: 0 0 0px 1000px #fff inset;
   transition: background-color 5000s ease-in-out 0s;
}

/* ------------------------- Borders -------------------------------------------------- */

.border-box {
   pointer-events: none;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: transparent;
   border: 2px solid var(--color-border);
   transition: border var(--animation-primary);
}

.border-static-y {
   width: 2px;
   height: 100%;
   background-color: var(--color-border);
   flex-shrink: 0;
   transition: background-color var(--animation-primary);
}

.border-static-x {
   height: 2px;
   width: 100%;
   background-color: var(--color-border);
   flex-shrink: 0;
   transition: background-color var(--animation-primary);
}

.border-bottom {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background-color: var(--color-border);
   transition: background-color var(--animation-primary);
}

.border-left {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 2px;
   background-color: var(--color-border);
   transition: background-color var(--animation-primary);
}

.border-right {
   position: absolute;
   top: 0;
   right: 0;
   height: 100%;
   width: 2px;
   background-color: var(--color-border);
   transition: background-color var(--animation-primary);
}

.border-top {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background-color: var(--color-border);
   transition: background-color var(--animation-primary);
}

/* ------------------------- Section - Styleguide -------------------------------------------------- */

.section-styleguide .row {
   border-bottom: 2px solid var(--color-border);
   padding: var(--row-padding-small) 0;
}

.section-styleguide .row-btn {
   padding: 0;
}

.section-styleguide .row:last-child {
   border-bottom: 0px;
}

.section-styleguide .row-sub-title {
   padding-bottom: 0;
   border-bottom: 0px;
}

.section-styleguide .row-color-blocks {
   --gap: max(0.5em, 3vw);
   --columns: 3;
   display: flex;
   flex-wrap: wrap;
   gap: var(--gap);
}

.section-styleguide .color-block {
   display: flex;
   align-items: center;
   justify-content: center;
   aspect-ratio: 3/2;
   border-radius: var(--border-radius);
   width: calc((99.9% / var(--columns)) - (var(--gap) * ((var(--columns) - 1) / var(--columns))));
}