@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #fff;
  font-family: 'Questrial',
    sans-serif;
  background-color: rgb(3, 4, 94);
}

.navbar-toggler {
  transition: 0.22s;
}

.navbar-toggler:hover {
  background-color: rgb(3, 4, 87);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-nav li a {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #fff;
}

.nav-link:hover {
  background-color: rgb(3, 4, 87);
  transition: 0.3s;
}

.name-capt {
  color: #fff;
  font-weight: 370;
}

.name-capt:hover {
  color: #fff;
}

.social-links li a i {
  font-size: 25px;
  color: rgb(0, 119, 182);
  transition: 0.1s;
}

.social-links li a i:hover {
  color: rgb(1, 138, 212);
}

form {
  height: 0px;
  overflow: hidden;
  transition: 0.1s;
}

@media screen and (max-width: 576px) {
  .social-links {
    justify-content: center;
  }

  .svg_1 {
    width: 80%;
  }
}

/*#######################################*/
p {
  font-size: 1.4rem;
  letter-spacing: 0.05rem;
  font-weight: 200;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 576px) {
  p {
    font-size: 1.1rem;
  }
}

.btn {
  background: rgb(0, 119, 182);
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
}

.btn:hover {
  background: rgb(1, 138, 212);
}

@media screen and (max-width: 768px) {
  .btn {
    font-size: 1.14rem;
  }
}

/*#######################################*/
h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 4.7rem;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 4rem;
    line-height: 1em;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 3rem;
    line-height: 0.9em;
  }
}

@media screen and (max-width: 250px) {
  h1 {
    font-size: 2.2rem;
  }
}

/*#######################################*/
.intro,
.mid,
.end {
  margin-bottom: 13em;
}


@media screen and (max-width: 767px) {

  .intro,
  .mid,
  .end {
    text-align: center;
  }
}

@media screen and (max-width: 576px) {

  .intro,
  .mid,
  .end {
    margin-bottom: 10em;
  }
}

.footer-enlarge {
  font-size: 1.15rem;
}

.footer-socials a i {
  font-size: 25px;
  color: rgb(0, 119, 182);
  transition: 0.1s;
}

.footer-socials a i:hover {
  color: rgb(1, 138, 212);
}

@media screen and (max-width: 768px) {
  .footer-enlarge {
    font-size: 1rem;
  }
}

/*================= svg animations section ================*/

/* welcome svg animations */
#head {
  animation: shake 3.5s linear infinite;
  transform-origin: bottom left;
}

@keyframes shake {
  0% {
    transform: rotate(2deg);
  }

  25% {
    transform: rotate(1deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(1deg);
  }

  100% {
    transform: rotate(2deg);
  }
}

#right-hand {
  animation: type-right 0.4s linear infinite;
}

@keyframes type-right {
  0% {
    transform: rotate(2deg);
  }

  25% {
    transform: rotate(0.5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(0.5deg);
  }

  100% {
    transform: rotate(2deg);
  }
}

#left-hand {
  animation: type-left 0.7s linear infinite;
  transform-origin: bottom;
}

@keyframes type-left {
  0% {
    transform: rotate(-2deg);
  }

  25% {
    transform: rotate(-0.5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-0.5deg);
  }

  100% {
    transform: rotate(-2deg);
  }
}

#interface {
  animation: float 2s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(25px);
  }

  25% {
    transform: translateY(17px);
  }

  50% {
    transform: translateY(0px);
  }

  75% {
    transform: translateY(17px);
  }

  100% {
    transform: translateY(25px);
  }
}

/* middle svg animations */
#cogwheel_big {
  animation: rotate 3s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#cogwheel_small {
  animation: rotate 1s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* contact svg animations */
#phone {
  animation: contact_float 2s linear infinite;
}

@keyframes contact_float {
  0% {
    transform: translateY(-15px);
  }

  25% {
    transform: translateY(-7px);
  }

  50% {
    transform: translateY(0px);
  }

  75% {
    transform: translateY(-7px);
  }

  100% {
    transform: translateY(-15px);
  }
}

#shadow {
  animation: enlarge 2s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes enlarge {
  0% {
    transform: scale(0.7);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(0.7);
  }
}