:root {
  --primary: #5f7e13;
  --secondary: #53a65e;
  --grey: #1f2123;
  --lightgrey: #cfd2cf;
  --cream: #fff;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  /* border: 1px solid red; */
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  transition: 0.3s ease;
}
a:visited {
  color: inherit;
}
body {
  font-family: "Poppins", sans-serif;
  /* background-color: black; */
  color: var(--grey);
}
.feather-size {
  width: 2rem;
  height: 2rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 7%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.navbar .logo {
  font-size: 2.1rem;
  color: var(--cream);
  font-weight: 700;
  font-style: italic;
}

.navbar .logo span {
  color: var(--secondary);
}

.navbar .nav a {
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 1.2rem;
  font-weight: 500;
}
.navbar .nav a:hover,
.nav2 a:hover {
  color: var(--secondary);
}
.navbar .nav,
.nav2 {
  color: var(--cream);
  display: flex;
  align-items: center;
}
.navbar .nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
  transform: scaleX(0);
  transition: 0.3s ease;
}
.navbar .nav a:hover::after {
  transform: scaleX(50%);
}
.navbar .nav2 {
  display: none;
}
#hamburg {
  display: inline-block;
}

#jumbotron {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.5)),
    url("../img/home-bg4.jpg");
  background-blend-mode: multiply;
  background-size: cover;
  background-position: 0 65%;
  color: var(--cream);
  position: relative;
}
/* #jumbotron::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(
    180deg,
    rgba(1, 1, 1, 0.5) 0%,
    rgba(1, 1, 1, 0) 100%
  );
} */
/* #jumbotron::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 1, 0.3) 2%,
    rgba(1, 1, 1, 0) 100%
  );
} */

#jumbotron .greeting {
  padding: 1.4rem 8%;
  max-width: 50rem;
}
#jumbotron .greeting p {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 0.5rem;
  font-weight: 400;
  max-width: 100%;
  color: white;
}
#jumbotron .greeting h1 {
  font-size: 4em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}
#jumbotron .greeting h1 span {
  color: var(--primary);
}

#jumbotron .featured {
  position: absolute;
  width: 40%;
  height: 10%;
  right: 5%;
  bottom: 5%;
  backdrop-filter: blur(5px);
  border-radius: 2rem;
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
  flex-grow: 3;
}
#jumbotron .featured #ftrBlock {
  width: 43%;
  height: 100%;
}
#jumbotron .featured #docBlock {
  width: 57%;
  height: 100%;
}
#jumbotron .greeting .cta {
  margin-top: 1.3rem;
  display: inline-block;
  font-size: 1.5rem;
  background-color: var(--primary);
  border-radius: 1rem;
  padding: 6px 17px;
  text-align: center;
  color: var(--cream);
}
#jumbotron .featured .features,
.docs {
  height: 100%;
}

#jumbotron .featured .features {
  background-color: rgba(128, 153, 51, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 0 1rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.2rem;
  transition: 0.3s ease-in-out;
}
#jumbotron .featured .docs {
  background-color: rgba(78, 107, 53, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 1rem 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.2rem;
}

/* #jumbotron .featured .getApp h1 {
  color: var(--primary);
  font-size: 2em;
  font-weight: 500;
  text-align: center;
} */
#jumbotron .featured .features h1 {
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}
#jumbotron .featured .docs h1 {
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

#jumbotron .featured .date {
  font-size: 1.5rem;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2rem;
}
#jumbotron .featured .like {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2rem;
}
.about,
#features,
.documentation,
.contact {
  padding: 7rem 7% 1.4rem;
}
.about h2,
.features h2,
.documentation h2,
.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}
.about h2 span,
#features h2 span,
.documentation h2 span,
.contact h2 span {
  color: var(--primary);
}
.about .row {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}
.about .row .profil-img {
  flex: 1 1 40rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about .row .profil-img img {
  max-width: 17rem;
  border-radius: 15%;
}
.about .row .profil-img .name {
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 200;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 0.7rem;
}
.about .row .content h3 {
  font-size: 1.6rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}
.about .row .content p {
  margin-bottom: 0.6rem;
  line-height: 1.4;
  font-weight: 500;
  font-size: 1.4rem;
}
#features {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
  padding: 7rem 7% 3rem;
  height: auto;
}
#features .row {
  display: flex;
  width: 100%;
  height: 40vh;
}

#features .row .feature-img {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  border-radius: 1rem;
}
#features .row .feature-img img {
  max-height: 50%;
  filter: invert(1);
}
#features .row .feature-desc {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 5%;
}
.documentation {
  padding: 7rem 7% 3rem;
  height: auto;
}
.documentation .row {
  display: flex;
  justify-content: center;
  align-items: center;
}
.documentation .img-docs {
  border-radius: 1rem;
  width: 60%;
  height: 60vh;
  position: relative;
}
.documentation .img-docs::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.documentation .img-docs img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
}
.documentation .desc {
  padding: 0 1.7rem;
  line-height: 2.5rem;
  text-align: justify;
  text-indent: 2rem;
  font-size: 1.3rem;
  font-weight: 500;
  width: 40%;
  height: 100%;
}
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 16vh;
}
.contact .row {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 55vh;
  text-align: center;
  background-color: var(--primary);
  border-radius: 2rem;
  /* padding: 3rem 0; */
}
.contact .row .contact-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;
  background-color: var(--cream);
  border-radius: 2rem;
}
.contact .row .contact-img img {
  max-width: 70%;
  object-fit: contain;
}
.contact .row .link-group {
  display: flex;
  width: 50%;
  height: 100%;
  row-gap: 5%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact .row .link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 70%;
}
.contact .row .link a {
  width: 100%;
}
.contact .row .link .circle {
  display: flex;
  justify-content: flex-start;
  padding: 0 2rem;
  align-items: center;
  color: var(--grey);
  background-color: var(--cream);
  width: 100%;
  height: 3.5rem;
  border-radius: 1.5rem;
  margin: 1rem 0;
}
.contact .row .link .circle p {
  margin-left: 1rem;
}

footer {
  background: var(--primary);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  border-bottom: 5px solid var(--grey);
  color: var(--cream);
}

footer .social {
  padding: 1rem 0;
  gap: 1rem;
}

footer .social a {
  color: var(--cream);
  padding: 0 1rem;
}
footer .social a:hover {
  color: var(--grey);
}
footer .links {
  margin-bottom: 1rem;
}
footer .links a {
  padding: 0.3rem 1rem;
}
footer .links a:hover {
  color: var(--grey);
}
footer .credit a {
  font-weight: 700;
}
/* Media Query */
@media (max-width: 1366px) {
  html {
    font-size: 77%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 67%;
  }
  .navbar .nav2 {
    display: inline-block;
  }
  .navbar .nav {
    position: absolute;
    width: 100%;
    height: 50vh;
    right: 0;
    top: -800%;
    line-height: 3rem;
    flex-direction: column;
    justify-content: space-around;
    background-color: rgba(0, 0, 0, 0.9);
    transition: 0.3s ease;
  }
  .navbar .nav.active {
    top: 0;
  }
  .navbar .nav2 a {
    width: 50%;
  }

  .about .row {
    flex-wrap: wrap;
  }
  .about .row .profil-img img {
    max-width: 100%;
    height: 20rem;
    object-fit: cover;
    margin-bottom: 3rem;
  }
  .about .row .content p {
    text-align: justify;
    line-height: 1.8;
  }
  .contact .row {
    flex-wrap: wrap;
  }
  .contact .row .link-group,
  .contact .row .contact-img {
    width: 100%;
    height: 50%;
  }
  .feather-size {
    width: 1.8rem;
    height: 1.8rem;
  }
  #features .row .feature-desc {
    width: 100%;
  }
  #features .row .feature-img {
    width: 100%;
  }
  #jumbotron {
    background-position: 40% 60%;
    align-items: flex-start;
  }
  #jumbotron .greeting {
    padding: 30% 8%;
    max-width: 20rem;
  }
  #jumbotron .greeting h1 {
    line-height: 6.5rem;
    font-size: 5rem;
  }
  #jumbotron .featured {
    width: 90%;
  }
  #features .row {
    height: 25vh;
  }
  .documentation .row {
    flex-wrap: wrap;
  }
  .documentation .img-docs {
    height: 30vh;
    width: 100%;
  }
  .documentation .desc {
    width: 100%;
    margin-top: 1.2rem;
  }
  .documentation .img-docs::before {
    height: 60%;
    width: 100%;
    bottom: 0;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

@media (max-width: 450px) {
  html {
    font-size: 61%;
  }
}
