@import "./fonts.css";

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

@keyframes small-polygon {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }

  100% {
    transform: scale(1.25);
    opacity: 0.2;
  }
}

@keyframes small-polygon-down {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.35;
  }
}

@keyframes polygon {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }

  100% {
    transform: scale(1.05);
    opacity: 0.35;
  }
}

@keyframes polygon-down {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }

  100% {
    transform: scale(0.85);
    opacity: 0.2;
  }
}

@keyframes progressVideoIcon {
  0% {
    width: 0;
    height: 0;
    opacity: 0.1;
  }
  60% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

:root {
  /* fonts */
  --font-common: "Gilroy", sans-serif;
  --text_primary: #00213d;
  --text_secondary: #7596a3;
  --selected2: #067dff;
  --accent: #269eff;
  --white: #fff;
  font-family: var(--font-common);
}

* {
  box-sizing: border-box;
}

html,
body,
div#root {
  margin: 0;
  padding: 0;
  height: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  color: var(--text_primary);
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--white);
}

input,
textarea,
select,
button {
  font-family: inherit;
}

button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  user-select: none;
  background: none;
  font-size: 18px;
}

a {
  color: var(--selected2);
  text-decoration: none;
}

a:focus {
  outline: none;
}

video {
  object-fit: cover;
}

h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: 74px;
  margin: 0;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}

.Background {
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  opacity: 0.35;
}

.Polygon {
  position: absolute;
  opacity: 0.2;
}

.Polygon-1 {
  top: -140px;
  left: -90px;
  -webkit-animation: small-polygon ease-in-out 4s infinite alternate;
  animation: small-polygon ease-in-out 4s infinite alternate;
}

.Polygon-2 {
  top: -60px;
  left: -65px;
  -webkit-animation: small-polygon-down ease-in-out 5s infinite alternate;
  animation: small-polygon-down ease-in-out 5s infinite alternate;
}

.Polygon-3 {
  right: -180px;
  top: -480px;
  -webkit-animation: polygon-down ease-in-out 10s infinite alternate;
  animation: polygon-down ease-in-out 10s infinite alternate;
}

.Polygon-4 {
  right: -200px;
  top: -580px;
  -webkit-animation: polygon ease-in-out 10s infinite alternate;
  animation: polygon ease-in-out 10s infinite alternate;
}

.Polygon-5 {
  bottom: -140px;
  left: 40px;
  -webkit-animation: polygon-down ease-in-out 5s infinite alternate;
  animation: polygon-down ease-in-out 5s infinite alternate;
}

.Polygon-6 {
  bottom: -120px;
  left: 80px;
  -webkit-animation: polygon ease-in-out 5s infinite alternate;
  animation: polygon ease-in-out 5s infinite alternate;
}

.Polygon-7 {
  bottom: -420px;
  right: -340px;
  -webkit-animation: polygon ease-in-out 5s infinite alternate;
  animation: polygon ease-in-out 5s infinite alternate;
}

.Polygon-8 {
  bottom: -520px;
  right: -300px;
  -webkit-animation: polygon ease-in-out 5s infinite alternate;
  animation: polygon-down ease-in-out 5s infinite alternate;
}

.Layout {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.Header {
  position: initial;
  display: flex;
  background: transparent;
  z-index: 10;
  width: 100%;
  height: 9.8rem;
}

.Header__wrapper {
  display: flex;
  max-width: 76rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: center;
  justify-content: center;
}

.Header__logo {
  display: inline-flex;
}

.Header__logo#logo-icon-container {
  width: 240px;
  height: 40px;
}

.Header__logo#logo-icon-container #logo-icon-text path {
  fill: #00213d;
}

.Header__login {
  display: inline-flex;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--selected2);
  border-radius: 24px;
  cursor: pointer;
  color: var(--selected2);
  font-size: 16px;
  font-weight: 600;
}

.Section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  flex: 1 0 auto;
  padding: 2rem 1rem;
}

.Error {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Error__image {
  margin-bottom: 2rem;
}

.Error__title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.Error__description {
  color: var(--text_secondary);
  font-size: 1.125rem;
  max-width: 400px;
  text-align: center;
  margin-bottom: 3rem;
}

.Button {
  padding: 10px 24px;
  background-color: var(--selected2);
  border-radius: 4px;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.Button__link {
  color: var(--white);
}

@media only screen and (max-width: 567.98px) {
  .Header {
    height: 5.4rem;
  }
  .Error__title {
    font-size: 1.5rem;
    line-height: initial;
  }
  .Error__image {
    margin-bottom: 1.5rem;
  }
  .Error__image img {
    width: 280px;
  }
}
