/* --------- initial setup --------- */
* {
  box-sizing: border-box;
}

:root {
  --dark_ocean: #4d6772;
  --provincial_sky: #a7c0be;
  --dusty_coral: #bc8880;
  --canteloupe: #e4c0a0;
  --white: #fefefe;
  --peach: #edd0c0;
  --celadon: #b3c0ae;
  --blackboard: #1f1f1e;
}

.container-body {
  padding-top: 50px;
  padding-bottom: 200px;
  background-color: var(--dark_ocean);
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  color: var(--white);
}

h1 {
  text-align: center;
  padding: 10px;
}

h2 {
  font-size: 45px;
  margin: 10px;
  padding: 10px;
}

a {
  color: var(--canteloupe);
}

figcaption h2 {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------- images --------- */
#GL {
  display: block;
  margin: 0px auto;
  border: solid 10px var(--dusty_coral);
  border-radius: 50%;
  border-style: double;
}

#headshot {
  display: block;
  width: 50%;
  margin: 30px auto;
  border: solid 10px var(--dusty_coral);
  border-radius: 50%;
  border-style: double;
}

/* Particular image sizing in laptop mode */
@media (min-width: 1000px) {
  #headshot {
    max-width: 50%;
  }
}

.signature-container {
  display: flex;
  justify-content: flex-end;
}

#signature {
  width: 300px;
  height: 100px;
}

.title-container {
  display: flex;
  justify-content: center;
}

#about-img {
  display: flex;
  margin: auto;
  width: 180px;
  height: 40px;
}

#portfolio-img {
  display: flex;
  margin: auto;
  padding-top: 15px;
  width: 175px;
  height: 75px;
}

.experience-img {
  display: flex;
  margin: auto;
  width: 325px;
  height: 60px;
}

#contact-img {
  display: flex;
  margin: auto;
  width: 325px;
  height: 50px;
  padding-top: 10px;
}

/* adjust signature size for mobile */
@media (max-width: 500px) {
  #signature {
    width: 200px;
    height: 66px;
  }

  .experience-img {
    width: 100%;
    height: 100%;
  }

  #about-img {
    width: 50%;
    height: 50%;
  }

  #contact-img {
    display: flex;
    margin: auto;
    width: 250px;
    height: 50px;
    padding-top: 10px;
  }
}

/* --------- header+navbar for all pages --------- */
nav {
  display: flex;
  justify-content: center;
  white-space: nowrap;
  padding: 10px;
  width: 100%;
  background-color: var(--dark_ocean);
  overflow-x: auto;
}

/* Particular spacing in mobile mode */
@media (max-width: 420px) {
  nav {
    justify-content: space-between;
  }
}

.nav-list {
  list-style-type: none;
  display: flex;
  padding: 0px;
  margin: 0px;
  white-space: nowrap;
}

.nav-button {
  padding: 10px;
}

.nav-click {
  padding: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 28px;
}

@media (max-width: 500px) {
  .nav-click {
    font-size: 18px;
  }
}

.nav-click:hover {
  border-radius: 5px;
  border: solid var(--celadon) 2px;
}

/* --------- text boxes for About Me and Experience pages --------- */

.about-skills {
  margin: auto;
  display: flexbox;
  max-width: 400px;
  border: 10px solid var(--dusty_coral);
  border-style: double;
  border-radius: 10px;
  /* text-align: center; */
}

.exp-main {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  max-width: 800px;
}

.experience,
#about-me {
  margin: 20px;
  margin-bottom: 30px;
  padding: 30px;
  border: 5px solid var(--dusty_coral);
  border-radius: 5px;
  background-color: var(--dark_ocean);
  font-size: 25px;
}

.experience h2,
#about-me h2 {
  text-align: center;
  color: var(--white);
}

/* Particular spacing in mobile mode */
@media (min-width: 1000px) {
  #experience,
  #about-me {
    margin-left: 15%;
    margin-right: 15%;
  }
}

.link-container {
  display: block;
  text-align: center;
  font-size: 30px;
}

/* --------- contact information - form --------- */
.form-container {
  display: block;
  flex-flow: row wrap;
  margin: auto;
  max-width: 100%;
}

.contact .form-heading {
  display: flex;
  justify-content: start;
  font-size: 25px;
  font-weight: bold;
}

.form-list {
  display: block;
  padding-inline-start: 8px;
}

.form-item {
  display: inline-block;
  padding-bottom: 1px;
  display: flex;
  justify-content: flex-end;
  padding: 0.5em;
}

.form-item label {
  flex: 1;
  margin-right: 5px;
  font-size: 25px;
}

.form-item input {
  flex: 2;
  margin-right: 15px;
}

.btn-primary {
  width: 41%;
  background-color: var(--dark_ocean);
  color: var(--white);
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin: 1em;
  margin-left: 50%;
  margin-top: 0;
}

.btn-primary:hover {
  background-color: var(--provincial_sky);
}

/* contact information - other */
.contact-header {
  display: block;
  text-align: center;
}

.contact {
  display: flex;
  flex-direction: column wrap;
  width: 80%;
  margin: 30px auto;
  padding: 10px;
  border: 3px solid var(--dusty_coral);
  border-radius: 5px;
  text-align: center;
  font-size: 25px;
}

@media (max-width: 500px) {
  .contact a {
    overflow-wrap: break-word;
  }
}

.contact h2 {
  display: block;
  width: 90%;
  margin: 30px auto;
  padding: 10px;
  text-align: center;
  font-size: 25px;
}

/* Particular spacing in mobile mode */
@media (min-width: 1000px) {
  .contact {
    width: 50%;
  }
}

/* --------- index.html - projects --------- */
.project-container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100%;
}

.project-header,
.project-title,
.project-text {
  text-align: center;
}

.project-container a {
  color: var(--white);
  text-decoration: none;
}

.project-title {
  font-size: 40px;
  margin: 10px;
  padding: 5px;
}

.project-title:hover {
  color: var(--canteloupe);
}

.project-tile {
  display: block;
  margin: 20px;
  width: 90%;
  height: 80%;
  text-align: center;
  color: var(--white);
}

.project-tile #garden-planner {
  display: inline-block;
  margin: auto;
  width: 80%;
  height: 80%;
  justify-content: center;
  border: solid 2px var(--celadon);
  border-radius: 20px;
}

.project-tile #health-tracker,
.project-tile #classroom-scheduler,
#goal-getter {
  display: inline-block;
  margin: auto;
  padding: 10px;
  width: 60%;
  height: 50%;
  justify-content: center;
  border: solid 2px var(--celadon);
  border-radius: 20px;
  background-color: var(--blackboard);
}

.project-tile #garden-planner:hover,
.project-tile #health-tracker:hover,
.project-tile #classroom-scheduler:hover,
#goal-getter:hover {
  box-shadow: 0px 0px 10px var(--canteloupe);
}

.project-text {
  padding: 40px;
  font-size: 25px;
}

@media (max-width: 420px) {
  .project-tile {
    flex-basis: 100%;
  }

  .project-text {
    font-size: 20px;
    padding: 5px;
    border: solid 5px var(--dark_ocean);
    border-radius: 3px;
  }

  .project-title {
    font-size: 25px;
  }
}
