@font-face {
  font-family: Inter;
  src: url(../fonts/Inter-VariableFont_opsz\,wght.ttf);
}

:root {
  box-sizing: border-box;
  font-size: clamp(0.7em, calc(0.75vw + 0.6em), 1.5em);
  display: flex;
  flex-direction: column;

  --global-padding: 1.3em;

  --main-color: #dea112;

  --primary-light-color: #d9d9d9;
  --primary-dark-color: #303133;

  --secondary-dark-color: #413f40;
  --secondary-light-color: #7a7a7a;

  --tertiary-dark-color: #75767a;

  --error-color: #c81616;
  --success-color: #1b7242;
}

body {
  flex-grow: 1;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  font-family: Inter, system-ui;
}

body * + * {
  margin-top: 1em;
}

.no-margin-top {
  margin-top: 0;
}

.padded {
  padding: 0 var(--global-padding);
}

.container-full {
  width: 100%;
  height: 100%;
}

.container-full-width {
  width: 100%;
  height: fit-content;
}

.container-full-height {
  height: 100%;
  width: fit-content;
}

.wrapping-text {
  text-wrap: pretty;
  white-space: wrap;
  overflow-wrap: break-word;
  hyphens: auto;
}

.overflowing-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

@keyframes rotate-back {
  0% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
