* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*PROJECTS HEADER*/
/*.projects-header-container {
    width: 80%;
    margin-left: 50%;
    margin-top: 3%;
    transform: translate(-50%, -10%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.projects-header-container > a {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #111;
    text-decoration: none;
    transition: .3s ease-out;
}

.projects-header-container a:hover {
    color: orange
}*/

/*Header logo and menu button*/
a {
    text-decoration: none !important;
}

#header {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    z-index: 1;
}

.logo-container > h1  {
    color: #000;
}

/*Projects Menu Button*/
/*MENU BUTTON*/
.menu-button {
    position: absolute;
    top: 80px;
    right: 0;
    transform: translate(-150%, -50%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 20;
    width: 80px;
    height: 30px;
    display: block;
    cursor: pointer;
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30px;
    display: block;
    transition: .5s ease-in;
}

.menu-button::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 60px;
    display: block;
    transition: .5s ease-in;
}

body.menu-button-active .menu-button::after,  body.menu-button-active .menu-button::before{
    width: 20px;
    height: 20px;
    background-color: #111;
    z-index: 20;
    display: block;
    position: absolute;
    top: 20%;
}

body.menu-button-active .menu-button::after {
    width: 40px;
    height: 10px;
    transform: translate(-50%, 50%) rotate(45deg);
}

body.menu-button-active .menu-button::before {
    width: 40px;
    height: 10px;
    transform: translate(25%, 50%) rotate(135deg);
}

body.menu-button-active span {
    transform: translateX(50%);
}

body:not(.menu-button-active) .menu-button::after, body:not(.menu-button-active) .menu-button::before, body:not(.menu-button-active) .menu-button span{
    width: 20px;
    height: 20px;
    background-color: #efbc31;
    z-index: 20;
    display: block;
    position: absolute;
    top: 20%;
    transition: .5s ease-in;
}

/*PROJECTS CONTAINER*/
.projects-container {
    width: 80%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -20%);
}

.single-project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

.single-project-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s linear;
}

.single-project-container h1 {
    font-family: sans-serif;
    color: #eee;
    position: absolute;
    bottom: 3%;
    left: 3%;
    opacity: 0;
    transition: .2s ease-in;
}

.single-project-container:hover img {
    filter:brightness(50%);
}
.single-project-container:hover h1 {
    opacity: 100;
}