:root {
    --primary: #ddd;
    --dark: #0f0f0f;
    --dark2: #141516;
    --light: #fff;
    --grey: rgb(233, 233, 233);
    --shadow: 0 0px 16px rgba(0, 0, 0, 0.2);
    --box-shadow: 0px 0px 34px rgba(0, 0, 0, 0.08);
    --purple: #4b2db1;
    --transition: all 250ms cubic-bezier(0.02, 0.01, 0.47, 1);
    --gradient: linear-gradient(73deg, rgba(75, 45, 176, 1), hsl(257, 53%, 56%));
  }
  
  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0 0;
    line-height: 1.4;
    font-family: 'Poiret One', cursive;
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
  }



.list-item {
  width: 100%;
  padding: 10px;
}

.list-item:hover {
    text-decoration: underline;
    cursor: pointer;
}

.active{
    text-decoration: underline;
}

.hide {
    display: none;
}

@media (min-width: 700px) {

    nav ul {
        display: flex;
        justify-content: flex-end;
    }

    .top {
        margin-top: 0;
    }

    .list-item {
        margin-left: 20px;
        width: fit-content;
        padding: 0
    }

    #menu-icon {
    display: none;
    }

    .hide {
        display: flex;
    }
}

  .scroll-indicator {	
	  position: absolute;
	  left: 50%;
	  font-size: 50px;
	  z-index: 1000;
    top: 70%;
    color:rgb(248, 176, 192);
    animation: bounce 1s infinite;
    margin: 0 auto;
}


@keyframes bounce {
    0% { top: 70%; }
    50%   { top: 73%; }
    100% { top: 70%; }
}
  .hero-section {
    display: grid;
    align-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background: url("hero.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--light);
    text-align: center;
    margin: 0 0;
    min-height: 780px;
    box-shadow: 2px 6px 8px 0px rgba(0,0,0,0.54);
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1224px;
    margin-right: auto;
    margin-left: auto;
  }
  
  .hero-title {
    margin-top: 0;
    margin-bottom: 0.3em;
    color: white;
    text-shadow: 
    -2px -2px 0 rgb(248, 176, 192), 
     2px -2px 0 rgb(248, 176, 192), 
    -2px  2px 0 rgb(248, 176, 192), 
     2px  2px 0 rgb(248, 176, 192), 
     2px  0px 0 rgb(248, 176, 192), 
    -2px  0px 0 rgb(248, 176, 192), 
     0px  2px 0 rgb(248, 176, 192), 
     0px -2px 0 rgb(248, 176, 192);
  -webkit-font-smoothing: antialiased;
    font-size: 120px;
  }
  
  
.hero p {
      align-self: end;
      margin: .3em;
  } 
  
  .work-section {
    margin-top: 6em;
    margin-bottom: 6em;
  }

  .work-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 1fr;
    grid-auto-rows: minmax(340px, auto);
    row-gap: 6em;
    max-width: 1224px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 1em;
    grid-template-areas:
      "one one one . ."
      ". . two two two"
      "three three three . ."
      ". . four four four"
      " five five five . ."
      ". . six six six"
      "seven seven seven . ."
      ". . eight eight eight";
  }
  
  .work-card {
    display: grid;
    border-radius: 10px;
    color: var(--light);
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    box-shadow: var(--shadow);
    align-content: end;
    box-shadow: 2px 4px 8px 0px rgba(0,0,0,0.54);
    transition: var(--transition);
    -webkit-transition: var(--transition);
  }

  
  .work-grid :hover {
    transform: scale(1.02, 1.02);
    transition-delay: 0s !important;
    box-shadow: 5px 8px 11px 0px rgba(0,0,0,0.54);
    cursor: pointer;
  }

  .section-title {
    color: white;
    text-shadow: 
    -2px -2px 0 rgb(248, 176, 192), 
     2px -2px 0 rgb(248, 176, 192), 
    -2px  2px 0 rgb(248, 176, 192), 
     2px  2px 0 rgb(248, 176, 192), 
     2px  0px 0 rgb(248, 176, 192), 
    -2px  0px 0 rgb(248, 176, 192), 
     0px  2px 0 rgb(248, 176, 192), 
     0px -2px 0 rgb(248, 176, 192);
  -webkit-font-smoothing: antialiased;
    font-size: 150px;
    padding: 0 1em 1.3em 1em;
    max-width: 1224px;
    margin: auto auto;
    font-weight: 300;
    font-size: 40px;
    text-align: center;
  }

  .card-1 {
      grid-column: 1 / 4;
      grid-row: 1 / 2;
  }
  
  .card-2 {
      grid-column: 3 / 6;
      grid-row: 2 / 3;
  }
  
  .card-3 {
      grid-column: 1 / 4;
      grid-row: 3 / 4;
  } 

  .card-4 {
    grid-column: 3 / 6;
    grid-row: 4 / 5
  }

  .card-5 {
    grid-column: 1 / 4;
    grid-row: 4 / 5
  }

  .card-6 {
    grid-column: 3 / 6;
    grid-row: 5 /6 ;
  }

  .card-7 {
    grid-column: 1 / 4;
    grid-row: 6 / 7;
  }

  .card-8 {
    grid-column: 3 / 6;
    grid-row: 7 / 8;
  }

  .card-9 {
    grid-column: 1 / 4;
    grid-row: 8 / 9;
  }
  
  .card-1 {
    grid-area: one;
    background-image: url('p0.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .card-2 {
    grid-area: two;
    background-image: url('p1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .card-3 {
    grid-area: three;
    background-image: url('p2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .card-4 {
    grid-area: four;
    background-image: url('p3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .card-5 {
    grid-area: five;
    background-image: url('p4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .card-6 {
    grid-area: six;
    background-image: url('p5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  .card-7 {
    grid-area: seven;
    background-image: url('p6.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .card-8 {
    grid-area: eight;
    background-image: url('p7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .card-9 {
    grid-area: nine;
    background-image: url('p8.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .card-subhead {
    font-weight: 600;
    font-size: 17px; 
    margin-bottom: 0;
    padding-left: 48px;
    pointer-events: none;
    color: black;
  }
  
  .card-header {
    letter-spacing: 5px;
    font-weight: 700;
    font-size: 23px;
    margin-top: 8px;
    padding-left: 48px;
    margin-bottom: 1.3em;
    pointer-events: none;
    color: white;
    text-shadow: 
    -2px -2px 0 rgb(248, 176, 192), 
     2px -2px 0 rgb(248, 176, 192), 
    -2px  2px 0 rgb(248, 176, 192), 
     2px  2px 0 rgb(248, 176, 192), 
     2px  0px 0 rgb(248, 176, 192), 
    -2px  0px 0 rgb(248, 176, 192), 
     0px  2px 0 rgb(248, 176, 192), 
     0px -2px 0 rgb(248, 176, 192);
  -webkit-font-smoothing: antialiased;
  }
  
  footer {
    text-align: center;
    color: var(--dark);
    font-size: 20px;
    margin: 2em;
  }
  
  @media screen and (max-width: 500px) {
    header a {
      margin-left: 0em;
    }
  }
  
  @media screen and (max-width: 799px) {
    .work-grid {
      grid-template-columns: 1fr;
      grid-auto-rows: minmax(340px, auto);
      row-gap: 4em;
      margin-right: auto;
      margin-left: auto;
      grid-template-areas:
        "one"
        "two"
        "three"
        "four"
        "five"
        "six"
        "seven"
        "eight";
    }
  }
  
  @media screen and (min-width: 800px) and (max-width: 1260px) {
    .work-grid {
      grid-template-columns: 1fr 2fr 2fr 2fr 1fr;
      grid-auto-rows: minmax(340px, auto);
      margin-right: auto;
      margin-left: auto;
      grid-template-areas:
        "one one one . ."
        ". . two two two"
        "three three three . ."
        ". . four four four"
        "five five five . ."
        ". . six six six"
        "seven seven seven . .";
    }
  }
  
  