@import url('https://fonts.googleapis.com/css?family=Oswald:300|Tangerine');

* {
  box-sizing: border-box;
}

body {
  /*color: white;*/
  background-image: url(photos/background.jpg);
  background-size: 100vw 100vh;
  font-family: 'Tangerine', cursive;
  margin: 0;
  text-align: center;
}

.horizontal-menu {
  background-color: #668AA3;
  font-family: "Oswald", sans-serif;
  margin-bottom: 7px;
  padding-bottom: 2px;
}

.horizontal-menu-item {
  font-size: calc(12px + 1vw);
  padding: 2px 1vw;
}

.horizontal-menu-item a {
  color: #FEFE87;
}

.horizontal-menu-item a:hover {
  color: #FEAD88;
}

.content {
  position: relative;
  margin: auto;
  max-width: 72vh;
  width: 70vw;
  margin-top: 9vh;
}

.photo-frame {
  background-color: white;
  box-shadow: 5px 5px 5px 0 #668AA3;
  border: 1px solid #668AA3;
  color: #668AA3;
  display: block;
  height: 79vw;
  max-height: 80vh;
  padding: 10px;
  outline: 0;
  position: absolute;
  text-align: center;
  top: 0;
  vertical-align: bottom;
  width: 100%;
}

.photo-frame img {
  display: block;
  width: 100%;
}

#map,
.photo-frame .photo {
  display: block;
  width: 100%;
  height: 39.4vw;
  max-height: 40.5vh;
}

.photo-title {
  font-size: 5vw;
  font-style: italic;
  margin-top: 1vw;
}

.photo-subtitle {
  font-size: 4vw;
  font-style: italic;
  text-align: center;
  margin-bottom: 0.5vw;
}

.photo-text {
  font-family: "Oswald", sans-serif;
  font-size: 2.5vw;
  margin-left: 0.6vw;
  padding-bottom: 1vw;
  text-align: left;
}
ul {
  margin-top: 0;
  padding-left: 20px;
}

#home .photo-title {
  font-size: 10vw;
  margin-top: 5vw;
  margin-bottom: 3vw;
}
#home .photo-text {
  font-family: 'Tangerine', cursive;
  font-size: 5vw;
  text-align: center;
}
.home-subtitle {
  font-size: 50%;
}

#home {
  transform: rotate(2deg) translate(-5px, 10px);
  z-index: 100;
}
#rsvp {
  transform: rotate(-3deg) translate(8px, -5px);
  z-index: 95;
}
#where {
  transform: rotate(4deg) translatex(2px);
  z-index: 90;
}
#schedule {
  transform: rotate(-2deg) translate(-10px, 3px);
  z-index: 85;
}
#travel {
  transform: rotate(7deg);
  z-index: 80;
}
#registry {
  transform: rotate(-5deg);
  z-index: 70;
}
#contact {
  transform: rotate(3deg);
}

.photo-tab {
  display: none;
}

#rsvp iframe {
  height: 100%;
  width: 100%;
}

@media (min-width: 950px) {

.photo-frame {
  margin-left: -3.6vw;
}

.photo-tab {
	border-top: 1px solid #668AA3;
  display: block;
	position: absolute;
	left: 100%;
	top: -1px;
  width: 5vw;
}

.photo-flag {
	border: 1px solid #668AA3;
	background-color: #668AA3;
  box-shadow: 5px 5px 5px 0 #668AA3;
	color: white;
  cursor: pointer;
  font-size: 2vw;
  left: 5vw;
  padding: 4px 8px 1px 8px;
  position: absolute;
  top: -1px;
  white-space: nowrap;
}

.photo-flag:hover {
  color: #FEAD88;
}

#rsvp .photo-tab {
  top: 72%;
}
#where .photo-tab {
  top: 20%;
}
#schedule .photo-tab {
  top: 16%;
}
#travel .photo-tab {
  top: 40%;
}
#registry .photo-tab {
  top: 65%;
}
#contact .photo-tab {
  top: 32%;
}

.horizontal-menu {
  display: none;
}

}

@media (max-width: 500px) {

.content {
  width: 89vw;
}

.photo-frame {
  height: 95vw;
}

#map,
.photo-frame .photo {
  height: 52vw;
}

}

@media (min-width: 950px) and (orientation: landscape) {
  .photo-title {
    font-size: 6vh;
    margin-top: 2vh;
  }
  .photo-subtitle {
    font-size: 3vh;
    margin-bottom: 0.5vh;
  }
  .photo-text {
    font-size: 2.5vh;
    margin-left: 3vh;
    padding-bottom: 1vh;
  }
  #home .photo-title {
    font-size: 10vh;
    margin-top: 5vh;
    margin-bottom: 3vh;
  }
  #home .photo-text {
    font-size: 6vh;
  }
  .photo-flag {
    font-size: 3vh;
  }
}

