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

header{
    background-color: darkseagreen;
}

li{
    list-style: none;
}

a{
    color: white;
    text-decoration: none;
}

.navbar{
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.nav-branding{
    font-size: 2rem;
}

.nav-link{
    transition: 0.7s ease;
}

.nav-link:hover{
    color: seagreen;
}

.hamburger{
    display: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

@media(max-width: 768px){
    .hamburger{
       display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position:fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: darkseagreen;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item{
        margin: 16px 0;
    }

    .nav-menu.active{
        Left: 0;
    }
}

.title{
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    color: darkseagreen
}

.center{
    display: flex;
	  margin: auto;
    width: 50%;
    height: auto;
    text-align: center;
    padding: 2px;
  }

.home{
    display: flex;
    height: calc(100vh - 70px);
    width: 100%;
    padding: 2px;
  }

.box {
    display: block;
    padding: 2px;
  }

div.box img {
  height: 100%;  
  width: 100%;
  display: block;
  object-fit: contain;
  }

.text-head{
    margin: 20px;
    text-align: center;
  }

.text-sub{
    margin: 20px;
    text-align: center;
  }

div.gallery{
	width: 75vw;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
  }

div.gallery a{
	text-decoration: none;
	color: white;
	margin: 0.875vw;
  }

div.gallery div{
	position: relative;
	width: 17vw;
	height: 17vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
  }
 
div.gallery h1{
	  margin: 0 2.0vw;
	  font-size: 2.0vw;
      text-align: center;
  }

div.gallery p{
	margin: 0;
	font-size: 1.3vw;
	text-align: center;
  }

div.gallery img{
	position: absolute;
	object-fit: cover;
	width: 100%;
	height: 100%;
	z-index: -1;
  }
  
  @media(max-width: 768px){
  div.gallery {flex-direction: column; width: 100%; padding-top: 0.875vw;
    padding-bottom: 0.875vw;}
	div.gallery div {width: 96vw; height: 96vw;}
	div.gallery h1 {font-size: 10vw;}
	div.gallery p {font-size: 5vw;}
  .center {width: 80vw; height: 100vw;}
  }
  
  @media (min-aspect-ratio:5/4) and (max-aspect-ratio:7/4) {
    div.box img {object-fit: cover;}
  }

  @media (max-aspect-ratio:3/4) {
    .home {flex-direction: column;}
  }