@import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light+Two|Titillium+Web');
@import url("https://use.typekit.net/mgn2tqb.css");

body{
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  margin:0;
}

header{
  background: #E7E8E9;
  width: 100%;
}

header img{
  width: 100%;
}

nav {
  background-color: #319387;
  width: 100%;
  padding: 2px;
  display: flex;
  position: sticky;
  top: -2px;
  z-index: 1;
  flex-wrap: wrap;
}

nav a{
  text-decoration: none;
}

ul {
  display: flex;
	list-style: none;
  margin: auto;
  padding: 15px;
}

li {
	color: #fff;
  padding: 0 3rem;
  font-size: 1.3rem;
	position: relative;
	text-decoration: none;
  transition-duration: 0.5s;
}

li a {
  color: #fff;
}

li a:hover {
	cursor: pointer;
  border-bottom:4px solid #E7E8E9;
  padding-bottom:2px;
}

ul li ul {
	background: #319387;
	visibility: hidden;
  opacity: 0;
	position: absolute;
  transition: all 0.5s ease;
	left: 0;
  display: none;
  padding: 0;
  width: 135%;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
}

ul li ul li {
	clear: both;
  width: 100%;
}

.dropdown li{
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: .7em;
}

h1{
  font-family: "sax-mono",monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2em;
  text-align: center;
  padding-top: 3rem;
}

#polaroids{
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

#polaroids a{
  z-index: -1;
}

.polaroid-wrapper a{
  text-decoration: none;
  color: #000;
}

footer{
  display: flex;
  background-color: #E7E8E9;
  width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 1rem;
  justify-content: center;
  align-items: center;
  text-align: left;
}

footer p{
  margin:0;
}

footer a{
  color: #319387;
}

.polaroid-wrapper{
  background-image: url(texture.png);
  font-family: 'Shadows Into Light Two', cursive;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-size: 1.2em;
  min-width: 18.1875em;
  max-width: 18.625em;
  margin: 15px;
  padding:1.35em 1.35em 0 1.35em;
}

.polaroid-wrapper:nth-child(odd){
  transform: rotate(3deg);
  transition: 2s;
}

.polaroid-wrapper:nth-child(even){
  transform: rotate(-3deg);
  transition: 2s;
}

.polaroid-wrapper:nth-child(even):hover{
  transform: rotate(0deg);
  transition: .7s;
}

.polaroid-wrapper:nth-child(odd):hover{
  transform: rotate(0deg);
  transition: .7s;
}

.polaroid1{
  left: 20px;
  top: 50px;
}


.polaroid-content{
  display: flex;
  text-align: center;
  flex-direction: column;
}

.polaroid-image{
  width:100%;
}

.content{
  display: flex;
  text-align: right;
  justify-content: space-between;
}

.content p:nth-child(1){
  width: 60%;
  margin-top:6px;
  text-align: left;
  font-size: 1.6em;
  transform: rotate(350deg);
  letter-spacing: .001em;
}

.introduction .content p{
  width: 100%;
  font-size: 1.2em;
  transform: rotate(360deg);
  text-align: center;
}

.cover{
  margin: 0 auto;
  text-align: center;
  margin-bottom: 0;
}

.cover img{
  width: 100%;
}

#acknowledgements{
  max-width: 800px;
  min-height: 70vh;
  margin: 0 auto;
}

@media screen and (min-width: 480px) {
figure {
    max-width: 200px;
    height: 300px;
    margin: 10px 20px
    }
}
