 * {  box-sizing: border-box;
}

body {
  margin: 0;
   background-color: #ffffff;
}

h1 {
	font-size: 20px;
	font-family: "Cormorant Garamond";
	}

h2 { 
	color: #FC600A;
	font-size: 16px;
	font-family: "Cormorant Garamond";
	}


	
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #091534;
}

/* Style the text inside image*/
.contain {
  position: relative;
}

.center {
  position: absolute;
  top: 30%;
  left: 30%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: lightgrey;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #064867;
  color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 500 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 500px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* Style the header */
.header {
  padding: 10px;
  height: 80px;
  text-align: center;
  background: linear-gradient(to bottom, #EFF4EC 0%, #CAD9BF 100%);
  color: #091534;
}
 

/* Create two unequal columns that floats next to each other */

.column a {
   color: #000000;
}

.column a:hover {
     color: #fc600a;
}


/* Middle column */
.column.middle {
  margin: auto;
  width: 80%;
  background-color: #ffffff;
  color: #091D34;
  float: left;
}

/* right column */
.column.side {
	margin: 1%;
	border-radius: 25px;
	background-color: #f0f5f5;
	width: 16%;
	Color:#000000;
	font-size: 90%;
    padding: 5px;
    float: left;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}
	.grid-container {
      grid-template-columns:auto auto auto auto;
       display: grid;
      grid-gap: 1px;
     background-color: #ffffff;
      padding: 5%;
      
}
      .grid-item {
      background-color:#ffffff ;
      font-size: 90%;
}
.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 5%;
    font-size: 80%;
}
	.item1 {
	 grid-area: 1/ 1/ 4/ 8;
}
	.item2 {
	grid-area: 4/ 1/ 6/ 8;
}

.pagination {
	font-size:100%;
	display: inline-block;
   }
   
.pagination a {
	color: black;
   	float:left;
   	padding: 2px 4px;
   	text-decoration: none;
   	transition: background-color .3s;
   	border: 1px solid #ddd;
   	margin: 0 3px;
   	}
   	
.pagination a.active {
   	background-color: grey;
   	color: white;
   	border: 1px solid #66b032;
   	}
   	
   	.pagination a:hover:not(.active) {background-color: #ddd;
   	}
   	.pagination a:first-child {
   	border-top-left-radius: 5px;
   	border-bottom-left-radius: 5px;
   	}
   	.pagination a:last-child {
   	border-top-right-radius: 5px;
   	border-bottom-left-radius: 5px;
   	}





/* Style the footer */
.footer {
  color: white;
  background-color: black;
  padding: 10px;
  font-size: 84%;
  text-align: center;
  }
.footer a {
	color: white;
  text-align: center;
  padding: 1px 20px;
  text-decoration: none;
}

/* Change color on hover */
.footer a:hover {
  background-color: #ddd;
  color: black;
}

.clearfix::after {
content:"";
clear: both;
display: table;
}

.notice {
	font-family: "Comic Sans MS", cursive;
	font-size: 20px;
	font-weight: bold;
	color: #FFF;
	padding: 10px;
	background-color: #C00;
	display: block;
	margin: 5px;
}




/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */

@media screen and (max-width: 500px) {

    .row {
        width: 100%;
    }

    .column.middle,
    .column.side {
        width: 100% !important;
        float: none !important;
        display: block !important;
        box-sizing: border-box;
    }

    .grid-container {
        width: 100%;
        grid-template-columns: 1fr;
        box-sizing: border-box;
    }

}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 500px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  
    h1 {
    font-size: 5vw;
  }
  
  .column.side.img {
  width: 50%;
  }
 } 
