
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  list-style: none;
}

body {
min-height: 100vh;
  background: url(images/background-gradient.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 10%;
  padding-left: 4%;
  background-attachment: fixed;
}

img {
  width: 30%; height: 30%;
}
.photos img {
  align-items: center;
  width: 500px;
  height: 500px;
  object-fit: cover;
  margin: 20px;
  justify-content: center;
  min-height: 40vh;
  border: 5px solid red;
  border-radius: 50%;
  border-style: ridge;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  position: relative;
}

.text {
  text-align: center;
  position: absolute;
  color: white;
  display: absolute;
  padding-left: 18%;
  padding-right: 20%;
  font-size: 40px;
  padding-bottom: 50px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.0rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .1);
  backdrop-filter: blur(50px);
  z-index: -1;
}

.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255 , .4)) transparent;
  transition: .5s;
  
}

.header:hover::after {
  left: 100%;
}

.navbar a {
  font-size: 1.80rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
  text-decoration: underline;
}

.navbar a:hover {
  color: red;
}

#check:checked~.navbar a {
  transform: translateY(0);
  transition-delay: calc(.15s * var(--i));
}

#check {
  display: none;
}

.icons {
  position: absolute;
  right: 5%;
  font-size: 2.5rem;
  cursor: pointer;
  color: white;
  display: none;
}

@media (max-width: 330px) {
  .header {
    padding: 1.0rem 10%;
  }
}

@media (max-width: 992px) {
  .header {
    padding: 1.0rem 10%;
  }
}
@media (max-width: 1000px) {
  .icons {
    display: inline-flex;
  }

  #check:checked~.icons #menu-icon {
    display: none;
  }

  .icons #close-icon {
    display: none;
  }

  #check:checked~.icons #close-icon {
    display: block;
  }  

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, .1)
    backdrop-filter: blur(50px);
    overflow: hidden;
  }

  #check:checked~.navbar {
    height: 17.7rem;

  }

  .navbar a {
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    transition: .3s ease;
  }

  #check:checked~.navbar a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(.15s * var(--i));
  }


