@import url("https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css");

html {
  font-size: 62.5%;
}

body {
  font-size: 1.4rem;
  padding-top: 4rem;
  overflow: hidden;
}

h1 {
  font-size: 2.4rem;
}

.header {
  position: fixed;
  top: 4rem;
  left: 1rem;
  right: 1rem;
  width: calc(100% - 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: transparent;
  z-index: 1;
  text-decoration: none;
}

.no-underline {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

.heading {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  padding-left: 2rem;
}

.email {
  font-size: 1.4rem;
  color: #0a114b;
  text-align: right;
  text-decoration: none;
  padding-right: 5rem;
}

.email:hover {
  cursor: pointer;
}

.email:hover::after {
  content: "Click to copy";
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0a114b;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  white-space: nowrap;
}

.copied-message {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0a114b;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  white-space: nowrap;
}

.copied-message.show {
  display: block;
}

.container {
  min-height: 100vh;
}

/* Layout and Containers */
.container__item {
  margin: 0 auto 40px;
}

.landing-page-container {
  padding-top: 4rem;
  width: 100%;
  min-height: 100%;
  height: 90rem;
  background-image: url("https://s29.postimg.org/vho8xb2pj/landing_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  color: #0a114b;
}

.content__wrapper {
  max-width: 1200px;
  width: 90%;
  height: 100%;
  margin: 0px auto;
  position: relative;
}

.header__item {
  display: inline-block;
  cursor: pointer;
}

/* Coordinates */
.coords {
  font-size: 1.4rem;
  display: inline-block;
  transform: rotate(-90deg) translateY(50%);
  float: left;
  top: 35rem;
  position: relative;
  letter-spacing: 0.1rem;
  left: -12.5rem;
  margin: 0;
}

/* Ellipses */
.ellipses-container {
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  top: 10.5rem;
}

.ellipses-container .greeting {
  position: absolute;
  top: 15.6rem;
  left: 8rem;
  right: 0;
  margin: 0 auto;
  letter-spacing: 4rem;
  font-size: 2.2rem;
  font-weight: 400;
}

.ellipses-container .greeting:after {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  display: inline-block;
  background-color: #147480;
  position: relative;
  top: -0.65rem;
  left: -5.05rem;
}

.ellipses {
  border-radius: 50%;
  position: absolute;
  top: 0;
  border-style: solid;
}

.ellipses__outer--thin {
  width: 100%;
  height: 100%;
  border-width: 1px;
  border-color: rgba(9, 56, 62, 0.1);
  animation: ellipsesOrbit 15s ease-in-out infinite;
}

.ellipses__outer--thin:after {
  content: "";
  background-image: url("https://s29.postimg.org/5h0r4ftkn/ellipses_dial.png");
  background-repeat: no-repeat;
  background-position: center;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  opacity: 0.15;
}

.ellipses__outer--thick {
  width: 99.5%;
  height: 99.5%;
  border-color: #0a114b transparent;
  border-width: 2px;
  transform: rotate(-45deg);
  animation: ellipsesRotate 15s ease-in-out infinite;
}

.ellipses__orbit {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 2px;
  border-color: #0a114b;
  top: 5rem;
  right: 6.75rem;
}

.ellipses__orbit:before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  display: inline-block;
  background-color: #0a114b;
  margin: 0 auto;
  left: 0;
  right: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Weather Info */
.weather-info {
  font-size: 1.5rem;
  color: #0a114b;
  margin: 3rem;
  text-align: center;
}

@media (max-width: 480px) {
  .weather-info {
    font-size: 1.2rem;
  }
}

.scroller {
  width: 10rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 480px) {
  .scroller {
    width: 7rem;
    right: 0.5rem;
  }
}

.page-title {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.3rem;
  display: block;
  text-align: right;
  margin-top: 1rem;
  font-size: 1.4rem;
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
  }
}

.small-hyphen {
  text-align: right;
  margin: 0;
  font-size: 16px;
}

.active-tab {
  font-weight: bold;
  text-decoration: underline;
}

.timeline {
  width: 1.5rem;
  height: 9rem;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .timeline {
    height: 7rem;
  }
}

.timeline__unit {
  width: 100%;
  height: 0.1rem;
  background-color: #147480;
  margin: 0 0 2rem;
  opacity: 0.2;
}

.timeline__unit.timeline__unit--active {
  opacity: 1;
}

.timeline__unit.timeline__unit--active:after {
  opacity: 0.2;
}

.timeline__unit:after {
  content: "";
  width: 70%;
  height: 0.1rem;
  background-color: #147480;
  position: relative;
  top: 1rem;
}

/* Keyframes */
@keyframes ellipsesRotate {
  0% {
    transform: rotate(-45deg);
  }

  100% {
    transform: rotate(-405deg);
  }
}

@keyframes ellipsesOrbit {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Play/Pause Text */
.play-pause-text {
  font-family: "Playfair Display", serif;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.4rem;
  color: black;
  animation: none;
  text-align: center;
}

@media (max-width: 480px) {
  .play-pause-text {
    font-size: 1rem;
  }
}

.play-pause-text.playing {
  animation: disco 1s infinite;
}

@keyframes disco {
  0% {
    color: #ff0000;
  }

  25% {
    color: #00ff00;
  }

  50% {
    color: #0000ff;
  }

  75% {
    color: #ffff00;
  }

  100% {
    color: #ff00ff;
  }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .heading {
    font-size: 1.8rem;
  }

  .email {
    font-size: 1.2rem;
    padding-right: 1rem;
  }

  .coords {
    font-size: 1rem;
    left: -8rem;
  }

  .ellipses-container {
    width: 40rem;
    height: 40rem;
    top: 8rem;
  }

  .play-pause-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .heading {
    font-size: 2rem;
  }

  .email {
    font-size: 1.4rem;
    padding-right: 2rem;
  }

  .coords {
    font-size: 1.2rem;
    left: -10rem;
  }

  .ellipses-container {
    width: 45rem;
    height: 45rem;
    top: 9rem;
  }

  .play-pause-text {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  #play-pause-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 43%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    color: #0a114b;
    cursor: pointer;
  }
}

.info-container {
  position: relative;
  top: -30px;
}