/* font-family: 'Satoshi', sans-serif;
font-family: 'Quicksand', sans-serif;
font-family: 'General Sans', sans-serif; */

* {
  box-sizing: border-box;
}

body {
  text-align: center;
}

hr {
  width: 40%;
  margin: 25px auto;
}

h1,
h2 {
  font-family: 'General Sans', sans-serif;
}

h1 {
  font-size: 88px;
  margin: 0;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  padding-top: 15px;
}

p,
a {
  font-family: 'Quicksand', sans-serif;
}

p {
  font-size: 14px;
  padding-bottom: 25px;
}

.hero-section {
  margin-bottom: 100px;
  margin-left: 200px;
  margin-right: 200px;
}

.page-top {
  margin-top: 80px;
}

.intro-section {
  text-align: left;
  height: auto;
  margin-left: 50px;
}

.intro-p {
  font-size: 22px;
  width: 75%;
}

.profile-pic {
  width: 380px;
  filter: grayscale(1);
  opacity: 0.8;
  margin: 0 auto;
}

.skill-icons {
  display: flex;
  margin-bottom: 100px;
  gap: 50px;
  margin-top: 25px;
  padding-top: 25px;
}

.skills-heading {
  padding-bottom: 25px;
  margin-bottom: 0;
  padding-top: 0;
}
.skill-icon {
  -webkit-animation-duration: 1s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 3s;
  -webkit-animation-iteration-count: 3s;
  cursor: pointer;
  animation-name: bounce;
  -moz-animation-name: bounce;
}

@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.fa-html5 {
  color: #ff3366;
}

.fa-js {
  color: #f0db4f;
}

.fa-bootstrap {
  color: #7952b3;
}

a {
  text-decoration: none;
  color: #fff;
}

.contact-link {
  background-color: #29a8df;
  color: #fff;
}

.contact-link:hover {
  color: #000;
  background-color: #fff;
}

.about-link:hover {
  background-color: rgba(0, 0, 0, 0.09);
  color: #fff;
  text-decoration: underline;
}

.btn {
  padding: 10px 15px 10px 15px;
  border: none;
  margin-bottom: 50px;
}

a i {
  transition: all 0.3s linear;
}

a:hover i {
  transform: scale(1.5);
}

.fa-twitter {
  color: #29a8df;
}

a:hover {
  color: #29a8df;
}

a:active,
.fa-github {
  color: #000000;
}

a:active {
  font-weight: bold;
}

.social-icons-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 25px;
  margin-top: 50px;
}

.fa-linkedin {
  color: #0a66c2;
}

/* About page */

.about-p {
  margin: 25px auto;
  padding-bottom: 25px;
}

.about-me {
  text-align: left;
  line-height: 2;
  word-spacing: 1px;
}

.profile-img {
  width: 250px;
  height: auto;
}

/* Work page */

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.img-container-with-overlay {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.project-img-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
  background: black;
  display: none;
  cursor: pointer;
}

.img-container-with-overlay:hover .project-img-overlay {
  display: block;
}

.project-img-links-container {
  height: 50vh;
  line-height: 3;
  letter-spacing: 2.28px;
}

.project-img-links-container > a {
  font-size: 22px;
  border-bottom: 2px solid #0a66c2;
}

/* Contact page */

.contact-box {
  margin: 25px;
  display: inline-block;
  padding: 25px;
}

.resume-link:hover {
  color: #ffffff;
  border-bottom: 2px solid #fff;
}

/* MEDIA QUERIES */

@media (max-width: 992px) {
  .hero-section {
    margin: 80px auto;
  }

  .img-container {
    width: auto;
  }

  .intro-section {
    margin: auto;
    text-align: center;
  }

  .intro-p {
    font-size: 22px;
    width: initial;
  }

  .about-me {
    width: auto;
  }

  .skill-icons {
    justify-content: center;
  }
  .open-source {
    max-width: 75%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 44px;
  }

  .intro-p {
    font-size: 18px;
    padding: 25px;
  }
}
