:root {
  --primary: #424C6F;
  --secondary: #f77e4b;
}

html, body {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  background-color: rgb(238, 238, 238);
  line-height: 1.6em;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf");
}
#content {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  flex: 1;
  height: 0;
  overflow-y: auto;
}

.dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropbtn:hover, .dropbtn:focus {
  background-color: transparent;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: transparent;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  padding: 12px 16px;
  display: block;
}

.dropdown {
  display: inline-block;
}
.dropdown a {
  text-decoration: none;
  color: black;
  background-color: rgb(241, 241, 241);
  border-left: 5px solid var(--primary);
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}
.dropdown a:hover {
  background-color: var(--primary);
  color: white;
  cursor: pointer;
}
.dropdown #resp-label {
  display: none;
}

.show {
  display: block;
}

.btn {
  display: block;
  margin: auto;
  background: var(--primary);
  border: none;
  padding: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.overlay {
  position: fixed;
  /* disable csslint rule for next block because inset is not well supported by safari */
  /* stylelint-disable declaration-block-no-redundant-longhand-properties */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* stylelint-enable declaration-block-no-redundant-longhand-properties */
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 999;
}

button {
  cursor: pointer;
}

.popup {
  margin: 70px auto;
  background: white;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 0s ease-in-out;
}
.popup .content {
  overflow: auto;
}
.popup button.confirm {
  color: white;
  background-color: var(--secondary);
}
.popup button {
  border: none;
  padding: 20px;
  font-weight: bold;
  margin: 20px 10px;
}

.otherlang {
  margin-top: 50px;
}

.warning-message {
  max-width: 600px;
  padding: 20px;
  margin: 20px auto;
  background-color: rgba(255, 232, 179, 0.64);
  border-radius: 12px;
  border: solid rgba(247, 212, 75, 0.52);
}

.error-message {
  max-width: 600px;
  padding: 20px;
  margin: 20px auto;
  background-color: lightcoral;
  border: solid darkred;
  border-radius: 12px;
}

.success-message {
  max-width: 600px;
  padding: 20px;
  margin: 20px auto;
  background-color: rgba(158, 230, 71, 0.42);
  border: solid #198819;
  border-radius: 12px;
}

img[data-src] {
  filter: blur(0.2em);
}

img {
  filter: blur(0);
  transition: filter 0.5s;
}

#content a, #footer a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  background-image: linear-gradient(90deg, transparent 50%, var(--primary) 50%);
  background-size: 200% 2px;
  background-repeat: repeat-x;
  background-position-y: bottom;
  transition: background 0.2s ease-in-out;
}
#content a:hover, #footer a:hover {
  cursor: pointer;
  background-position-x: -100%;
}

/* stylelint-disable no-descending-specificity */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type=checkbox]:not(.switch) {
    border-radius: 7px;
  }
  input[type=checkbox]:not(.switch)::after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 6px;
    top: 3px;
    transform: rotate(var(--r, 20deg));
  }
  input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }
  input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
  }
  input[type=checkbox].switch::after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }
  input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }
  input[type=checkbox].switch:disabled:not(:checked)::after {
    opacity: 0.6;
  }
  input[type=radio] {
    border-radius: 50%;
  }
  input[type=radio]::after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
  }
  input[type=radio]:checked {
    --s: .5;
  }
  input[type=text],
  input[type=email],
  select {
    width: unset !important;
    cursor: unset !important;
    border-radius: 7px;
    padding: 5px;
  }
  select {
    height: 33px !important;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg width="20px" height="20px" stroke-width="2.3" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="%23000000"><path d="M6 9L12 15L18 9" stroke="%23000000" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round"></path></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
  }
  input[type=checkbox],
  input[type=radio],
  input[type=text],
  input[type=email],
  select {
    --active: var(--primary);
    --active-inner: #fff;
    --focus: 2px rgba(66, 76, 111, .3);
    --border: #BBC1E1;
    --border-hover: var(--primary);
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }
  input[type=checkbox] + label,
  input[type=radio] + label,
  input[type=text] + label,
  input[type=email] + label,
  select + label {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 7px;
    margin-right: 0;
    max-width: calc(100% - 28px);
  }
  input[type=checkbox]::after,
  input[type=radio]::after,
  input[type=text]::after,
  input[type=email]::after,
  select::after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }
  input[type=checkbox]:checked,
  input[type=radio]:checked,
  input[type=text]:checked,
  input[type=email]:checked,
  select:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }
  input[type=checkbox]:focus,
  input[type=radio]:focus,
  input[type=text]:focus,
  input[type=email]:focus,
  select:focus {
    box-shadow: 0 0 0 var(--focus);
  }
  input[type=checkbox]:disabled,
  input[type=radio]:disabled,
  input[type=text]:disabled,
  input[type=email]:disabled,
  select:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }
  input[type=checkbox]:disabled:checked,
  input[type=radio]:disabled:checked,
  input[type=text]:disabled:checked,
  input[type=email]:disabled:checked,
  select:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }
  input[type=checkbox]:disabled + label,
  input[type=radio]:disabled + label,
  input[type=text]:disabled + label,
  input[type=email]:disabled + label,
  select:disabled + label {
    cursor: not-allowed;
  }
  input[type=checkbox]:not(.switch),
  input[type=radio]:not(.switch),
  input[type=text]:not(.switch),
  input[type=email]:not(.switch),
  select:not(.switch) {
    width: 21px;
  }
  input[type=checkbox]:not(.switch)::after,
  input[type=radio]:not(.switch)::after,
  input[type=text]:not(.switch)::after,
  input[type=email]:not(.switch)::after,
  select:not(.switch)::after {
    opacity: var(--o, 0);
  }
  input[type=checkbox]:not(.switch):checked,
  input[type=radio]:not(.switch):checked,
  input[type=text]:not(.switch):checked,
  input[type=email]:not(.switch):checked,
  select:not(.switch):checked {
    --o: 1;
  }
  input[type=checkbox]:hover:not(:checked):not(:disabled),
  input[type=radio]:hover:not(:checked):not(:disabled),
  input[type=text]:hover:not(:checked):not(:disabled),
  input[type=email]:hover:not(:checked):not(:disabled),
  select:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }
  form.submitted input:invalid,
  form.submitted select:invalid {
    border-color: darkred;
    outline: 1px solid darkred;
  }
}
/* stylelint-enable no-descending-specificity */
.country-flag {
  width: 16px;
}

.material-symbols-outlined {
  color: black;
}