/* Instituto Project Styles */

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

body {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

img {
  width: 100%;
}

.btn {
  display: inline-flex;
  background-color: #fff;
  border: none;
  border-radius: 10px;
  color: #152a36;
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  padding: 15px 30px;
  text-decoration: none;
}

.container {
  background-color: #ef2e32;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

.container::after {
  background-image: url("../img/brand.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
  content: "";
  position: absolute;
  width: 60%;
  height: 744px;
  right: 0;
  top: 0;
}

.content {
  max-width: 934px;
  padding: 60px;
  width: 100%;
  position: relative;
  z-index: 100;
}

header {
  align-items: center;
  display: flex;
  gap: 70px;
}

header h1 img {
  max-width: 350px;
}

header h2 img {
  max-width: 400px;
}

main {
  position: relative;
  margin: 90px 0;
}

main h1 {
  padding: 60px 0;
  position: relative;
  width: 100%;
}

main h1::after {
  background-color: #fff;
  content: "";
  position: absolute;
  width: 94px;
  height: 100%;
  left: 0;
  top: 0;
  transform: translateX(-60px);
}

main h1 img {
  padding-left: 126px;
}

main .cta {
  bottom: -150px;
  position: absolute;
  transform: translateX(100%);
  width: 100%;
  margin-left: 20%;
}

main .cta p {
  margin-top: 48px;
  font-size: 25px;
  color: #fff;
}

main .cta p strong {
  color: #152a36;
  display: block;
  line-height: 200%;
}

footer {
  transform: translateX(-60px);
}

footer img {
  width: calc(100% + 60px);
}

@media (max-width: 1200px) {

  .container::after {
    background-image: url("../img/brand-top.png");
    width:50%;
    height: 322px;
    transform: translateY(120px);
  }

  .content {
    padding: 40px;
  }

  header {
    gap: 50px;
  }

  main {
    margin: 180px 0;
  }

  main h1 {
    padding: 0;
    position: relative;
    width: 100%;
  }

  main h1::after {
    display: none;
  }

  main h1 img {
    padding-left: 0;
    max-width: 350px;
  }

  main .cta {
    margin-top: 48px;
    position: relative;
    bottom: 0;
    transform: translateX(0);
    margin-left: 0;
  }

  main .cta p {
    margin-top: 30px;
    font-size: 25px;
    color: #fff;
  }

  footer {
    transform: translateX(-40px);
    position: relative;

  }

  footer::before {
    content: "";
    background-image: url("../img/brand-bottom.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: left;
    height: 300px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(40px);
  }

  footer img {
    position: relative;
    width: calc(100% + 80px);
    z-index: 100;
  }
}