@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: 2rem;
}
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 SERVICES SECTION */


  .intro {
    background-color: #fff;
    overflow-x: hidden;
  }
  
  .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-info a {
    display: inline-block;
    font-size: 1.2rem;
    margin: 1.2rem 0;
    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-info a:hover {
    transform: scale(1.2);
  }
  @media screen and (min-width: 700px) {
    .intro-center {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }   
  }
  .intro-photo {
    /* padding: 1rem; */
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}
  


  /* GRAPHIC DESIGN SECTION */


  .graphic-design {
    background-color: rgb(59, 59, 243);
  }
  
  .graphic-design 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;   
        }
  }
  .graphic-design-underline {
    width: 5rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
  }
  .items-list {
    display: flex;
    justify-content: space-around;
  }
  .graphic-design-info h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff;
    transform: skewX(5deg);
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
  }
  .graphic-design-list h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff;
    transform: skewX(5deg);
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
  }
  .graphic-design-info p {
    color: #fff;
  }
  .graphic-design-list li{
    color: #fff;
    list-style: square;
  }
  
  @media screen and (min-width: 700px) {
    .graphic-design-center {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
  }



  /* WEB DESIGN SECTION */
  .web-design {
    background-color: #fff;
  }
  .web-design-underline {
    width: 5rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    background: rgb(59, 59, 243);
    margin-left: auto;
    margin-right: auto;
  }
  .web-design 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;   
        }
  }
  .section-title p {
    width: 90%;
    max-width: 600px;
    display: inline-block;
  }

  .web-design-center .card {
    border: 1px solid darkgray;
    display: grid;
    grid-template-rows: auto 1fr auto;
    transition: all 0.3s linear;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
    margin-bottom: 1rem;
}
  .web-design-center .card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.card-number-one {
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: rgb(140, 32, 242);
  color: #fff;
  text-align: center;
  font-size: 20px;
  border-top-left-radius: 15px;
}
.card-number-two {
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: rgb(140, 32, 242);
  color: #fff;
  text-align: center;
  font-size: 20px;
  border-top-left-radius: 15px;
}
.card-number-three {
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: rgb(140, 32, 242);
  color: #fff;
  text-align: center;
  font-size: 20px;
  border-top-left-radius: 15px;
}



.web-design-center .card-info {
    padding: 1rem;
}
.card-info p {
    margin-bottom: 0.5rem;
}
.web-design-center .card-footer {
    background-color: rgb(140, 32, 242);
    padding: 0.5rem 1rem;
    color: #fff;
}
.card-footer p {
  color: #fff;
}
.web-design-center .card:hover {
  transform: scale(1.05);
}
  
  @media screen and (min-width: 600px) {
    .web-design-center {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
  }
  @media screen and (min-width: 900px) {
    .web-design-center {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }




  /* MARKETING SECTION */

  .marketing-section {
    background-color: rgb(59, 59, 243);
    overflow-x: hidden;
  }
  .marketing-section 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;   
        }
  }
  .marketing-underline {
    width: 5rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
  }
.marketing-info h3 {
  text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff;
    transform: skewX(5deg);
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

  @media screen and (min-width: 700px) {
    .marketing-center {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
  }
  .marketing-info p {
    color: #fff;
  }
  .marketing-photo {
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  }


  /* FOOTER */
  .footer {
    background-color: rgb(140, 32, 242);
    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;
  }