/* colors:
    #29fd53
    #222327
    #585451
    #ff811a
    #0ef
    #e1f0ff-white bg
*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-style: oblique;
  text-decoration: none;
  /* list-style: none; */
  cursor: default;
  outline: none;
  scroll-behavior: smooth;
}
:root {
  --bg-color: #1f242d;
  --bg2-color: #222327;
  --text-color: #fff;
  --main-color: #29fd53;
  --main2-color: #ff811a;
  --main3-color: #0ef;
  --main4-color: #ee3d81;
  --opacity-color: #00eeff76;
}
/* :root{
    --bg-color: #d7e5ff;
    --bg2-color: #e0e6ff;
    --text-color: #000;
    --main-color: #228b22;
    --main2-color: #ff811a;
    --main3-color: #0ef;
    --main4-color : #ee3d81;
} */
body {
  min-height: 100vh;
  background: var(--bg-color);
  color: var(--text-color);
}
hr {
  width: 45%;
}
/*navbar*/
header {
  position: fixed;
  height: 5rem;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: transparent; */
  background: var(--bg2-color);
  transition: all 0.5s ease;
  z-index: 1002;
  list-style: none;
}
.logo {
  position: absolute;
  top: 1rem;
  left: 5%;
  width: 6rem;
  height: 6rem;
  border-radius: 15px;
  overflow: hidden;
}
.logo img {
  width: 100%;
}
.logo:hover img {
  transition: 0.5s ease;
  transform: scale(1.1);
}
.header-name {
  text-align: center;
  font-size: 1.9rem;
  margin-left: 20px;
  /* padding-left: 20px; */
  border-bottom: 0px solid var(--text-color);
  transition: all ease 0.2s;
}
.header-name:hover {
  border-bottom: 3px solid var(--text-color);
}
.header-name span {
  color: var(--main-color);
}
.navbar {
  z-index: 10001;
  color: var(--main-color);
  /* position: absolute;
       right: 0; */
}
.navbar ul {
  /* margin-top: -.5rem; */
  list-style: none;
  display: flex;
}
.navbar ul a {
  color: var(--text-color);
  font-size: 1.5rem;
  padding: 5px 0;
  margin: 0 20x;
  font-weight: 500;
  transition: all 0.5s ease;
}
.navigation ul li a span {
  color: var(--text-color);
  transition: all 0.5s ease;
}
.navbar ul li a span:hover {
  color: var(--main-color);
  transition: all 0.5s ease;
}
.navbar ul li.active a span {
  color: var(--main-color);
  border-bottom: 3px solid var(--main4-color);
  border-radius: 5px;
  transition: all 0.2s;
}
.main {
  display: flex;
  align-items: center;
}
.main a {
  margin-right: 25px;
  margin-left: 10px;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.5s ease;
}
.menuIcon1 {
  width: 5rem;
  height: 5rem;
  line-height: 80px;
  text-align: center;
  color: var(--text-color);
  cursor: pointer;
  z-index: 1001;
  display: none;
  cursor: default;
}
.hamburger {
  cursor: pointer;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  height: 3em;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: var(--main4-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
  stroke: var(--main-color);
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
  stroke: var(--main4-color);
}

.hamburger input:checked + svg .line-top-bottom + .line {
  stroke: var(--main-color);
}

.navbar.hideNavbar {
  display: block;
  /* transition: 1.5s ease; */
  animation: navbar 0.5s;
}

/*  portfolio*/
section {
  min-height: 100vh;
  padding: 6.5rem 9% 2rem;
}
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg2-color);
}
.home-img {
  margin-right: 1rem;
  padding-bottom: 1.7rem;
}
.home-img img {
  width: 30vw;
  border-radius: 5px;
}
.home-content h3 {
  font-size: 2rem;
  font-weight: 700;
}
.home-content h3 span {
  color: var(--main-color);
  text-shadow: 0 0 0.5rem var(--main-color);
}
.home-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main-color);
  text-shadow: 0 0 0.5rem var(--main-color);
}
.home-content p {
  margin: 1.5rem 0 1rem 0;
  font-size: 1.3rem;
  text-align: justify;
}
.social-meadia a i {
  display: inline-flex;
  color: var(--main3-color);
  margin-left: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background: transparent;
  border-style: solid;
  border-width: 0.2rem;
  border-color: var(--main3-color);
  border-radius: 50%;
  font-size: 2rem;
  transition: 0.5s ease;
  background: rgba(200, 200, 200, 0.6);
}
.social-meadia {
  margin: 3rem 0 2rem 0;
}
.social-meadia a i:hover {
  border-color: var(--text-color);
  color: var(--text-color);
  box-shadow: 0 0 1rem var(--main3-color);
  text-shadow: 0 0 0.5rem var(--main3-color);
}
.btn b {
  display: inline-block;
  margin-top: 5%;
  padding: 1rem 2.8rem;
  color: #222327;
  background: var(--main2-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main2-color);
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.5s ease;
}
.btn:hover b {
  box-shadow: none;
}

/* about */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background-color: var(--bg-color);
}
.about-img img {
  width: 27vw;
  border-radius: 25px;
  margin-right: 3rem;
  margin-top: -3.3rem;
}
.heading {
  text-align: center;
  font-size: 4.5rem;
}
.about-content h2 {
  text-align: left;
  line-height: 1.2;
}
.about-content h2 span {
  color: var(--main-color);
}
.about-content h3 {
  font-size: 2.6rem;
}
.about-content h3 span {
  color: var(--main-color);
}
.about-content p {
  font-size: 1.1rem;
  text-align: justify;
}

/* services */
.services .heading {
  margin-top: 3rem;
  padding-bottom: 3rem;
  color: var(--main3-color);
  letter-spacing: 0.2rem;
}
.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}
.services-container .service-box {
  flex: 1 1 29%;
  background: var(--bg2-color);
  padding: 3rem 2rem 2rem;
  border-radius: 3.5rem;
  text-align: center;
  border: 0.2rem solid var(--bg-color);
  box-shadow: 0 0 1rem #0ef;
  transition: 0.5s ease;
}
.services-container .service-box:hover {
  border: 0.2rem solid var(--main-color);
  transform: scale(1.02);
  box-shadow: 0 0 1rem #0ef;
}
.services-container .service-box h3 {
  color: var(--main-color);
  padding: 0 0 1rem 0;
  font-size: 2.6rem;
}
.services-container .service-box p {
  padding: 0 0 1rem 0;
  font-size: 1rem;
}
.services-container .service-box .btn b {
  font-size: 1.1rem;
  padding: 0.8rem;
}
.service-box i {
  font-size: 7rem;
  color: var(--main-color);
}
/*skills*/
.skills {
  display: flex;
  justify-content: center;
  background: var(--bg2-color);
  flex-direction: column;
}
.skills .heading {
  margin-top: 2rem;
  font-size: 2.9rem;
}
.skillsAndImg {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 7%;
  margin-top: 0;
}
.skill-img img {
  width: 27vw;
  border-radius: 25px;
  margin-right: 3rem;
  margin-top: -3.3rem;
}
.skill-container {
  width: 60%;
  position: relative;
  top: 50%;
}
.skill-bar {
  margin-top: 1.5rem;
}
.skill-bar .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.skill-bar .info p {
  font-size: 1rem;
}
.skill-bar .info .skillName {
  display: flex;
  height: 1rem;
  flex-direction: row;
  gap: 5px;
}
.skill-bar .info .skillName img {
  width: 1rem;
}
.skill-bar .bar {
  width: 100%;
  height: 5px;
  background: var(--text-color);
  border-radius: 25px;
  margin-top: 1px;
  position: relative;
}
.skill-bar .bar span {
  height: 100%;
  border-radius: 25px;
  position: absolute;
  background: var(--main3-color);
  left: 0;
  box-shadow: 0 0 1.5rem var(--main3-color);
}
.skill-bar .bar span.animationAdd {
  animation: skill-barAdd 0.8s ease-out forwards;
}
@keyframes skill-barAdd {
  from {
    width: 0;
  }
  to {
    width: var(--skill-width);
  }
}
.skill-bar .bar span.animationRemove {
  animation: skill-barRemove 0.8s ease-out forwards;
}

@keyframes skill-barRemove {
  from {
    width: var(--skill-width);
  }
  to {
    width: 0;
  }
}

/* portfolio */
.project .heading {
  color: var(--text-color);
  letter-spacing: 0.2rem;
}
.project {
  background: var(--bg-color);
}
.project h2 {
  margin-bottom: 2rem;
  font-size: 3.6em;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2rem;
}
.project-container .project-box {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 0 1rem var(--bg-color);
  overflow: hidden;
  display: flex;
}
.project-container .project-box img {
  width: 100%;
  transition: 0.5s ease;
  border: 2px solid var(--text-color);
  border-radius: 2rem;
}
.project-container .project-box:hover img {
  transform: scale(1.1);
  filter: blur(10px);
}
.project-box .project-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(rgba(0,0,0,.1), var(--opacity-color)); */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: 0.5s ease;
  filter: none;
}
.project-box:hover .project-layer {
  transform: translateY(0);
  filter: none;
}
.project-box .project-layer h4 {
  font-size: 1.5rem;
  color: var(--main3-color);
  text-shadow: 1px 1px 1px #000, 2px 2px 2px #000;
}
.project-box .project-layer p {
  color: var(--main3-color);
  font-size: 1rem;
  margin: 0 0 0.9rem 0;
  padding-top: 1rem;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-shadow: 1px 1px 1px #000, 2px 2px 2px #000;
}
.project-layer .btnReadMore {
  outline: none;
  border: none;
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  border-radius: 10px;
  background-color: var(--main2-color);
  transition: all 1s;
}
.project-layer .btnReadMore:hover {
  box-shadow: 0 0 20px var(--main2-color);
  outline: none;
  border: none;
}
.project-layer a {
  display: inline-block;
  justify-content: center;
  align-items: center;
  width: 2rem;
  border-radius: 50%;
}
.project-layer a svg {
  width: 100%;
  height: 100%;
  fill: var(--main3-color);
  filter: drop-shadow(5px 5px 10px var(--main3-color));
}

/* contact me */
.contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: var(--bg2-color);
}
.contact h2 {
  font-size: 3rem;
  /* margin-top: 3rem; */
  padding-bottom: 2rem;
}
.contact h2 span {
  color: var(--main-color);
}
.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}
.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
  background: var(--bg2-color);
  border-radius: 0.8rem;
  margin: 0.5rem 0;
  transition: 0.45s ease-in;
}
.contact form .input-box input::placeholder,
.contact form textarea::placeholder {
  transition: 0.4s ease-in;
  color: gray;
}
.contact form .input-box input:focus::placeholder,
.contact form textarea:focus::placeholder {
  transition: 0.4s ease-in;
  color: var(--text-color);
}
.contact form .input-box input {
  width: 49%;
}
.contact form .input-box textarea {
  resize: none;
}
.contact form .btn {
  display: inline-block;
  margin-top: 1.3rem;
  padding: 1rem 2.8rem;
  color: #222327;
  background: var(--main2-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main2-color);
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.5s ease;
}
.contact form .btn:hover {
  box-shadow: none;
}
.centerHrLine {
  margin: 0 auto;
}

/* footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 9%;
  background: var(--bg2-color);
}
footer .footer-text p {
  font-size: 1rem;
}
footer .footer-text span {
  font-size: 1rem;
  color: #3d3dff;
}
footer .footer-text span:hover {
  cursor: pointer;
}
.top-icon a {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  background: var(--main-color);
  border-radius: 0.8rem;
  float: right;
  margin-right: -5rem;
}
.top-icon a i {
  font-size: 2rem;
  color: var(--bg2-color);
}

.dailog {
  z-index: 10000;
  display: none;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(7px);
  position: fixed;
  top: 0;
  left: 0;
}

.dailog.display {
  display: block;
}

.dailogBox {
  width: 85vw;
  height: 68vh;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg2-color);
  backdrop-filter: blur(7px);
  border-radius: 10px;
  overflow: hidden;
}

.dailogBox .close {
  z-index: 10;
  width: 100%;
  height: 60px;
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.dailogBox .close .menuIcon1 {
  display: block;
  position: absolute;
  right: 0;
  top: 0.35rem;
}

.dailogBox .close .dialogueTitle {
  color: var(--main-color);
  font-size: 1.7rem;
  border-bottom: 2px solid var(--main-color);
}

.dailogBox .dailogueContent {
  padding: 1.5rem 1.5rem;
  font-size: 1.3rem;
  margin-top: 60px;
  overflow-y: auto;
  max-height: calc(65vh - 60px);
  /* background: var(--bg-color); */
  width: 100%;
  box-sizing: border-box;
}

.dailogBox .dailogueContent .imgContainer {
  overflow-x: scroll;
  scroll-behavior: smooth;
  overflow: hidden;
  width: 100%;
  height: 250px;
}

.dailogBox .dailogueContent .imgContainer .projectImgs {
  /* width: 500px; */
  text-align: center;
  /* height: 37.5vh; */
  display: flex;
  align-items: center;
  position: relative;
  height: 250px;
}
.dailogBox .dailogueContent .imgContainer .projectImgs .projectImg {
  position: relative;
  width: 100%;
  height: 250px;
  flex: 0 0 auto;
  animation: scrollImage var(--animation-duration) steps(var(--img-count))
    infinite;
  /* animation-fill-mode: forwards; */
}
.dailogBox .dailogueContent .imgContainer .projectImgs .projectImg img {
  position: absolute;
  height: 100%;
  /* width: 100%; */
  border-radius: 1rem;
  border: 2px solid var(--text-color);
  animation: imgFade 2s linear infinite;
}
.dailogBox .dailogueContent .links {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.dailogBox .dailogueContent .links div a i {
  padding: 0.3rem;
  border: 2px solid var(--main3-color);
  border-radius: 50%;
  transition: all ease 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dailogBox .dailogueContent .links div:hover a i {
  box-shadow: 0 0 10px var(--main3-color);
}
.dailogBox .dailogueContent .links div a i svg {
  fill: var(--text-color);
}
.dailogBox .dailogueContent .aboutProject {
  font-size: 1rem;
  padding: 0 0.5rem;
}
.dailogueContent p h3 {
  font-size: 1.2rem;
  color: var(--main4-color);
}
.dailogueContent p ul li {
  font-size: 1rem;
  margin-top: 2px;
}
.dailogBox .dailogueContent p {
  margin-top: 1rem;
}
.dialogue-hr {
  width: 100%;
  background: var(--main3-color);
  height: 3px;
  margin-top: 10px;
  border-radius: 5px;
  outline: none;
  box-shadow: 0 0 5px var(--main3-color);
}
.dailogueSubTitle {
  color: var(--main-color);
  font-size: 1.35rem;
  padding: 16px;
  padding-bottom: 0;
  text-align: left;
  width: 100%;
}
.dailogueSubTitle u {
  border-bottom: 2px solid var(--main-color);
}
.learnThings,
.dailogueSummary {
  margin-top: 10px;
  list-style-type: disc;
  padding: 0 1.4rem;
}

@keyframes scrollImage {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(calc(-100% * var(--img-count)));
  }
}
@keyframes imgFade {
  0% {
    left: 100%;
    opacity: 0;
  }
  5% {
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  95% {
    opacity: 1;
    left: 50%;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    left: -100%;
  }
}

@media (max-width: 1280px) {
  html {
    font-size: 75%;
  }
  section {
    min-height: 100vh;
    padding: 6.5rem 9% 2rem;
  }
  header {
    position: fixed;
    padding: 14px 2%;
    transition: 0.2s;
  }
  .navbar a {
    padding: 5px 0;
    margin: 0px 20px;
  }
  .menuIcon1 {
    display: none;
  }
}
@media (max-width: 991px) {
  section {
    padding: 6.5rem 9% 2rem;
  }
  .home-img {
    margin-top: -3rem;
    padding: 0;
  }
  .about-img {
    padding: 0;
  }
  .footer {
    padding: 2rem 3%;
  }
  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-icon a {
    margin-right: -4rem;
  }
}

@media (max-width: 800px) {
  header {
    position: fixed;
  }
  header .header-name {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 0;
    margin-left: 0;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    /* background: var(--main2-color); */
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(7px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom-right-radius: 10px;
    transition: all 0.5s ease;
    padding-bottom: 30px;
    animation: navbarOpen 0.5s ease forwards;
  }
  .navbar.hideNavbar1 {
    display: none;
  }
  .navbar.hideNavbar {
    animation: navbarHide 0.8s ease forwards;
    transition: 0.5s ease;
  }
  @keyframes navbarOpen {
    0% {
      left: -100%;
    }
    100% {
      left: 0;
    }
  }
  @keyframes navbarHide {
    /* 0%{
            left: -125px;
        } */
    100% {
      left: -100%;
      display: none;
    }
  }
  .navbar ul {
    font-size: 4rem;
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    line-height: 6px;
    margin-top: 10px;
    flex-direction: row;
    margin-left: 0;
    gap: 30px;
  }
  .navbar ul li a {
    font-size: 1.5rem;
    color: var(--text-color);
  }
  .menuIcon1 {
    display: block;
  }
  section {
    padding: 6.5rem 9% 2rem;
  }
  .home {
    display: flex;
    flex-direction: column;
  }
  .home-img img {
    width: 55vw;
  }
  .home-content {
    margin-top: 5rem;
  }
  .home-content h3 {
    font-size: 1.5rem;
  }
  .home-content h1 {
    font-size: 3rem;
  }
  .home-content p {
    font-size: 1.3rem;
  }
  .social-meadia {
    margin: 2rem 0 1.5rem 0;
  }
  .social-meadia a i svg {
    width: 25px;
    height: 25px;
  }
  .btn b {
    font-size: 1rem;
    padding: 0.9rem 2.4rem;
  }
  .heading {
    font-size: 3rem;
  }
  .about {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: center;
    padding: 6.5rem 9% 2rem;
  }
  .about-img {
    margin-left: 10%;
    margin-top: -10%;
  }
  .about-img img {
    margin-top: 1rem;
    width: 45vw;
  }
  .about-content {
    margin-top: 10%;
  }
  .about-content h2 {
    font-size: 5rem;
  }
  .about-content h3 {
    font-size: 2.6rem;
  }
  .about-content p {
    font-size: 0.9rem;
  }
  .skillsAndImg {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    margin-top: 5%;
  }
  .skillsAndImg img {
    margin: 0;
    width: 55vw;
  }
  .skill-container {
    width: 78%;
  }
  .project {
    padding-bottom: 6rem;
  }
  .project h2 {
    margin-top: 3.5rem;
  }
  .contact form .input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .contact form .input-box input,
  .contact form textarea {
    width: 95%;
    font-size: 1.3rem;
  }
  footer .footer-text p {
    font-size: 75%;
  }
  .top-icon a {
    margin-right: -2.1rem;
  }
  .dailogueSubTitle {
    text-align: center;
  }
  .dailogBox .dailogueContent .imgContainer,
  .dailogBox .dailogueContent .imgContainer .projectImgs,
  .dailogBox .dailogueContent .imgContainer .projectImgs .projectImg {
    height: 140px;
  }
}
@media (max-width: 500px) {
  .project-container {
    grid-template-columns: 2fr;
  }
}

@media (max-width: 426px) {
  .home-img img {
    margin-top: 2rem;
  }
  .home-content {
    margin-top: 1rem;
  }
  .home-content h1 {
    font-size: 2.3rem;
  }
  .home-content h3 {
    font-size: 1.25rem;
  }
  .about-content h2 {
    font-size: 3rem;
  }
  .about-content h3 {
    font-size: 1.65rem;
  }
  .about-img {
    margin-top: 0;
  }
  .top-icon a {
    height: 2rem;
    width: 2rem;
  }
  .btn b {
    margin-top: 2.5rem;
  }
  .dailogBox .dailogueContent .imgContainer,
  .dailogBox .dailogueContent .imgContainer .projectImgs,
  .dailogBox .dailogueContent .imgContainer .projectImgs .projectImg {
    height: 90px;
  }
  .dailogBox .close .dialogueTitle {
    font-size: 1.3rem;
  }
}

.switch {
  font-size: 17px;
  position: relative;
  top: -40%;
  right: 15%;
  /* display: inline-block;*/
  display: flex;
  /* width: 64px;
    height: 34px; */
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #73C0FC;
    transition: .4s;
    border-radius: 30px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 20px;
    left: 2px;
    bottom: 2px;
    z-index: 2;
    background-color: #e8e8e8;
    transition: .4s;
  } */

/* .sun svg {
    position: absolute;
    top: 6px;
    display: none;
    left: 36px;
    left: 5px;
    z-index: 1;
    width: 24px;
    height: 24px;
    transition: all .5s ease;
  } */

.moon svg {
  fill: #73c0fc;
  /* position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    z-index: 1;
    width: 24px;
    height: 24px;
    transition: all .5s ease;*/
}
.sun svg.show,
.moon svg.show {
  display: block;
  /* opacity: 1;
    visibility: visible; */
  transition: opacity 0.5s ease, visibility 0.5s ease;
  animation: show 0.7s forwards;
}
@keyframes show {
  to {
    opacity: 1;
    visibility: visible;
  }
}
.sun svg,
.moon svg {
  display: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  width: 30px;
  height: 30px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* .switch:hover */
.sun svg {
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* .switch:hover */
.moon svg {
  animation: tilt 5s linear infinite;
}

@keyframes tilt {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* .input:checked + .slider {
    background-color: #183153;
  }
  
  .input:focus + .slider {
    box-shadow: 0 0 1px #183153;
  }
  
  .input:checked + .slider:before {
    transform: translateX(30px);
  } */

::-webkit-scrollbar {
  width: 0;
  /* background: var(--bg-color); */
}

.contentForG {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
