html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-y: auto; /* Enables vertical scrolling */
  height: auto; /* Ensures page can expand */
}


.Motion{
    width: 100vw;
    min-height: 90vh;
    background-color: rgb(29, 224, 207);
    margin: 0;
    padding-top: 0;
}

.ContainerA{
    background-color: azure;
    width: 100vw;
    margin: none;
    padding: none;
}

nav {
  position: sticky;  /* Enables stickiness */
  top: 0;  /* Sticks it to the top */
  width: 100%;  /* Ensures full width */
  height: 10vh;
  background-color: rgb(12, 14, 20);
  color: rgb(248, 248, 248);
  font-family: "Thunder-ExtraBoldLC", "Franklin-Gothic", sans-serif;
  z-index: 1000; /* Keeps it above other elements */
}

nav img{
  padding-top: 30%;
}

nav h2{
  padding-right: 30pt;
  font-size: 30pt;
  z-index: 1300;
  float: right;
  position: relative;
  top: -30px;
}

#p5-canvas-container {


  display: flex;
  width: 100%;
  min-height: 800px; /* Instead of fixed height */
  overflow: hidden; /* Allow content to expand */
}

@font-face {
  font-family: "Thunder-ExtraBoldLC", "Franklin-Gothic", sans-serif;
  src: url("path/Thunder-ExtraBoldLC.otf") format("opentype");
}

footer{
  height: 40px;
  width: 100%;
  background-color: rgb(12, 14, 20);
  color: grey;
  font-size: 10pt;
}

footer p{
  padding-right: 25px;
  padding-top: 5px;
  float: right;
}

  .p5c {
    display:flex;
    align-items: center;
    justify-content: center;
    margin: auto;
  }

  .p5{
    z-index: -100;
    display:flex;
    overflow: hidden;

  }
 /*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

body
{
  margin: 0;
  padding: 0;
  
  /* make it look decent enough */
  background: #232323;
  color: rgb(248,248,248);
  font-family: "Avenir Next", "Avenir", sans-serif;
}

#menuToggle {
  display: block;
  padding-top: 20px;
  top: 0;
  left: 50px;
  margin-left: 40px;
  z-index: 1100; /* Ensures it stays above other elements */
}



#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: rgb(93, 74, 226);
}


#menuToggle input {
  margin-left: 40px;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 1200; /* Ensure it's above everything */
}


/*
 * Just a quick hamburger
 */
 #menuToggle span
 {
   display: block;
   width: 33px;
   height: 4px;
   margin-bottom: 5px;
   position: relative;
   
   background: rgb(248,248,248);
   border-radius: 3px;
   
   z-index: 1;
   
   transform-origin: 4px 0px;
   
   transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               opacity 0.55s ease;
 }

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: rgb(12, 14, 20);
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 130px;
  height: 100vh;
  
  background: rgb(248, 248, 248);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 50px 0;
  font-size: 60px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

.logo{
  max-width: 10%;
  float: right;
}


/*-------SENIOR PAGE ------------*/

.seniors {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  }

  .grid-cell-1 {
    display: flex;
    flex-wrap: wrap;
    border: solid 1.5px rgb(248, 248, 248);
    padding-top: 10px;
    padding-bottom: 10px;
    padding: 15px;
    overflow-y: hidden;
  }

  .grid-cell-1:hover {

    border: solid 4px rgb(248, 248, 248);

    

  }

  .grid-cell-1 img{
    width: 90%;
  }

.A{
    width: 100%;
    height: 70%;
  }

  .B{
    width: 100%;
  }

  .grid-cell-1 h2{
    position: relative;
    bottom: 20px;
    font-family: "adelle-sans", sans-serif;
    font-size: 10pt;
    position: relative;
   top: 20px;
    color: rgb(248, 248, 248);
  }

  .containerS {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Flexible grid */
    grid-auto-rows: 400px;
    text-align: center;
    color: black;

  }
  
  .grid-cell-H {
    padding: 25px;
    border-radius: 6px;
    grid-column: 1 / -1; /* Stretches across all columns */
    grid-row: 1 / 2;
  }

  #pcolor{
    background-color: rgb(237, 111, 244);
  }

  #gcolor{
    background-color: rgb(29, 224, 207);
  }

  #bcolor{
    background-color: rgb(93, 74, 226);
  }

  #p5-canvas-container{
    display: flex;
  }

  .grid-cell-H h1{
    padding-top: 2%;
    color: rgb(248, 248, 248);
    font-family: "Thunder-ExtraBoldLC", "Franklin-Gothic", sans-serif;
    font-size: 90pt;
  }
  
  /* Media Queries */
  @media (max-width: 1024px) {
   
    .grid-cell-H h1{
      font-size: 70pt;
    }
  }
  

  @media (max-width: 800px) {
    .containerS {
      grid-template-columns: 1fr; /* Only 1 column */
    }

    .grid-cell-H h1{
      font-size: 40pt;
    }

    #menuToggle span{
      width: 66px;
      height: 8px;
      margin-bottom: 10px;
    }

  }

  @media (max-width: 100px) {
    .containerS {
      grid-template-columns: 1fr; /* Only 1 column */
    }
  }

  .Seniorback{
    background-color: rgb(12, 14, 20);
  }
  
  .grid-cell-1 img {
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));

  }