* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navigation */

nav {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 20px;
  background-color: #d9b27c;
  display: flex;
  justify-content: flex-end;
}

.nav-pill {
  margin-right: 20px;
}

.nav-pill a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: #211f1f;
}

/* Sections */

.jumbotron {
  min-height: 100vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#welcome-section {
  background-color: #f0e283;
}

#projects {
  background-color: #6efaa9;
}

#contact {
  background-color: #ff846b;
}

/* Section titles and subtitles */

.title-container {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-header {
  font-family: "Noto Sans HK", sans-serif;
  font-weight: 800;
  font-size: 80px;
  margin-bottom: 10px;
  text-align: center;
}

@media only screen and (max-width: 992px) {
  .welcome-header {
    font-size: 50px;
  }
}

.title {
  font-family: "Noto Sans HK", sans-serif;
  font-weight: 800;
  font-size: 50px;
  margin-bottom: 5px;
}

@media only screen and (max-width: 600px) {
  .title {
    font-size: 40px;
  }
}

.subtitle {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  text-align: center;
}

/* Projects */

.project-tile {
  min-width: 800px;
  width: 800px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

@media only screen and (max-width: 992px) {
  .project-tile {
    min-width: 600px;
    width: 600px;
  }
}

@media only screen and (max-width: 600px) {
  .project-tile {
    min-width: 300px;
    width: 300px;
  }
}

.card {
  font-family: "Lato", sans-serif;
  width: 250px;
  min-height: 350px;
  border-radius: 5px;
  border: 1px solid #888888;
  background-color: white;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.card-img-top {
  max-width: 100%;
  width: 100%;
  height: 150px;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #888888;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.card-section {
  flex-grow: 1;
  padding-left: 10px;
  padding-right: 10px;
}

.card-title {
  margin-bottom: 10px;
}

.card-text {
  margin-bottom: 0.5em;
}

.card hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  border-top: 1px solid #bedfa1;
  background: #96d95b;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: #3e5925 0 1px 0;
  color: black;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
}

.button:hover {
  border-top-color: #72a646;
  background: #72a646;
  color: #ccc;
}

.button:active {
  border-top-color: #3e5925;
  background: #3e5925;
}

/* Icons */

.icon-tile {
  display: flex;
  min-width: 800px;
  width: 800px;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

@media only screen and (max-width: 992px) {
  .icon-tile {
    min-width: 600px;
    width: 600px;
  }
}

@media only screen and (max-width: 600px) {
  .icon-tile {
    min-width: 300px;
    width: 300px;
  }
}

.icon-container a {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  width: 100px;
  border-radius: 45%;
  background-color: white;
  margin-bottom: 10px;
  margin-right: 10px;
}

.icon-container a:hover {
  box-shadow: 0 0 8px #888888;
}

.icon-container a .icon {
  font-size: 70px;
  color: black;
  transition: 2s;
}

.icon-container a:hover .icon {
  transform: rotateY(360deg) scale(1.1);
}

.icon-container a:hover .fa-twitter-square {
  color: #00aced;
}

.icon-container a:hover .fa-facebook-square {
  color: #3b5998;
}

.icon-container a:hover .fa-github-square {
  color: #211f1f;
}

.icon-container a:hover .fa-rss-square {
  color: #ee802f;
}

.icon-container a:hover .fa-linkedin {
  color: #0e76a8;
}
