html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  background: rgba(242, 242, 242, 0.6);
  margin: 0;
}

* {
  box-sizing: border-box;
}

h4 {
  margin: 0;
  font-weight: 400;
  color: grey;
}

/*NAVBAR*/
.navbar {
  background-color: #31b0d5;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100vw; /* Full width */
  display: flex;
  justify-content: center;
  z-index: 1;
}

.navbar a {
  font-weight: 200;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.6em;
}

.anchor {
  display: block;
  position: relative;
  top: -70px;
  visibility: hidden;
}

/*JUMBOTRON*/
.jumbotron {
  height: 100vh; /*height to 100% of view height*/
  background: #31b0d5; /*background color to blue*/
  margin-bottom: 0; /*no bottom margin*/

  display: flex;
  flex-direction: column;
}

.jumbotron-text {
  /*TAGLINE UNDER NAME*/
  font-weight: 400;
  font-size: 2em;
  color: white;
  text-align: center;
  padding-top: 150px;
}

.jumbotron-text h1 {
  /*YOUR NAME*/
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3em;
  margin-bottom: 0;
}

.jumbotron-text p {
  margin: 0;
}

/*SOCIAL LINKS*/
.ul-social {
  text-align: center;
  padding-left: 0;
  padding-top: 2rem;
}

.li-social-links {
  display: inline-block;
  list-style: none;
}

.social {
  font-size: 2em;
  color: white;
  padding: 20px;
}

/*ARROW LINK*/
#down-arrow {
  /*position: absolute;
  width: 100%;*/
  margin-top: auto;
  text-align: center;
  margin-bottom: 50px;
}

#down-arrow a {
  color: white;
  font-size: 3em;
}

/*CONTENT*/
.content-container {
  /*sets up flexbox*/
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
}

.white {
  background: white;
}

.side-content {
  flex: 0 0 16.6%;
}

.main-content {
  flex: 0 0 66.6%;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.side-content-sm {
  flex: 0 0 10%;
}

.main-content-lg {
  flex: 0 0 80%;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.box-shadow {
  -webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.75);
}

h2 {
  font-weight: 200;
  font-size: 2rem;
  color: #31b0d5;
  text-transform: uppercase;
  text-align: center;
}

.content-body {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
}

.resume-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume {
  font-size: 4em;
  color: #31b0d5;
  padding: 30px 0;
  text-align: center;
  display: block;
  transition: color 0.2s;
}

.resume:hover {
  color: #2ca0c4;
}

/*
// EDUCATION
.card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
  margin-bottom: 30px;
}

.card-header {
  padding: .75rem 1.25rem;
  background-color: white;
  border-bottom: 1px solid rgba(0,0,0,.075);
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

.card-content {
  padding: .25rem 1.25rem;
  flex: 1 1 auto;
}

.job-title {
  float: right;
}
*/

/*PROJECTS*/

.content-header {
  padding-top: 1rem;
}

.projects-subtitle {
  color: #31b0d5;
  padding-bottom: 2rem;
  text-align: center;
}

.nav {
  justify-content: center;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: white;
  background-color: #31b0d5;
}

.nav-link {
  color: #31b0d5;
}

.nav-link:hover {
  color: #31b0d5;
}

.tab-content {
  padding-bottom: 1rem;
}

.card {
  z-index: 0;
  text-align: center;
}

.card-header {
  color: white;
  background-color: #31b0d5;
  border-bottom: 1px solid #31b0d5;
}

.card-header .fab {
  font-size: 30px;
  color: white;
}

.btn-primary {
  background-color: #31b0d5;
  border-color: #31b0d5;
}

.btn-primary:hover {
  background-color: #2ca0c4;
  border-color: #31b0d5;
}

/*SKILLS*/
.skills-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem 0;
}

.skill {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.skill__box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.skill__percent {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.skill__percent__number {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.skill__percent__number h2 {
  font-size: 40px;
}

.skill__svg {
  position: relative;
  width: 150px;
  height: 150px;
  z-index: 0;
}

.skill__svg circle {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

.skill__svg circle:nth-child(2) {
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
}

.skill:nth-child(1) .skill__svg circle:nth-child(2) {
  stroke: #31b0d5;
  stroke-dashoffset: calc(440 - (440 * 70) / 100);
}

.skill:nth-child(2) .skill__svg circle:nth-child(2) {
  stroke: #31b0d5;
  stroke-dashoffset: calc(440 - (440 * 60) / 100);
}

.skill:nth-child(3) .skill__svg circle:nth-child(2) {
  stroke: #31b0d5;
  stroke-dashoffset: calc(440 - (440 * 50) / 100);
}

.skill:nth-child(4) .skill__svg circle:nth-child(2) {
  stroke: #31b0d5;
  stroke-dashoffset: calc(440 - (440 * 50) / 100);
}

.skill:nth-child(5) .skill__svg circle:nth-child(2) {
  stroke: #31b0d5;
  stroke-dashoffset: calc(440 - (440 * 50) / 100);
}

.skill__text {
  text-transform: uppercase;
  margin-top: 20px;
  color: #31b0d5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*CONTACT*/
.blue {
  background: #3498db;
  text-align: center;
}

.contact {
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  margin-bottom: 10px;
  background: #1d6fa5;
  color: #fff;
  -webkit-transition: 0.5s ease all;
  transition: 0.5s ease all;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: rgb(197, 197, 197);
}

.contact textarea {
  height: 150px;
  resize: none;
}

.contact button {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  padding: 5px 10px;
  border: none;
  color: #3498db;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: 0.5s ease all;
  transition: 0.5s ease all;
}

.white-text {
  color: white;
}

/*FOOTER*/

#footer-copyright {
  text-align: center;
}

/*-------------*/
/*MEDIA QUERIES*/
/*-------------*/

/*iPad Pro*/
@media screen and (max-width: 1024px) {
  .jumbotron-text h1 {
    font-size: 2.5em;
  }

  .navbar a {
    font-size: 1.5em;
  }

  .skills-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
}

/*iPad*/

@media screen and (max-width: 768px) {
  .jumbotron-text h1 {
    font-size: 2em;
  }

  .project-image-2 {
    display: block;
    flex: 0 0 auto;
  }

  .project-image-2 img {
    display: block;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    max-width: 100%;
  }

  .project-image-1 {
    display: none;
  }

  .project-card {
    flex-direction: column;
    align-items: center;
  }

  .project-content {
    align-items: center;
  }
}

/* Mobile*/

@media screen and (max-width: 640px) {
  .jumbotron-text h1 {
    font-size: 1.2em;
  }

  .navbar {
    justify-content: space-around;
  }

  .navbar a {
    color: white;
    font-size: 0.8em;
  }

  .jumbotron-text p {
    font-size: 0.9em;
  }
}
