@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* 
html {
  height: 1000px;
} */

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: grid;
  justify-content: end;
  align-content: end;
  background: #26152b;
  margin: 0;
  padding: 0;
}

body::-webkit-scrollbar {
  width: 0.25rem;
}

body::-webkit-scrollbar-track {
  background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
  background: #6649b8;
}

nav::-webkit-scrollbar {
  width: 0.25rem;
}

nav::-webkit-scrollbar-track {
  background: #1e1e24;
}

nav::-webkit-scrollbar-thumb {
  background: #33ccff;
}

.logo-img {
  height: 50px;
  width: 50px;
}

main {
  margin-top: 50px;
  margin-left: 5rem;
  padding: 1rem;
  color: #fff;
}

header {
  position: fixed;
  margin-left:882px;
  margin-top: 13px;
}

.navbar {
  position: fixed;
  background-color: var(--bg-primary);
  transition: width 600ms ease;
  overflow: scroll;
  overflow-x: hidden;
  z-index: 999999;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.nav-item {
  width: 100%;
}

.nav-item:last-child {
  margin-top: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 5rem;
  color: var(--text-primary);
  text-decoration: none;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition-speed);
}

.nav-link:hover {
  filter: grayscale(0%) opacity(1);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.link-text {
  display: none;
  margin-left: 1rem;
}

.nav-link svg {
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.5rem;
}

.fa-primary {
  color: #ff7eee;
}

.fa-secondary {
  color: #df49a6;
}

.fa-primary,
.fa-secondary {
  transition: var(--transition-speed);
}

.logo {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-size: 1.5rem;
  letter-spacing: 0.3ch;
  width: 100%;
}

.logo svg {
  transform: rotate(0deg);
  transition: var(--transition-speed);
}

.logo-text {
  display: inline;
  position: absolute;
  left: -999px;
  transition: var(--transition-speed);
}

.navbar:hover .logo svg {
  transform: rotate(-180deg);
}

/* Small screens */
@media only screen and (max-width: 600px) {
  .navbar2 {
    bottom: 0;
    width: 100vw;
    height: 5rem;
  }

  .logo {
    display: none;
  }

  .navbar-nav {
    flex-direction: row;
  }

  .nav-link {
    justify-content: center;
  }

  main {
    margin: 0;
  }
}

/* Large screens */
@media only screen and (min-width: 600px) {
  .navbar {
    top: 0;
    width: 5rem;
    height: 100vh;
  }

  .navbar:hover {
    width: 16rem;
  }

  .navbar:hover .link-text {
    display: inline;
  }

  .navbar:hover .logo svg {
    margin-left: 11rem;
  }

  .navbar:hover .logo-text {
    left: 0px;
  }
}

.dark {
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
}

.light {
  --text-primary: #1f1f1f;
  --text-secondary: #000000;
  --bg-primary: #ffffff;
  --bg-secondary: #e4e4e4;
}

.solar {
  --text-primary: #576e75;
  --text-secondary: #35535c;
  --bg-primary: #fdf6e3;
  --bg-secondary: #f5e5b8;
}

.theme-icon {
  display: none;
}

.dark #darkIcon {
  display: block;
}

.light #lightIcon {
  display: block;
}

.solar #solarIcon {
  display: block;
}

#to-top-btn {
  z-index: 999999;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 22px;
  width: 60px;
  height: 60px;
  background-color: transparent;
  color: rgba(211, 255, 202, 0.83);
  cursor: pointer;
  outline: none;
  border: 3px solid rgba(211, 255, 202, 0.823);
  border-radius: 50%;
  transition-duration: 0.20s;
  transition-timing-function: ease-in-out;
  transition-property: background-color, color;
}

#to-top-btn:hover, #to-top-btn:focus {
  background-color: rgba(211, 255, 202, 0.823);
  color: #1c0522;
}

.btnEntrance {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: btnEntrance;
}

@keyframes btnEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btnExit {
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: btnExit;
}

@keyframes btnExit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}

#footer, .copyrightText {
  bottom: 0;
  z-index: 99999;
}

:root {
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
  --transition-speed: 600ms;
}

.copyrightText {
  bottom: 0;
  width: 10%;
}

.workheader {
  margin-top: 40px;
  font-size: 50px;
  letter-spacing: 5px;
  margin-bottom: 30px;
  margin-left: 500px;
  text-decoration: underline;
}

.desc {
  margin-left: 440px;
  margin-right: 170px;
  margin-top: 30px;
  margin-bottom: 120px;
  font-weight: bold;
  font-size: 40px;
}

.desc2 {
  margin-left: 440px;
  margin-right: -500px;
  margin-top: 30px;
  margin-bottom: 150px;
  font-weight: bold;
  font-size: 40px;
}

.desc4 {
  margin-left: 480px;
  margin-right: -500px;
  margin-top: 30px;
  margin-bottom: 150px;
  font-weight: bold;
  font-size: 40px;
}

.desc5 {
  margin-left: 495px;
  margin-right: -500px;
  margin-top: 30px;
  margin-bottom: 150px;
  font-weight: bold;
  font-size: 40px;
}

.desc6 {
  margin-left: 490px;
  margin-right: -500px;
  margin-top: 30px;
  margin-bottom: 150px;
  font-weight: bold;
  font-size: 40px;
}

.desc7 {
  margin-left: 475px;
  margin-right: -500px;
  margin-top: -170px;
  margin-bottom: 150px;
  font-weight: bold;
  font-size: 40px;
}

.desc9 {
  margin-left:450px;
  margin-right: 170px;
  margin-top: 30px;
  margin-bottom: 190px;
  font-weight: bold;
  font-size: 40px;
}




/* works */

.work1 {
  margin-top: 20px;
  margin-left: 380px;
  height: 300px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work2 {
  margin-top: 20px;
  margin-left: 390px;
  height: 300px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work3 {
  margin-top: 70px;
  margin-left: 390px;
  height: 800px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work4 {
  margin-top: 20px;
  margin-left: 390px;
  height: 300px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work5 {
  margin-top: 20px;
  margin-left: 400px;
  height: 500px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work6 {
  margin-top: 20px;
  margin-left: 400px;;
  height: 500px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
}

.work7 {
  margin-top: 20px;
  margin-left: 400px;;
  height: 500px;
  width: 550px;
  border: 3px solid white;
  border-radius: 2%;
  margin-bottom: 200px;
}

.subDesc1 {
  word-wrap: break-word;
  text-align: center;
  margin-left: 0px;
  margin-right: -400px;
  margin-top:-170px;
  margin-bottom: 50px;
  font-size: 20px;
}

.subDesc2 {
  word-wrap: break-word;
  text-align: center;
  margin-left: 180px;
  margin-top:-170px;
  margin-bottom: 30px;
  width: 70%;
  font-size: 20px;
}


.subDesc3 {
  word-wrap: break-word;
  text-align: center;
  margin-left: 190px;
  margin-right: -400px;
  margin-top:-120px;
  margin-bottom: 70px;
  width: 70%;
  font-size: 20px;
}


.subDesc4 {
  word-wrap: break-word;
  text-align: center;
  margin-left: 200px;
  margin-right: -400px;
  margin-top:-120px;
  margin-bottom: 70px;
  width: 70%;
  font-size: 20px;
}



.subDesc5 {
  word-wrap: break-word;
  text-align: center;
  margin-left: 210px;
  margin-right: -400px;
  margin-top:-120px;
  margin-bottom: 70px;
  width: 70%;
  font-size: 20px;
}



.subDesc6 {  
  word-wrap: break-word;
  text-align: center;
  margin-left: 210px;
  margin-right: -400px;
  margin-top:-120px;
  margin-bottom: 70px;
  width: 70%;
  font-size: 20px;
}



.subDesc1 {
  margin-left: -460px;
  margin-top:-100px;
  margin-bottom: 50px;
  font-size: 20px;
}

.subDesc7 {  
  word-wrap: break-word;
  text-align: center;
  margin-left: 210px;
  margin-right: -400px;
  margin-top:-120px;
  margin-bottom: 50px;
  width: 70%;
  font-size: 20px;
}



