@import url('https://fonts.googleapis.com/css2?family=Alata&family=Josefin+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Signika:wght@500&display=swap');

*{
  margin: 0;padding: 0;
  box-sizing: border-box;
}
.container{
  width: 80%;
  margin: auto;
}
section{
  min-height: 100vh;
}
body{
  font-family: Alata, sans-serif;
}

/* header */
header{
  padding-top: 50px;
  z-index: 10;
}
header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo{
  font-weight: 700;
  text-decoration: none;
  color: white;
  font-family: Signika;
  letter-spacing: 1px;
  font-size: 1.6rem;
  z-index: 9;
}
#hamburger-menu{
  display: none;
}
nav{
  display: flex;
  justify-content: space-between;
}
.nav-link{
  font-size: 1.1rem;
  padding-bottom: 4px;
  text-decoration: none;
  color: white;
  margin-left: 20px;
}
.show{
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  background-color: rgb(34, 34, 34);
  position: absolute;
}
/* end header */

/* landing page */
#landing-page{
  margin-top: -90px;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.4)), url(images/desktop/image-hero.jpg);
  background-size: cover;
}
#landing-page-title{
  font-weight: 400;
  padding: 20px;
  font-family: Josefin Sans;
  font-size: 10vh;
  text-transform: uppercase;
  color: white;
  position: absolute;
  /* bottom: 30%; */
  display: inline-block;
  border: 2px solid white;
  margin-top: 200px;
}
/* end landing page */

/* content */
#content .container{
  padding: 100px 0;
}
.content-group{
  display: flex;
  align-items: flex-end;
}
.content-img{
  display: inline-block;
}
.content-img-mobile{
  display: none;
}
.content-card-group{
  display: inline-block;
  margin-left: -170px;
  margin-top: -70px;
  background-color: white;
  padding: 100px 0 0 100px;
}
.whole-title{
  text-transform: uppercase;
  font-size: 3vw;
  font-weight: 300;
  font-family: Josefin sans, sans serif;
}
.whole-paragraph{
  margin-top: 20px;
  font-size: .9rem;
  line-height: 1.7;
  color: #555;
}
/* end content */

/* creations */
#creations .container{
  padding-bottom: 100px;
}
.creations-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.creations-btn{
  display: block;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .2rem;
  border: 2px solid #333;
  color: #333;
  padding: 10px 30px;
  text-transform: uppercase;
}
.creations-btn-mobile{
  display: none;
}
.creations-card{
  height: 70vh;
  width: 250px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  position: relative;
  transition: .3s ease-in-out;
}
.creations-card:hover{
  opacity: .65;
}
.creations-card-group{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.creations-title{
  color: white;
  text-transform: uppercase;
  font-family: Josefin sans;
  font-size: 2rem;
  position: absolute;
  bottom: 25px;
  left: 25px;
}
.deep-earth{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-deep-earth.jpg);
}
.night-arcade{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-night-arcade.jpg);
}
.soccer-team{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-soccer-team.jpg);
}
.the-grid{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-grid.jpg);
}
.from-up{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-from-above.jpg);
}
.pocket{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-pocket-borealis.jpg);
}
.curiosity{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-curiosity.jpg);
}
.fisheye{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0,0,0,.1)), url(images/desktop/image-fisheye.jpg);
}
/* end creations */

/* footer */
footer{
  background: #111;
  padding: 40px 0;
}
.footer-group{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .nav-link{
  margin-left: 0;
  margin-right: 10px;
}
footer .nav-link:hover{
  border: none;
  color: rgb(121, 121, 121);
}
.useful-links{
  text-align: right;
}
.footer-social-media-group, footer .logo{
  margin-bottom: 1.5rem;
  display: inline-block;
}
.social-media{
  margin: 0 5px;
}
#copyright{
  color: hsl(0, 0%, 55%);
}
/* end footer */

.attribution { font-size: 11px; text-align: center; color: azure;}
.attribution a { color: hsl(228, 53%, 64%); }


/* media queries */
@media screen and (max-width: 768px){
  body{
    max-width: 100vw;
  }
  section{
    min-height: 100vh;
  }
  /* header */
  #hamburger-menu{
    display: block;
    z-index: 10;
  }
  nav{
    display: none;
  }
  .nav-link{
    font-size: 2rem;
  }
  .nav-link:hover{
    color: rgb(151, 151, 151);
  }
  /* end header */

  /* landing page */
  #landing-page{
    background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.1)), url(images/mobile/image-hero.jpg);
    background-position: center;
    background-size: cover;
  }
  #landing-page-title{
    position: inherit;
    max-width: 100vw;
    font-size: 10vw;
    padding: 20px;
    line-height: 1.3;
  }
  /* end landing page */

  /* content */
  #content .container{
    padding: 100px 0;
  }
  .content-group{
    flex-direction: column;
  }
  
  .content-img-mobile{
    display: block;
    width: 100%;
  }
  .content-img-desktop{
    display: none;
  }
  .content-card-group{
    margin: 50px 0 0 0;
    padding: 0;
    text-align: center;
  }
  .whole-paragraph{
    font-size: 1rem;
    line-height: 1.8;
    color: hsl(0, 1%, 32%);
  }
  /* end content */

  /* creations */
  #creations{
    margin-bottom: 100px;
  }
  #creations .container{
    padding-bottom: 0;
  }
  .creations-btn-desktop{
    display: none;
  }
  .creations-btn-mobile{
    display: inline-block;
    padding: 10px 50px;
  }
  .creations-header{
    text-align: center;
    justify-content: center;
  }
  .whole-title{
    font-size: 2rem;
  }
  .creations-card{
    height: 120px;
    width: 100%;
    background-size: 10px;
    background-position: top;
  }
  .creations-title{
    font-size: 1.4rem;
    width: 50%;
  }
  .deep-earth{
    background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0,0,0,.1)), url(images/mobile/image-deep-earth.jpg);
  }
  .night-arcade{
    background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0,0,0,.1)), url(images/mobile/image-night-arcade.jpg);
  }
  .soccer-team{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-soccer-team.jpg);
  }
  .the-grid{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-grid.jpg);
  }
  .from-up{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-from-above.jpg);
  }
  .pocket{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-pocket-borealis.jpg);
  }
  .curiosity{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-curiosity.jpg);
  }
  .fisheye{
    background: linear-gradient(to right, rgba(0, 0, 0,.5), rgba(0,0,0,.1)), url(images/mobile/image-fisheye.jpg);
  }
  /* end creations */

  /* footer */
  footer nav{
    display: flex;
    flex-direction: column;
  }
  footer .nav-link{
    margin-top: 10px;
    margin-left: 30px;
    padding-bottom: 4px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
  }
  .footer-group{
    flex-direction: column;
    text-align: center;
  }
  .useful-links{
    text-align: center;
    margin-top: 30px;
  }
  #copyright{
    font-size: 14px;
  }
  .attribution { font-size: 11px; text-align: center; margin-top: 15px;}
  .attribution a { color: hsl(228, 45%, 44%); }
  /* end footer */
}
/* end media queries */