@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(43, 86%, 17%);
  --clr-primary-2: hsl(43, 77%, 27%);
  --clr-primary-3: hsl(43, 72%, 37%);
  --clr-primary-4: hsl(42, 63%, 48%);
  /* primary/main color */
  --clr-primary-5: hsl(42, 78%, 60%);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(43, 89%, 70%);
  --clr-primary-7: hsl(43, 90%, 76%);
  --clr-primary-8: hsl(45, 86%, 81%);
  --clr-primary-9: hsl(45, 90%, 88%);
  --clr-primary-10: hsl(45, 100%, 96%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --max-width: 1170px;
}

*,
::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: 90vw;
    margin: 0 auto;
    max-width: 1170px;
  }
  @media screen and (min-width: 992px) {
    .section-center {
      width: 95vw;
    }
  }
  /* 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;
  }




  /* FORM SECTION */

.contact h2 {
  text-transform: uppercase;
  color: transparent;
  font-size: 2.5rem;
  -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;   
      }
}
.contact-underline {
  width: 5rem;
  height: 0.25rem;
  margin-bottom: 1.25rem;
  background: rgb(59, 59, 243);
  margin-left: auto;
  margin-right: auto;
}
.section-title p {
  width: 90%;
  max-width: 600px;
  display: inline-block;
}
.form {
  width: 90%;
  max-width: 550px;
  margin: 0 auto;
  background-color: rgb(59, 59, 243);
  border-radius: 0.5rem;
}
.form-group {
  padding: 1rem 1.5rem;
}
.form-group input, textarea, select{
  display: block;
  width: 90%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 0.5rem;
}
.form-group label {
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  color: #fff;
  background-color: #e71a1a;
  border: none;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* 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;
}
