
/*XXS*/
@media (max-width: 320px) {
  h1 {
    font-size: 16px;
    font-weight: 400;
  }

  h2 {
    font-size: 13px;
    font-weight: 400;
  }

  h3 {
    font-size: 12px;
    font-weight: 300;
  }

  a,
  text,
  input,
  select {
    font-size: 16px;
    font-weight: 200;
  }

  input:not([type="checkbox"]),
  select {
    width: 200px;
    min-width: 180px;
    padding: 6px 10px;
  }

  button {
    padding: 3px 2.5px;
    gap: 4px;
  }
}

/*XS*/
@media (min-width: 321px) and (max-width: 576px) {
  h1 {
    font-size: 16px;
    font-weight: 400;
  }

  h2 {
    font-size: 13px;
    font-weight: 400;
  }

  h3 {
    font-size: 12px;
    font-weight: 300;
  }

  a,
  text,
  input,
  select {
    font-size: 16px;
    font-weight: 200;
  }

  input:not([type="checkbox"]),
  select {
    width: 200px;
    min-width: 180px;
    padding: 6px 10px;
  }

  button {
    padding: 3px 2.5px;
    gap: 4px;
  }
}

/*S*/
@media (min-width: 577px) and (max-width: 768px) {
  h1 {
    font-size: 18px;
    font-weight: 500;
  }

  h2 {
    font-size: 14px;
    font-weight: 400;
  }

  h3 {
    font-size: 13.5px;
    font-weight: 300;
  }

  a,
  text,
  input,
  select {
    font-size: 18px;
    font-weight: 200;
  }

  input:not([type="checkbox"]),
  select {
    width: 200px;
    min-width: 180px;
    padding: 6px 10px;
  }

  button {
    padding: 4px;
    gap: 6px;
  }
}

/*M*/
@media (min-width: 769px) and (max-width: 992px) {
  h1 {
    font-size: 20px;
    font-weight: 500;
  }

  h2 {
    font-size: 16px;
    font-weight: 500;
  }

  h3 {
    font-size: 15px;
    font-weight: 400;
  }

  a,
  text,
  input,
  select {
    font-size: 18px;
    font-weight: 300;
  }

  input:not([type="checkbox"]),
  select {
    width: 230px;
    min-width: 210px;
    padding: 8px 12px;
  }

  button {
    padding: 4.5px;
    gap: 6px;
  }
}

/*L*/

@media (min-width: 993px) and (max-width: 1200px) {
  h1 {
    font-size: 24px;
    font-weight: 600;
  }

  h2 {
    font-size: 18px;
    font-weight: 500;
  }

  h3 {
    font-size: 16px;
    font-weight: 500;
  }

  a,
  text,
  input,
  select {
    font-size: 18px;
    font-weight: 300;
  }

  input:not([type="checkbox"]),
  select {
    width: 270px;
    min-width: 210px;
    padding: 8px 14px;
  }

  button {
    padding: 5px 6px;
    gap: 7px;
  }
}

/*XL*/
@media (min-width: 1201px) and (max-width: 1400px) {
  h1 {
    font-size: 28px;
    font-weight: 600;

  }

  h2 {
    font-size: 20px;
    font-weight: 600;
  }

  h3 {
    font-size: 18px;
    font-weight: 600;
  }

  a,
  text,
  input,
  select {
    font-size: 18px;
    font-weight: 400;
  }

  input:not([type="checkbox"]),
  select {
    width: 270px;
    min-width: 210px;
    padding: 10px 16px;
  }

  button {
    padding: 7px 8px;
    gap: 8px;
  }
}

/* XXL*/
@media (min-width: 1401px) {
  h1 {
    font-size: 30px;
    font-weight: 400;
  }

  h2 {
    font-size: 22px;
    font-weight: 600;
  }

  h3 {
    font-size: 20px;
    font-weight: 600;
  }

  a,
  text,
  input,
  select {
    font-size: 19px;
    font-weight: 400;
  }

  input:not([type="checkbox"]),
  select {
    width: 320px;
    min-width: 210px;
    padding: 12px 16px;
  }

  button {
    padding: 6px 8px;
    gap: 10px;
  }
}



/*GENERAL*/
h1,
h2,
h3 {
  font-family: 'sourgummy';
  color: var(--fancy-text-color);
  font-style: normal;
  line-height: normal;
  font-weight: normal;
}

a,
text,
input::placeholder {
  font-family: inter, Inter, Arial, sans-serif;
  font-style: normal;
  line-height: normal;
}

text.default {
  color: var(--text-color);
}

text.error {
  color: var(--error-color);
}

text.error::before {
  content: "🛈";
  margin-right: 3px;
  color: var(--error-color);
  font-size: 16px;
}

a {
  color: var(--primary-color) ;
  display: inline;
  text-decoration: none;
}

a:visited {
  color: var(--secondary-color);
}

a:hover {
  text-decoration: underline;
  text-decoration-style: solid;
}

input::placeholder,
select::placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* OLD BUTTON
button {
    border-radius: 12px;
  background: var(--button-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
}
  */

button:active {

  background: var(--button-color-pressed);
  transform: translate(4px, 4px);

}

button:hover {
  background: var(--button-color-hover);

}


.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  border-radius: 8px;
  border: 2px solid var(--background-color);
  background: var(--background-color);
  box-shadow: 5px 5px 0px -3px var(--button-shadow);


}

button:not(.navbar-toggler) {
  display: flex;
  padding: 2px;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 8px;
  border: 2px solid var(--fancy-text-color);
  background: var(--button-color);
}

.button-inner {

  display: flex;
  padding: 6px 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  border-radius: 6px;
}

button text{
  color: var(--background-color);
}