/* Coolors Exported Palette - coolors.co/092327-1a5e63-028090-fff8f0-9e2b25 */
/* HSL */
/* RGB */
@import url("https://fonts.googleapis.com/css?family=Montserrat:500i|Roboto&display=swap");
html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #082225;
}

a:hover {
  opacity: .6;
}

.flex-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.nav-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #082225;
  text-align: center;
}

nav {
  top: 0;
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
}

.nav-list li {
  display: inline-block;
}

.nav-list li a {
  display: block;
  color: #fff8f0;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../images/hero-image.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/hero-image.jpg");
  /* Set a specific height */
  height: 100vh;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  text-align: center;
  position: absolute;
  top: 40%;
  left: 25%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #fff8f0;
}

#introduction {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../images/melbourne-night-sky.jpg ");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/melbourne-night-sky.jpg ");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#projects {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../images/code.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/code.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#contact {
  background-color: #1a2424;
}

li a:hover {
  background-color: #1b6065;
}

/* content-grid styles */
.content-grid {
  padding: 2rem;
}

.content-grid > ul {
  overflow: hidden;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(320px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
}

a {
  text-decoration: none;
}

.content-section {
  min-height: 100vh;
  width: 100%;
  color: #082225;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

.content-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  text-align: center;
  color: #fff8f0;
  padding: 0;
  margin: 0;
  margin-top: 5%;
  text-align: center;
  font-size: 3rem;
  width: 100%;
}

.content-grid > ul > li {
  background-color: #cccccc;
  border: 1px solid #E2E2E2;
  border-radius: .5rem;
}

.content-grid > ul > li:hover {
  background-color: #ffffff;
}

.content-grid > ul > li > figure {
  max-height: 220px;
  overflow: hidden;
  margin: 0;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  position: relative;
}

.content-grid > ul > li > figure > img {
  width: 100%;
}

.content-grid > ul > li > figure > figcaption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
}

.content-grid > ul > li > figure > figcaption > h3 {
  color: white;
  padding: .75rem;
  font-size: 1.25rem;
}

.content-grid > ul > li > p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem .75rem;
  min-height: 85;
  max-height: 400;
  color: #082225;
}

.content-grid > ul > li > a {
  padding: .5rem 1rem;
  margin: .5rem;
  text-align: center;
  border-radius: .25rem;
  background-color: #9d2b25;
  color: #fff8f0;
  display: inline-block;
}

.list-unstyled {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.sub-title-list {
  color: white;
  display: block;
  text-align: center;
  margin-top: 5%;
}

.sub-title-list li {
  display: inline-block;
}

/* footer */
footer {
  background-color: #082225;
  padding: .75rem;
  color: #fff8f0;
  text-align: center;
  font-size: .75rem;
}

.call-action {
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  text-align: center;
  color: #fff8f0;
  padding: 0;
  margin: 0;
  margin-top: 15%;
  text-align: center;
  font-size: 3rem;
  width: 100%;
}
/*# sourceMappingURL=style.css.map */