@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  height: 100vh;
  overflow-x: hidden;
}

.btn {
  background-color: #333;
  color: white;
  height: 50px;
  padding: 10px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin: 30px 0;
}

/* Navigation */
.nav {
  position: absolute;
  bottom: 0;
  right: 0;

  transform: translateX(180px);
  transition: 0.3s ease-in;

  background: rgba(0, 0, 0, 0.5);
  border-top-left-radius: 20px;
  color: #fff;
  width: 200px;
}

.nav:hover {
  cursor: pointer;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

.nav a:hover {
  color: skyblue;
}

.nav ul {
  list-style: none;
  padding: 20px;
  line-height: 1.8;
}

.nav.open {
  transform: translateX(0);
}

/* Link */
.link {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.link a {
  color: skyblue;
}

.home {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-content: center;
}

.home h1 {
  font-size: xxx-large;
  margin-bottom: 20px;
}

.home p {
  font-size: 22px;
}

.home a .fa-github {
  margin-right: 10px;
}

.home a:hover {
  opacity: 0.8;
}

.home img {
  width: 100%;
}

.home__main {
  grid-row: 1 / 3;
  background-color: steelblue;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  max-width: 600px;
  padding: 30px;
}

.home__info {
  font-size: 15px !important;
}

.home h3 {
  text-align: center;
  background-color: #333;
  color: #fff;
}

.home h2 {
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .home {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .home {
    grid-template-columns: 1fr;
  }
}
