/* ========== GLOBAL STYLES ========= */

/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"); */

:root {
  --bg-white: hsl(0, 0%, 100%);
  --bg-grey: hsl(0, 0%, 89%);
  --yellow: hsl(53, 100%, 68%);
  --navy-blue: hsl(234, 14%, 18%);
  --orange-test: hsl(42.073174, 100%, 68%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  line-height: 1.5em;
}

html {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* === Local Roboto Fonts | weight doesn't work in FF === */

/* @font-face {
  font-family: "robotoregular";
  src: url(../fonts/roboto-regular-webfont.woff2) format("woff2"),
    url(../fonts/roboto-regular-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
} */

/* @font-face {
  font-family: "roboto-variable";
  src: url(../fonts/roboto-variable.ttf) format("ttf");
  font-weight: 300;
  font-style: normal;
} */

body {
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  margin: 1.2rem;
  background-color: #e4e4e4;
}

input::placeholder {
  color: #969696;
}

textarea::placeholder {
  color: #969696;
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-shadow: 1px 2px 2px #c6c6c6;
}

input[type="email"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 1px 2px 2px #c6c6c6;
}

input[type="submit"] {
  width: 100%;

  background-color: var(--navy-blue);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 1px 2px 2px #c6c6c6;
}

input[type="submit"]:hover {
  background-color: var(--yellow);
  color: black;
}

blockquote {
  font-style: bold;
  /* font-weight: 400; */
  font-size: 1.4rem;
}

/* ========== BODY STYLES ========= */
/* ========== BODY CONTAINER  ========= */

#container-body-main {
  max-width: 1400px;
  min-width: 320px;
  margin: auto;
  background-color: var(--bg-white);
  padding: 1.4em;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border-radius: 10px 10px 0 0;
}

button a {
  color: black;
}

h1 {
  font-size: 3em;
  text-align: center;
  font-weight: 400;
  font-style: normal;
}

h3 {
  font-weight: 400;
  font-style: normal;
}

/* ====== FOOTER ====== */

footer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1400px;
  min-width: 250px;
  min-height: 200px;
  padding: 1rem 4rem 2rem 4rem;
  background-color: var(--navy-blue);
  border-top: 4px solid var(--yellow);

  /* border-top: 4px solid var(--orange-test); */

  color: white;
  border-radius: 0 0 10px 10px;
  margin: 0rem 0.5rem 0 0.5rem;
  gap: 1rem;
}

.footer-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}

.footer-item a:link {
  color: white;
  text-decoration: none;
}

.footer-item a:visited {
  color: white;
  text-decoration: none;
}

.footer-item a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-item ul {
  list-style-type: none;
  padding-left: 0;
}

.footer-item h3 {
  margin-bottom: 0px;
}

.footer-logo img {
  height: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}

/* ========== HEADER ========= */

/* ========== NAVIGATION BAR ========= */
.active {
  color: brown;
}

/* nav {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
} */

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

nav li {
  min-height: 50px;
}

nav a {
  height: 100%;
  padding: 0 24px 0 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.2rem;
  color: black;
}

nav a:hover {
  color: #b8001f;
}

nav li:first-child {
  margin-right: auto;
  height: auto;
  padding-left: 0.5rem;
}

.logo {
  content: url("../img/logo/logo-black-775px.webp");
  height: 60px;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 230px;
  z-index: 10;
  background-color: #e4e4e4;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.4rem;
}

.sidebar a {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  color: white;
}

.sidebar li {
  width: 100%;
  margin-bottom: 3px;
  background-color: var(--navy-blue);
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.sidebar a:hover {
  color: var(--yellow);
}

.sidebar .active {
  color: var(--yellow);
}

.menu-button {
  display: none;
}

.menu-button a:hover,
a:active {
  color: var(--yellow);
}

#overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
}

/* ============ PAGE CONTENT FORMATTING ============ */

.lessons-container {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--bg-grey);
  margin: 2rem 0.5rem 0rem 0.5rem;
  padding-right: 15%;
  padding-left: 15%;
  padding-bottom: 1rem;
  justify-content: center;
}

.lessons-container h1 {
  margin-top: 2rem;
  color: var(--navy-blue);
  font-size: 2rem;
  font-weight: 100;
  text-align: center;

}

.foss-banner {
  content: url("../img/lessons/banner-foss-course-01.png");
  width: 98%;
  height: auto;
}

.portraits-banner {
  content: url("../img/lessons/foss-course-02.png");
  width: 98%;
  height: auto;
}

.about-container {
  margin: 2rem 0.5rem 0rem 0.5rem;
  font-family: sans-serif;
}

.about-profile-text h3 {
  font-family: "Roboto", sans-serif;
}

.about-content-bg {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--bg-grey);
}

.contact-form-container {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0.5rem 0rem 0.5rem;
}

.card-left-txt h1 {
  color: var(--yellow);
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;

}

.card-left-txt h2 {
  color: var(--yellow);
  text-align: center;
}

.contact-left-inner-bg {
  min-width: 320px;
  background-color: var(--navy-blue);
  border-top: 6px solid var(--yellow);
  border-bottom: solid 6px var(--yellow);

  color: white;
  padding: 1rem;
  border-radius: 10px;
  height: 100%;
  box-shadow: 1px 2px 2px #c6c6c6;
}

.contact-form-left-container {
  flex: 40%;
  display: flex;
  flex-direction: column;
  background-color: #e4e4e4;
  padding: 2rem;
}

.contact-form-left-container a {
  color: white;
}

.contact-form-fields {
  flex: 58%;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 100;
  padding: 2rem 2rem 2rem 1rem;
  background-color: #e4e4e4;
}

.contact-form-fields-2 {
  flex: 58%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  font-weight: 100;
  padding: 0rem 2rem 1rem 1rem;
  background-color: #e4e4e4;
}

.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#success-img img {
  background-color: white;
  padding: 0.6rem;
  border-radius: 12px;
  box-shadow: 1px 2px 2px #c6c6c6;
}

.success h2 {
  font-size: 2.4rem;
  margin-bottom: 0;
  color: var(--navy-blue);
}

.success p {
  font-size: 1.2rem;
}

.success button {
  background-color: white;
  margin-top: 1rem;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2rem;
  border-radius: 10px;
  transition-duration: 0.4s;
  box-shadow: 1px 2px 2px #c6c6c6;
}

.success button:hover {
  background-color: var(--yellow);
}

/* ======== HOME PAGE BIO & Contact PROFILE ========== */

.home-bio-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0.5rem 0rem 0.5rem;
  background-color: var(--bg-grey);
  padding: 1rem 1rem 0rem 1rem;
}

.home-bio-text {
  font-size: 1.8rem;
  text-align: center;
  padding: 1.2rem 6rem 2.2rem 6rem;
  border-top: solid 6px var(--yellow);
  /* border-right: solid 6px var(--yellow); */

  background-color: var(--navy-blue);
  color: white;
  border-radius: 10px;
}

.home-bio-text button {
  background-color: var(--yellow);
  color: black;
  margin-bottom: 1rem;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2rem;
  border-radius: 10px;
  transition-duration: 0.4s;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.home-bio-text button:hover {
  background-color: #e4e4e4;
}

/* ======== ABOUT PAGE BIO PROFILE ========== */

.about-profile {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.about-photo {
  flex: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border-radius: 12px 0 0 12px; */
  background-color: #e4e4e4;
  padding: 2rem 1rem 1rem 1rem;
}

/* .about-photo-pic img {
  width: 200px;
  border-radius: 50%;
  background-color: white;
  padding: 0.5rem;
  box-shadow: 1px 2px 2px #c6c6c6;
} */

.about-profile-text {
  flex: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 3rem 2rem 3rem;
  /* border-radius: 0 12px 12px 0; */
  background-color: var(--navy-blue);
  border-left: 4px solid var(--yellow);
}

.about-profile-text p {
  font-size: 1.2rem;
  font-weight: lighter;
  color: white;
}

.about-profile-text h6 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-right: 1rem;
}

.about-profile-text h3 {
  font-size: 2.4rem;
  color: var(--yellow);
}

.about-containers {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  color: #2a2a2d;
  margin-top: 1rem;
}

.about-inner-content {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 2rem 1rem 2rem;
  border-radius: 12px;
  box-shadow: 1px 2px 2px #c6c6c6;
  background-color: #e4e4e4;
}

.about-inner-content-dark {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 2rem 1rem 2rem;
  border-radius: 12px;
  box-shadow: 1px 2px 2px #c6c6c6;
  background-color: var(--navy-blue);
  color: white;
}

.about-container-left {
  width: 45%;
  margin-right: 2rem;
}

.about-container-right h5 {
  line-height: 0rem;
  margin-bottom: 0;
  color: var(--yellow);
}

.about-container-right {
  width: 45%;
}

.about-containers h3 {
  color: #2a628f;
}

/* ====== BULLET POINT CARDS || ALT GRID METHOD ====== */

.card-container-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-grey);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.card-gallery-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--bg-grey);
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.card-column-2 {
  flex: 25%;
  max-width: 23.7%;
  padding: 0rem 1rem 0.5rem 1rem;
  background-color: var(--navy-blue);
  color: white;
  margin: 0 0.5em 0.5em 0.5em;
  border-radius: 10px;
  box-shadow: 1px 2px 2px #c6c6c6;
  border-top: solid 6px var(--yellow);
}

.card-column-2 > h2 {
  text-align: center;
  color: var(--yellow);
  font-size: 1.2rem;
}

.card-highlight-2 {
  width: 100%;
  height: 100px;
  background-color: var(--navy-blue);
  align-content: center;
  text-align: center;
}

/* === NEW HOMEPAGE INFO CARDS ==== */

.info-cards-home-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-grey);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.info-cards-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.info-cards-responsive {
  flex: 25%;
  max-width: 23.7%;
  margin: 0 0.5em 0.5em 0.5em;
  border-radius: 12px;
  box-shadow: 1px 2px 2px #c6c6c6;
  background-color: white;
  min-width: 200px;
  border-bottom: solid 6px var(--yellow);
}

/* === INFO CARDS ICON AND HEADER TEXT ==== */

.info-cards-header {
  width: 100%;
  background-color: var(--navy-blue);
  color: var(--yellow);
  border-top: solid 6px var(--yellow);
  text-align: center;
  border-radius: 12px 12px 0 0;
  padding-bottom: 0.4rem;
}

.info-cards-header > i {
  color: white;
}

.info-cards-header > h1 {
  font-size: 1.2rem;
  margin-top: -0.5rem;
}

.footer-item > h1 {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: -0.2rem;
}

/* .info-cards-header > h2 {
  font-size: 1.2rem;
  margin-top: -0.5rem;
} */

/* === INFO CARDS TEXT BOTTOM CONTENT ==== */

.card-text-box {
  padding-left: 1rem;
  padding-right: 1rem;
}

.contact-card-left {
  color: white;
  align-content: center;
  text-align: center;
}

/* ====== ABOUT DUAL BOX LAYOUT ====== */

.card-column-about {
  flex: 50%;
  max-width: 48%;
  padding: 0.5em 2em 1em 2em;
  background-color: #ffffff;
  margin: 0.4em;
  border-radius: 6px;
  box-shadow: 1px 2px 2px #c6c6c6;
  background-color: var(--navy-blue);
  color: white;
}

.card-column-about > h2 {
  text-align: center;
  color: var(--yellow);
}

.card-highlight-about {
  width: 100%;
  height: 100px;
  background-color: var(--navy-blue);
  color: white;
  align-content: center;
  text-align: center;
  color: var(--yellow);
}

/* ========== LIGHTBOX GALLERY ========= */
/* ========== MOSAIC FLEX WRAP ========= */

.lbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.lbox-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.lbox-column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.lbox-gallery img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* ========== Blog Post Formatting ============= */

.blog-title-container {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 2rem;
  background-color: var(--navy-blue);
  padding: 0.5rem 1rem 0.5rem 1rem;
  border-top: solid 6px var(--yellow);
  border-radius: 12px 12px 0 0;
}

/* .blog-title {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
} */

.blog-title h1 {
  margin-bottom: 0px;
  color: var(--yellow);
  text-align: left;
  font-size: 2rem;
}

.blog-title h2 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bg-white);
}

.blog-title h3 {
  margin-top: 0px;
  color: var(--bg-white);
}

.blog-body-container {
  background-color: var(--bg-grey);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 1rem;
}

.blog-body {
  background-color: var(--bg-white);
  padding: 1rem;
  /* border-radius: 10px 10px 0 0; */
}

/* ========== ========= */
/* ========== MEDIA QUERIES FOR RESPONSIVE MOBILE LAYOUT ========= */
/* ========== ========= */

@media screen and (max-width: 1455px) {
  .card-column-2 {
    flex: 25%;
    max-width: 23.6%;
  }

  .info-cards-responsive {
    flex: 25%;
    max-width: 23.6%;
  }
}

/* @media screen and (max-width: 1310px) {
  .card-column-2 {
    flex: 25%;
    max-width: 23.5%;
  }

  .info-cards-responsive {
    flex: 25%;
    max-width: 23.5%;
  }
} */

@media screen and (max-width: 1300px) {
  .card-column-2 {
    flex: 25%;
    max-width: 23.3%;
  }

  .info-cards-responsive {
    flex: 25%;
    max-width: 23.3%;
  }
}

/* ========== RESPONSIVE LAYOUT, 2 COLUMN - 50% FLEX ==============*/

@media screen and (max-width: 1200px) {
  .about-profile-photo img {
    width: 80%;
  }

  .about-photo-pic img {
    width: 160px;
  }

  .about-profile-photo {
    text-align: center;
  }

  .card-column-2 {
    flex: 50%;
    max-width: 48.4%;
  }

  .info-cards-responsive {
    flex: 50%;
    max-width: 48.4%;
  }
}

@media screen and (max-width: 1155px) {
  .card-column-2 {
    flex: 50%;
    max-width: 48%;
  }

  .info-cards-responsive {
    flex: 50%;
    max-width: 48%;
  }
}

/* @media screen and (max-width: 1066px) {


  .card-column-2 {
    flex: 50%;
    max-width: 47%;
  }

} */

/* ========== ======= 1000px  ======= ========= */

@media screen and (max-width: 1000px) {
  .lbox-column {
    flex: 50%;
    max-width: 50%;
  }

  .about-photo-pic img {
    width: 320px;
  }

  .footer-logo img {
    height: 46px;
  }

  body {
    margin: 1rem;
  }

  .card-column-2 {
    flex: 50%;
    max-width: 47%;
  }

  .info-cards-responsive {
    flex: 50%;
    max-width: 47%;
  }

  .info-cards-flex-container {
    padding: 1rem 0rem 0.5rem 0rem;
  }

  .lessons-container {
    padding-right: 0%;
    padding-left: 0%;
  }
}

/* ========== ======= 810px  ======= ========= */

@media screen and (max-width: 810px) {
  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }
  .about-photo {
    border-radius: 12px 12px 0 0;
  }

  .about-profile-text {
    border-radius: 0 0 12px 12px;
  }
}

@media screen and (max-width: 750px) {
  .card-column-2 {
    flex: 100%;
    max-width: 99%;
  }

  .info-cards-responsive {
    flex: 100%;
    max-width: 99%;
  }
}

/* ========== ======= 600px  ======= ========= */

@media screen and (max-width: 600px) {
  input[type="submit"] {
    width: 100%;
  }

  .home-bio-box {
    margin: 0.5rem 0rem 0rem 0rem;
  }

  .info-cards-home-box {
    margin: 0;
  }

  .info-cards-responsive {
    margin: 0 1em 1em 1em;
  }

  .home-bio-text {
    padding: 2rem;
    font-size: 1.4rem;
  }

  .home-bio-text button {
    margin-top: 1rem;
  }

  .card-column-2 {
    flex: 100%;
    max-width: 99%;
  }

  .info-cards-responsive {
    flex: 100%;
    max-width: 99%;
  }

  .card-gallery-2 {
    margin-left: 0rem;
    margin-right: 0rem;
  }

  #container-body-main {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  nav {
    padding: 1.2rem 0.5rem 0rem 0.5rem;
  }

  .logo {
    height: 46px;
    margin-top: 5px;
  }

  .about-container {
    margin: 1.1rem 0.5rem 0rem 0.5rem;
  }

  .about-photo-pic img {
    width: 150px;
  }

  .about-container-left {
    width: 100%;
    margin-right: 0;
  }

  .about-container-right {
    width: 100%;
  }

  .lbox-column {
    flex: 100%;
    max-width: 100%;
  }

  .contact-form-left-container {
    padding: 0;
  }

  .contact-left-inner-bg {
    min-width: 280px;
    border-radius: 0;
  }

  .contact-form-container {
    padding: 0.1rem 0 0 0;
    margin-top: 1rem;
  }

  .footer-logo img {
    height: 36px;
  }

  .lbox-container {
    margin-top: 0.6rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0px;
    margin-bottom: 0;
    margin: 0;
  }

  body {
    margin: 0;
  }
}

/* ========== ======= 400px  ======= ========= */

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}

/* ==========  DEBUGGING ========= */
