* {
  font-family: "Montserrat", sans-serif;
  color: white;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #51414f !important;
}

#landing {
  padding-top: 2rem;
  padding-bottom: 7rem;
  width: 100%;
}

.h5 {
  font-family: "Roboto Slab", sans-serif;
  color: white !important;
  text-shadow: 1px 2px 2px black;

  box-shadow: inset 0 0 0 0 #a8415b;
  padding: 0 0.5rem;
  padding-bottom: 0.4rem;
  padding-top: 0.1rem;
  margin: 0 -0.25rem;
  transition: color 0.7s ease-in-out, box-shadow 0.7s ease-in-out;
  border-radius: 10px;
}

.h5:hover {
  box-shadow: inset 200px 0px 0px 0px #a8415b;
  border-radius: 10px;
}

.navbar {
  width: 100%;
  z-index: 2;
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

#main-nav li a {
  position: relative;
  transition: color 0.3s ease-in-out;
}

#main-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background-color: #a8415b;
  transition: width 0.3s ease-in-out;
}

#main-nav li a:hover::after,
#main-nav li a.active::after {
  width: 100%;
}

.heading-frame {
  border-radius: 300px;
  background: url(./images/white.jpg) center;
  background-size: cover;
  padding: 2rem;
}

.span {
  color: #a8415b;
}

.bg-red {
  background-color: #a8415b;
}

.btn-css {
  background-color: #a8415b;
  border-radius: 100px;
  width: 200px;
  height: 50px;
  border: none;
}

.btn-css:hover {
  background-color: white;
  color: #a8415b;
}

#projects img {
  transition: all 0.3s ease;
}

#projects img:hover {
  transform: scale(1.2);
}

.view-more-btn {
  display: inline-block;
  outline: 0;
  border: 0;
  cursor: pointer;
  background-color: #a8415b;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 16px;
  border-bottom: 4px solid #862b42;
  font-weight: 700;
  line-height: 26px;
  transition: 0.3s;
}

.view-more-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#about-2 img {
  border-radius: 340px;
}

#about-2 h1 {
  text-align: center;
  color: #a8415b;
}

#tools img {
  height: 40px;
  width: 40px;
  transition: all 0.2s ease;
}

#contact-form {
  background-color: #a8415b;
}

#contact a:hover {
  color: black !important;
  text-decoration: underline !important;
}

.social-logo {
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.social-logo:hover {
  padding: 5px;
}

.footer {
  background-color: #a8415b;
}

/* CSS Animations */

.scale-in-center {
  -webkit-animation: scale-in-center 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    0.8s both;
  animation: scale-in-center 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

.fade-in-left {
  -webkit-animation: fade-in-left 0.4s cubic-bezier(0.47, 0, 0.745, 0.715) both;
  animation: fade-in-left 0.4s cubic-bezier(0.47, 0, 0.745, 0.715) both;
}

.fade-in {
  -webkit-animation: fade-in 1.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.8s both;
  animation: fade-in 1.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.8s both;
}

.fade-in-left-btn {
  -webkit-animation: fade-in-left 0.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.4s
    both;
  animation: fade-in-left 0.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.4s both;
}

.swing-in-top-fwd {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.swing-in-top-fwd-home {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s
    both;
}

.swing-in-top-fwd-projects {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s
    both;
}

.swing-in-top-fwd-about {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s
    both;
}

.swing-in-top-fwd-tools {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s
    both;
}

.swing-in-top-fwd-contact {
  -webkit-animation: swing-in-top-fwd 0.5s
    cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s
    both;
}

.rotate img:hover {
  transform: rotateZ(-10deg);
  transition: 1s ease;
}

/* ----------------------------------------------
* Generated by Animista on 2024-9-29 23:15:28
* Licensed under FreeBSD License.
* See http://animista.net/license for more info. 
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */

/**
* ----------------------------------------
* animation scale-in-center
* ----------------------------------------
*/
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

/* ----------------------------------------------
* Generated by Animista on 2024-9-27 7:18:42
* Licensed under FreeBSD License.
* See http://animista.net/license for more info. 
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */

/**
* ----------------------------------------
* animation fade-in-left
* ----------------------------------------
*/
@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

/* ----------------------------------------------
* Generated by Animista on 2024-9-27 7:37:19
* Licensed under FreeBSD License.
* See http://animista.net/license for more info. 
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */

/**
* ----------------------------------------
* animation swing-in-top-fwd
* ----------------------------------------
*/
@-webkit-keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}
@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}

.wave {
  animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
  animation-duration: 1.5s; /* Change to speed up or slow down */
  animation-iteration-count: infinite; /* Never stop waving :) */
  transform-origin: 100% 100%; /* Pivot around the bottom-left palm */
  display: inline-block;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  } /* The following five values can be played with to make the waving more or less extreme */
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  } /* Reset for the last half to pause */
  100% {
    transform: rotate(0deg);
  }
}

/* ----------------------------------------------
 * Generated by Animista on 2025-1-10 22:28:53
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
