* {
  box-sizing: border-box;
}
:root {
  --feature-color: #298890;
  --secondary-color: #fff;
}

header {
  display: none;
}
.filler {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 20px;
}
body {
  /* font-family: museo-sans, sans-serif; */
  font-family: "Heebo", sans-serif;

  font-weight: 300;
  margin: 0;
  background-color: var(--secondary-color);
}

p {
  font-size: 17px;
  line-height: 1.4;
}
h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
}

h1 {
  font-size: 80px;
  line-height: 68px;
  color: var(--feature-color);
}

h2 {
  color: var(--secondary-color);
  font-size: 66px;
  line-height: 70px;
}

button {
  padding: 10px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  background: var(--feature-color);
  color: #fff;
  cursor: pointer;
}

#main {
  height: 100vh;
  min-height: 700px;
}

#top-half {
  display: flex;
  background: var(--secondary-color);
  height: 50%;
  justify-content: center;
  align-items: flex-end;
  padding: 0 30px;
  flex-wrap: wrap;
}

#bottom-half {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  height: 50%;
  background: var(--feature-color);
  padding: 0 30px;
}
.info {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}
.blurb {
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
  max-width: 50%;
}
#about,
#projects {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* align-items: center; */
}
#about {
  text-align: center;
  background: var(--feature-color);
  padding: 60px 30px 200px 30px;
}
#about p,
#projects p {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
#about p {
  color: var(--secondary-color);
}
#projects p {
  color: var(--feature-color);
}

#projects {
  padding-bottom: 200px;
}
#projects .top {
  background: var(--feature-color);
  margin-bottom: 30px;
}
.project {
  width: auto;
  display: grid;
  overflow: hidden;
}

#projects .project p {
  color: var(--secondary-color);
  margin: 10px 0;
}

.project h3 {
  margin-top: 20px;
  color: var(--secondary-color);
}

.project img {
  max-width: 100%;
  grid-column: 1/-1;
  grid-row: 1/-1;
}

.project .row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
#projectTiles {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
}

.project-overlay {
  /* opacity: 0; */
  background: hsla(184.7, 55.7%, 36.3%, 0.9);
  grid-column: 1/-1;
  grid-row: 1/-1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform ease 0.4s;
  transform: translateX(100%);
}
.project:nth-child(odd) .project-overlay {
  transform: translateX(-100%);
}
.project:hover .project-overlay,
.project:active .project-overlay {
  transform: translateX(0%);
}

.project button {
  background-color: var(--secondary-color);
  color: var(--feature-color);
}
.social img {
  width: 64px;
  margin-right: 10px;
}

.row button:first-child {
  margin-right: 10px;
}

.days-taken {
  background: #fff;
  /* border-left: 1px solid var(--feature-color);
  border-top: 1px solid #333; */
  grid-column: 1/-1;
  grid-row: 1/-1;
  justify-self: end;
  align-self: end;
  padding: 10px;
  z-index: 50;
  font-size: 11px;
  border-top-left-radius: 5px;
  text-transform: uppercase;
  font-weight: 500;
  /* font-family: museo-sans, sans-serif; */
  font-family: "Heebo", sans-serif;
}

@media only screen and (max-width: 1200px) {
  .info,
  #about p,
  #projects p,
  #projectTiles {
    max-width: 95%;
  }
}
@media only screen and (max-width: 700px) {
  .project:nth-child(odd) .project-overlay {
    transform: translateX(100%);
  }

  .project:hover .project-overlay,
  .project:active .project-overlay {
    transform: translateX(0%);
  }

  #main {
    height: auto;
  }
  h1 {
    font-size: 36px;
    line-height: 42px;
    color: var(--feature-color);
  }
  h2 {
    color: var(--secondary-color);
    font-size: 39px;
    line-height: 45px;
    margin-bottom: 10px;
  }
  .blurb {
    max-width: 100%;
  }
  #top-half {
    min-height: 300px;
    height: auto;
  }
  #main {
    min-height: initial;
  }
  #projectTiles {
    grid-template-columns: 1fr;
  }
  .info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
