@import url("https://fonts.googleapis.com/css?family=Playfair+Display:900");
@import url("https://fonts.googleapis.com/css?family=Montserrat:500,700|Playfair+Display:900");
*,
*:before,
*:after {
  box-sizing: inherit;
}

/**
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

body {
  background: #ECEFFF url(https://public-619e3.firebaseapp.com/dock-of-the-bay/texture.png) repeat;
  color: #071A2D;
  font-family: "Montserrat", sans-serif;
}

a {
  color: #C1A367;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: #ae8c47;
}
a:focus {
  outline: none;
}
a:active, a:focus {
  color: #ae8c47;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

.hidden {
  display: none !important;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  transition: fill 0.3s ease-in-out;
}
a .icon {
  fill: #C1A367;
}
a:hover .icon {
  fill: #ae8c47;
}

.container {
  max-width: 80em;
  margin: 0 auto;
  padding: 1em;
}

@media (min-width: 40em) {
  .media {
    display: flex;
    align-items: center;
    flex-direction: row;
  }
}

@media (min-width: 40em) {
  .media__item {
    flex: 4 0 0%;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .media__item {
    position: relative;
    height: 0;
    width: 100%;
    padding: 0 0 50%;
  }
}
.media__item svg {
  padding: 1em 0;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .media__item svg {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
  }
}

.media__body {
  text-align: center;
}
@media (min-width: 40em) {
  .media__body {
    flex: 2 0 0%;
    padding: 0 0 0 2em;
    text-align: left;
  }
}

.media__lead {
  font-size: ms(-2);
  color: #C1A367;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75em;
}

.media__title {
  margin: 0 0 0.5em;
  font-size: 2em;
  line-height: 1.2;
}
@media (min-width: 40em) {
  .media__title {
    font-size: 2em;
  }
}
@media (min-width: 60em) {
  .media__title {
    font-size: 3em;
  }
}

.media__desc {
  margin: 0;
  font-size: ms(-1);
}
@media (min-width: 60em) {
  .media__desc {
    font-size: ms(0);
  }
}

.media__link {
  display: block;
  margin-top: 1em;
}
.media__link svg {
  margin-left: 0.3333333333em;
  transition: transform 0.3s ease-in-out;
}
.media__link:hover svg {
  transform: translateX(10%);
}

.media__cta {
  margin: 0;
  font-size: 1.2em;
  line-height: 1;
  font-weight: 500;
}

#dockOfBay .base,
#dockOfBay .arm {
  opacity: 1;
}
@media (min-width: 40em) {
  #dockOfBay .base,
#dockOfBay .arm {
    opacity: 0;
  }
}
#dockOfBay .cover {
  opacity: 0;
}
@media (min-width: 40em) {
  #dockOfBay .cover {
    opacity: 1;
  }
}