html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

section {
  /* border-radius: 7px; */
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* one */
.home-section {
  color: white;
  background-image: url("one.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Scheherazade New", serif;
}

/*  type writer effect */
.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: 0.12em; /* Adjust as needed */

  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
  animation-fill-mode: forwards;
  visibility: hidden;
  animation-delay: 1s;
}

/* The typing effect */
@keyframes typing {
  from {
    width: 0;
    visibility: visible;
  }
  to {
    width: 100%;
    visibility: visible;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: orange;
  }
}

.ul-pos {
  display: inline-block;
  width: 60px;
}
.ul-nav {
  background-color: brown;
  margin-top: 15px;
  margin-left: auto;
  width: 120px;
}

.nav-btn {
  margin-top: 5px;
  margin-right: 0px;
}
.scroll {
  width: 40px;
  height: 40px;
}

/* about section */

/* social side bar */
.sidebar-div {
  margin-right: auto;
  margin-top: 120px;
  position: relative;
  animation: moveright 2s linear 1;
  visibility: hidden;
  animation-fill-mode: forwards;
  animation-delay: 5s;
}
@keyframes moveright {
  0% {
    transform: translateX(-100px);
    visibility: visible;
  }

  100% {
    transform: translateX(0);
    visibility: visible;
  }
}

.sidebar-div div {
  position: relative;
  bottom: 0px;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.about-section {
  background-color: #cee5d0;
  height: auto;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

/* media query for about section */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
  .about-pic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.review {
  margin: 2 !important;
  padding: 0 !important;
}
.img-project {
  width: 300px;
  height: 180px;
}
.form-main-div {
  background-color: #636363;
}

.asterisk {
  position: relative;
  top: 3px;
  left: 2px;
}
.textarea:focus {
  background-color: #ff4c60;
  outline-offset: none;
  border: none;
}
.textarea {
  background-color: #373233;
  outline-offset: none;
  border: none;
  /* width: 330px; */
}
input[type="name"]:focus {
  background-color: #ff4c60;
  outline-offset: none;
  border: none;
}
input[type="name"] {
  background-color: #373233;
  outline-offset: none;
  border: none;
  /* width: 330px; */
}

.roundeds {
  border-radius: 30px;
}
.input-roundeds {
  border-radius: 10px;
}
.footer {
  background-color: #303030;
}
.circle {
  position: relative;
  bottom: 20px;
  color: #525252;
  z-index: 1;
}
.footersidebar {
  display: flex;
  justify-content: center;
  animation: moveright 3s linear 1;
  visibility: hidden;
  animation-fill-mode: forwards;
  animation-delay: 5s;
}
@keyframes moveright {
  0% {
    transform: translateX(-400px);
    visibility: visible;
  }
  100% {
    transform: translateX(0);
    visibility: visible;
  }
}
.footersidebar div {
  margin: 5px 20px;
}
/* mobile screen  */
@media only screen and (max-width: 768px) {
  .icon {
    width: 40%;
    margin-left: 5px;
  }
  input[type="name"] {
    background-color: #373233;
    outline-offset: none;
    border: none;
  }
  .emailandphone {
    margin-left: 66px;
  }

  .name {
    font-size: 40px;
    letter-spacing: 2px;
  }
  .about-body {
    margin: 0 7px;
    z-index: 1;
  }
  .short-intro {
    font-size: 80%;
  }
  .margin {
    margin: 10px;
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .home-content {
    position: relative;
    top: 220px;
  }
  .social-iconTop {
    position: absolute;
    top: 330px;
  }
  .smoothscroll {
    position: relative;
    top: 440px;
  }
}

/* laptop screen */
@media only screen and (min-width: 769px) {
  .review {
    margin-left: 70px !important;
  }
  .smoothscroll {
    position: relative;
    top: 320px;
  }

  .home-content {
    position: relative;
    top: 130px;
  }
  .icons {
    margin-left: 110px;
    padding-bottom: 25px;
  }
  .about-body {
    margin: 0 55px;
    z-index: 1;
  }
  .name {
    text-align: center;
    font-size: 120px;
    letter-spacing: 2px;
    font-weight: 10px;
    word-wrap: normal;
  }
  .short-intro {
    font-size: 40px;
  }
}
.aboutme {
  font-family: "Scheherazade New", serif;
}
body::-webkit-scrollbar {
  width: 0.5em;
  height: 20%;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #ff4c60;
  border-radius: 7px;
}
.testimonial {
  /* border-radius: 7px; */
  height: auto;
  background-color: #cee5d0;
}
.alert {
  height: 42px;
  position: relative;
  right: 62px;
  top: 47px;
}
.alert strong,
span {
  position: relative;
  bottom: 8px;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.navbar-toggler-icon {
  position: relative;
  top: 1px;
}
.navbar-toggler {
  animation: movedown 1s linear 1;
  visibility: hidden;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}
@keyframes movedown {
  0% {
    transform: translateY(-50px);
    visibility: visible;
  }
  100% {
    transform: translateY(0);
    visibility: visible;
  }
}
.short-intro {
  animation: movedown 2s linear 1;
  visibility: hidden;
  animation-fill-mode: forwards;
  animation-delay: 4s;
}
@keyframes movedown {
  0% {
    transform: translateY(-50px);
    visibility: visible;
  }
  100% {
    transform: translateY(0);
    visibility: visible;
  }
}
