@charset "utf-8";

* {margin: 0;
   padding: 0;
}

/* Desktop */

h1 {font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size:28px;
	text-align:center;
	padding:30px;
	color:#000;
}

h3 {font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size:18px;
	text-align:center;
	padding:30px;
	color:#666;
}

.drop {
       background-image: url(img/Ampthill.jpg);
       background-size: cover;
	   background-repeat: no-repeat;
	   height: 100vh;
	   width: auto;
}


.top {background-color:#333;
      width: 100%;
	  height: 85px;
}
 

ul {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  padding: 20px;
  overflow: hidden;
  background-color: #333;
}

li {
  alignment-adjust:central;
  float: left;
}

li a, .dropbtn {
  background-color: transparent; /* background colour of menu bar */
  color: white;  /* text colour of item buttons on menu */
  font-family: "Courier New", Courier, monospace;
  font-weight:bold;
  font-size: 18px; /* size of the text on the menu bar */
  text-align: center;
  padding: 12px 14px;
  text-decoration:none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: gray; /* background colour of hovered item buttons on menu */
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: transparent;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  background-color: #333; /* background colour on dropdown menu */
  color: white; /* text colour on dropdown menu */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: gray;} /* highlight colour of selected item on drop down menu */

.dropdown:hover .dropdown-content {
  display: block;
}

.container{text-align:center;}
.container img{
  display:inline-block;
  width:30%;
  margin:0 1% 0 1%;
  }

.log img {
	float: left;
	padding-left: 20px;
	padding-top: 5px;
	display: inline;
	 height: 70px;
	 width: 70px;
}

	
.bbr img {
	float: left;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	display: block;
	 height: auto;
	 width: 25%;
}

.centered {
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  position: absolute;
  top: 55%;                   /* was 55% */
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 70%;
}

.centered headline {
  font-weight:bold;
  font-size:48px;
  text-align: center;
}

.centered nuts {
  font-family: Verdana, Geneva, sans-serif;
  font-style: italic;
  font-size: 20px;  
}  

.centered crap {
	font-family: Verdana, Geneva, sans-serif;
    text-style: bold;
	font-size: 20px;
} 

section {
      display: grid;
      place-items: center;
    }
	

#PhotoGrid {
  margin:10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px;
  align-content: stretch;
  width: auto;
  height:90px;
}

#PhotoGrid div {
  background: white;
  color: white;
} 

video {
  display: block;
  padding-top: 20px;
  padding-bottom:20px;
  margin-left: auto;
  margin-right: auto;
  width: 65%;
}
/* Tablets */
@media only screen and (min-width: 641px) and (max-width: 1007px) {
	
.drop {
       background-image: url(img/Ampthill.jpg);
       background-size: cover;
	   background-repeat: no-repeat;
	   height: 100vh;
	   width: auto;
}	
	
.top {background-color:#333;
      width: 100%;
	  height: 80px;
}	
	
ul {
  display: block;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  padding-left: 0px;
  overflow: hidden;
  background-color: transparent;
}

li a, .dropbtn {
  background-color: transparent; /* background colour of menu bar */
  color: white;  /* text colour of item buttons on menu */
  font-family: "Courier New", Courier, monospace;
  font-size: 14px; /* size of the text on the menu bar */
  text-align: center;
  padding: 10px 10px;
  text-decoration:none;
}

/* Centered text over Ampthill's picture */
.centered {
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  position: absolute;
  top: 80%;           /* was 50% */
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 70%;
}

.centered headline {
  font-weight:bold;
  font-size:48px;
  text-align: center;
}

.centered nuts {
  font-family: Verdana, Geneva, sans-serif;
  font-style: italic;
  font-size: 20px;  
}  

.centered crap {
	font-family: Verdana, Geneva, sans-serif;
    text-style: bold;
	font-size: 20px;
}  

.log img {
	float: left;
	padding-left: 15px;
	padding-top: 10px;
	display: inline;
	 height: 60px;
	 width: 60px;
}

#PhotoGrid {
  margin:10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px;
  align-content: stretch;
  width: auto;
  height:90px;
}


}

/* Mobile */
  @media only screen and (max-width: 640px) { 
  
.drop {
       background-image:
	   url(img/Ampthill.jpg);
       background-size: cover;
	   background-repeat: no-repeat;
	   height: 100vh;
	   width: auto;
}	  
  
.top {background-color:#333;
      width: 100%;
	  height: 65px;
}   

ul {
  display: block;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  padding-left: 0px; 
  padding-right: 0px;
  overflow: hidden;
  background-color: transparent;
  font-family: "Courier New", Courier, monospace;
  text-height: auto;
}

li a, .dropbtn {
  background-color: transparent; /* background colour of menu bar */
  color: white;  /* text colour of item buttons on menu */
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 8px; /* size of the text on the menu bar */
  text-align: center;
  padding-right:3px; /* distance between menu items */
  text-decoration:none;
}

.log img {
	float: left;
	padding-left: 5px;
	padding-top: 15px;
	display: inline;
	 height: 34px;
	 width: 34px;
}

/* Centered text over Ampthill's picture */
.centered {
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 70%;
}

.centered headline {
  font-weight:bold;
  font-size:36px;
  text-align: center;
}

.centered nuts {
  font-family: Verdana, Geneva, sans-serif;
  font-style: italic;
  font-size: 16px;  
}  

.centered crap {
	font-family: Verdana, Geneva, sans-serif;
    text-style: bold;
	font-size: 16px;
}  

#PhotoGrid {
  margin:10px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 0px;
  align-content: stretch;
  width: auto;
  height:90px;
}

}

/* Very Small Mobile */
  @media only screen and (max-width: 455px) { 
  
ul {
  display: block;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  padding-left: 0px; 
  padding-right: 0px;
  overflow: hidden;
  background-color: transparent;
  font-family: "Courier New", Courier, monospace;
  text-height: auto;
}

li a, .dropbtn {
  background-color: transparent; /* background colour of menu bar */
  color: white;  /* text colour of item buttons on menu */
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 7px; /* size of the text on the menu bar */
  text-align: center;
  padding-right:3px; /* distance between menu items */
  text-decoration:none;
}
}