@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');


[data-theme="light"] {
  --primary-color: #047aed;
  --secondary-color: #1c3fa8;
  --dark-color: #002240;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
  --text-color: #000;
  --background-color: #f4f4f4;
}

[data-theme="dark"] {
  --primary-color: #042bed;
  --secondary-color: #1c98a8;
  --dark-color: #002240;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
  --text-color: #fff;
  --background-color: #000;
}

:root {
}

* {
  box-sizing: border-box;
  padding: -10px;
  margin: 0px;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: var(--background-color);
}

.dark-toggle {
  position: fixed;       
  bottom: 20px;          
  right: 20px;           
  padding: 5px 15px;    
  background-color: var(--secondary-color);
  color: #fff;           
  border: 2px;          
  border-radius: 10px;    
  cursor: pointer;       
  z-index: 1000;         
  font-size: larger;
  font-weight: bold;
}

.mouse-icon {
    position: absolute;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: 50%;
    bottom: 40px;
    border: 2px solid var(--light-color);
    border-radius: 16px;
    height: 50px;
    width: 30px;
    margin-left: -17px;
    display: block;
    z-index: 10;
}

.mouse-icon .wheel {
    position: relative;
    border-radius: 10px;
    background: var(--light-color);
    width: 4px;
    height: 10px;
    top: 4px;
    margin-left: auto;
    margin-right: auto;
    
    animation-name: drop;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-play-state: running;
}


ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  position: relative;
}
.underline-effect {
    display: inline-block; /* Required for the effect */
}

.underline-effect::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px; /* Height of the underline */
    background: black; /* Color of the underline */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.underline-effect:hover::after {
    transform: scaleX(1);
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
}

code,
pre {
  background: #333;
  color: #fff;
  padding: 10px;
}

.hidden {
  visibility: hidden;
  height: 0;
}

/* Navbar */
.nav {
  height: 60px;
  background-color: #047aed;
}

.navbar {
  background-color: var(--primary-color);
  color: #fff;
  height: 70px;
  width: 100%;
  align-items: center;
}

.navbar ul {
  display: flex;
}

.navbar a {
  display: flex;
  color: #fff;
  padding: 1px;
  margin: 0 5px;
}

a#navbar__logo {
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 320px) {
  .navbar ul {
    font-size: 15px;
  }
}

.mainimg {
  margin-right: 4px;
   -webkit-filter: invert(1);
   filter: invert(1);
}

.navbar .flex {
  display: flex;
  justify-content: space-between;
  vertical-align: auto;
}








/* Showcase */
.showcase {
  height: 400px;
  background-color: var(--primary-color);
  color: #fff;
  position: relative;
}

.darkmode--activated showcase{
  .showcase{
    background-color: var(--primary-color);
  }
}

.showcase h1 {
  font-size: 40px;
}

.showcase h2 {
    text-align-last: center;
}

.showcase p {
  margin: 20px 0;
}

.showcase .grid {
  overflow: visible;
  grid-template-columns: 55% auto;
  gap: 30px;
}

.showcase-text {
  animation: slideInFromLeft 1.3s cubic-bezier(0.42, 0, 0.58, 1);
}

.fa-github {
  margin-right: 3px;
}

.fa-linkedin{
  margin-right: 3px;
}
.fa-address-card{
  margin-right: 3px;
}

.fa-book-open{
  margin-right: 4px;
}

.showcase-form {
  position: relative;
  top: 60px;
  height: 350px;
  width: 400px;
  padding: 40px;
  z-index: 100;
  justify-self: flex-end;
  animation: slideInFromRight 1.3s cubic-bezier(0.42, 0, 0.58, 1);
}

.showcase-form .form-control {
  margin: 30px 0;
}

.showcase-form input[type='text'],
.showcase-form input[type='email'] {
  border: 0;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 3px;
  font-size: 16px;
}

.showcase-form textarea {
  border: 0;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 5px;
  font-size: 16px;
  font-family: 'lato';
  font-weight: bold;
  resize: none;
  margin-bottom: -10px;
}

.showcase-form input:focus {
  outline: none;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 200px;
  bottom: -170px;
  right: 0;
  left: 0;
  background: var(--background-color);
  transform: skewY(-3deg);
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
}

/* Stats */
.stats {
  padding-top: 100px;
  animation: slideInFromBottom 1.3s cubic-bezier(0.42, 0, 0.58, 1);
}

.stats-heading {
  max-width: 500px;
  margin: auto;
}

.stats .grid h3 {
  font-size: 35px;
}

.stats .grid p {
  font-size: 20px;
  font-weight: bold;
}

/* Cli */
.cli .grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.cli .grid > *:first-child {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

/* Cloud */
.cloud .grid {
  grid-template-columns: 4fr 3fr;
}

/* Languages */
.languages {
  color: var(--text-color);
}

.languages .flex {
  flex-wrap: wrap;
}

.languages .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
}

.languages .card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.languages .card:hover {
  transform: translateY(-15px);
}

/* Features */
.features-head img,
.docs-head img {
  width: 200px;
  justify-self: flex-end;
}

.features-sub-head img {
  width: 300px;
  justify-self: flex-end;
}

.features-main .card > i {
  margin-right: 20px;
}

.features-main .grid {
  padding: 30px;
}

.features-main .grid > *:first-child {
  grid-column: 1 / span 3;
}

.features-main .grid > *:nth-child(2) {
  grid-column: 1 / span 2;
}

/* Docs */
.docs-main h3 {
  margin: 20px 0;
}

.docs-main .grid {
  grid-template-columns: 1fr 2fr;
  align-items: flex-start;
}

.docs-main nav li {
  font-size: 17px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px #ccc solid;
}

.docs-main a:hover {
  font-weight: bold;
}

/* Footer */
.footer .social a {
  margin: 0 10px;
}

.footer .footnav {
  margin-left: -15px;
  margin-right: 10px;
}

.footer .footnav a:hover {
  font-weight: 100;
  color: #ccc;
}

.footer {
  overflow: var(--dark-color);
}

.social .fa-github:hover {
  color: #0092fb;
}

.social .fa-linkedin:hover {
  color: #0092fb;
}

.social .fa-address-card:hover {
  color: #0092fb;
}

.social .fa-envelope:hover {
  color: #0092fb;
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-50%);
  }

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

@keyframes slideInFromRight {
  0% {
    transform: translateX(50%);
  }

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

@keyframes slideInFromTop {
  0% {
    transform: translateY(-80%);
  }

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

@keyframes slideInFromBottom {
  0% {
    transform: translateY(60%);
  }

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

@keyframes drop {
  0% {
    top: 5px;
    opacity: 0;
  }

  30% {
    top: 10px;
    opacity: 1;
  }
  100% {
      top: 25px;
      opacity: 0;
  }
}

@keyframes rise {
  100% {
    top: 5px;
    opacity: 0;
  }

  30% {
    top: 10px;
    opacity: 1;
  }
  0% {
      top: 25px;
      opacity: 0;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(5);
}

.fade-out {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}

.fade-out.hide {
  opacity: 0;
  transform: translateY(0);
}


@media (max-width: 1000px){

  .showcase-form{
    width: 340px;
  }
}

.botpaddocs{
  padding-bottom: 10%;
}

/* Tablets and under */
@media (max-width: 900px) {
  .mouse-icon {
    top: 85%;
  }
  .mouse-icon .wheel {
    animation-name: rise;
  }

  .botpaddocs{
    padding-bottom: 20%;
  }

  .grid,
  .showcase .grid,
  .stats .grid,
  .cli .grid,
  .cloud .grid,
  .features-main .grid,
  .docs-main .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: auto;
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 1.3s cubic-bezier(0.42, 0, 0.58, 1);
  }

  .showcase-form {
    justify-self: center;
    margin: auto;
    animation: slideInFromBottom 1.3s cubic-bezier(0.42, 0, 0.58, 1);
  }

  .cli .grid > *:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .features-head,
  .features-sub-head,
  .docs-head {
    text-align: center;
    padding-bottom: 10%;
    padding-top: 10%;
  }

  .features-head img,
  .features-sub-head img,
  .docs-head img {
    justify-self: center;
  }

  .features-main .grid > *:first-child,
  .features-main .grid > *:nth-child(2) {
    grid-column: 1;
  }

}

@media (max-width: 800px) {
  .mouse-icon {
    top: 90%;
  }
  .docs-head {
    text-align: center;
    padding-bottom: 15%;
    padding-top: 15%;
  }
}


/* Mobile */
@media (max-width: 600px) {
  .navbar {
    height: 120px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    align-items: center;
  }
  
  .showcase-form {
    width: 300px;
  }

  .mouse-icon {
    top: 85%;
  }
}


  @media (max-width: 400px) {
    .gridFoot {
      flex-direction: column;
    }

    .footnav {
      margin-bottom: 20px;
    }

    .docs-head {
      text-align: center;
      padding-bottom: 17%;
      padding-top: 17%;
    }
  .mouse-icon {
    top: 80%;
  }
  }

