/*Mobile and Global*/
/* Main: all changing content, breadcrumbs, etc. */
/* .hamburger {
    display: block;
    width: max-content;
}

.patty {
    background: rgb(41, 41, 41);
    height: 1px;
    width: 23px;
    margin: 6px 0;
} */

.bodycontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "header"
    "content"
    "footer";
    height: 100%;
    width: 100%;
}

header {grid-area: header; width: 100%;}
main {grid-area: content; width: 100%;}
footer {grid-area: footer; width: 100%;}

.gallery {
    display: block;
    max-width: 2000px;
    margin: auto;
}

.square {
    margin-bottom: 1em;
}

.projectname {
    text-align: center;
}

.hover-card {
    display: grid;
    height: 100%;
    width: 1fr;
    position: relative;
    aspect-ratio: 1;
}

.hover-card img {
    display: grid;
    height: 100%;
    width: 100%;
  
    object-fit: cover;
    overflow: hidden;
    place-items: center;
    position: relative;
}
  
.overlay {
    display: none;
}



/*Wider than Mobile*/
@media only screen and (min-width: 481px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: .5em;
    }
}

/*Wider than Tablet*/
@media only screen and (min-width: 761px){
    /* main {
        display: grid; 
        I'm trying to make it so there's the side bar and the gallery 

    }

    ul.subnav {
        display: block;
    }

    .hamburger {
        display: none;
    }
    
    .patty {
        background: rgb(41, 41, 41);
        height: 1px;
        width: 23px;
        margin: 6px 0;
    } */
    .bodycontainer {
        display: grid;
        grid-template-columns: repeat(3,auto);
        grid-template-areas:
        "header header header"
        "content content content"
        "footer footer footer";
        background-color: rgb(30, 206, 144);
        height: 100%;
        width: 100%;
    }
    header {grid-area: header; width: 100%;}
    main {grid-area: content; width: 100%;}
    footer {grid-area: footer; width: 100%;}


    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin: auto;
    }

    .projectname {
        display: none;
    }

    .hover-card {
        display: grid;
        height: 100%;
        width: 1fr;
        position: relative;
        aspect-ratio: 1;
    }
      
    .hover-card:hover .overlay {
        opacity: .9;
    }
      
    .overlay {
        background: rgb(250, 250, 250);
        color: rgb(41, 41, 41);
        text-align: center;
        letter-spacing: 0em;
      
        display: grid;
        opacity: 0;
        place-items: center;
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        
        transition: all .2s;
    }
      
    .hover-card img {
        display: grid;
        height: 100%;
        width: 100%;
      
        object-fit: cover;
        overflow: hidden;
        place-items: center;
        position: relative;
    }
}