* {
    margin: 0px;
    padding: 0px;
}

.projects {
	width: 100%;
	text-align: center;
	height: 1150px;
}

.projects h1 {
	font-family: 'Rubik', sans-serif;
	font-weight: lighter;
	font-size: 45px;
    margin-top: 5%;
    margin-bottom: 5%;
}

.projects .proj-sub {
	font-family: 'Rubik', sans-serif;
	margin-bottom: 10%;
	font-weight: lighter;
	font-size: 25px;
}

.projects .cards h3 {
	font-family: 'Rubik', sans-serif;
	font-weight: lighter;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	transition: all 300ms;
	color: #dca515;
}

.projects .cards {
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	margin-top: .2%;
	margin-bottom: .2%;
	align-items: center;
	text-align: center;
}

.projects .cards .card {
	position: relative;
	height: 350px;
	width: 25%;
	margin-left: .1%;
	margin-right: .1%;
	cursor: pointer;
	overflow: hidden;
}

.projects .cards img {
	height: 350px;
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: all 600ms;
	overflow: hidden;
}

.projects .cards .card .cover {
	height: 350px;
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(28, 25, 26, .6);
	transition: all 300ms;
}

.projects .cards .card:hover .cover {
	height: 0px;
}

.projects .cards .card:hover img {
	transform: scale(1.1) translate(-50%, -50%);
}

.projects .cards .card:hover h3 {
	opacity: 0;
}


.logo {
    position: absolute;
    top: 10px;
    left: 20px;
}

.logo img {
	height: 100px;
	margin: 0px;
	padding: 0px;
}

.hamburger {
    position: fixed;
    top: 20px;
    right: 0;
    cursor: pointer;
    z-index: 1000;
    padding: 10px 15px 5px;
  }
  .hamburger span {
    vertical-align: middle;
  }
  .hamburger .bars {
    display: block;
    position: relative;
    width: 35px;
    height: 5px;
    background-color: #000;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .hamburger .bars:before, .hamburger .bars:after {
    position: absolute;
    content: " ";
    width: 100%;
    height: 5px;
    background-color: #000;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .hamburger .bars:before {
    top: 10px;
  }
  .hamburger .bars:after {
    bottom: 10px;
  }
  
  .open .hamburger .bars {
    background-color: transparent;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .open .hamburger .bars::before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .open .hamburger .bars::after {
    bottom: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .menu {
    width: 45%;
    height: 100%;
    padding: 75px 20px 0;
    background-color: rgba(220, 165, 21, .9);
    position: fixed;
    right: -100%;
    top: 0;
    opacity: 0;
    z-index: 999;
    margin-top: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .menu a {
    color: #fff;
    font-size: 25px;
    font-family: 'Rubik', sans-serif;
	margin-bottom: 15%;
    font-weight: lighter;
    transition: all 300ms;
    text-decoration: none;
  }
  .menu a:hover {
    color: rgba(0, 0, 0, .6);
  }

  .menu ul {
      list-style-type: none;
  }

  .menu ul li {
    margin: 20px 0;
  }
  
  .open .menu {
    right: 0;
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  
  .menu:hover {
    overflow-y: auto;
  }

  ::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-thumb {
	background-color: rgba(219, 164, 21, .6);
	border-radius: 10px;
}

::-webkit-scrollbar-track {
	background-color: rgba(28, 25, 26, .6);
}

  @media screen and (max-width: 768px) {

    header .top .logo img {
		height: 50px;
	}

    .projects {
        width: 100%;
        text-align: center;
        }
    
        .projects .cards {
        width: 100%;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-direction: row;
        margin-top: .2%;
        margin-bottom: .2%;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        }
    
        .projects .cards .card {
            width: 100%;
            margin: 1%;
            height: 400px;
        }
    
        .projects .cards img {
            height: 400px;
        }
    
        .projects .cards .card .cover {
            height: 400px;
        }

        .projects h1 {
            font-family: 'Rubik', sans-serif;
            font-weight: lighter;
            font-size: 45px;
            margin-top: 30%;
            margin-bottom: 5%;
        }
    
  }