@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:400,700&display=swap');
/* CSS Document */

html {
  background-image: url("images/background_optimized.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

html:before {
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(217, 78, 115, 0.6), rgba(53, 87, 166, 0.5), rgba(191, 78, 131, 0.75), rgba(53, 87, 166, 0.9));
  background-size: 400% 400%;
  animation: gradient 20s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.parent {
  display: grid;
  grid-template-columns: repeat(1,1fr);
  padding: 20px;
  color: #ffffff;
  font-family: 'Josefin Sans', 'Arial', 'Helvetica', 'sans-serif';
  font-size: 18px;
  font-weight: 400;
}

.header {
  font-family: 'Josefin Sans', 'Arial', 'Helvetica', 'sans-serif';
  font-weight: 700;
  display: grid;
  grid-column-start: span 3; 
  text-align: center;
  align-content: center;
  justify-content: center;
  margin: 10px;
}

h2 {
  font-weight: 400;
  font-style: italic;
}

h1, h2 {
  margin: 2px;
}

#square-icon {
  margin-bottom: 4px;
}


.main {
  font-weight: 400;
  font-size: 16px;
  margin: 24px;
}

.main h3 {
  background-color: #BF5AA4;
  font-weight: 700;
  font-size: 24px;
  padding-bottom: 0;
}

nav ul {
	list-style-type: none;
 	padding: 10px;
 	font-size: 16px;
	background-color: #616BB2;
	border-radius: 6px;
}

a {
  font-size: 18px;
  text-decoration: none;
}

a:link {
  color: #ffffff;
}

a:hover {
  background-color: #D94E73;
  
 }

a:visited {
  color: silver;
}

.footer {
  grid-column-end: span 2;  
  font-size: 12px;
  font-family: 'Josefin Sans', 'Arial', 'Helvetica', 'sans-serif';
  color: white;
}

@media only screen and (min-width: 641px) {
  .parent {
    display: grid;
    grid-template-columns: repeat(1,1fr);
  }
}

@media only screen and (min-width: 1025px) {
  .parent {
    grid-template-columns: repeat(1,1fr);
  }
}