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

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  padding: 0;
  margin: 0;
  background: linear-gradient(-45deg, #fff 25%, #f6fbff 25%, #f6fbff 50%, #fff 50%, #fff 75%, #f6fbff 75%, #f6fbff);
  background-size: 40px 40px;
}

body {
  padding: 0;
  margin: 0;
}

.btn,
a.btn,
button.btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
  overflow: hidden;
  padding: 1rem 1rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
  background: #00b7ee;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.main-container {
  width: 100%;
  height: 100vh;
  display: table;
}
.main-container > div {
  display: table-cell;
  vertical-align: middle;
}
.main-container > div .footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #336699;
  padding: 0.25rem 1rem;
}
.main-container > div .footer a {
  display: inline-block;
  text-decoration: none;
  color: white;
}
.main-container > div .footer a:nth-child(n+2) {
  margin-left: 15px;
}

.top-background {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 600px;
  background-image: url("../img/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.top-background .center-item {
  margin-top: 5rem;
}
.top-background .center-item .buttons {
  width: 300px;
  margin: 0 auto;
  margin-top: 4rem;
}
.top-background .center-item .buttons a {
  width: 300px;
  display: inline-block;
}
.top-background .center-item .buttons a:nth-child(n+2) {
  margin-top: 15px;
}
@media screen and (min-width: 641px) {
  .top-background .center-item .buttons {
    width: fit-content;
  }
  .top-background .center-item .buttons a:nth-child(n+2) {
    margin-left: 15px !important;
    margin-top: 0 !important;
  }
}