@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'MsMadi';
  src: url('../assets/fonts/Ms_Madi/MsMadi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

html, body {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  font-family: "Montserrat", sans-serif;
  overflow: hidden !important;
  overflow-y: scroll !important;
  color: var(--navy);
}

body.context-menu-active {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

section.content {
  margin: 0;
  background: var(--white);
}

/* COOKIES */

.cookie-wrapper {
  height: fit-content;
  width: fit-content;
  max-width: 100%;
  position: fixed;
  bottom: 10px;
  left: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999999;
}

.cookie-banner {
  width: calc(600px);
  max-width: calc(100% - 80px);
  padding: 20px;
  background-color: var(--navy);
  box-shadow: 0 0 30px var(--aqua-40);
  color: var(--white);
  border-radius: 20px;
}

.cookie-title {
  font-size: .8rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--white-40);
  cursor: default;
}

.cookie-text {
  font-size: .6rem;
  margin-bottom: 15px;
  white-space: pre-line;
  cursor: default;
}

.cookie-button-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

a.cookie-button {
  height: 20px !important;
  all: unset;
  padding: 5px 10px;
  background-color: var(--white-0);
  color: var(--white);
  font-size: .7rem;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease .3s;
}

a.cookie-button:hover {
  background-color: var(--white-20);
}

button.cookie-button {
  height: 20px !important;
  all: unset;
  padding: 5px 10px;
  background-color: var(--white);
  color: var(--navy);
  font-size: .8rem;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease .3s;
}

button.cookie-button:hover {
  background-color: var(--white-90);
}

/* COOKIES END */
/* AUTH */

.auth-holder {
  height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.auth-overlay {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--navy-90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
}

.auth-img-credit {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: .6rem;
  color: var(--white-60);
  cursor: default;
}

.auth-wrapper {
  width: 400px;
  max-width: calc(100% - 100px) !important;
  max-height: 100% - 100px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 40px;
  padding-bottom: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0px 0px 20px var(--aqua-20);

  overflow: hidden;
  overflow-y: scroll;

  opacity: 0;
  transform: translateY(160px) scale(.95);

  animation: authWrapper 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: .4s;
}

@keyframes authWrapper {
  from {
    opacity: 0;
    transform: translateY(160px) scale(.95);
  }
  to {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

.auth-wrapper.out {
  opacity: 1;
  transform: translateY(0px) scale(1);

  animation: authWrapperOut .8s cubic-bezier(0.8, 0.3, 1, 1) forwards;
}

@keyframes authWrapperOut {
  from {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-160px) scale(.8);
  }
}

img.auth-logo {
  height: 20px;
}

.auth-title {
  font-size: 1rem;
  color: var(--navy);
  cursor: default;
}

.auth-note-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-note {
  width: calc(100% - 20px);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--aqua-20);
  background-color: var(--aqua-10);
  color: var(--aqua);
  font-size: .8rem;
  line-height: 1.4;
  text-align: center;
  cursor: default;
}

.auth-note.error {
  border: 1px solid var(--gold-20);
  background-color: var(--gold-10);
  color: var(--gold);
}

form.auth {
  all: unset;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label.auth {
  all: unset;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: .7rem;
  border-bottom: 1px solid var(--navy-20);
  cursor: pointer;
}

label.auth.disabled {
  cursor: not-allowed;
}

label.auth span span {
  color: var(--navy-40);
  font-size: .6rem;
}

input.auth {
  all: unset;
  width: 100%;
  font-size: .9rem;
  padding: 5px 0;
  cursor: text;
}

input.auth:disabled {
  cursor: not-allowed;
}

button.auth {
  all: unset;
  width: calc(100% - 40px);
  padding: 10px 20px;
  font-size: .9rem;
  background-color: var(--aqua);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all ease .3s;
}

button.auth:hover {
  background-color: var(--navy);
}

div.auth-interaction {
  width: 100%;
  padding: 0 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-top: 1px solid var(--navy-20);
  flex-wrap: wrap;
}

a.auth-interaction {
  font-size: .8rem;
  color: var(--aqua-80);
  text-decoration: none;
  text-wrap: nowrap;
  transition: all ease .3s;
}

a.auth-interaction:hover {
  color: var(--navy);
}