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

html {
    scroll-behavior: smooth;
}

nav {
  position: relative;
}
/* 
nav a:visited {
  color: gainsboro;
} */

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
    line-height: 44px;
    color: rgb(172, 178, 255);
    background-color: rgb(44, 42, 28);

    background-repeat: no-repeat;
    background-size: cover;
}

header{
    width: 100%;
    height: 500px;
    padding: 20px;
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin-right: 150px;
    }

.navbar ul {
  list-style-type: none;
  background-color: rgb(146, 213, 120);
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  }


.navbar a {

  text-decoration: none;
  padding: 10px;
  display: block;
}

.navbar a:hover {
  background-color: white;
  color: black;
}

.navbar li {
  float: left;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 100%;
    grid-gap: 20px;}

#banner{
    background-image: url(../img/pexelsimg.jpg);
    width: 100%;
    height:95vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    margin-top: -15px;
}


main, footer {
    padding: 20px;
    color: black;
}

main article p {
    max width: 60ch;
    color: black;
}

main{
    background-color: rgb(146, 213, 120);
}
footer{
    background-color: rgb(154, 154, 154);
}





  .logo{
    display: inline-block;
    padding-top: 10px;
  }
  

  main article h1 {
    text-align: center;
    margin-bottom: 50px;
  }

  main article p {
    margin: 0 auto;
    position: relative;
    max-width: 40ch;
    text-align: center;
  }

  figcaption {
    position: relative;
    text-align: center;
  }

  main article h2 {
    text-align: center;
    margin-bottom: 50px;
  }

  main article figure {
    position: relative;
    margin: 0 auto;
    align-items: center;
  }



  main article a {
    position: relative;
    margin: 0 auto;
    align-items: center;
  }

  footer {
    text-align: center;
  }

  .contact {
    text-align: center;
    padding: 20px;
    background-color: black;
  }

  


    header,
    #banner,
    main,
    footer {
      /* max-width: 1440px; */
  
      /* box-shadow: 12px 12px 20px #00000063; */
      /* 
      position: relative;
      margin: 0 auto; */
  
  
    }
  

    @media screen and (max-width:487px) {
      nav {
        font-size: 30px;
        left: 0px;
      }
  
      header {
        height: 140px;
      }
  
      /* body{
          scale: 0.5;
          transform-origin: center top;
      } */
  
    }

    /* design mobile first otherwise media queries should be big to small */