@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap");

:root {
  --main: #121820;
  --white: #fff;
  --blue: #048fed;
  --blueHovered: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.07)
    ),
    #048fed;
  --blueFocused: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    #048fed;
}
body {
  font-size: 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
header .navbar {
  padding: 1.7em 0px;
  justify-content: space-between;
}

.login {
  font-family: "Nunito";
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  border-color: var(--white);
  border-radius: 100px;
  padding: 0.7em 2em;
  font-size: 1.4em;
}
.login:hover {
  color: var(--white);
}
.arrow-right {
  filter: brightness(0) invert(100%);
  transform: translateY(10%);
}
header .login:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
main .login {
  justify-content: center;
}
.navigation-bar {
  position: static;
}
header,
.navigation-bar,
footer {
  background-color: var(--main);
}

main {
  padding-top: 4em;
  padding-bottom: 4em;
  background-color: var(--white);
}
main h1 {
  font-family: "Rubik";
  font-weight: 500;
}
main p {
  font-family: "Nunito";
  font-size: 1rem;
  margin: 1.5em 0;
}
main .row {
  align-items: center;
}
main img {
  max-width: 100%;
}
.btn-main {
  background-color: #048fed;
}
.btn-main:hover {
  background: var(--blueHovered);
}
.btn-main:focus {
  background: var(--blueFocused);
}

footer {
  padding: 1.5em 0;
}
.logo-wrapper {
  text-align: center;
  margin-bottom: 2em;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  max-width: 200px;
  margin: 0 auto;
}
.footer-link {
  display: inline-block;
  position: relative;
  width: 3em;
  height: 3em;
  border-radius: 100%;
  background-color: var(--white);
  transition: 0.15s background-color ease-in-out;
}
.footer-link:hover {
  background: var(--blueHovered);
}
.footer-link:focus {
  background: var(--blueFocused);
}
.footer-link i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--main);
}
.copyright {
  font-family: "Nunito";
  font-size: 14px;
  display: block;
  margin-top: 1em;
  padding-top: 2em;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-height: 768px) {
  body {
    font-size: 11px;
  }
  main {
    padding: 0.7rem 0;
  }
  main img {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 10px;
  }
  main .container .row {
    flex-direction: column-reverse;
    text-align: center;
  }
  main h1 {
    margin-top: 1em;
  }
  main p {
    margin: 1em 0;
  }
}

@media (max-width: 576px) {
  header .navbar {
    justify-content: center;
  }
  .login {
    width: 100%;
  }
  main {
    padding-top: 1.5em;
    padding-bottom: 3em;
  }
  main h1 {
    font-size: 28px;
  }
  header .login {
    display: none;
  }
}
