@import url('https://fonts.googleapis.com/css?family=Roboto:700&display=swap');
html {
  scrollbar-color: rgba(175, 175, 175, .5) #1d1d1d;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background-color: #121212;
  height: 100%;
}

* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
a:focus {
  outline: none;
}


/* Navbar */
nav ul, nav ul li {
  margin: 0;
  padding: 0;
  display: flex;
}
nav {
  
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
}
nav ul {
  margin: 1vh 3vw;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  letter-spacing: 0.15em;
  color: #999;
  position: relative;
  margin: 0 1.2vw;
  padding: 10px;
}
nav a:hover {
  color: #ddd;
}
nav a:after {
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  background: #fff;
  transition: 0.3s;
  width: 0;
  left: 50%;
}
nav a:hover:after {
  width: 100%;
  left: 0;
}


/* Background */
#background {
  background-image: url('/images/cover_small.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  height: 100vh;
  width: 100vw;
}


/* Projects */
#projects {
  position: absolute;
  width: 100%;
  /* left: 50%;
   transform: translateX(-50%); */

  padding: 40px 10px 0;
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  justify-content: space-evenly;
  -webkit-justify-content: space-evenly;
  -moz-justify-content: space-evenly;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
}
.proj {
  width: 400px;
  background-color: #282828;
  border-radius: 10px;
  margin: 0 20px 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}
.proj img {
  width: 100%;
  height: auto;
}
.proj h3 {
  color: #E0E0E0;
  font-size: 30px;
  text-align: center;
  margin: 0;
  padding: 0 0 5px;
}

/* for project grid */
.flex-dummy {
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-style: hidden !important;
}

/* disable project */
.disable {
  filter: opacity(.1);
}
.disable:hover * {
  cursor: no-drop;
}

@media (max-width: 576px) {

}

@media (max-width: 768px) {
  .cover h1 {
    font-size: 4em;
  }
}

@media (max-width: 992px) {

}

@media (max-width: 1200px) {

}