@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Black.eot");
  src: url("../fonts/LexendDeca-Black.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Black.woff2") format("woff2"),
    url("../fonts/LexendDeca-Black.woff") format("woff"),
    url("../fonts/LexendDeca-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Bold.eot");
  src: url("../fonts/LexendDeca-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Bold.woff2") format("woff2"),
    url("../fonts/LexendDeca-Bold.woff") format("woff"),
    url("../fonts/LexendDeca-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-ExtraBold.eot");
  src: url("../fonts/LexendDeca-ExtraBold.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/LexendDeca-ExtraBold.woff2") format("woff2"),
    url("../fonts/LexendDeca-ExtraBold.woff") format("woff"),
    url("../fonts/LexendDeca-ExtraBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-ExtraLight.eot");
  src: url("../fonts/LexendDeca-ExtraLight.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/LexendDeca-ExtraLight.woff2") format("woff2"),
    url("../fonts/LexendDeca-ExtraLight.woff") format("woff"),
    url("../fonts/LexendDeca-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Light.eot");
  src: url("../fonts/LexendDeca-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Light.woff2") format("woff2"),
    url("../fonts/LexendDeca-Light.woff") format("woff"),
    url("../fonts/LexendDeca-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Medium.eot");
  src: url("../fonts/LexendDeca-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Medium.woff2") format("woff2"),
    url("../fonts/LexendDeca-Medium.woff") format("woff"),
    url("../fonts/LexendDeca-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Regular.eot");
  src: url("../fonts/LexendDeca-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Regular.woff2") format("woff2"),
    url("../fonts/LexendDeca-Regular.woff") format("woff"),
    url("../fonts/LexendDeca-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-SemiBold.eot");
  src: url("../fonts/LexendDeca-SemiBold.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/LexendDeca-SemiBold.woff2") format("woff2"),
    url("../fonts/LexendDeca-SemiBold.woff") format("woff"),
    url("../fonts/LexendDeca-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../fonts/LexendDeca-Thin.eot");
  src: url("../fonts/LexendDeca-Thin.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LexendDeca-Thin.woff2") format("woff2"),
    url("../fonts/LexendDeca-Thin.woff") format("woff"),
    url("../fonts/LexendDeca-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #121212; /* fallback for old browsers */
  overflow-x: hidden;

  height: 100vh;

  /* code to make all text unselectable */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;

  background-image: url("../img/X-RAI-BG-3.jpg");
  background-repeat: no-repeat;

  background-size: cover;
}

.logo-container_ {
  background-image: url("../img/Infra-Logo-sm.png");
  background-image: url("../img/Logo-X-RAI.svg");
  background-repeat: no-repeat;
  background-size: 30%;
  width: 20rem;
  height: 3.5rem;
  margin-left: 2rem;
  margin-top: 2rem;
  animation: 2s fadeInUpHeader;
}

:root {
  --logo-height: 3rem;
  --logo-width: calc(var(--logo-height) * 1.25);
  --circle-after-width-height: calc(var(--circle-width-height) * 0.75);
  --circle-border-width-height: calc(var(--circle-width-height) * 0.125);
  --circle-font-size: calc(var(--circle-width-height) * 0.25);
  --circle-border-color: #7dbfdc;
  --circle-border-color-bg: #2c4f53;
}

.logo-container {
  font-size: 0 !important;
  width: var(--logo-width);
  height: var(--logo-height);
  margin-left: 3rem;
  margin-top: 3rem;
  display: inline-block;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: var(--logo-height) auto;
  background-image: none;
  background-position: 50%, 50%;
  background-size: 80%;
  background-repeat: no-repeat;
  background-color: rgb(255, 255, 255);
  background-image: none;
  -webkit-mask-image: url(../img/Logo-X-RAI-no-sub.svg);
  mask-image: url(../img/Logo-X-RAI-no-sub.svg);
}

/* Disables selector ring */
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none;
}

/* ########################################################## */

h1 {
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Lexend Deca", sans-serif;
  letter-spacing: 0.35rem;
  width: calc(100% + 0.35rem);
  font-size: 2.875em;
  line-height: 1.625;
  font-weight: 600;
  text-align: center;
  animation: 2s fadeInUpHeader;
}

h2,
h3 {
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Lexend Deca", sans-serif;
  letter-spacing: 0.35rem;
  width: calc(100% + 0.35rem);
  font-size: 1.25em;
  line-height: normal;
  font-weight: 600;
  text-align: center;
  animation: 2s fadeInUpHeader;
}

h2 {
  margin-bottom: 1rem;
  color: #d34f38;
}

h3 {
  text-align: left;
}

.flex-container {
  width: 100vw;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-container {
  margin-top: 1.5vh;
  height: 350px;
}

.content-container h1 {
}

.form-container {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 500px;
  height: 350px;

  padding-top: 20px;

  border-radius: 12px;

  background: rgba(19, 33, 42, 0.8);
  box-shadow: 5px 5px 10px rgba(19, 33, 42, 0.199);

  margin-left: auto;
  margin-right: auto;
  animation: 1s fadeInUp;
}

.subtitle {
  font-size: 11px;

  color: rgba(177, 177, 177, 0.3);
}

input {
  border: none;
  border-bottom: solid rgb(143, 143, 143) 1px;

  margin-bottom: 30px;

  background: none;
  color: rgba(255, 255, 255, 0.555);

  height: 35px;
  width: 300px;
}

.submit-btn {
  cursor: pointer;
  border: none;
  border-radius: 2.5rem;
  box-shadow: 2px 2px 7px #d34f386a;
  background: #d34f38;
  color: rgba(255, 255, 255, 0.8);
  width: 120px;
  transition: all 1s;
}

.submit-btn {
  cursor: pointer;
  border: none;
  border-radius: 2.5rem;
  box-shadow: 2px 2px 7px #d34f386a;
  background: #d34f38;
  border: #d34f38 solid 1px;
  color: rgba(255, 255, 255, 0.8);
  width: 120px;
  transition: all 1s;
}

.submit-btn:hover {
  color: rgb(255, 255, 255);
  background: #d34f3887;
  box-shadow: none;
}

.footer-container {
  position: absolute;
  bottom: 2rem;
  width: 100vw;
  text-align: center;
  color: #ffffff3e;
  font-size: 0.75rem;
  animation: 2s fadeInUpHeader;
}

.footer-container .tag {
  display: inline-block;
  background: #d34f38;
  border-radius: 2px;
  color: #fff;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-bottom: 0.125rem;
  padding-top: 0.125rem;
  font-size: 0.5rem;
}
.footer-container {
  vertical-align: middle;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(10%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes fadeInUpHeader {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (max-width: 575.98px) {
  h2,
  h3 {
    width: calc(100% + 0.35rem) !important;
    font-size: 1rem;
  }

  h2 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .flex-container {
    margin-top: 20px;
  }

  .form-container {
    width: 80vw;
    height: auto;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .form-container input[type="text"],
  .form-container input[type="password"] {
    width: 60vw;
  }
}
