/* HOME */
.home_container {
  gap: 1rem;
}

.type {
  color: var(--first-color);
}

.home_content {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1.5rem;
  padding-top: 1.5rem;
  align-items: center;
}

.home_blob {
  display: block;
  width: 200px;
  fill: var(--first-color);
}

.home_blob-img {
  width: 170px;
}

.home_img {
  order: -1;
  justify-self: center;
}

.home_data {
  grid-column: 1;
  width: 100%;
  max-width: 42rem;
  min-width: 0;
  justify-self: center;
  text-align: center;
}

.home_title {
  font-size: var(--big-font-size);
  margin-bottom: var(--mb-0-5);
}

.home_subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

.home_description {
  max-width: 42rem;
  margin: 0 auto var(--mb-2);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.home_buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home_scroll {
  display: none;
}

.home_scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}

.home_scroll-button:hover {
  transform: translateY(0.25rem);
}

.home_scroll-mouse {
  font-size: 2rem;
}

.home_scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}

.home_scroll-arrow {
  font-size: 1.25rem;
}

/* MEDIA QUERIES */

/* For small devices */
@media screen and (max-width: 350px) {
  .home_content {
    grid-template-columns: 0.25fr 3fr;
  }

  .home_buttons {
    gap: 0.6rem;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .home_img {
    justify-self: center;
  }
}

@media screen and (min-width: 768px) {
  .home_container {
    row-gap: 2rem;
  }

  .home_content {
    padding-top: 5.5rem;
    row-gap: 1.75rem;
  }

  .home_blob {
    width: 270px;
  }

  .home_scroll {
    display: block;
  }

  .home_scroll-button {
    margin-left: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .home_blob {
    width: 320px;
  }

}