@font-face {
  font-family: 'NunitoSans';
  src: local('NunitoSans'),
    url("/static/assets/fonts/NunitoSans_7pt-Medium.ttf") format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'NunitoSansBold';
  src: local('NunitoSansBold' ),
    url("/static/assets/fonts/NunitoSans_7pt-Bold.ttf") format('truetype');
  font-weight: bold;
}

:root {
  --primary-base-color: #ffffff;
  --primary-default-color: #fc6a00;
  --primary-hover-color: #ff616a;
  width: 100%;
  height: 100%;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side,var(--primary-default-color) 94%,#0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%,var(--primary-default-color));
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  animation: l13 1s infinite linear;
}

@keyframes l13{ 
  100%{transform: rotate(1turn)}
}

body {
  height: 100%;
  margin: 0;
  background-color: var(--primary-base-color);
  font-family: 'NunitoSans', sans-serif;
}

h2 {
  margin: 0;
  text-align: center;
  font-size: 48px;
}

h3 {
  margin: 0;
  text-align: center;
  font-size: 24px;
}

p {
  line-height: 20px;
}

strong {
  font-family: 'NunitoSansBold', sans-serif;
}

ol {
  margin-block: 36px;
}

ul {
  display: none;       
  justify-content: center; 
  gap: 24px; 
  margin: 0;
  padding-left: 0;        
  list-style-type: none;
}

li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary-default-color);
  border-radius: 50%;
  background-color: var(--primary-base-color);
  cursor: pointer; 
}

li a img {
  width: 32px;
  height: 32px;
  filter: grayscale(100%);
  opacity: 0.6;
}

a {
  box-sizing: border-box;
  text-decoration: none;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

form div {
  width: 100%;
  max-width: 400px;
}

input {
  box-sizing: border-box;
  width: 100%;
  padding: 6px;
  border: 2px solid var(--primary-base-color);
  border-radius: 4px;
  margin: 8px 0;
}

input:focus {
  outline: none;
  border-color: var(--primary-hover-color);
}

li a:hover, .form-button:hover {
  color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
}

select {
  width: auto;
  border: 1px solid var(--primary-default-color);
  border-radius: 4px;
  margin-left: 8px;
  font-size: 16px;
  color: var(--primary-base-color);
  background-color: var(--primary-default-color);
  appearance: none;
  cursor: pointer;
}

select:focus {
  outline: none;
  box-shadow: none;
}

video {
  width: 100%;
}

source {
  background-size: contain;
}

.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.splash, .cover {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.cover img, .splash img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--primary-default-color);
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
  padding: 24px;
  color:var(--primary-base-color);
}

.error-message {
  margin-top: 0;
  margin-bottom: 8px;
  margin-left: 4px;
  font-size: 11px;
  line-height: 16px;
  color: var(--primary-base-color);
}

button, .form-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  border: 2px solid var(--primary-default-color);
  border-radius: 24px;
  background-color: var(--primary-base-color);
  color: var(--primary-default-color);
  font-family: 'NunitoSans', sans-serif;
  font-size: 20px;
  cursor: pointer;
}

.language-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-wrapper img {
  width: 20px;
  filter: invert(1);
}

.logo-wifi {
  width: 120px;
  filter: invert(1);
}

.logo-white {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 60px;
  margin: 8px;
}

.terms-wrapper {
  max-height: 60vh;
  max-width: 80vh;
  padding: 20px;
  margin: 0 20px;
  overflow: auto;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px;
  background-color: var(--primary-base-color);
  text-align: left;
}

.accept-text {
  color: var(--primary-base-color);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.buttons-wrapper {
  display: flex;
  max-width: 400px;
  gap: 30px;
  justify-content: center;
}

@media (max-width: 992px) {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 16px;
  }

  li a {
    width: 40px;
    height: 40px;
  }
  
  li a img {
    width: 24px;
    height: 24px;
  }

  form {
    width: 80%;
  }

  button, .form-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: 16px;
  }

  .main-wrapper {
    flex-direction: column-reverse;
    height: auto;
  }

  .content {
    min-height: 40vh;
  }

  .splash {
    min-height: 100vh;
  }

  .cover {
    min-height: 40vh;
  }

  .logo-wifi {
    display: none;
  }

  .logo-white {
    height: 36px;
  }
}