
@font-face {
  font-family: Lulo;
  src: url('Fonts/Lulo Clean One Bold.otf');
}

@font-face {
  font-family: Avenir;
  src: url('Avenir Free/AvenirLTStd-Light.otf');
}

button, .fa, a {
  transition-duration: 0.5s !important;
}

button:hover, .fa:hover, a:hover, .photo-overlay:hover img {
  transform: scale(1.1)!important;
}

body {
  font-family: Quicksand;
}



/* NAV */

  .navbar-brand:hover {
    transform: rotate(30deg) !important;
    cursor: pointer;
  }

  .navbar-toggler {
    display: inline-block;
    position: relative;
    margin: 10px;
    padding: 22px;
    cursor: pointer;
  }


  .item {
    width: 50px;
    height: 50px;
    position: relative;
    text-align: center;
  }

  .line {
    position: absolute;
    height: 3px;
    width: 60%;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 8px;
    background-color: rgba(25, 2, 2, 0.5215686274509804);
    transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.65s;
  }

  .top {
    top: 28%;
  }

  .middle {
    top: 48%;
  }

  .bottom {
    top: 68%;
  }

  .icon.close .top {
    transform: rotate(45deg);
    top: 48%;
  }

  .icon.close .middle, .icon.close .bottom {
    transform: rotate(-45deg);
    top: 48%;
  }


  .nav-link {
    font-size: 1.25em;
    font-weight: bold;
    color: black !important;
  }

  .nav-link:hover {
    color: grey !important;
  }


/* HEADER */

 header img {
   width: 150px;
 }

 header p {
   font-weight: lighter;
   font-size: 1.15em;
   font-family: Avenir;
 }

 .circle {
   background-color: rgb(140, 67, 255);
   border-radius: 50%;
   width: 155px;
   height: 155px;
   margin-top: -120px;
 }

 h1 {
   font-weight: bold;
 }

 /* INTRODUCTION */

 h5 {
   font-size: 1.25em;
 }

 .intro {
   background-color: rgb(140, 67, 255);
   color: rgb(255, 255, 255);
 }


 .intro p {
   font-family: Quicksand;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 300;
 }

 /* SOFTWARE KNOWLEDGE */


.software {
  background-color: rgb(255, 255, 255);
  color: black;
  border-radius: 2%;
}

 .HTML, .CSS, .js, .jq, .react, .gh {
   height: 20px;
   background-color: #293347;
   border: 2px solid rgb(140, 67, 255);
   width: 80%;
 }

.CSS {
  width: 75%;
}

.js {
  width: 70%;
}

.jq {
  width: 75%;
}

.react {
  width: 60%;
}

.gh {
  width: 65%;
}

/* PROJECTS */

.projects h3 {
    font-weight: bold;
  }

.photo img {
  margin-top: -50px
}


.photo-container {
	text-align: center;
}

.photo {
	position: relative;
	line-height: 1;
	overflow: hidden;
}


.photo-container img {
 	max-width: 100%;
}

.projects a {
  transition-duration: 0.5s;
}

.btn-work {
  color: white !important;
  border-radius: 290486px !important;
  border-color:  rgb(140, 67, 255) !important;
  transition-property: opacity, box-shadow;
  transition-duration: 0.5s;
  transition-delay: 0.4s, 0s, 0s;
}

.photo-overlay {
  opacity: 0;
	color: #fff;
	position: absolute;
	top: 7%;
	right: 0;
	bottom: 25%;
	left: 0;
	padding-left: 20px;
	padding-right: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0, .8);
  border-radius: 2%;
  line-height: 1;
  transition-duration: 0.8s !important;
  transition-property: opacity;
}

.photo-overlay a {
  padding: 7px 40px;
  border-radius: 5%;
  opacity: 0;
}

.button {
  margin-top: -50px;
  position: absolute;
  z-index: 5;
}

.photo-overlay:hover {
  opacity: 1;
}

.photo-overlay:hover a  {
  opacity: 1;
}

.photo-overlay a {
  background-color: rgb(140, 67, 255) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7);
  color: white !important;
  cursor: pointer;
}





.btn {
  position: relative;
  color: rgb(114, 63, 195) !important;
  border-color:  rgb(140, 67, 255) !important;
  margin-top: -80px;
  font-size: 1.15rem;
  border-radius:  290486px;
  padding-left: 20px;
  padding-right: 20px;
  transition-property: background, box-shadow;
  transition-duration: 0.5s !important;
}

.btn:hover {
  background-color: rgb(140, 67, 255) !important;
  color: white !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7) !important;
}

.github {
  text-align: center;
}

.github a {
  padding: 10px 60px;
  border-color: rgb(140, 67, 255) !important;
  border-radius:  3%;
  background-color: #293347;
  color: white;
  margin-top: 30px;
  font-size: 1.2rem;
}

.github a:hover {
  cursor: pointer;
}

/* FOOTER */

.contact-details {
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80%;
  height: 75%;
  background-color: #293347;
  border-radius: 12px;
  text-align: center;
  color: white;
  margin-top: -3rem;
  bottom: -5rem;
  z-index: 5;
  padding: 2rem 0;
}

.footer {
  background-color: rgb(140, 67, 255);
  position: relative;
  height: 65%;
  padding-top: 7rem;
  text-align: center;
}

.contact-details p {
  margin-left: 30px;
  margin-right: 30px;
}

.contact-details a {
  margin-top: 0 !important;
  color: white !important;
  border-radius: 290486px;
  padding: 10px 25px;
  margin-bottom: -55px;
  background-color: inherit;
  border: 2px solid rgb(140, 67, 255) !important;
  font-size: 1rem;
}

.footer-content p {
  font-size: 1.25em;
  color: white;
  font-weight: lighter;
  font-family: Quicksand;
}

.social-media {
    margin-bottom: 1rem;
}

.contact-details a:hover {
  background-color: rgb(140, 67, 255);
  cursor: pointer;
  }
/* .footer {
  background-color: rgb(140, 67, 255);
  position: relative;
  height: 65%;
  margin-top: 10rem;
}

.hmu {
  position: absolute;
  top: -9rem;
  left: 0;
  right: 0;
  margin: 0 auto !important;
  width: 80%;
  height: 75%;
  background-color: #293347;
  border-radius: 12px;
  text-align: center;
  color: white;
}




.hmu p {
  margin-left: 30px;
  margin-right: 30px;
}

.hmu button {
  margin-top: 10px !important;
  color: white !important;
  border-radius: 290486px;
  padding: 10px 25px;
  margin-bottom: -35px;
}

.footer-content p {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 45%;
  text-align: center;
  font-size: 1.75em;
  color: white;
  font-weight: lighter;
  font-family: Quicksand;
} */


/* .social-media {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  top: 82.5%;
} */

.fa {
  font-size: 1.05rem;
  margin-right: 5px;
  width: 2.5rem;
  color: white;
  height: 47px;
  width: 47px;
  border: 2px solid rgba(255,255,255,0.3);
  line-height: 2.5;
  border-radius: 50%;
}

/* .copyright {
  position: absolute;
  top: 70%;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
} */

.fa {
    background-color: transparent;
    font-size: 1.05rem;
    color: #fff;
    border-radius: 100%;
    margin: auto .2rem;
    height: 47px;
    width: 47px;
    border: 2px solid rgba(255,255,255,0.3);
    align-items: center;
}

.fa:hover {
  color: rgb(140, 67, 255);
  background-color: white;
  text-decoration: none;
}

.copyright {
  text-align: center;
  color: white;
  margin-top: 10px;

}
/* TOGGLE */

.navbar-nav {
  margin-left: auto!important;
  margin-right: 0!important;
}

@media screen and (min-width: 576px) {

/* HEADER */

body {
  font-size: 1rem;
}

.container h1 {
  font-size: 3.5rem;
}

.container p {
  font-size: 1.25rem;
}

header img {
  width: 200px;
}

.circle {
  width: 205px;
  height: 205px;
  margin-top: -155px;
}


/* INTRO */



h5 {
  font-size: 1.4rem;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.7 !important;
}


/* SOFTWARE EXPERIENCE */

h4 {
  font-size: 1.75rem;
  margin-bottom: 25px;
  padding: 0 !important;
}

.software {
  padding-top: 10px;
}


/* PROJECT EXPERIENCE */

 h3 {
  font-size: 3rem;
}

.projects {
  padding: 20px 80px;
}

.photo-overlay p, button  {
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.projects .btn {
  font-size: 1.15rem;
  padding: 10px 50px;
}

.photo img {
  margin-top: -75px;
}

.photo-overlay {
  top: 5%;
}

/* FOOTER */
/*
.footer {
  height: 55%;
}

.hmu {
  top: -8rem;
  font-size: 1.25rem;
  height: 83%;
}

.footer-content p {
  font-size: 1.5rem;
  top: 50%;
}



.copyright {
  top: 67%;
} */

/* .social-media {
top: 80%;
} */

}

@media screen and (min-width: 768px) {

  /* NAVBAR */

  .container p {
    font-size: 1.5rem;
  }

  .nav-item {
    font-size: 1.25rem;
    margin-left: 30px !important;
  }

  .navbar-toggler {
    display: none;
  }

  .collapse {
    display: inline !important;
    flex-basis: 0;
    flex-grow: 0;
    margin: 10px;
    font-size: 1.25em;
  }

  .navbar-nav {
    flex-direction: row !important;
    margin-left: auto!important;
    margin-right: 0!important;
  }

  .navbar-nav li {
    margin-left: 10px;
  }

  /* INTRODUCTION */

  h5 {
    font-size: 1.5rem;
  }

  .intro p {
    padding: 20px 80px;
  }

  /* SOFTWARE */

  h4 {
    margin-left: 13% !important;
  }

  .software {
    max-width: 75%;
  }

  .software p {
    padding: 0;
  }

  .row p {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-top: -7px;
    margin-left: 5px;
  }

  .HTML, .CSS, .js, .jq, .react, .gh {
    height: 20px;
    padding-left: 20px !important;
  }

  h3 {
    font-size: 3rem;
  }

  .gh {
    margin-bottom: 20px !important;
  }

  /* PROJECTS */

  .projects {
    padding: 20px 180px;
  }

  .contact-details {
    width: 60%;
  }

}

@media screen and (min-width: 992px) {

  body {
    max-width: 1000px;
    margin: 0 auto;
  }

  .collapse {
    flex-grow: 2;
  }

  .nav-item {
    margin-left: 10px !important;
  }

  .navbar-nav {
    flex-direction: row !important;
    margin-left: auto!important;
    margin-right: 0!important;
  }

  /* INTRODUCTION */

  .intro {
    border-radius: 3%;
  }

  /* PROJECTS */

  h3 {
    margin-bottom: 30px;
  }

  .photo-img {
    margin-top: 20px;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin: 0 auto !important;
  }

  .projects .btn {
    padding: 10px 20px;
    width: 80%;
    font-size: 1rem;
    margin-top: -120px;
  }

  .photo-overlay {
    top: 0%;
    padding: 10px;
  }

  .photo-overlay p, .photo-overlay a {
    font-size: 1.25rem;
  }

  /* FOOTER */

  .contact-details {
    width: 60%;
    padding: 5rem;
    bottom: -8rem;
    margin-top: -4rem;
  }

  .footer {
    padding-top: 9rem;
  }

  .contact-details p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .contact-details a {
    font-size: 1.25rem;
  }

  .footer-content p {
    font-size: 1.45rem;
  }
}
