@import url('https://fonts.googleapis.com/css?family=Inconsolata');
* {
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

html, body {
  background-color: #00b4ff;
  color: #f4f1ec;
  overflow-x: hidden;
}

.colour-white {
  color: #f4f1ec
}

.code-green {
  color: #19b319;
}

.code-yellow {
  color: #CDCD00;
}

.code-red {
  color: #ff4b00;
}

code, .monospace {
  font-family: 'Inconsolata', monospace;
}

code {
  color: #f4f1ec;
}

.main-body {
  z-index: 2;
}

a {
  min-height: 50px;
  width: 300px;
  margin: 0 32px;
}

a.text-only {
  height: 100%;
  width: auto;
  margin: 0;
  color: #f4f1ec;
  text-decoration: underline;
}

a.text-only:hover {
  color: #f4f1ec;
}

.button-link {
  background-color: #19b319;
  color: #f4f1ec;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-shadow: 6px 6px 10px rgba(21, 20, 37, 0.1);
  border-radius: 6px;
}

/* visited link */

.button-link:visited {
  color: #f4f1ec;
  text-decoration: none;
  background-color: #19b319;
}

/* mouse over link */

.button-link:hover {
  color: #f4f1ec;
  text-decoration: none;
  background-color: #19b319;
  box-shadow: 6px 6px 10px rgba(21, 20, 37, 0.3);
  transform: translateY(-2px);
}

.button-link:active {
  box-shadow: 6px 6px 10px rgba(21, 20, 37, 0.01);
  transform: translateY(0px);
}

.nav-item.nav-link {
  border-radius: 6px 6px 0 0;
  color: #f4f1ec;
}

.nav {
  display: block;
}

.nav-tabs>a {
  float: none;
  display: inline-block;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #010205;
  background-color: #f4f1ec;
  border-color: #f4f1ec #f4f1ec #f4f1ec #f4f1ec;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border-color: #f4f1ec #f4f1ec #f4f1ec #f4f1ec
}

.nav-tabs {
  text-align: center;
  border-bottom-color: #f4f1ec;
}

@media (max-width: 767.98px) {
  .hidden-sm {
    display: none;
  }
}

.blink-me {
  animation: blinker 1.25s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.jumbotron {
  background: rgba(32, 166, 223, 0.5);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  z-index: 1;
}

#background-wrap {
  left: 0;
  padding-top: 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

@-webkit-keyframes animateCloudRight {
  0% {
    margin-left: -55vw;
  }
  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloudRight {
  0% {
    margin-left: -55vw;
  }
  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloudRight {
  0% {
    margin-left: -55vw;
  }
  100% {
    margin-left: 100%;
  }
}

@-webkit-keyframes animateCloudLeft {
  0% {
    margin-right: -200vw;
  }
  100% {
    margin-right: 100%;
  }
}

@-moz-keyframes animateCloudLeft {
  0% {
    margin-right: -200vw;
  }
  100% {
    margin-right: 100%;
  }
}

@keyframes animateCloudLeft {
  0% {
    margin-right: -200vw;
  }
  100% {
    margin-right: 100%;
  }
}

@media (max-width: 767px) {
  .jumbotron {
    padding: 48px 0;
  }
  @-webkit-keyframes animateCloudRight {
    0% {
      margin-left: -75vw;
    }
    100% {
      margin-left: 100%;
    }
  }
  @-moz-keyframes animateCloudRight {
    0% {
      margin-left: -75vw;
    }
    100% {
      margin-left: 100%;
    }
  }
  @keyframes animateCloudRight {
    0% {
      margin-left: -75vw;
    }
    100% {
      margin-left: 100%;
    }
  }

  .x1, .x2, .x3, .x4 {
    display: none;
  }

  .cloud {
    display: none;
  }

  #anim-toggle {
    display: none;
  }
  #cloud-toggle {
    display: none;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  a.nav-item.nav-link {
    font-size: 0.8rem;
  }
}

@media (min-width: 786px) {
  .x1 {
    -webkit-animation: animateCloudRight 35s linear infinite;
    -moz-animation: animateCloudRight 35s linear infinite;
    animation: animateCloudRight 35s linear infinite;
    -webkit-transform: scale(0.65);
    -moz-transform: scale(0.65);
    transform: scale(0.65);
  }
  .x2 {
    -webkit-animation: animateCloudLeft 20s linear infinite;
    -moz-animation: animateCloudLeft 20s linear infinite;
    animation: animateCloudLeft 20s linear infinite;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    transform: scale(0.3);
  }
  .x3 {
    -webkit-animation: animateCloudRight 30s linear infinite;
    -moz-animation: animateCloudRight 30s linear infinite;
    animation: animateCloudRight 30s linear infinite;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    transform: scale(0.5);
  }
  .x4 {
    -webkit-animation: animateCloudRight 40s linear infinite;
    -moz-animation: animateCloudRight 40s linear infinite;
    animation: animateCloudRight 40s linear infinite;
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.4);
  }
  .cloud {
    background: #fff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    -webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    height: 120px;
    position: relative;
    width: 350px;
    z-index: 1;
    filter: opacity(60%);
  }
  .cloud:after, .cloud:before {
    background: #fff;
    content: '';
    position: absolute;
    z-indeX: -1;
  }
  .cloud:after {
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    height: 100px;
    left: 50px;
    top: -50px;
    width: 100px;
  }
  .cloud:before {
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;
    width: 180px;
    height: 180px;
    right: 50px;
    top: -90px;
  }
}

.x1.no-display, .x2.no-display, .x3.no-display, .x4.no-display {
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
  display: none;
}

.x1.no-anim, .x2.no-anim, .x3.no-anim, .x4.no-anim {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

@-webkit-keyframes animateWidgetButton {
  100% {
    transform: translateX(0) rotate(-180deg);
  }
  0% {
    transform: translateX(56px) rotate(0);
  }
}

@-moz-keyframes animateWidgetButton {
  100% {
    transform: translateX(0) rotate(-180deg);
  }
  00% {
    transform: translateX(56px) rotate(0);
  }
}

@keyframes animateWidgetButton {
  100% {
    transform: translateX(0) rotate(-180deg);
  }
  0% {
    transform: translateX(56px) rotate(0);
  }
}

@-webkit-keyframes animateWidgetButtonReverse {
  0% {
    transform: translateX(0) rotate(-180deg);
  }
  100% {
    transform: translateX(56px) rotate(0);
  }
}

@-moz-keyframes animateWidgetButtonReverse {
  0% {
    transform: translateX(0) rotate(-180deg);
  }
  100% {
    transform: translateX(56px) rotate(0);
  }
}

@keyframes animateWidgetButtonReverse {
  0% {
    transform: translateX(0) rotate(-180deg);
  }
  100% {
    transform: translateX(56px) rotate(0);
  }
}

.widget-list {
  position: fixed;
  right: 48px;
  bottom: 48px;
  height: 48px;
  width: 104px;
}

#cloud-toggle {
  position: absolute;
  right: 56px;
  z-index: 1;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: none;
  box-shadow: 6px 6px 10px rgba(21, 20, 37, 0.1);
}

.widget-list > #cloud-toggle {
  -webkit-animation: animateWidgetButtonReverse 300ms ease-in-out;
  -moz-animation: animateWidgetButtonReverse 300ms ease-in-out;
  animation: animateWidgetButtonReverse 300ms ease-in-out;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.widget-list:hover > #cloud-toggle {
  -webkit-animation: animateWidgetButton 300ms ease-in-out;
  -moz-animation: animateWidgetButton 300ms ease-in-out;
  animation: animateWidgetButton 300ms ease-in-out;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

#cloud-toggle:hover {
  background-color: #f4f1ec;
}

#cloud-toggle:active {
  background-color: #f4f1ec;
}

#cloud-toggle:focus {
  outline: none;
}

#anim-toggle {
  position: absolute;
  z-index: 2;
  right: 0;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: none;
  box-shadow: 6px 6px 10px rgba(21, 20, 37, 0.1);
}

#anim-toggle:hover {
  background-color: #f4f1ec;
}

#anim-toggle:active {
  background-color: #f4f1ec;
}

#anim-toggle:focus {
  outline: none;
}

#anim-toggle:disabled {
  opacity: 0.8;
  z-index: 0;
}
