* {
  box-sizing: border-box;
  margin: none;
  overflow-x: none;
}

h1{
  font-weight: 300;
}
h2, p{
  font-weight: 400;
}

body {
  width: 100%;
  height: 100%;  
  margin: 0;  
  background-color: #000000;
  background-image: url(images/DSC08095.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  color: #ffffff;
  text-shadow: 0 0.01rem 0.25rem rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 10rem 5em rgba(0, 0, 0, 0.9) inset;
  overflow:auto;
  font-family: 'Quicksand', sans-serif;
}

.gallery{
  margin:10vh auto;
  width:75%;
  height:75%;
  overflow-y:auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 25%;
  max-width: 50%;
  padding: 0 4px;
}

.column img {
  position:relative;
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  z-index:10;
  transition: filter 0.5s;
}

.column img:hover{
  filter: contrast(150%) brightness(125%);
}

.popup {
  display: none;
  position: fixed; 
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
}
.popup-img {
  margin: auto;
  display: block;
  max-width: 75%;
  max-height:90%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor:pointer;
  transition: 0.3s;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

.bg1, .bg2{
  width: 100%;
  height: 100%;  
  margin: 0;  
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position:absolute;
  transition: opacity 3s, filter 1.5s;
}
.bg1{
  z-index: -1;
  background-image: url(images/DSC08095.jpg);
}
.bg2{
  z-index: -2;
  background-image: url(images/DSC01397.jpg);
}

.fas {
  color: #cfdfdf;
  font-size: 50px;
}

header {
  color: #cfdfdf;
  width:100%;
  height: 100px;
  margin-top: 25px;
  display:flex;
  justify-content: space-between;
}

header a{
  text-decoration: none;
  color: #cfdfdf;
  margin: 0 15px;
  color: #cfdfdf;
}

.burger{
  position:absolute;
  display: none;
  margin: 20px 0 0 50px;
  z-index:10;
  cursor: pointer;
}

.fas{
  font-size:1.35em;
}

.navbar{
  position:absolute;
  width:100%;
  height:50px;
  padding-left: 20%;
  opacity: 0.5;
  color: #cfdfdf;
  transition: opacity .5s;
}
.navbar:hover{
  opacity:1;
}

.nav-link {
  position:absolute;
  left:0;
  opacity: 0;
  width: 100%;
  height:50px;
  padding-left: 30%;
  margin: 0;
  color: #cfdfdf;
  transition: opacity .5s;
}
.nav-link:hover{
  opacity:0.8;
}

.nav-link a{
  transition: color 1.5s;
}

.nav-link a:hover,
.icon:hover {
  color: cyan;
  opacity: 1;
}

.icon {
  opacity:0.8;
  color: #cfdfdf;
  transition: color 1.5s, opacity 1.5s;
}

.mobile-links{
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index:2;
  margin: auto;
  top: -50px;
  padding: 75px 0 50px;
  text-align: center;
  line-height: 1.75em;
  width: 100%;
  background-color: rgb(0,0,0,0.75);
  transition: top 0.5s ease-in-out;
}

.hero_bg{
  position:absolute;
  right:11%;
  top: 33%;
  width:600px;
  height:350px;
  border-radius: 50px;
  background: #000000;
  background: -webkit-radial-gradient(center, rgb(0,0,0,0.8), rgb(0,0,0,0));
  background: -moz-radial-gradient(center, rgb(0,0,0,0.8), rgb(0,0,0,0));
  background: radial-gradient(ellipse at center, rgb(0,0,0,.8), rgb(0,0,0,0));
  filter: blur(40px);
  -webkit-filter: blur(40px);
}
.hero{
  position:absolute;
  right:18%;
  top: 45%;
  color: #dfdfdf;
  letter-spacing: 4px;
  line-height:1em;
  text-align: right;
  text-shadow: 0px 0px 2px black;
}

.hero h1{
  font-size:2.5em;
}

@supports ((-webkit-backdrop-filter: blur(2em)) or (backdrop-filter: blur(2em))) {

}
.cover-container {
  max-width: 80em;
}

.cover {
  padding: 0 1.5rem;
  color: #dfdfdf;
  letter-spacing: 4px;
  --display: none;
}

.contact,.resume {
  --display: none;
  list-style-type: none;
  width: 80%;
  height: 720px;
  overflow: auto;
  font-size: 14px;
  padding: 0 1.5rem;
  color: #dfdfdf;
  letter-spacing: 4px;
  background-color: rgba(0, 0, 0, 0.6);
  --box-shadow: 0 0 1rem 1rem rgba(0, 0, 0, 0.5);
}

footer {
  font-size: 12px;
  color: #afafaf;
  position:absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

footer a{
  text-decoration: none;
  color: #dfdfdf;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px gray;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

@media (max-width: 1100px) {

}

@media (max-width: 800px) {
  body{
    box-shadow: 0px 0px 5rem 2em rgba(0, 0, 0, 0.9) inset;
  }

  .burger{
    display: inline-block;
  }

  .navbar{
    display: none;
  }

  .hero{
    right:50px;
  }

  .hero_bg{
    right:0;
    width: 400px;
  }

  .hero p{
    font-size:1.25em;
    letter-spacing: 2px;
  }

  .popup-img{
    max-width: 100%;
  }

  footer{
    font-size: 8px;
  }
}

@media (max-width: 600px) {
  .burger{
    margin: 10px 0 0 30px;
  }

  .hero_bg{
    top:25%;
    width: 60%;
    height:200px;
  }
  .hero{
    top: 35%;
    right:0px;
    width:50%;
    margin:auto;
    text-align: center;
    font-size: 0.45em;
    padding:0 5px 0 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .popup{
    padding-top:30%;
  }
}