
* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  @media (min-width: 835px) {
    scroll-behavior: smooth;
  }
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; /* http://szafranek.net/blog/2009/02/22/font-smoothing-explained/ */
  -moz-osx-font-smoothing: grayscale; /* http://szafranek.net/blog/2009/02/22/font-smoothing-explained/ */
  text-rendering: optimizeSpeed;

  background: url("../images/main-background.png") no-repeat center;
  background-size: cover;
}

body::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;

  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;

  background: url("../images/main-background-dots.png") no-repeat center;
  background-size: cover;
}

/* ================ Topbar ================ */

.topbar {
  padding: 48px 24px;
  display: flex;
  align-items: center;
  
}

.topbar-logo {
  margin-right: 40px;
}

.topbar-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.topbar-nav-list-item-link {
  text-decoration: none;
  color: #000;
}

.topbar-nav-list-item-link:hover,
.topbar-nav-list-item-link:focus {
  color: #2f80ed;
}

/* ================ Main ================ */

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100% - 120px);
}

.main-container {
  max-width: 568px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.hero {
  text-align: center;
}

.hero-title {
  margin: 0 0 40px;
  font-size: 36px;
  font-weight: 500;
  color: #3f5351;
}

.hero-title strong {
  display: block;
  font-style: italic;
  font-weight: 600;
}

.hero-explore {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 0 40px;
  color: #fff;

  font-size: 20px;
}

.hero-explore svg {
  width: 24px;
  height: 24px;

  animation: arrowAnimation 1.5s ease-in-out infinite;
}

@keyframes arrowAnimation {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  max-width: 480px;
  margin: 0 auto;
}

@media screen  and (min-width: 480px ){
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;
  transition: all .3s;
}

@media screen  and (min-width: 480px ){
  .hero-button {
    padding: 10px 20px;
  }
}

.hero-button-dark {
  background-color: #3f5351;
  color: #fff;
}

.hero-button-dark:hover,
.hero-button-dark:focus {
  text-decoration: underline;
  background-color: #fff;
  color: #3f5351;
}

.hero-button-light {
  background-color: #ededed;
  color: #3f5351;
}

.hero-button-light:hover,
.hero-button-light:focus {
  text-decoration: underline;
  background-color: #3f5351;
  color: #fff;
}

/* ================ Footer ================ */

.footer {
  background-color: #fff;
}

.footer-container {
  width: 100%;
  max-width: 1298px;
  padding: 40px 24px;
  margin: 0 auto;
}

@media screen  and (min-width: 768px ){
  .footer-container {
    display: flex;
    justify-content: space-between;
  }
}

.footer-container-copy {
  flex-direction: column;
  padding: 20px 24px 40px;
}

.footer-separator {
  border-top: 1px solid #dbdbdb;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen  and (min-width: 768px ){
  .footer-logo {
    max-width: 284px;
  }
}

.footer-logo-powered-by {
  font-weight: 500;
  font-size: 12px;
}

.footer-logo-link {
}

.footer-logo-img {

}

.footer-logo-slogan {
  font-size: 16px;
  font-weight: 500;
}

.footer-links {
  padding-top: 20px;
}

@media screen  and (min-width: 768px ){
  .footer-links {
    max-width: 346px;
  }
}

.footer-links-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
}

.footer-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-list-item {
  margin: 0 0 10px;
}

.footer-links-list-item-link {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: #000;
}

.footer-links-list-item-link:hover,
.footer-links-list-item-link:focus {
  color: #2f80ed;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  margin: 0 0 20px;

  font-size: 14px;
}

.footer-copy-description {
  margin: 0;
  font-size: 12px;
}