:root {
  --main-font: 'Montserrat', 'Helvetica', sans-serif;
  --secondary-color: #5596e6;
  --text-color: #535f7f;
}

/* GENERAL */
body, h1, h2, h3, h4, h5, p {
  font-family: var(--main-font);
  -webkit-font-family: var(--main-font);
  -moz-font-family: var(--main-font);
  line-height: 40px;
}

.jumbotron-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--main-color);
  display: none;
}

#header-title {
  font-size: 4rem;
}

#header-subtext {
  font-size: 2rem;
}

a {
  color: var(--secondary-color);
}

.bold-text {
  font-weight: 900;
}

h1, h2, p, ul li {
  letter-spacing: 1px;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: lighter;
  font-family: var(--main-font);
  -webkit-font-family: var(--main-font);
  -moz-font-family: var(--main-font);
}

p, ul li {
  color: var(--text-color);
}

hr:after {
  content: "\00a0";  /* Prevent margin collapse */
}

.flex-container {
  display: flex;
  justify-content: center;
  background-color: inherit;
}

.flex-container > a > i {
  width: 50px;
  margin: 5px;
  text-align: center;
  font-size: 30px;
  color: #fff;
}

/* image of me */
.me {
  width: 150px;
  height: 160px;
  border-radius: 100%;
}

.banner {
  background-image: url(../media/other/laptop1.jpg);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  display: block;
  height: 15em;
  width: 100%;
  padding: 0;
  margin: 0;
}

.main, .container {
  margin-left: 250px; /* Same as the width of the sidenav */
  padding: 0 60px !important;
}

footer {
  margin-left: 250px;
  padding: 50px 60px;
}

.project-block {
  margin: 40px 0px;
  padding: 20px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 50px 100px rgba(50,50,93,.05),0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.1);    
}

.project-image {
  width: 100% !important;
}

.education-block, 
.skill-block {
  margin: 10px 0;
  padding: 15px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 50px 100px rgba(50,50,93,.05),0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.1); 
}

.skill-block {
  height: 350px !important;
}

.custom-card {
  margin: 10px 0;
  padding: 20px;
  text-align: center;
}

.card-description {
  text-align: justify;
  font-weight: 200;
}

#introduction {
  padding: 80px 0;
}

#introduction-text {
  margin: 40px 10px;
}

#introduction-text h2 {
  font-size: 3.5em;
  font-weight: bold;
  color: #6cb0e6;
  margin-bottom: 20px;
  text-transform: uppercase;
}

#introduction-text p {
  color: #576574;
  font-size: 2em;
}

.lead {
  font-size: 1.5em;
  padding: 15px 0;
}

.skill-badge {
  border-radius: 2px;
  border: solid 2px #b9d7b9;
  color: green;
  font-size: small;
  padding: 0 10px;
  margin-bottom: 3px;
}

section {
  margin: 30px auto;
}

.section-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-color);
}

.section-title-2 {
  font-size: 1.2em;
  color: var(--text-color);
}

.contact-information {
  text-align: center;
}

.button,
.small-button {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  background-color: var(--secondary-color);
  border: solid var(--secondary-color) 1px;
  border-radius: 2px;
}

.button {
  padding: 20px 60px;
}

.small-button {
  padding: 10px 10px;
}

.large-button {
  text-transform: uppercase;
  font-weight: bold;
  width: 100%;
  letter-spacing: 1px;
  color: white;
  background-color: var(--secondary-color);
  border: solid var(--secondary-color) 1px;
  padding: 25px 40px;
  border-radius: 2px;
}

.large-button:hover, .button:hover {
  opacity: .8;
  cursor: pointer;
}

.education-image {
  width: auto; 
  height: 100px;
  margin: 10px;
}

/* rotating image code */
.rotate-img-180, .rotate-img-360 {
  height: auto;
  -webkit-transition: -webkit-transform .5s ease-in-out;
  transition: transform .8s ease-in-out;
}

.rotate-img-360:hover {
  cursor: pointer;
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.rotate-img-180:hover {
  cursor: pointer;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.footer-copyright {
  text-align: center;
  color: grey;
  font-weight: lighter;
  text-transform: uppercase;
  font-size: 10px;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 780px) {
  .banner {
    display: none;
  }

  #introduction {
    padding: 0;
    text-align: center;
  }

  .jumbotron-image {
    display: block;
  }

  #header-title {
    font-size: 2rem;
  }
  
  #header-subtext {
    font-size: 1rem;
  }

  .main, footer {
    margin-left: 0;
    margin-top: 0;
  }

  .button {
    width: 100%;
    margin: 5px 0;
  }
}

@media only screen and (max-width: 580px) {
  .button {
    width: 100%;
    margin: 5px 0;
  }

  .skill-block {
    height: auto !important;
  }

  #introduction-text {
    margin: 0px 20px;
  }

  #introduction-text h2 {
    margin-top: 10px;
    font-size: 2em;
  }

  #introduction-text p {
    font-size: 1.5em;
  }

  .project-block {
    margin: 40px 0;
  }

  .main, footer {
    padding: 15px !important;
    margin: 0;
  }

  .me {
    margin-bottom: 20px;
  }
}
