@import url(style.css);
/* ---------------------------------- SECTION 01 - START ---------------------------------- */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

header .title-section h1 {
  font-size: clamp(24pt, 5vw, 42pt);
}

header .title-section p {
  font-size: clamp(12pt, 2.5vw, 16pt);
/*text-wrap: pretty;*/
  text-align: center;
  color: var(--lightestgray);
}

header .title-box {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 25%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.75) 100%), url(../img/purple-sky.jpg);
  background-size: cover;
  background-position: left bottom;
  outline: solid 1px var(--gray);
  outline-offset: 5px;
  border-radius: 1em;
  padding: 3em;
  display: flex;
  flex-direction: column;
  gap: 2em;
  color: var(--lightestgray);
}

@media screen and (max-width: 1000px) {
  header {
    margin-bottom: 1em;
  }
}
@media screen and (max-width: 600px) {
  header .title-box {
    padding: 1em;
  }
}
/* ----------------------------------- SECTION 01 - END ----------------------------------- */
/* ---------------------------------- SECTION 02 - START ---------------------------------- */
.section2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

.section2 .article-box {
  display: flex;
  gap: 2em;
  width: 100%;
}

.section2 article {
  display: flex;
  background-color: var(--dark);
  border-radius: 1em;
  width: 50%;
/*text-wrap: pretty;*/
}
.section2 article:first-child {
  border: solid 2px var(--primary);
}
.section2 article .img{
  width: 100%;
  max-width: 15em;
}
.section2 article .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 1em 0 0 1em;
}
.section2 article .body {
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 100%;
}
.section2 article .body h2 {
  font-size: 14pt;
  font-weight: 500;
}
.section2 article .body h3 {
  font-size: 12pt;
  color: var(--lightestgray);
  font-weight: 200;
}
.section2 article .body p {
  font-size: 12pt;
  font-weight: 200;
  color: var(--lightestgray);
  flex-grow: 1;
}
.section2 article .body a {
  margin-top: 0.5em;
  font-size: 12pt;
  padding: 0.3em 0.75em;
  border-radius: 2em;
}

@media screen and (max-width: 1000px) {
  .section2 article {
    flex-direction: column;
  }
  .section2 article .img {
  	max-width: fit-content;
  }
  .section2 article .img img {
    border-radius: 1em 1em 0 0;
  }
  .section2 article .body {
    flex-grow: 1;
  }
}
@media screen and (max-width: 600px) {
  .section2 .article-box {
    flex-direction: column;
  }
  .section2 .article-box > article {
    width: 100%;
  }
  .section2 .article-box > article img {
    max-width: 40em;
  }
}
/* ----------------------------------- SECTION 02 - END ----------------------------------- */
/* ---------------------------------- SECTION 03 - START ---------------------------------- */
.section3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  /* max-width: 70em; */
}

.section3 .article-box {
  display: flex;
  flex-direction: column;
  gap: 2em;
  width: 100%;
}

.section3 article {
  display: flex;
  background-color: var(--dark);
  border-radius: 1em;
  width: 100%;
/*text-wrap: pretty;*/
}
.section3 article .img img {
  max-height: 20em;
  height: 100%;
  object-fit: cover;
  border-radius: 1em 0 0 1em;
  width: 100%;
}
.section3 article .body {
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 100%;
}
.section3 article .body h2 {
  font-size: 14pt;
  font-weight: 500;
}
.section3 article .body h3 {
  font-size: 12pt;
  color: var(--lightestgray);
  font-weight: 200;
}
.section3 article .body p {
  font-size: 12pt;
  font-weight: 200;
  color: var(--lightestgray);
  flex-grow: 1;
}
.section3 article .body a {
  margin-top: 0.5em;
  font-size: 12pt;
  padding: 0.3em 0.75em;
  border-radius: 2em;
}

/* @media screen and (max-width: 1000px) {
    .section3 article {
        flex-direction: column;

        & .img{

            & img {
                border-radius: 1em 1em 0 0;
            }
        }

        & .body {
            flex-grow: 1;
        }
    }
} */
@media screen and (max-width: 600px) {
  .section3 article {
    flex-direction: column;
  }
  .section3 article .img img {
    border-radius: 1em 1em 0 0;
  }

  .section3 .article-box {
    flex-direction: column;
  }
  .section3 .article-box > article {
    width: 100%;
  }
  .section3 .article-box > article img {
    max-width: 40em;
  }
}
/* ----------------------------------- SECTION 03 - END ----------------------------------- */