* {
  font-family: "Roboto Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  transition: all 0.3s ease-in-out;
}
#mainNav a,
.navbar-brand {
  font-family: "Trocchi", serif;
}

#home,
#about,
#skills,
#work,
#achievements,
#blog,
#contact {
  padding-top: 5.625rem;
}


#home > p.text-muted {
  font-size: 1.5em;
}


.wave {
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

.wave img {
  width: 1em;
  height: 1em;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.skill-image {
  width: 13%;
  margin-right: 2rem;
}

.skills-header,
.tools-header {
  margin-bottom: 2rem;
}

#about-header {
  font-size: 2.5em;
}

#about-text a {
  color: inherit;
}

#work-text {
  font-size: 1.469em !important;
}


#work .fa-github {
  margin-right: 0.6rem;
}

#work > a:hover {
  color: #333;
}

#telephone {
  vertical-align: bottom;
  width: 1.5em;
  height: 1.5em;
}

.socials {
  margin-top: 0.7em;
}

.socials a {
  text-decoration: none;
}

.mail i {
  background-color: #5d7cf7;
}

.linkedin i {
  background-color: #0a66c2;
}

.github i {
  background-color: #111;
}

.stack-overflow i {
  background-color: #f48024;
}
.instagram i {
  background-color: #c13584;
}
.twitter i {
  background-color: #1da1f2;
}

.icon-button i {
  color: #fff;
  border-radius: 2.6rem;
  cursor: pointer;

  font-size: 1.3rem;
  height: 2.6rem;
  line-height: 2.6rem;
  position: relative;
  text-align: center;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 2.6rem;
  margin: 0 5px 10px;
  transition: 0.2s ease-in;
}

.facebook i:hover,
.github i:hover,
.instagram i:hover,
.linkedin i:hover,
.mail i:hover,
.stack-overflow i:hover,
.twitter i:hover {
  background-color: #333;
}

#mail-to {
  font-size: calc(1.3rem + 0.6vw);
  color: #5d7cf7;
  transition: 0.2s ease-in;
}

#mail-to:hover {
  color: #333;
}

footer {
  background-color: #333;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}

footer span {
  color: #66806d;
}
footer a {
  color: white;
}

footer a:hover {
  color: #66806d;
}

.scrolled,
.dark-nav {
  background-color: #333;
}

.scrolled .navbar-brand,
.dark-nav .navbar-brand {
  color: lightgray;
}
.scrolled #mainNav a,
.dark-nav #mainNav a {
  color: lightgray;
}
#mainNav a:hover,
.navbar-brand:hover {
  color: #66806d !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .source-btn {
    margin-top: 0.5rem;
  }
  .site-btn, .source-btn{
    font-size: 0.7em;
    display: inline;
  }
}

@media (max-width: 767.20px) {
  #work .col-md {
    margin-top: 0.5rem;
  }
  #work > div > div > a{
    display: none;
  }
  .text > p{
    font-size: 0.9em;
  }
  .work-container .text > h{
    order: 1;
  }
  .work-container .image{
    order:2;
  }
  .work-container .text > p{
order: 2;
  }
  .work-container .work-buttons{
    order:4;
  }
}
/* #work > div.container.d-flex.flex-md-row-reverse.flex-column.my-2.work-container > div.text > a:nth-child(4) */

@media (max-width: 576px) {
#about,
#skills,
#work,
#achievements,
#blog,
#contact {
  padding-top: 3rem;
}
  .text-muted{
    font-size: 1rem !important;
  }
  #home > div.d-flex.justify-content-center.align-items-center.p-3{
    height: 50% !important;
    width: 35% !important;
  }
  
  #about-text {
    font-size: 1rem !important;
  }

  #skills .container-fluid {
    margin-bottom: 0 !important;
  }
  .tools {
    margin-top: 0 !important;
  }
  .skill-image {
    margin-right: 0;
  }
  .skills-header,
  .tools-header {
    margin-bottom: 0.5rem;
  }
.work-container{
  margin-top:1.5rem!important;
}
  .explanation-points{
    font-size: 0.9rem;
  }

  #blog {
    margin-top: 1em;
  }
  .icon-button i {
    border-radius: 2rem;
    font-size: 1rem;
    height: 2rem;
    line-height: 2rem;
    position: relative;
    text-align: center;
    width: 2rem;
  }
  #mail-to {
    font-size: 1.1rem;
  }
  #contact p {
    font-size: 1rem !important;
  }
}
