body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom, black, #1a1a1a);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 0.3s forwards;
}

a {
  cursor: none;
}

.material-icons-round, a svg {
  display: inline-block;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.material-icons-round:hover, a svg:hover {
  background-color: #242424;
  transform: scale(0.9);
}

.span-title {
  font-size: 13px;
  font-weight: bold;
  color: #ffffffcc;
  text-transform: uppercase;
  margin-top: 24px;
}

.responsive-container {
  display: flex;
  flex-direction: column;
}

.column {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #242424;
  color: white;
  padding: 24px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h1 {
  margin: 0;
  padding: 0;
  font-size: 26px;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
}

header #menu-button {
  font-size: 26px;
  margin-right: 16px;
}

header h1 {
  margin: 0px;
  padding 0px;
  font-size: 26px;
}

#home {
  display: block;
}

#menu {
  display: none;
}

#home, #menu {
  flex-grow: 1;
  overflow-y: auto;
}

#home::-webkit-scrollbar, #menu::-webkit-scrollbar {
  display: none;
}

main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 40px;
}

main > h2 {
  margin: 0;
  padding: 0;
}

main .responsive-container > * {
  margin-top: 24px;
}

main p {
  margin-top: 0;
  font-size: 18px;
  color: #ffffffcc;
}

footer {
  padding: 16px 40px;
  background-color: black;
} 

footer p {
  font-size: 12px;
  color: #ffffffcc;
}

footer .column .socials > * {
  margin-right: 16px;
}

footer .column .socials > *:last-child {
  margin-right: 0;
}

footer .column .socials {
  display: flex;
  flex-direction: row;
  align-items: center;
}

footer .credits {
  justify-content: flex-start;
  margin: 24px 0;
}

footer .credits > .flaticon-profile {
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer .credits .flaticon-profile > span {
  margin-top: 16px;
  font-size: 13px;
  font-weight: bold;
  color: #ffffffcc;
  white-space: nowrap;
}

footer .credits .flaticon-profile > img {
  border-radius: 50%;
}

footer .credits > .icons {
  margin-left: 40px;
  flex-grow: 1;
  justify-content: center;
}

footer .credits .icons > a {
  margin: 0;
  padding: 0;
  color: #ffffffcc;
  font-size: 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer .credits .icons > a {
  margin-bottom: 5px;
}

footer .credits .icons > a:last-child {
  margin-bottom: 0;
}

footer .credits .icons > a:hover {
  color: #1ED760;
  transform: scale(0.95);
}

footer .flaticon {
  margin-top: 24px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 768px) {

  .logo {
    width: 80px;
    height: 80px;
  }

  .material-icons-round, a svg {
    width: 40px;
    height: 40px;
    padding: 20px;
  }

  .span-title {
    font-size: 22px;
  }

  .responsive-container {
    flex-direction: row;
  }
  
  .responsive-container > * {
    margin-right: 48px;
  }

  .responsive-container > *:last-child {
    margin-right: 0;
  }
  
  .responsive-container > .column {
    width: 50%
  }
  
  .responsive-container > .row {
    width: 50%
  }
  
  .responsive-container > .card {
    width: 50%
  }
  
  header #menu-button {
    font-size: 40px;
  }
  
  header h1 {
    font-size: 40px;
  }
  
  main img {
    width: 140px;
    height: 140px;
  }
  
  main h2 {
    font-size: 32px;
  }
  
  main p {
    font-size: 26px;
  }
  
  footer p {
    font-size: 18px;
  }
  
  footer .flaticon {
    height: 23px;
  }
  
  footer .credits .column > img {
    width: 140px;
    height: 140px;
  }
  
  footer .credits .icons > a {
    font-size: 18px;
  }
  
}

@keyframes fadeInSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-20px);
  }
}
