@font-face {
  font-family: Roboto-Bold;
  src: url(../font/Roboto-Bold.ttf);
  font-display: swap;
}

@font-face {
  font-family: Roboto-Regular;
  src: url(../font/Roboto-Regular.ttf);
  font-display: swap;
}

:root {
  --text-color: #908c8c;
  --button-color: #50af47;

  --bold-font: "Roboto-Bold";
  --regular-font: "Roboto-Regular";
}

body {
  box-sizing: border-box;
  margin: auto 0;
  font-family: var(--regular-font);
  color: var(--text-color);
}

.bold{
  font-family: var(--bold-font);
}

.highlight{
  background-color: rgb(255, 255, 0);
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  margin: auto;
}

.header-container > img {
  width: 100%;
  height: auto;
  margin: auto;
}

.title {
  font-size: 2.8rem;
  margin-top: 4.7rem;
  font-family: var(--bold-font);
}

.principal-subtitle {
  font-size: 1.5rem;
  font-family: var(--bold-font);
}

.main-container {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 60%;
  margin: auto;
}

p {
  font-size: 1.05rem;
  margin: 0.6rem 0;
}

.first-section,
.second-section,
.third-section {
  display: flex;
  align-items: center;
  margin-top: 7rem;
  justify-content: space-between;
}

.third-section {
  margin-bottom: 7rem;
}

.first-section > img,
.second-section > img,
.third-section > img {
  width: 40%;
  height: 40%;
}

.second-section > img {
  width: 45%;
}

.third-section > img {
  width: 38%;
}

.first-section > div,
.second-section > div,
.third-section > div {
  width: 45%;
}

.text > h2 {
  font-family: var(--bold-font);
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
}

.btn {
  text-decoration: none;
  background-color: var(--button-color);
  color: white;
  padding: 0.7rem 6rem;
  max-width: 300px;
  text-align: center;
  border-radius: 0.7rem;
  margin: auto;
  margin-bottom: 6rem;
  font-family: var(--regular-font);
  font-size: 1rem;
  cursor: pointer;
  border: 1px var(--button-color) solid;
}
.btn:hover {
  color: var(--button-color);
  background-color: white;
  border: 1px var(--button-color) solid;
}

footer {
  background-color: var(--text-color);
  height: 4rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 2rem;
}

footer > a {
  padding: 1rem;
  color: white;
  text-decoration: none;
}

/*legal style*/

.legal-body {
  margin: auto 0;
  position: relative;
  min-height: 100vh;
}

.legal-container {
  width: 85%;
  margin: auto;
}

.legal-content > h1 {
  font-family: var(--bold-font);
  font-size: 2rem;
  margin: auto;
  margin-top: 4.7rem;
  padding-bottom: 40px;
}

.legal-content > p,
.contact > p {
  font-size: 1rem;
  line-height: 2rem;
  margin: auto;
}

.legal-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-right: 0;
}

.pp-container {
  width: 85%;
  margin: auto;
  margin-top: 4.7rem;
}

.pp-container > ul {
  list-style-type: square;
  line-height: 1.5;
}

.back-home {
  padding: 4rem 0;
}
.back-home-button {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.1rem;
}

/*responsive*/

@media only screen and (min-width: 1950px) {
  p {
    font-size: 1.4rem;
  }

  .text > h2,
  .principal-subtitle {
    font-size: 2rem;
  }

  .title {
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 1500px) {
  .main-container,
  .header-container {
    width: 75%;
  }
  .title {
    font-size: 2.3rem;
  }
  .principal-subtitle {
    font-size: 1.2rem;
  }

  .first-section > div,
  .second-section > div,
  .third-section > div {
    width: 50%;
  }
}

@media only screen and (max-width: 1100px) {
  .main-container,
  .header-container {
    width: 85%;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .pp-container > ul {
    font-size: 0.9rem;
  }

  .first-section > div,
  .second-section > div,
  .third-section > div {
    width: 50%;
  }
}

@media only screen and (max-width: 900px) {
  .first-section,
  .third-section {
    flex-direction: column;
  }

  .second-section {
    flex-direction: column-reverse;
  }

  .first-section,
  .second-section,
  .third-section {
    margin-top: 4rem;
  }

  .first-section > div,
  .second-section > div,
  .third-section > div {
    width: 100%;
  }

  .first-section > img,
  .second-section > img,
  .third-section > img {
    width: 100%;
    margin-top: 2rem;
  }
}

@media only screen and (max-width: 450px) {
  .title {
    font-size: 1.6rem;
  }

  .principal-subtitle {
    font-size: 1rem;
  }

  .text > h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 0.7rem 3.9rem;
  }

  footer {
    justify-content: center;
    padding-right: 0;
  }

  .pp-container > ul {
    padding-left: 1rem;
  }
}
