*{
	box-sizing: border-box;
}

html{
	background-color: #f0f4f5;
	background-image: url(media/layout/bg.jpg); background-repeat: repeat; background-size: 200px;
	font-family: Verdana, sans-serif;
}
/*TEXT ELEMENTS*/
h1{
	color: #fff;
	font-size: 36pt;
}

h2{
	color: #db6980;
	text-align: center;
}
h3{
  color: #db6980;
	text-align: center;
	font-size:22px;
	font-weight:normal;
}

p{
	text-align: center;
	font-size: 17px;
	text-indent: 30px;
}

a{
	text-decoration: none;
	color: #db6980;
	font-size: 18px;
	text-align: center;
}
a:hover{
	color: #a63562;
}
ul{
	list-style: none;
	font-size: 18px;
}

li{
	margin-bottom: 15px;
}
/*END TEXT ELEMENTS*/

/*HEADER LAYOUT*/
.head{
	text-align: center;

	
}
nav{
	display: flex;
	flex-direction: row;
	justify-content: center;

	
}

.navlink{
	padding:10px;
	margin:10px;
	font-size: 18px;
	background-color: #0a2e38;	
	border:1px solid #db6980;
	border-radius: 8px;
	box-shadow: 2px 10px 10px #0a2e38;
}
/* END HEADER LAYOUT*/

/*RESPONSIVE IMAGE GRID STOLEN FROM W3SCHOOLS EVERYONE SAY THANK YOU W3SCHOOLS*/
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
  margin-top: 20px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 30%;
  max-width: 30%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
/*LITERALLY DRAGGED THE FUCK OVER NO CHANGES... END RESPONSIVE LAYOUT*/

/*IMAGE MODAL (CREDIT TO snowMonkey ON JSFIDDLE)*/
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {border:4px solid #4a57b5;}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
/*END MODAL*/