@import url(style.css);

body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.principal {
  display: flex;
  max-width: 1000px;
  flex-direction: column;
  margin: 6.25rem auto;
  align-items: center;
}

.principal picture {
  display: inline-block;
  position: relative;
}

.principal img {
  width: 100%;
  height: auto;
}

.title-primary {
  font-weight: 700;
  font-size: 2.5rem;
  position: absolute;
  top: 35%;
  max-width: 15ch;
  z-index: 1;
  background-color: #7a8a97;
  font-size: 2.5rem;
  padding: 10px 10px 10px 60px;
}

.project {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr auto;
  gap: 16px;
  align-content: start;
}

.project p {
  font-size: 1rem;
  line-height: 1.2;
}

.project picture {
  grid-row: 1/5;
  grid-column: 2/3;
  align-content: center;
}

.project picture img{
  object-fit: cover;
  margin: auto 0;
}

.title-secondary {
  font-weight: 700;
  font-size: 2rem;
}


.text {
  font-size: 1.25rem;
  line-height: 1.2;
  align-items: center;
}

.information {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 6.52rem auto;
  max-width: 1000px;
}

.title-secondary {
  margin-top: 40px;
}

.information .text {
  text-align: center;
  max-width: 60ch;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.button {
  width: 236px;
  font-size: 1rem;
  font-weight: 700;
  align-items: center;
  text-decoration: none;
  background-color: #238d69;
  color: #f7f7f7;
  border-radius: 4px;
  display: block;
  padding: 10px 14px;
  margin: 20px auto;
  text-align: center;
  cursor: pointer;
  transition: 0.3s linear;
}

.button:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .principal{
    margin-top: 0px;
  }
  .title-primary {
    font-weight: 700;
    font-size: 2rem;
  }
  .project{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .project picture{
    display: none;
  }
}