a {
  text-decoration: none;
  color: #444;
  border-bottom: 1px solid transparent;
}

a:hover {
  border-bottom: 1px solid #222;
}


.container {
  margin: 50px 0;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
  display: flex;
}

.content h3{
  margin: 10px auto 10px 10px;
  color: #333;
}

.text {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: 50px 30px 120px 30px;
  font-weight: 400;
}
.text h2 {
  font-size: 2.4em;
  font-weight: 400;
}
.text span {
  margin-top: auto;
  font-size: 1.3em;
}

.image {
  width: 50%;
  align-content: center;
  margin: 10px;
}
.image img {
  object-fit: fill;
  width: 100%;
}

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

.footer {
  padding-top: 120px;
  margin-top: 20px;
  text-align: center;
  background-color: #fff;
}

@media (max-width: 1000px) {
  .text {
    margin: 50px 20px 120px 20px;
  }
  .text h2 {
    font-size: 2em;
  }
  .text span {
    font-size: 1.1em;
  }
}

@media (max-width: 770px) {
  .content {
    flex-direction: column;
  }

  .text,
  .image {
    width: 90%;
    margin: 50px auto;
  }

  .image {
    margin-top: 20px;
  }
}
