@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Rubik:wght@600;700&family=Ubuntu:wght@700&display=swap");

/*
thing rhema doesn't understand will have 🙋‍♂️ on it or the element
selector
*/

/* RESETS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

:root {
  --light-lime: #abd699;
  --fresh-lemon: #ffe260;
  --teal: hsl(167, 44%, 62%);
  --mint: hsl(134, 24%, 82%);
  --navy: hsl(245, 56%, 16%);
  --white: hsl(0, 0%, 100%);
  --black: #000;
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  /* background-color: hsla(102, 43%, 72%, 1); */
}

/* 🙋‍♂️ What does this do?? */
.noscroll {
  overflow: hidden;
}

/* HEADER */
.overlay {
  /*🙋‍♂️ */
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(#49673c, transparent);
}

.overlay {
  display: block;
}

nav {
  display: flex;
  position: relative;
  background-color: hsla(102, 43%, 72%, 1);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2rem 15rem 2rem 4rem;
}

.logo {
  font-family: "Ubuntu", sans-serif;
  font-size: 3rem;
  color: var(--navy);
}

header nav ul {
  display: flex;
  justify-content: center;
}

header nav li:not(:last-child) {
  margin-right: 4.8rem;
}

header nav ul li a {
  color: var(--navy);
}

header nav ul li {
  position: relative;
}

li::before {
  content: "";
  display: block;
  position: absolute;
  background-color: var(--navy);
  border-radius: 5px;
  opacity: 0;
  height: 3px;
  left: 0;
  right: 0;
  bottom: -5px;
  transition: opacity ease-in-out 300ms;
}

li:hover::before {
  opacity: 1;
}

a:hover {
  color: #000;
  /* background: #fff; */
  border-radius: 0.5rem;
}

/* HAMBURGER MENU STYLING */
.toggle {
  display: none;
  cursor: pointer;
}

.toggle span {
  display: block;
  width: 2.6rem;
  height: 0.3rem;
  background-color: #1f1f1f;
  transition: all ease-in-out 200ms;
  transform-origin: 0.15rem 0.15rem;
}

.toggle span:not(:last-child) {
  margin-bottom: 0.5rem;
}

.open .toggle > span:first-child {
  transform: rotate(45deg);
}

.open .toggle > span:nth-child(2) {
  opacity: 0;
}

.open .toggle > span:last-child {
  transform: rotate(-45deg);
}

/* ANIMATIONS */
.has-fade {
  visibility: hidden;
}

@keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }

  1% {
    visibility: visible;
    opacity: 0;
  }

  to {
    visibility: visible;
    opacity: 1;
  }
}

.fade-in {
  animation: fade-in 200ms ease-in-out forwards;
}

@keyframes fade-out {
  from {
    visibility: visible;
    opacity: 1;
  }

  99% {
    visibility: visible;
    opacity: 0;
  }

  to {
    visibility: hidden;
    opacity: 0;
  }
}

.fade-out {
  animation: fade-out 200ms ease-in-out forwards;
}

/* MOBILE MENU TOOGLE */
.menu {
  position: absolute;
  width: calc(100% - 5rem);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 2.6rem;
  margin-top: 2.4rem;
  border-radius: 0.5rem;
}

.menu a {
  display: block;
  color: var(--navy);
  padding: 1rem;
  text-align: center;
}


/* HERO SECTION */
.hero-section {
  background-color: #abd699;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /* height: 100vh; */
  padding: 5rem 10rem 5rem;
}

.text {
  text-align: left;
  grid-row: 3/1;
  margin-bottom: 2rem;
}

.text > h1 {
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 5.6rem;
  color: var(--white);
}
.text p {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.static-text {
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 5.6rem;
  color: #fff;
}

.dynamic-text {
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 30px;
  line-height: 60px;
  height: 62px;
  overflow: hidden;
}

.dynamic-text li {
  color: #fff;
  line-height: 1.1;
  font-weight: bold;
  list-style: none;
  font-size: 5.6rem;
  position: relative;
  top: 0;
  animation: slide 15s ease infinite;
}

@keyframes slide {
  100% {
    top: -360px;
  }
}

.dynamic-text li span {
  position: relative;
}

.dynamic-text li span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background: transparent;
  /* border-left: 2px solid #f7db08; */
  animation: slide 5s steps(20) infinite;
}


.image {
  width: 100%;
}

.image img {
  height: 100%;
  width: 100%;
}

.text button {
  display: flex;
  align-items: center;
  background-color: hsla(102, 43%, 72%, 1);
  color: var(--navy);
  border: 1px solid #546464;
  padding: 10px 15px;
  font-size: 1.6rem;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  border-radius: 3rem;
  transition: all 0.3s ease-in-out;
}


.svg {
  background-image: url(Image/arrow-and-circle.svg);
  background-size: cover;
  margin-left: 1rem;
  width: 3rem;
  height: 3rem;
  transition: all 0.3s ease-in-out;
}

.svg:hover {
  background-image: url(Image/arrow.svg);
}

/* STACK SECTION */
.stack {
  background-color: var(--white);
  padding: 10rem 10rem 10rem;
  width: 100%;
  text-align: center;
}

.stack > h2 {
  margin-bottom: 2rem;
  font-size: 3rem;
}

.stack-icon {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 12rem;
}

/* ABOUT SECTION */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  background-color: #fff;
  padding: 5rem 10rem 12rem;
}

.left > p {
  color: hsla(134, 13%, 67%, 1);
  margin-bottom: 0.5rem;
  font-size: 2.1rem;
}

.left h2 {
  font-size: 3.4rem;
}

.right p {
  margin-top: 7rem;
}


/* TEAM SECTION */
.team {
  padding: 10rem;
  background-color: hsla(102, 43%, 72%, 1);
  text-align: center;
}

.team > h2 {
  margin-bottom: 3rem;
  font-size: 3rem;
}

.team .top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 3rem;
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid white;
  width: 33rem;
  border-radius: .8rem;
  padding: 2rem;
}


.card > img {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.card h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.card p {
  margin-bottom: 1.8rem;
  font-size: 1.6rem;
}

.details {
  text-align: center;
  width: 28.5rem;
  border: 1px solid white;
  padding: 20px;
  border-radius: 8px;
}

.connect {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.connect a:hover {
  text-decoration: underline;
}

.connect > .contacts:not(:last-child) {
  margin-bottom: .8rem;
}

.contacts {
  display: flex;
  color: #000;
  font-size: 1.5rem;
}

.contacts > .el {
  font-size: 2rem;
  margin-right: 1rem;
}

.el:hover {
  text-decoration: none;
}

.team .bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 2rem;
}

.keek {
  transform: rotate(-45deg);
}

.sturner {
  transform: rotate(-15deg);
}


/* CONTACT US  */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  padding: 10rem 10rem 10rem;
  align-items: center;
  justify-content: center;
}

.contact h3 {
  font-size: 3rem;
  place-self: flex-end;
}

.contact a {
  display: flex;
  align-items: center;
  background: hsla(238, 22%, 31%, 1);
  padding: 1.2rem;
  text-align: center;
  color: white;
  width: 22rem;
  grid-row: 3/2;
  grid-column: 3/2;
}

.contact img {
  margin-left: 2rem;
}

/* MEDIA QUERIES */

@media (max-width: 800px) {
  /* MEDIA QUERY FOR THE NAVBAR MOBILE VIEW PORT */
  nav {
    padding: 2rem 2.5rem;
  }

  header nav ul {
    display: none;
  }

  .toggle {
    display: block;
  }


  /* MEDIA QUERY FOR THE HERO SECTION */
  .hero-section {
    padding: 5rem 2rem 5rem;
    grid-template-columns: 1fr; 

  }

  .text {
    text-align: center;
    grid-row: 3/4;
  }

  .text button {
    margin: 0 auto;
  }

 .dynamic-text h1 {
    font-size: 3.59rem;
  }

  .hide-for-mobile {
    display: none;
  }

  /* MEDIA QUERY FOR THE ABOUT SECTION */
  .about-section {
    padding: 5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .about-section h2 {
    font-size: 2.8rem;
  }  

  .about-section .right p {
    margin-top: 2.5rem;
    text-align: left;
  }

    /* mobile STACK SECTION */
    .mobile {
      padding: 0rem 2rem 5rem;
    }
  
    .mobile h2 {
      font-size: 2rem;
    }
  
    .stack-icon {
      gap: 4rem;
    }
  
    .stack-icon img {
      width: 30px;
      height: 30px;
    }

  /* TEAM SECTION */
   .team {
    padding: 5rem 2rem 5rem;
   }

  .team .top,
  .bottom {
    flex-direction: column;
  }

/* CONTACT US SECTION */
  .contact {
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 5rem;
  }
  .contact h3 {
    font-size: 3rem;
    place-self: flex-start;
    margin-bottom: 3rem;
  }
   
  .contact a {
    place-self: flex-end;
  }
}


  /* MEDIA QUERY FOR THE H1 */
  @media (min-width: 801px) {
    .hide-for-desktop {
      display: none;
    }
  }
  
  






































































/* IN AND OUT TEXT */
/* 
.text-center-two {
  text-align: center;
  font-family: 'Montserrat';
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  height: 50px;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 30px;
}

.tech-container {
  height: 200px;
  width: 100vw;
  background-color: var(--white);
  padding: 20px;
}

.technology {
  position: relative;
  height: 200px;
  width: 100vw;
  overflow: hidden;
}

.technology h2 {
  position: absolute;
  width: 100vw;
  height: 90%;
  margin: 0;
  padding: 0;
  font-size: 4em;
  color: var(--black);
  font-family: 'Montserrat';
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 100px;
  transform: translateX(100%);
  animation: scrolling 15s linear infinite;
  white-space: nowrap;
}

@keyframes scrolling {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
} */

