@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: hsl(209, 61%, 16%);
  line-height: 1.5;
  font-size: 0.875rem;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img:not(.nav-logo) {
  width: 100%;
  display: block;
}


h1,
h2,
h3,
h4 {
  letter-spacing: 0.25rem;
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: 'Roboto', sans-serif;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: hsl(210, 22%, 49%);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}

/* LOGO */
.outer {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid red; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid blue; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner a {
  font-size: 20px;
  color: #e71a1a;
  font-weight: 700;
}



.section {
    padding: 5rem 0;
  }
  
  .section-center {
    width: 85vw;
    margin: 0 auto;
    max-width: 1170px;
  }
  @media screen and (min-width: 992px) {
    .section-center {
      width: 85vw;
    }
  }
  /* added during recording */
  .underline {
    width: 5rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    background: rgb(59, 59, 243);
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    margin-bottom: 4rem;
    text-align: center;
  }
  .bg-grey {
    background: hsl(210, 36%, 96%);
  }


  .nav-links {
    display: none;
  }
  .nav {
    height: 5rem;
    padding: 1rem;
    display: grid;
    align-items: center;
    transition: all 0.3s linear;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
  
  }
  .nav-center {
    width: 80%;
    max-width: 1170px;
    margin: 0 auto;
  }
  .nav-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .nav-btn {
    background: transparent;
    border-color: transparent;
    color: blue;
    font-size: 2rem;
    cursor: pointer;
    justify-self: end;
  }
  @media screen and (min-width: 768px) {
    .nav {
      background: hsl(45, 100%, 96%);
    }
    .nav-btn {
      display: none;
    }
    .nav-links {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      justify-items: center;
      column-gap: 2rem;
      justify-self: end;
    }
    .nav-links a {
      text-transform: capitalize;
      color: hsl(209, 61%, 16%);
      font-weight: bold;
      letter-spacing: 0.25rem;
      transition: all 0.3s linear;
    }
    .nav-links a:hover {
      color: hsl(42, 78%, 60%);
    }
    .nav-center {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
    }
  }
  
  /*
  =============== 
  Sidebar
  ===============
  */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsl(210, 36%, 96%);
    z-index: 4;
    display: grid;
    place-items: center;
    transition: all 0.3s linear;
    /* add later */
    transform: translateX(-100%);
  }
  /* toggle sidebar */
  .show-sidebar {
    transform: translateX(0);
  }
  .sidebar-links {
    text-align: center;
  }
  .sidebar-links a {
    font-size: 2rem;
    text-transform: capitalize;
    transition: all 0.3s linear;
    color: var(--clr-grey-5);
    letter-spacing: 0.25rem;
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  .sidebar-links a:hover {
    color: hsl(42, 78%, 60%);
  }
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    background: transparent;
    border: transparent;
    transition: all 0.3s linear;
    color: #bb2525;
    cursor: pointer;
  }
  .close-btn:hover {
    color: #e66b6b;
  }





  /* INTRO ABOUT */

  .intro {
    z-index: 1;
    text-align: center;
    position: relative;
    background: linear-gradient(45deg, rgb(243, 20, 20), rgb(12, 192, 12), orange);
    background-size: 300%;
    animation: color 10s ease-in-out infinite;
  }
  @keyframes color {
    0% {
      background-position: 0 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0 50%;
    }
  }

  .intro h2 {
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background: url('../images/bluesky.png');
    background-clip: text;
    background-position: 0 0;
    animation: back 20s linear infinite;
  }
  @keyframes back {
    100% {
        background-position: 2000px 0;   
        }
  }
  .intro-underline {
    width: 7rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    background: rgb(59, 59, 243);
    margin-left: auto;
    margin-right: auto;
  }
  .intro h2 {
    width: 90vw;
    max-width: 700px;
    margin: 0 auto;
  }
  .intro p {
    text-align: center;
    color: #fff;
    width: 85%;
    max-width: 600px;
    margin: 0 auto;
  }
  .intro a {
    display: inline-block;
    font-size: 1.2rem;
    margin: 1.5rem auto;
    background-color: rgb(59, 59, 243);
    padding: 0.5rem;
    border-radius: 5px;
    color: #fff;
    transition: all 0.3s ease-in-out;
    outline: 0.125rem solid rgb(104, 104, 245);
    outline-offset: 0.25rem;
  }
  .intro a:hover {
    transform: scale(1.2);
  }
  .bubbles {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .bubbles span {
    width: 30px;
    height: 30px;
    background-color: rgb(125, 155, 221);
    margin: 0 5px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #4fc3dc44;
    animation: animate 7s linear infinite;
    z-index: -1;
    }
    .bubbles span:nth-child(1) {
      animation-delay: 0s;
      }
      .bubbles span:nth-child(2) {
      animation-delay: 2s;
      }
      .bubbles span:nth-child(3) {
      animation-delay: 3s;
      }
      .bubbles span:nth-child(4) {
      animation-delay: 2s;
      }
      .bubbles span:nth-child(5) {
      animation-delay: 5s;
      }
      .bubbles span:nth-child(6) {
      animation-delay: 2s;
      }
      .bubbles span:nth-child(7) {
      animation-delay: 6s;
      }
      
      @keyframes animate {
      0% {
        transform: translateY(0);
        opacity: 1;
      }
      50% {
        opacity: 0.7;
      }
      75% {
        opacity: 0.5;
      }
      100% {
        transform: translateY(-70vh);
        opacity: 0;
      }
      }

/* VALUES SECTION */
.values {
  background-color: rgb(59, 59, 243);
  overflow-x: hidden;
}
.values h2 {
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  background: url('../images/bluesky.png');
  background-clip: text;
  background-position: 0 0;
  animation: back 20s linear infinite;
}
@keyframes back {
  100% {
      background-position: 2000px 0;   
      }
}
.values-underline {
  width: 5rem;
  height: 0.25rem;
  margin-bottom: 1.25rem;
  background: #fff;
  margin-left: auto;
  margin-right: auto;
}
  .feature h3 {
    color: #fff;
    text-align: center;
  }
  .feature p {
  font-weight: 400;
  color: #fff;
  }


  @media screen and (min-width: 700px) {
    .values-center {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
    }
    @media screen and (min-width: 992px) {
    .values-center {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
    }



  /* BENEFITS SECTION */
  .benefits {
    overflow-x: hidden;
  }
  .benefits h2 {
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background: url('../images/bluesky.png');
    background-clip: text;
    background-position: 0 0;
    animation: back 20s linear infinite;
  }
  @keyframes back {
    100% {
        background-position: 2000px 0;   
        }
  }
  .benefit h3 {
    text-align: center;
  }

  @media screen and (min-width: 700px) {
    .benefits-center {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
  }
  @media screen and (min-width: 992px) {
    .benefits-center {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }


  /* FOOTER */
  .footer {
    background-color: rgb(59, 59, 243);
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    padding: 25px 25px;
  }
  .footer span {
    color: red;
  }
  .footer p {
    font-size: 1rem;
  }
  .footer p span {
    color: #fff;
  }