* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

body{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}
img{
    margin: 0 0;
    width: 100%;
}

nav{
    display: grid;
    grid-template-rows: 1fr 1fr;
    row-gap: 0px;
    align-content: stretch;
    justify-items: stretch;
    position: relative;
    max-width: 1240px;
    margin: 0rem 5rem;
}
a{
    text-align: center;
    font-size: 25px;
    text-decoration: none;
    color: white;
    font-family: "League Spartan", sans-serif;
}

nav figure{
    margin-top: 40px;
    position: relative;
}

/*nth-of-type(even) targets the even images or elements in parent element*/
nav figure img:nth-of-type(even){
    position: absolute;
    left: 0;
    filter: blur(10px);
}

nav figure img:nth-of-type(even):hover{
    filter: blur(0px);
    transition: .5s;
}

h1{
  margin: 2rem 2rem;  
  margin-top: 100px;
  margin-bottom: 50px;
  font-family: "Bodoni Moda SC", serif;
  font-size: 50px; 
  color: white; 
  text-align: center;
  justify-self: center;
}

@media screen and (min-width: 1000px){
    
    nav{
        grid-template-rows: 0fr;
        grid-template-columns: 1fr 1fr;
        column-gap: 60px;
        margin: 2rem auto;
    }
    
    h1{
        margin-top: 150px;
        margin-bottom: 80px;
        font-size: 100px;
    }


    h3{
        color: white;
        font-family: "League Spartan", sans-serif;
    }
}