


.refer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #3f0059;
  color: #bbb;
}

.refer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.refer a {
  color: #bbb;
}

.js {
  background-color: lavender;
}

.jsTest {
  display: flex;
  align-items: center;
}

.jsTestRes {
  display: flex;
}

/* Analog Clock */
.clockbox,
#clock {
    width: 100%;
}

/* Clock styles */
.circle {
    fill: none;
    stroke: #000;
    stroke-width: 9;
    stroke-miterlimit: 10;
}

.mid-circle {
    fill: #000;
}
.hour-marks {
    fill: none;
    stroke: #000;
    stroke-width: 9;
    stroke-miterlimit: 10;
}

.hour-arm {
    fill: none;
    stroke: #000;
    stroke-width: 17;
    stroke-miterlimit: 10;
}

.minute-arm {
    fill: none;
    stroke: #000;
    stroke-width: 11;
    stroke-miterlimit: 10;
}

.second-arm {
    fill: none;
    stroke: #000;
    stroke-width: 4;
    stroke-miterlimit: 10;
}

/* Transparent box ensuring arms center properly. */
.sizing-box {
    fill: none;
}

/* Make all arms rotate around the same center point. */
/* Optional: Use transition for animation. */
#hour,
#minute,
#second {
    transform-origin: 300px 300px;
    transition: transform .5s ease-in-out;
}

.testMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testMenu nav {
  padding: auto;
  margin: 0 auto 1vw auto;
}

.clickMe {
  display: flex;
  background-color: #be344c;
  width: 6vw;
  height: 2.5vw;
  padding: auto;
  margin: 1vw auto 0 auto;
}

.clickMe a {
  font-size: 1.25vw;
  margin: auto;
  border: .2vw solid #000;
}

.testMenuList {
  display: flex;
  flex-direction: row;
  background-color: #be344c;
  list-style: none;
  padding: 0;
  margin: 0;
}





.right{
  grid-area: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #3b348a;
  font-family: 'Cuprum', sans-serif;
  z-index: 1;
  animation: revR 1s ease-out, rev2 1s linear;
}

.right nav {
  display: flex;
}

.right h5 {
  margin: 1.5vw auto 1vw auto;
}

.right a {
  text-decoration: none;
  padding: 1vw;
}

.right a:hover {
  color: #bbb;
  transition: .5s;
}

@keyframes revR {
  0% {transform: translateX(-300px);}
  100% {transform: translateX(0px);}
}

@keyframes rev2 {
  0% {transition: opacity:0;}
  75% {transition: opacity:25;}
  100% {transition: opacity:100;}
}

@supports (grid-area: auto) {

  @media screen and (min-width: 45em){


    .right {
      position: fixed;
      z-index: 1;
      flex-direction: column;
      margin-left: 75vw;
      padding-left: 4vw;
      padding-right: 1vw;
      bottom: 4.5vw;
    }

    .right a {
      font: 1vw;
    }

    .left h5 {
      font-size: 1.25vw;
    }

    .right nav {
      flex-direction: column;
    }
  }
}
