/* CSS Document 
----Color Palette----
#141414 "Licorice"
#2966d2 "Bright Navy Blue"
#6ADEC8 "Medium Aquamarine"
#908F9B "Spanish Grey"
#3E8777 "Viridian"
---------------------
*/

:root {
  --main-background: #305a82;
  --sec1-background: #3E4C5E;
  --sec2-background: #2C3D55;
  --text-color: #C6E0FF;
  --call-to-action: #007A6E;
}
.footer-links a {
  color: var(--text-color);
  font-size: 2em;
}

.print {
  display: none;
}
* {
  box-sizing: border-box;
  margin: 0;
  font-family: Helvetica, Arial, "sans-serif";
}

html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--main-background);
  color: var(--text-color);
  min-height: 100vh;
}
#wrapper {
  margin: 0 auto;
  width: 100%;
  background-color: var(--sec2-background);
  min-height: 100vh;
  overflow: hidden;
}
.title-text {
  left: 33%;
  top: 1%;
  position: absolute;
}

/*=======MOBILE NAV=====*/
.top-nav {
  display: none;
}
#toggle {
  display: block;
  position: relative;
  z-index: 1;
  padding-top: 1vh;
  padding-left: 1vw;
}

#toggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 5;
}
#toggle .mid {
  display: block;
  width: 30px;
  height: 5px;
  margin-bottom: 5px;
  position: relative;
  background: var(--call-to-action);
  border-radius: 10px;
  z-index: 2;
  transition: opacity 0.5s;
}
#toggle .beg {
  content: "";
  display: block;
  width: 30px;
  height: 5px;
  margin-bottom: 5px;
  position: relative;
  background: var(--call-to-action);
  border-radius: 10px;
  z-index: 2;
  transition: transform 0.5s;
  transform-origin: 0% 0%;
}
#toggle .end {
  content: "";
  display: block;
  width: 30px;
  height: 5px;
  top: 1px;
  margin-bottom: 5px;
  position: relative;
  background: var(--call-to-action);
  border-radius: 10px;
  z-index: 2;
  transition: transform 0.5s;
  transform-origin: 0% 100%;
}
#toggle input:checked ~ .mid {
  opacity: 0;
}
#toggle input:checked ~ .beg {
  transform: rotate(45deg) translate(3px, -2px);
}
#toggle input:checked ~ .end {
  transform: rotate(-45deg) translate(2px, 1px);
}
.top-nav-mobile {
  list-style: none;
  padding-left: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--sec1-background);
  opacity: 1;
  height: 0px;
  overflow: hidden;
  margin: 0 auto;
  transition: height 1s;
}
.top-nav-mobile li {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
}
.top-nav-mobile a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 2em;
}
.top-nav-mobile li:hover {
  background-color: #5d5c67;
  color: var(--text-color);
}
#toggle input:checked ~ .top-nav-mobile {
  height: 100vh;
}

.footer-links li {
  float: left;
  width: calc(100%/3);
}

.copy {
  margin-top: 20px;
}

/*=======END MOBILE NAV*/

.even-col {
  background-color: var(--sec1-background);
}
.odd-col {
  background-color: var(--sec2-background);
}
h2,
h3 {
  font-family: Helvetica, Arial, "sans-serif";
  text-align: center;
  color: var(--text-color);
  margin: 10px 0;
}
.see-all {
  text-align: right;
}

#no-home {
  height: 700px;
  margin: 0 auto;
  background-color: #141414;
  background-image: url("images/controller-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px;
}

@keyframes bounce {
  from,
  50%,
  to {
    animation-timing-function: linear;
  }
  from {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0px);
  }
}


.slide {
  overflow: hidden;
  min-height: 100%;
  padding-bottom: 30px;
}
.slide img {
  display: inline-block;
  height: 100%;
  width: 100%;
  padding-right: 10px;
}
.slide h3 {
  font-family: Helvetica, Arial, "sans-serif";
  font-size: 3rem;
  color: var(--text-color);
}
.slide > * {
  text-align: center;
}
.slide-link {
  font-family: Helvetica, Arail, "sans-serif";
  font-size: 1em;
  text-decoration: none;
  color: var(--text-color);
  float: left;
  border-radius: 5px;
  background-color: #0165d9;
  margin-left: 3.5%;
  padding: 15px;
}
.bottom-nav ul {
  list-style: none;
  padding-left: 0;
}
.bottom-nav li {
  margin-top: 5px;
}
.bottom-nav a {
  font-family: Helvetica, Arail, "sans-serif";
  color: var(--text-color);
}

.column {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

.home-game {
  border: solid #263c37;
}
.home-game h3 {
  font-family: Helvetica, Arail, "sans-serif";
  position: relative;
  left: 19%;
  color: var(--text-color);
}
.blue-button {
  font-family: Helvetica, Arail, "sans-serif";
  color: var(--text-color);
  text-decoration: none;
  padding: 15px;
  background-color: var(--call-to-action);
}
.blog-image {
  height: 100%;
  width: 100%;
}
.about-image {
  height: auto;
  width: 90%;
  margin-left: 5%;
  border: solid var(--text-color);
  border-radius: 50%;
  box-shadow: 2px 2px 5px;
}

.about-text {
  font-size: 1.5em;
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.review-link {
  font-family: Helvetica, Arail, "sans-serif";
  font-size: 1em;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 5px;
  background-color: var(--call-to-action);
  margin-left: 3.5%;
  padding: 15px;
  float: right;
}
.panel {
  border: solid var(--call-to-action);
  position: relative;
  transition: 0.5s;
  margin-top: 20px;
  height: 30vh;
  width:100%;
  padding-top: 20px;
}
.panel:hover {
  border: solid thick var(--call-to-action);
}
.elip1 {
  animation-name: elip;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
.elip2 {
  animation-name: elip;
  animation-duration: 1s;
  animation-delay: 0.3s;
  animation-iteration-count: infinite;
}
.elip3 {
  animation-name: elip;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-iteration-count: infinite;
}

@keyframes elip {
  from,
  50%,
  to {
    animation-timing-function: linear;
  }
  from {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

.panel img {
  height: 100%;
  width: 100%;
}
.myform label,
input {
  display: block;
}
.dark {
  background-color: hsla(169, 64%, 64%, 0.2);
}

.footer-list {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.proj-box {
  background-size: 100% 100%;
  padding: 20px;
  padding-top: 5%;
  text-align: center;
}
.proj-box::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: black;
  opacity: .7;
  width:100%;
  transition: all .5s;
}
.proj-info {
  opacity: 1;
  position: relative;
  color: var(--text-color);
  overflow: hidden;
  transition: all .5s;
}
.proj-links {
  list-style: none;
  padding-left: 0;
}

.proj-links li a {
  text-decoration: none;
  width: 60%;
  display: inline-block;
  padding:10px;
  margin-top: 20px;
  border-radius: 20px;
  text-align: center;
  color: black;
  background: var(--text-color);
}
.proj-box:hover > .proj-info {
  opacity: 1;
}
.proj-box:hover::before {
  width: 100%;
}

.footer {
  width: 100vw;
}

@media (min-width: 48rem) {
  .mobile-menu {
    display: none;
  }

  #wrapper {
    width: 960px;
    margin: 0 auto;
    margin-top: 60px;
  }

  .column {
    float: left;
  }
  .top-nav {
    display: block;
    position: fixed;
    background-color: var(--main-background);
    top: 0;
    left: 0;
    right: 0;
    height: 5vh;
    transition: top 0.5s;
    z-index: 100;
  }
  .top-nav-up {
    top: -5vh;
  }
  .top-nav ul {
    padding-left: 0;
    list-style: none;
  }
  .top-nav li {
    float: left;
    width: calc(100% / 3 - (10%));
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
  }
  .top-nav a {
    font-family: Helvetica, Arial, "sans-serif";
    font-size: 1.5em;
    color: var(--text-color);
    text-decoration: none;
    opacity: 100%;
  }
  .column.full {
    width: 100%;
  }
  .column.three-quarters {
    width: 75%;
  }
  .column.two-thirds {
    width: 66.6%;
  }
  .column.half {
    width: 50%;
  }
  .column.third {
    width: 33.3%;
  }
  .column.fourth {
    width: 25%;
  }

  #home {
    height: 100vh;
    width: 100vw;
    margin: 0;
    background-color: var(--sec1-background);
    background-image: url("images/header-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 5px;
  }
  #home::after {
    content: "\21D3";
    color: var(--text-color);
    text-align: center;
    font-size: 2em;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    left: 49.5%;
    top: 90%;
    animation-name: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }
  
  .slide img {
    float: left;
    height: 300px;
    width: 582px;
    padding-right: 10px;
  }

  .single-post {
      margin-top: 36px;
  }
  .single-post-image {
    height: 300px;
    width: 300px;
  }
  .time-auth {
    text-align: center;
  }
  .no-img {
    padding:10%;
  }
  
  .login-form {
    color: var(--text-colorr);
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 20px;
    margin-top: 40vh;
    margin-bottom: 40vh;
  }
  .login-form fieldset {
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 0 10px var(--text-color);
  }
  .login-form fieldset > * {
    margin-left: 30%;
    display: inline-block;
    width: 50%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.3em;
  }
  .login-form fieldset legend {
    margin-left: 5%;
    background: var(--sec2-background);
    width: initial;
  }
  .login-form fieldset input:last-child {
    width: initial;
    margin-left: 45%;
    border-radius: 20px;
    background: var(--text-color);
    color: (--main-background)
  }
  
  .list-table {
    padding: 2px;
    border: solid 2px var(--text-color);
    width: 100%;
  }
  .cell {
    border: solid 1px var(--text-color);
    font-size: 2em;
    color: var(--text-color);
  }
  
  .cell > a {
    color: var(--text-color);
    text-decoration: none;
  }
  .cell:last-child {
    text-align: center;
  }
  
  .edit {
    background: var(--main-background);
    transition: all .5s;
  }
  .delete {
    background: var(--sec1-background);
    transition: all .5s;
  }
  .edit:hover, .delete:hover {
    border: solid 1px var(--sec2-background);
    padding: 1px;
    background: var(--text-color);
  }
  .edit:hover a, .delete:hover a {
    color: var(--main-background);
  }

  .proj-blog {
    height: 30vh;
    width: 100%;
  }
  .project-blog-list {
    list-style: none;
    justify-content: space-around;
    text-align: center;
    position: relative;
    height: 100%;
    background-color: var(--text-color);
  }

  .footer-links li {
    float: left;
    width: calc(100%/3);
  }

  .project-blog-list li {
    position: relative;
    display: inline;
    top: 40%;
    border: solid 2px black;
    border-radius: 10px;
    padding: 1em;
  }

  .project-blog-list li a {
    display: inline-block;
    height: 100%;
  }

  .proj-box::before {
    width: 0%;
  }
  .proj-info {
    opacity: 0;
  }

  .about-image {
    height: auto;
    width: 90%;
    border: solid var(--text-color);
    border-radius: 50%;
    box-shadow: 2px 2px 5px;
    margin-bottom: 0;
  }

  footer {
    min-height: 10vh;
    padding-top: 4vh;
  }
}
