* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
}

header {
  width: 100%;
  padding: 1rem 10%;
  background: #d61b3e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo-container {
  display: flex;
  height: 100%;
}

header .gif-container img {
  max-height: 150px;
}

header .logo-container img {
  position: relative;
  top: -2rem;
  max-width: 200px;
}

main {
  padding: 2rem 10%;
  color: #341a5c;
  position: relative;
}

h1 {
  font-weight: 400;
  font-size: 1.5rem;
}

table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

table tr {
  border: 1px solid lightgray;
}

table tr:hover {
  transition: 0.2s !important;
  background: rgba(0, 252, 222, 0.05) !important;
}

table td {
  padding: 1.5rem 1.5rem;
  width: calc(100%/3) !important;
}

table td:nth-child(3n + 1) {
  color: #23419c;
  font-weight: 700;
}

table td:nth-child(3n + 3) {
  text-align: center;
}

table td a{
  text-align: center;
  background: #23419c;
  color: white;
  border-radius: 25px;
  padding: .75rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

table td:nth-child(3n + 1) {
  width: 60%;
}

footer {
  background: #23419c;
  padding: 2.5rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
}

footer img:hover {
  opacity: 0.8;
  transition: 0.2s;
}

footer .social-media img {
  margin: 0 .5rem;
}

footer>a img{
  max-width: 200px;
}

@media (max-width: 769px) {

  header div {
    width: 45%;
  }

  header div img {
    width: 100%;
  }

  header .logo-container img {
    top: 0;
  }

  h1 {
    font-size: 1.25rem;
  }

  table {
    width: 100%;
  }

  table td {
    width: calc(100% / 3) !important;
    padding: .5rem;
  }

  table tr td:nth-child(3n + 3){
    position: relative;
  }

  table tr td:nth-child(3n + 3) a{
    position: absolute;
    left: 0;
    top: 5%;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  footer {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
  }

  footer .social-media {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
  }

  footer .social-media a {
    margin: 0 .5rem;
  }
}

@media (max-width: 321px) {
  body {
    font-size: 0.8rem;
  }
}