/*#region General*/
body {
  background-image: linear-gradient(#71a5dc, white);
  background-repeat: no-repeat;
  background-position: right top;
  background-attachment: fixed;
  text-align: left;
  color: #064d9a;

  /* Color Variables */
  --img-border-color: #fafafa;
  --box-shadow-color: rgba(0, 0, 0, 0.5);
}

header {
  text-align: center;
  z-index: 1;
}

h1 {
  position: relative;
  right: 1em;
  font-size: 4rem;
}
/*#endregion General*/

/*#region main*/
main {
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

main > p {
  text-align: center;
}

p.summary {
  max-width: 80%;
  padding-top: 2em;
  margin: 0 auto;
}

main p::first-letter {
  margin-left: 0.5em;
  font-size: 2.5rem;
  color: var(--primary-color-blue);
}

/*#endregion main*/

/*#region cards*/
.first-part {
  display: inline-block;
  max-width: 45%;
  padding: 2em;
  border: grey solid 1px;
  border-radius: 25px;
  box-shadow: 0px 2px 15px 0px var(--box-shadow-color);
  text-align: center;
}

.second-part {
  margin-top: 0;
  display: inline-block;

  max-width: 45%;
  position: absolute;
  margin-left: 2rem;
  padding: 2em;
  border: grey solid 1px;
  border-radius: 25px;
  box-shadow: 0px 2px 15px 0px var(--box-shadow-color);
  text-align: center;
}

.second-part p {
  padding-bottom: 0.2em;
}

/*#endregion cards*/

/*#region images*/
.first-part figure {
  margin: 0 auto;
}
figure.text-area-img1 {
  max-width: 40%;
  border: 5px solid var(--img-border-color);
}

.second-part figure {
  margin: 0 auto;
}
figure.text-area-img2 {
  max-width: 45%;
  border: 5px solid var(--img-border-color);
  margin: 0 auto;
}

/*#endregion images*/

/*#region media queries */

@media (max-width: 880px) {
  main {
    max-width: 90%;
  }

  main p {
    max-width: 100%;
  }

  p.summary {
    clear: both;
    max-width: 100%;
  }

  h1 {
    right: 0;
  }

  .first-part {
    display: block;
    position: static;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .second-part {
    display: block;
    position: static;
    max-width: 100%;
    margin-left: 0;
  }

  /* Images */

  figure.text-area-img1 {
    width: 100%;
    max-width: 100%;
    display: block;
    position: static;
    border: 1px solid var(--img-border-color);
    margin-right: 0;
    margin-left: 0;
  }

  figure.text-area-img2 {
    width: 100%;
    max-width: 100%;
    display: block;
    position: static;
    border: 1px solid var(--img-border-color);
    padding: 0;
    margin-top: 0;
  }
}

/*#endregion media queries */
