.hamburger {
  display: flex;
  align-items: center;
}

.icon {
  position:relative;
  display: block;
  cursor: pointer;
}

.container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

nav.menu {
  list-style-type: none;
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  width: 40%;
  background-color: #333;
  padding: 1rem;
  z-index:3;
}

nav.menu ul {
  list-style-type: none;
  padding-left: 0;  
}

nav.menu li {
  margin-bottom: 0.5rem;
}

nav.menu li a {
  color: #fff;
  text-decoration: none;
}

nav.menu li > .dropdown {
  overflow: hidden;
}

nav.menu li > .dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

nav.menu  a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: red;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}




.widenav {
  display:none;	
}



.squareImg {
    float: none;
    width: 90%;
    margin: 20px auto 0 auto;
    padding-bottom: 90%;
  }
  



.indexFlex {

    padding-left: 0;
    padding-right: 0;
  }

.flexRow {
	display: flex;
	    flex-direction: column;
    max-width: 70%;
    margin: 0 auto;
  }
  
  .flexRow > a {
  width:100%; 
  position: relative;
  box-sizing: border-box;
    aspect-ratio: 1/1; /* Ensures the box has height */
  display: block;     /* Ensures <a> is a block element */
  overflow: hidden;
  text-decoration: none; /* Removes underline from link */
}

/* Styles for image and header inside 'a' */
.flexRow > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}
.flexRow> a > h1 {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 32px #fff;
  text-align: center;
  pointer-events: none;
  margin: 0;
}
