/* Global */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Global font */
body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, 'Roboto', Helvetica,
    Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

p {
  font-size: 16px;
}

/* Nav */
nav {
  position: fixed;
  width: 100%;
  z-index: 1;
}

.tocaps {
  text-transform: uppercase;
}

.textgrey {
  color: #5c5c5c;
}

/* Hero Image */
.gradient {
  background-image: linear-gradient(
      135deg,
      rgba(0, 114, 255, 0.5),
      rgba(0, 198, 255, 0.5)
    ),
    url(../../../img/herobg.jpg);
  background-size: cover;
}

.jumbotron {
  box-shadow: 0px 30px 40px lightgrey;
  text-transform: uppercase;
}

.jumbotron h1 {
  font-weight: 700;
}

.jumbotron h2 {
  font-weight: 300;
}

.vertical-center {
  /* Fallback for browsers do NOT support vh unit */
  min-height: 100%;
  /* Center items in container */
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.herodisplay {
  color: white;
}

/* Sections */
section {
  padding: 40px;
}

#about {
  padding: 0px 0px 40px 0px;
}

.col-sm-4 img {
  width: 100%;
}

.projectview__img,
.skillimg,
.workimg,
.socialimg {
  width: 100%;
  height: auto;
}

.projectview__img {
  max-width: 400px;
}

.skillimg,
.socialimg {
  max-width: 150px;
}

.footimg,
.footimgfirst {
  height: 20px;
}

.footer-links {
  margin-left: auto;
  margin-right: auto;
}

.footer-links img {
  width: 30px;
}

/* Media Queries */

@media only screen and (max-width: 770px) {
  header {
    display: none;
  }

  .title {
    font-size: 3rem;
  }

  h1,
  h2,
  .display-3 {
    font-size: 1.5rem;
  }

  section {
    text-align: center;
  }

  .projectview__img {
    margin: 40px 0px;
  }

  .skillimg {
    margin-bottom: 40px;
  }

  .socialimg {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 400px) {
  .title {
    font-size: 2rem;
  }

  h1,
  h2,
  .display-3 {
    font-size: 1.25rem;
  }
}
