html {height: 100%;
      overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* height: 100%; */
    background: black;
    overflow-x: hidden;
    position: relative;
    font-family: 'HelveticaNowText-Regular';
}

  
@font-face {
  font-family: 'HelveticaNowText-Regular';
  src:url('./Assets/Fonts/HelveticaNowText-Regular.ttf.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


h1, h2, p {
  font-weight: normal;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100rem;
    width: 90%;
    margin: 0 5%;
    padding: 0;
}

.page_title {
    padding: 5rem 2rem;
    margin: 0rem 0 5rem;
    text-align: center;
    color: white;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 2rem;
    /* text-shadow: 0 0 0.125em white; */

    width: calc(100% + 10%);
    background-image: url(./Assets/Headers/team-header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: multiply;

    position: relative;
}

/* .page_title::after {
    content: "";
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    background: rgba(256, 256, 256, 0.8)
} */

.grid_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 12rem, 1fr));
    /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
    gap: 1.25rem;
    width: 90%;
    max-width: 100rem;
    margin: 0 auto;
}

.stacked {
    display: grid;
}

.stacked > * {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}


.card {
    aspect-ratio: 1 / 1;
    display: grid;
    align-items: center;
    justify-items: center;
    position: relative;
}

.card_img {
    width: 100%;
    filter: grayscale(100);
    aspect-ratio: 1 / 1.5;
    object-fit: contain;
}

.back {
    z-index: 10;
    /* position: absolute; */
    bottom: 0;
    max-width: 100%;
    width: 100%;

    background: rgba(256, 256, 256, 0.4);
    backdrop-filter: blur(1rem);
    align-self: end;
    margin: 0;
    padding: 0 .5rem;
    box-shadow: 0 .25rem 1rem rgb(0 0 0 / .8);

    letter-spacing: 1px;
    color: black;
    /* font-family: Arial, Helvetica, sans-serif; */
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;

    opacity: 0;
    transform: translateY(-0%);
    transition-duration: 500ms;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card:hover .card_img {
    filter: grayscale(0);
    cursor: pointer;
}

.card:hover .back {
    transform: translateY(-50%);
    opacity: 1;
}

.about {
    color: white;
    font-size: 1.45rem;
    max-width: 75ch;
    margin: 0 0px 50px;
}


@media (max-width: 800px) {
    .about {
        color: white;
        font-size: 1.5rem;
        max-width: 40ch;
        margin: 50px 0 0px 0;
    }

    .card {
        transform: scale(0.75);
    }

    .about {
        font-size: 1.35rem;
        width: 90%;
        margin: -150px 5% 100px;
        text-align: center;
    }

    .page_title {
        margin: 0 0 15rem;
    }
}


::-webkit-scrollbar {
    width: 5px;
  
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(60, 60, 60, .7);
   
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(256, 256, 256, 0.2);
    
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(256, 256, 256, 0.6);
  }
  
 