* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --blue: #00006c;
  --black-font: #303030;
  --orange: #ff9b00;
}

@font-face {
  font-family: "Recoleta-Bold";
  src: local(Recoleta-Bold), url(../fonts/Recoleta-Bold.ttf);
}

@font-face {
  font-family: "Montserrat-Bold";
  src: local(Montserrat-Bold), url(../fonts/Montserrat-Bold.ttf);
}

@font-face {
  font-family: "Montserrat-Regular";
  src: local(Montserrat-Regular), url(../fonts/Montserrat-Regular.ttf);
}

@font-face {
  font-family: "Montserrat-SemiBold";
  src: local(Montserrat-SemiBold), url(../fonts/Montserrat-SemiBold.ttf);
}

@font-face {
  font-family: "Montserrat-Light";
  src: local(Montserrat-Light), url(../fonts/Montserrat-Light.ttf);
}

@font-face {
  font-family: "Montserrat-Medium";
  src: local(Montserrat-Medium), url(../fonts/Montserrat-Medium.ttf);
}

body {
  color: var(--black-font);
}

a {
  text-decoration: none;
}

button {
  border: none;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: "Recoleta-Bold";
  color: var(--blue);
}

main p {
  color: var(--black-font);
  font-family: "Montserrat-Regular";
  font-size: 22px;
}

.somos-menu a {
  color: var(--orange);
}

/* ==== MODAL ======= */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 10px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  background-color: transparent;
  float: right;
  font-size: 70px;
  margin-top: -2rem;
}

.close span {
  color: black;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-open header {
  position: initial;
}

/* ==== SOMOS AVIA ======= */

#somos-avia {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10%;
  margin-left: 5rem;
}

#somos-avia-img {
  width: 140%;
}

#somos-avia-text {
  margin-left: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#somos-avia-img img {
  width: 100%;
}

#somos-avia-text h1 {
  color: var(--blue);
  font-size: 3.5em;
  width: 70%;
}

#somos-avia-text p {
  color: var(--black-font);
  font-family: "Montserrat-Regular";
  font-size: 22px;
  width: 80%;
}

#somos-avia-text button {
  font-size: 20px;
  color: var(--orange);
  font-family: "Montserrat-SemiBold";
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: white;
  width: 60%;
}

.section2-img-mobile {
  display: none;
}

#somos-avia-text button img {
  margin-left: 1rem;
}

/* ==== SECTION 2 ======= */
#section2 {
  display: flex;
  /* width: 80%; */
  margin-left: 5rem;
  margin-top: 10rem;
  justify-content: space-between;
}

.section2-text h2 {
  width: 80%;
  font-size: 40px;
  margin-bottom: 2rem;
}

.section2-img {
  width: 100%;
}

.section2-text p {
  width: 80%;
}

/* ==== LIGAMOS EMPREENDEDORES E CONSUMIDORES ======= */
#ligamos {
  display: flex;
  gap: 2rem;
  margin-top: 15%;
}

#ligamos h2 {
  font-size: 36px;
}

#ligamos-text {
  width: 40%;
  margin-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#ligamos-img {
  width: 50%;
  margin-left: 2rem;
}

#ligamos-img img {
  width: 108%;
}

.item-acesso {
  display: flex;
  align-items: center;
  margin-top: 2%;
}

.item-acesso p {
  color: var(--orange);
  font-family: "Montserrat-SemiBold";
  font-size: 20px;
}

.item-acesso h4 {
  color: var(--black-font);
  font-family: "Montserrat-SemiBold";
  font-size: 22px;
}

.item-acesso img {
  width: 4%;
  margin-right: 1rem;
}

/* BANNER LARANJA */

#banner {
  background-color: var(--orange);
  height: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10%;
}

#banner h2 {
  font-size: 48px;
}

#banner button {
  cursor: pointer;
  border: none;
  background-color: var(--blue);
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 20px;
  color: white;
  font-family: "Montserrat-SemiBold";
}

/*==== app mobile */
#app-mobile {
  display: flex;
  align-items: center;
  margin-left: 5rem;
  margin-top: 12rem;
}

.app-mobile-text {
  width: 45%;
}

.app-mobile-text h2 {
  font-size: 36px;
  margin-bottom: 2rem;
}

.app-mobile-img img {
  width: 90%;
}

/* ==== EMPREEENDEDOR ======= */
#empreendedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--orange);
  padding: 5rem 0;
  margin-top: 15rem;
}

#empreendedor h2 {
  text-align: center;
  font-size: 48px;
  width: 70%;
}

#empreendedor h3 {
  font-size: 50px;
  margin-left: 5rem;
}

.empreendedor-bottom {
  display: flex;
  align-items: center;
  margin-top: 5rem;
}

.empreendedor-bottom p {
  margin-left: 5rem;
  width: 80%;
  color: #fff;
  margin-bottom: 2rem;
}

.empreendedor-bottom img {
  margin-left: 2rem;
}

#funcionamento-avia {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10%;
}

#funcionamento-avia h2 {
  font-size: 48px;
}

#funcionamento-avia p {
  text-align: center;
  margin-bottom: 7rem;
}

.line-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 50%;
}

.items-line-time {
  display: flex;
  justify-content: space-around;
  gap: 80%;
}

.item-line-time {
  display: flex;
  height: 10%;
  width: 10%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .item-img{
    height: 10%;
}*/

.line-vertical {
  height: 50%;
  width: 25%;
}

.line-horizontal {
  width: 90%;
  color: var(--orange);
  border: 1px solid var(--orange);
}

#btns-line-time {
  display: flex;
  /* justify-content: space-between; */
  /* gap: 30%; */
  width: 90%;
  margin-top: 2rem;
}

#btns-line-time button {
  display: flex;
  border: 1px solid var(--orange);
  background-color: white;
  border-radius: 40px;
  padding: 0.5rem 1rem;
  text-align: center;
  width: 15rem;
  color: var(--black-font);
  font-family: "Montserrat-SemiBold";
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#btns-line-time button:nth-child(1) {
  margin-left: 7%;
}

#btns-line-time button:nth-child(2) {
  margin-left: 16%;
}

#btns-line-time button:nth-child(3) {
  margin-left: 18%;
}

.items-line-time button {
  display: none;
}

.comece-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--blue);
  border-radius: 40px;
  padding: 0.5rem 3rem;
  gap: 1rem;
  color: white;
  font-family: "Montserrat-SemiBold";
  margin-top: 6rem;
}

@media (min-width: 1900px) {
  #btns-line-time button:nth-child(1) {
    margin-left: 15%;
  }

  #btns-line-time button:nth-child(2) {
    margin-left: 15%;
  }

  #btns-line-time button:nth-child(3) {
    margin-left: 14%;
  }
}

@media (max-width: 1199px) {
  /* ==== SOMOS AVIA ======= */
  #somos-avia {
    margin-left: 2rem;
    align-items: flex-start;
  }

  #somos-avia-text h1 {
    width: 90%;
  }

  .items-line-time {
    gap: 55%;
  }
}

@media (max-width: 999px) {
  /* ==== SOMOS AVIA ======= */

  #somos-avia {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    margin-top: 15%;
    margin-left: 0;
    margin-bottom: 50%;
  }

  #somos-avia-img {
    width: 100%;
    margin-bottom: 50%;
  }

  #somos-avia-img img {
    width: 100%;
    position: absolute;
  }

  #somos-avia-text {
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #somos-avia-text h1 {
    color: var(--blue);
    font-size: 42px;
    width: 90%;
    margin-top: 2rem;
    text-align: center;
  }

  #somos-avia-text p {
    width: 90%;

    font-size: 20px;
    text-align: center;
  }

  /* ====  SECTION 2 ======= */

  #section2 {
    flex-direction: column;
  }

  #app-mobile {
    flex-direction: column;
  }

  .app-mobile-text {
    width: 100%;
  }

  .empreendedor-bottom {
    flex-direction: column;
  }

  /* ==== LIGAMOS EMPREENDEDORES E CONSUMIDORES ======= */
  #ligamos {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-top: 8rem;
  }

  #ligamos h2 {
    text-align: center;
  }

  #ligamos p {
    text-align: center;
  }

  #ligamos-text {
    width: 80%;
    margin-left: 0;
  }

  .items-line-time {
    gap: 40%;
  }
}

@media (max-width: 760px) {
  /* ==== SOMOS AVIA ======= */

  #somos-avia {
    margin-top: 20%;
  }

  #somos-avia-text button {
    width: 86%;
  }

  #somos-avia-text button img {
    margin-left: 0.5rem;
  }

  #section2 {
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .section2-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .section2-text p {
    text-align: center;
  }

  .section2-text h2 {
    text-align: center;
    font-size: 36px;
    width: 95%;
  }

  .section2-img-mobile {
    display: block;
    margin-bottom: 2rem;
  }

  .section2-img-mobile img {
    width: 70%;
    margin-left: 15%;
  }

  #ligamos-img img {
    width: 97%;
  }

  .section2-img {
    display: none;
  }

  #app-mobile {
    margin-left: 0;
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
  }

  .app-mobile-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
  }

  .app-mobile-text h1 {
    text-align: center;
  }

  .app-mobile-img {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-mobile-text p {
    text-align: center;
  }

  #empreendedor {
    margin-left: 0;
    margin-top: 6rem;
  }

  #empreendedor h2 {
    width: 90%;
    font-size: 36px;
  }

  .empreendedor-bottom div {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .empreendedor-bottom img {
    width: 70%;
    margin-left: 0;
  }

  .empreendedor-bottom p {
    margin-left: 0;
    text-align: center;
  }

  #empreendedor h3 {
    text-align: center;
    margin-left: 0;
    width: 100%;
    font-size: 32px;
    margin-top: 4rem;
    margin-bottom: 1rem;
  }

  #ligamos-img {
    width: 90%;
    margin-left: 0;
  }

  .item-acesso {
    justify-content: flex-start;
    flex-direction: column;
    /* align-items: flex-start; */
  }

  .item-acesso h4 {
    text-align: center;
  }

  .item-acesso img {
    width: 10%;
  }

  #banner {
    margin-top: 30%;
  }

  #banner h2 {
    text-align: center;
    font-size: 32px;
  }

  #funcionamento-avia h2 {
    text-align: center;
    margin-top: 4rem;
    width: 90%;
    font-size: 40px;
    margin-bottom: 1rem;
  }

  .line-time {
    margin-top: 0;
  }

  .line-horizontal {
    display: none;
  }

  .items-line-time {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .item-line-time {
    display: flex;
    height: 10%;
    width: 20%;
  }

  .items-line-time button {
    display: flex;
    border: 1px solid var(--orange);
    background-color: white;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    text-align: center;
    width: 15rem;
    color: var(--black-font);
    font-family: "Montserrat-SemiBold";
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
  }

  #btns-line-time {
    display: none;
  }

  .comece-btn {
    margin-top: 4rem;
  }
}
