html,
body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  max-width: 100%;
}

hr {
  width: 40%;
}

em {
  font-style: italic;
}

a {
  display: inline-block;
  text-decoration: none;
  color: white;
}

a.button {
  padding: 0.5rem 1rem;
  color: #fafafa;
  text-align: center;
}

a.button.primary {
  background-image: linear-gradient(to top, #3B4D3D 0%, #769979 100%);
  color: white;
}

a.button.primary:hover {
  background-image: linear-gradient(to top, #29352b 0%, #526d54 100%);
  color: white;
}

.active {
  background: #769979;
  color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  height: 3.5rem;
  width: 100%;
  background: #151E24;
  z-index: 999;
}

header .container {
  position: fixed;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  top: 0;
  left: 0;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
  background: #151E24;
}

header .container>.logo {
  height: 1rem;
  padding: 1.25rem 0;
}

input.hamburger-button {
  display: none;
}

input.hamburger-button~label {
  position: relative;
  padding: 0.25rem;
  width: 1.5rem;
  height: 1.25rem;
  cursor: pointer;
}

input.hamburger-button~label>div,
input.hamburger-button~label>div::before,
input.hamburger-button~label>div::after {
  content: "";
  position: absolute;
  top: 0.825rem;
  height: 0.125rem;
  width: 1.5rem;
  opacity: 1;
  background: white;
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
}

input.hamburger-button~label>div::before {
  top: -0.5rem;
}

input.hamburger-button~label>div::after {
  top: 0.5rem;
}

header .container .hamburger-button:checked~label>div {
  width: 0;
  background: white;
}

header .container .hamburger-button:checked~label>div::before {
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  top: -0rem;
}

header .container .hamburger-button:checked~label>div::after {
  -webkit-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
  top: -0rem;
}

header .container .hamburger-button:checked~.menu {
  left: 0;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Mobile Menu Styles */
header .container .menu {
  position: absolute;
  z-index: -1;
  top: 4.6rem;
  -webkit-transform: translateX(calc(100vw - 1rem));
  transform: translateX(calc(100vw - 1rem));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, -webkit-max-content);
  grid-template-rows: repeat(2, max-content);
  width: 100%;
  background: #fafafa;
  -webkit-transition: 0.22s ease-in-out;
  transition: 0.22s ease-in-out;
}

header .container .menu::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100vh;
  width: 100vw;
  background: #151e24;
}

header .container .menu nav {
  grid-area: auto;
}

header .container .menu nav ul {
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}

/* Navbar Text */
header .container .menu nav ul>li>a {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: right;
  color: white;
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
}

/* Navbar Text Hover */
header .container .menu nav ul>li>a:hover {
  color: white;
  background: #769979;
}

/* Padding between "PLAY GAME" button and nav items in mobile view */
header .container .menu div.buttons {
  grid-area: auto;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1.5rem 1rem;
}

/* Nav bar PLAY GAME button */
header .container .menu div.buttons>* {
  -webkit-box-flex: 1;
  flex: 1;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
  margin: 0.5rem;
  padding: 1.2rem;
}

.navlogo {
  width: 150px;
}

/* ///////////////////// Landing Page Section /////////////////////// */
.mainlogo {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.page-content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  position: relative;
  background-color: white;
  text-align: center;
}

.page-content h1 {
  margin-top: 1.5rem;
  font-size: 3.25rem;
  font-weight: 300;
  word-break: break-all;
  text-align: center;
}

.page-content h2 {
  margin-top: 1.5rem;
  font-size: 1.75rem;
  font-weight: 500;
  word-break: break-all;
}

.page-content p {
  margin-top: 0.75rem;
  line-height: 1.25rem;
  text-align: center;
}

.playbtn {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  margin: 0 auto;
  padding: 2rem 3rem 2rem 3rem;
  background-image: linear-gradient(to top, #3B4D3D 0%, #769979 100%);
  display: grid;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  margin: 10px;
}

.playbtn:hover {
  background-image: linear-gradient(to top, #29352b 0%, #526d54 100%);
  cursor: pointer;
}

/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// About the Game Section /////////////////////// */
#abtgame {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 540px;
  margin: 0 auto;
  position: relative;
  background-color: #434A52;
}

#abtwrapper {
  width: 90%;
  margin: 0 auto;
}

.abtlogo {
  width: 20vw;
  text-align: center;
}

.abtgridcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  padding-top: 3.5rem;
}

.abtitem {
  color: white;
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
  width: 80%;
}

.abtitem2 {
  color: white;
  font-size: 18px;
  padding: 7rem;
  text-align: left;
  line-height: 30px;

}

.trailer {
  width: 100%;
  height: 10%;
  border: 10px solid #69B7AE;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// New Features Section /////////////////////// */
#newft {
  min-height: 800px;
  margin: 0 auto;
  position: relative;
  background-color: #5A7C7C;
}

#ftwrapper {
  width: 90%;
  margin: 0 auto;
}

.ftheader {
  color: white;
  text-align: center;
  font-size: 40px;
  padding-bottom: 100px;
  font-weight: 500;
  letter-spacing: 3px;
  padding-top: 2rem;
}

.ftgridcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 3rem;
}

.ftitem {
  background: white;
  border: 10px solid #434A52;
  color: black;
  font-size: 18px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  line-height: 30px;
  margin: 0 auto;
  transition: transform 0.4s;
}

.ftitem:hover {
  transform: scale(1.05);
  transition: transform 0.4s;
}

.ftitem2 {
  vertical-align: bottom;
}

.fotorama {
  width: 100%;
}

.fotorama__wrap {
  margin: 0 auto;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 15rem;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #151e24;
  margin: auto;
  padding: 1rem;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: rgb(184, 184, 184);
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  color: white;
}

.modal-body {
  padding: 2px 16px;
  text-align: center;
  color: white;
  width: 80%;
  margin: 0 auto;
}

/* Modal 2 Content  */

/* The Modal (background) */
.modal2 {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 15rem;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.modal-content2 {
  position: relative;
  background-color: #151e24;
  margin: auto;
  padding: 1rem;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.modal-header2 {
  padding: 2px 16px;
  color: white;
}

.modal-body2 {
  padding: 2px 16px;
  text-align: center;
  color: white;
  width: 80%;
  margin: 0 auto;
}

.close2 {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: rgb(184, 184, 184);
  text-decoration: none;
  cursor: pointer;
}

#myBtn2 {
  cursor: pointer;
}

#myBtn {
  cursor: pointer;
}

.caption {
  text-align: left;
  color: white;
  line-height: 30px;
  padding-bottom: 100px;
}


/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// Restoration Teams Section /////////////////////// */
#rest {
  min-height: 540px;
  margin: 0 auto;
  position: relative;
  background-color: #434A52;
}

#restwrapper {
  width: 90%;
  margin: 0 auto;
}

.restgridcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 1rem;
}

.restitem {
  border: 10px solid #69B7AE;
}

.restheader {
  color: white;
  text-align: center;
  font-size: 40px;
  padding-bottom: 100px;
  padding-top: 2rem;
}

/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// Play Game Section /////////////////////// */
.parallax {
  background-image: url("../img/starpattern.png");
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
  padding: 15rem;
  background-color: #151E24;
  text-align: center;
}

/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// Footer Section /////////////////////// */
#footer {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 540px;
  margin: 0 auto;
  position: relative;
  background-color: #434A52;
  text-align: center;
}

.footerlogo {
  width: 18vw;
  text-align: center;
  cursor: pointer;
  padding: 3rem;
}

.footergridcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  padding-bottom: 5rem;
  margin-left: 30vw;
  margin-right: 30vw;
}

.footeritem {
  padding: 1rem;
  font-size: 16px;
  text-align: center;
}

.footeritem a {
  color: white;
}

.footeritem a:hover {
  color: #769979;
}

.socialgridcontainer {
  display: inline-grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 30px;
  justify-content: space-evenly;
  justify-items: center;
  align-content: space-evenly;
  align-items: center;
}

.socialitem {
  padding: 10px;
  width: 2rem;
  text-align: center;
}

.socialitem:hover {
  opacity: 0.5;
  cursor: pointer;
}

/* ///////////////////// End Section /////////////////////// */

/* ///////////////////// Copyright /////////////////////// */
footer {
  background-color: #151E24;
  padding: 18px;
  color: white;
  text-align: center;
}

/* ///////////////////// End Section /////////////////////// */



/* --------------------------SMALL MOBILE STYLES-------------------------------- */
@media only screen and (max-width: 699px) {

  /* ///////////////////// Landing Page Mobile (S) /////////////////////// */
  .page-content {
    min-height: 700px;
  }

  .mainlogo {
    width: 100%;
    padding-top: 10rem;
  }

  .parallax {
    padding: 5rem;
  }

  .playbtn {
    padding: 1rem 2rem 1rem 2rem;
    font-size: 15px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// About Mobile (S) /////////////////////// */
  #abtgame {
    padding-bottom: 100px;
  }

  .abtgridcontainer {
    grid-template-columns: 1fr;
  }

  #abtwrapper {
    width: 100%;
  }

  .abtitem {
    width: 100%;
  }

  .abtitem2 {
    padding: 2rem;
  }

  .trailer {
    width: 90%;
    height: 100%;
    min-height: 200px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// New Features Mobile (S) /////////////////////// */
  .ftgridcontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  #ftwrapper {
    width: 90%;
  }

  .ftheader {
    font-size: 30px;
  }

  #newft {
    min-height: 540px;
    padding-bottom: 100px;
  }


  .ftimg {
    max-width: 100%;
    vertical-align: bottom;
  }

  .ftitem2 {
    vertical-align: bottom;
  }

  .modal-content {
    width: 90%;
  }

  .modal-content2 {
    width: 90%;
  }

  .fotorama {
    width: 100%;
  }

  .show-mobile {
    display: block;
    padding-bottom: 0;
  }

  .hide-mobile {
    display: none;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Restoration Teams Mobile (S) /////////////////////// */
  .restgridcontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  .restheader {
    color: white;
    text-align: center;
    font-size: 25px;
    padding-bottom: 80px;
    font-weight: 500;
    letter-spacing: 3px;
  }

  #rest {
    min-height: 540px;
    padding-bottom: 100px;
  }

  #restwrapper {
    width: 90%;
    margin: 0 auto;
  }

  .teamimgs {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    border: 10px solid #69B7AE;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

  }

  .teamimgs:hover {
    transform: scale(1.05);
  }

  .img_wrap {
    position: relative;
    margin: 0 auto;
  }

  .teamimg_description {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #5A7C7C;
    color: white;
    visibility: visible;
    opacity: 1;
    transition: opacity .2s, visibility .2s;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 5px;
    font-size: 25px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 2px 2px black;
  }

  .img_wrap:hover .teamimg_description {
    visibility: visible;
    opacity: 1;
  }


  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Footer Mobile (S)/////////////////////// */
  .footergridcontainer {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .footeritem {
    padding: 1rem;
    font-size: 14px;
  }

  #footer {
    min-height: 350px;
  }

  .footerlogo {
    width: 40vw;
    text-align: center;
    cursor: pointer;
    padding: 1rem;
  }

  .parallax {
    background-attachment: scroll;
  }

  hr {
    width: 70vw;
  }

  /* ///////////////////// End Section /////////////////////// */

}

/* --------------------------LARGE MOBILE STYLES-------------------------------- */
@media only screen and (min-width: 600px) {

  /* ///////////////////// Landing Page Mobile (L) /////////////////////// */
  .page-content {
    min-height: 1000px;
  }

  .mainlogo {
    width: 100%;
    padding-top: 10rem;
  }

  .playbtn {
    padding: 1rem 2rem 1rem 2rem;
    font-size: 15px;
  }

  /* ///////////////////// End Section /////////////////////// */


  /* ///////////////////// About Mobile (L) /////////////////////// */
  #abtgame {
    min-height: 800px;
    padding-bottom: 100px;
  }

  .abtgridcontainer {
    grid-template-columns: 1fr;
  }

  #abtwrapper {
    width: 100%;
  }

  .abtitem {
    width: 100%;
  }

  .abtitem2 {
    padding: 2rem;
  }

  .trailer {
    width: 90%;
    height: 100%;
    min-height: 400px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// New Features Mobile (L) /////////////////////// */
  .ftgridcontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  #ftwrapper {
    width: 90%;
  }

  .ftheader {
    font-size: 30px;
  }

  #newft {
    min-height: 800px;
    padding-bottom: 100px;

  }

  .ftimg {
    max-width: 100%;
    vertical-align: bottom;
  }

  .ftitem2 {
    vertical-align: bottom;
  }

  .modal-content {
    width: 90%;
  }

  .modal-content2 {
    width: 90%;
  }

  .fotorama {
    width: 100%;
  }

  .show-mobile {
    display: block;
    padding-bottom: 0;
  }

  .hide-mobile {
    display: none;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Restoration Teams Mobile (L) /////////////////////// */
  .restgridcontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  .restheader {
    color: white;
    text-align: center;
    font-size: 30px;
  }

  .teamimgs {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    border: 10px solid #69B7AE;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

  }

  .teamimgs:hover {
    transform: scale(1.05);
  }

  .img_wrap {
    position: relative;
    margin: 0 auto;
  }

  .teamimg_description {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #5A7C7C;
    color: white;
    visibility: visible;
    opacity: 1;
    transition: opacity .2s, visibility .2s;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 5px;
    font-size: 25px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 2px 2px black;
  }

  .img_wrap:hover .teamimg_description {
    visibility: visible;
    opacity: 1;
  }

  #rest {
    min-height: 540px;
    padding-bottom: 100px;
  }

  #restwrapper {
    width: 100%;
    margin: 0 auto;
  }


  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Footer Mobile (L) /////////////////////// */
  .footergridcontainer {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .footeritem {
    padding: 1rem;
    font-size: 14px;
  }

  #footer {
    min-height: 350px;
  }

  .footerlogo {
    width: 30vw;
    text-align: center;
    cursor: pointer;
    padding: 1rem;
  }

  .parallax {
    background-attachment: scroll;
    padding: 5rem;
  }

  hr {
    width: 70vw;
  }

  /* ///////////////////// End Section /////////////////////// */
}


/* --------------------------TABLET STYLES-------------------------------- */
@media only screen and (min-width: 800px) {

  header {
    height: 9rem;
  }

  header .container {
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-box-pack: start;
    justify-content: flex-start;
    border: none;
  }

  input.hamburger-button~label {
    display: none;
  }

  header .container .menu {
    z-index: unset;
    top: 0;
    left: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    display: grid;
    grid-template-columns: auto -webkit-max-content;
    grid-template-columns: auto max-content;
    grid-template-rows: 5rem 3rem;
    background: none;
    -webkit-transition: none;
    transition: none;
  }

  header .container .menu::after {
    display: none;
  }

  header .container .menu div.buttons {
    grid-area: 1/2/2/3;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
  }

  header .container .menu nav {
    grid-area: 2/1/3/3;
  }

  header .container .menu nav ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
  }

  header .container .menu nav ul>li {
    -webkit-box-flex: 1;
    flex: 1;
  }

  header .container .menu nav ul>li>a {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  /* ///////////////////// Landing Page Tablet /////////////////////// */
  .page-content {
    min-height: 1000px;
  }

  .mainlogo {
    width: 100%;
    padding-top: 10rem;
  }

  .playbtn {
    padding: 1rem 2rem 1rem 2rem;
    font-size: 15px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// About Tablet /////////////////////// */
  #abtgame {
    min-height: 800px;
    padding-bottom: 100px;
  }

  .abtgridcontainer {
    grid-template-columns: 1fr;
  }

  #abtwrapper {
    width: 90%;
    margin: 0 auto;
  }

  .abtitem {
    width: 80%;
    padding-bottom: 100px;
  }

  .abtitem2 {
    padding: 0;
  }

  .trailer {
    width: 100%;
    height: 100%;
    min-height: 400px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// New Features Tablet /////////////////////// */
  .ftgridcontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  #ftwrapper {
    width: 100%;
  }

  .ftheader {
    font-size: 30px;
  }

  #newft {
    min-height: 800px;
    padding-bottom: 100px;
  }

  .ftitem {
    width: 70%;
    margin: 0 auto;
  }

  .ftimg {
    max-width: 100%;
    vertical-align: bottom;
  }

  .ftitem2 {
    vertical-align: bottom;
  }

  .modal-content {
    width: 90%;
  }

  .modal-content2 {
    width: 90%;
  }

  .fotorama {
    width: 100%;
  }

  .show-mobile {
    display: block;
    padding-bottom: 0;
    width: 70%;
    margin: 0 auto;
  }

  .hide-mobile {
    display: none;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Restoration Teams Tablet /////////////////////// */
  .restgridcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
  }

  .restheader {
    color: white;
    text-align: center;
    font-size: 30px;
  }

  .teamimgs {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    border: 10px solid #69B7AE;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

  }

  .teamimgs:hover {
    transform: scale(1.05);
  }

  .img_wrap {
    position: relative;
  }

  .teamimg_description {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #5A7C7C;
    color: white;
    visibility: visible;
    opacity: 1;
    transition: opacity .2s, visibility .2s;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 5px;
    font-size: 25px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 2px 2px black;
  }

  .img_wrap:hover .teamimg_description {
    visibility: visible;
    opacity: 1;
  }

  .restitem {
    border: 10px solid #69B7AE;
  }

  #rest {
    min-height: 540px;
  }

  #restwrapper {
    width: 80%;
    margin: 0 auto;
  }


  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Footer Tablet /////////////////////// */
  .footergridcontainer {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .footeritem {
    padding: 1rem;
    font-size: 16px;
  }

  #footer {
    min-height: 350px;
  }

  .footerlogo {
    width: 30vw;
    text-align: center;
    cursor: pointer;
    padding: 1rem;
  }

  .parallax {
    background-attachment: scroll;
    padding: 5rem;
  }

  hr {
    width: 70vw;
  }

  /* ///////////////////// End Section /////////////////////// */

}


/* --------------------------DESKTOP STYLES-------------------------------- */
@media only screen and (min-width: 1300px) {

  header {
    height: 5.2rem;
  }

  header .container .menu {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    grid-template-columns: 4rem auto;
    grid-template-columns: 4rem auto max-content;
    grid-template-rows: 1fr;
    height: 5rem;
    padding: 0 1.5rem;
    -webkit-transition: none;
    transition: none;
  }

  header .container .menu nav {
    grid-area: 1/2/2/3;
    padding: 1rem;
  }

  header .container .menu div.buttons {
    grid-area: 1/3/2/4;
  }

  header .container .menu div.buttons>* {
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }

  header .container .menu nav ul {
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: end;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
  }

  header .container .menu nav ul>li {
    -webkit-box-flex: 0;
    flex: 0;
  }

  header .container .menu nav ul>li>a {
    width: max-content;
    padding: 1.25rem 1.5rem;
  }

  /* ///////////////////// Landing Page Desktop /////////////////////// */
  .mainlogo {
    max-width: 55%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .page-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 1000px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    position: relative;
    background-color: white;

  }

  .page-content h1 {
    margin-top: 1.5rem;
    font-size: 3.25rem;
    font-weight: 300;
    word-break: break-all;
    text-align: center;
  }

  .page-content h2 {
    margin-top: 1.5rem;
    font-size: 1.75rem;
    font-weight: 500;
    word-break: break-all;
  }

  .page-content p {
    margin-top: 0.75rem;
    line-height: 1.25rem;
    text-align: center;
  }

  .playbtn {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin: 0 auto;
    padding: 2rem 3rem 2rem 3rem;
    background-image: linear-gradient(to top, #3B4D3D 0%, #769979 100%);
    display: grid;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    margin: 10px;
  }

  .playbtn:hover {
    background-image: linear-gradient(to top, #29352b 0%, #526d54 100%);
    cursor: pointer;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// About the Game Desktop /////////////////////// */
  #abtgame {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 540px;
    margin: 0 auto;
    position: relative;
    background-color: #434A52;
    padding: 2rem;
  }

  #abtwrapper {
    width: 90%;
    margin: 0 auto;
  }

  .abtlogo {
    width: 20vw;
    text-align: center;
  }

  .abtgridcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    padding-top: 3.5rem;
  }

  .abtitem {
    color: black;
    font-size: 18px;
    text-align: center;
    padding: 2rem;
    padding-bottom: 100px;
  }

  .abtitem2 {
    color: white;
    font-size: 18px;
    text-align: left;
    line-height: 30px;
    padding: 2rem;
  }

  .trailer {
    width: 100%;
    height: 100%;
    border: 10px solid #69B7AE;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// New Features Desktop /////////////////////// */
  #newft {
    min-height: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    background-color: #5A7C7C;
  }

  #ftwrapper {
    width: 90%;
    margin: 0 auto;
  }

  .ftheader {
    color: white;
    text-align: center;
    font-size: 40px;
    padding-bottom: 100px;
    font-weight: 500;
    letter-spacing: 3px;
  }

  .ftgridcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 3rem;
  }

  .ftitem {
    background: white;
    border: 10px solid #434A52;
    color: black;
    font-size: 18px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .ftitem2 {
    vertical-align: bottom;
  }

  .ftimg {
    max-width: 100%;
    vertical-align: bottom;
  }

  .modal-content {
    width: 40%;
  }

  .modal-content2 {
    width: 40%;
  }

  .fotorama {
    width: 100%;
  }

  .show-mobile {
    display: none;
  }

  .hide-mobile {
    display: block;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Restoration Teams Desktop /////////////////////// */
  #rest {
    min-height: 540px;
    margin: 0 auto;
    position: relative;
    background-color: #434A52;
    padding: 2rem;
  }

  #restwrapper {
    width: 90%;
    margin: 0 auto;
  }


  .restgridcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 3rem;
  }

  .teamimgs {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    border: 10px solid #69B7AE;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

  }

  .teamimgs:hover {
    transform: scale(1.05);
    opacity: 1;
  }

  .img_wrap {
    position: relative;
    margin: 0 auto;
  }

  .teamimg_description {
    position: absolute;
    top: 50%;
    left: 54%;
    background: #5A7C7C;
    color: white;
    visibility: visible;
    opacity: 1;
    transition: opacity .2s, visibility .2s;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 5px;
    font-size: 25px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 2px 2px black;
  }

  .img_wrap:hover .teamimg_description {
    visibility: visible;
    opacity: 1;
  }

  .restheader {
    color: white;
    text-align: center;
    font-size: 40px;
    padding-bottom: 100px;
    font-weight: 500;
    letter-spacing: 3px;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Play Game Desktop /////////////////////// */
  .parallax {
    background-image: url("../img/starpattern.png");
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    padding: 10rem;
    background-color: #151E24;
    text-align: center;
  }

  /* ///////////////////// End Section /////////////////////// */

  /* ///////////////////// Footer Desktop /////////////////////// */
  #footer {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 400px;
    margin: 0 auto;
    position: relative;
    background-color: #434A52;
    text-align: center;
  }

  .footerlogo {
    width: 18vw;
    text-align: center;
    cursor: pointer;
    padding: 1rem;
    padding-top: 3rem;
  }

  .footergridcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    padding-bottom: 5rem;
    margin-left: 30vw;
    margin-right: 30vw;
  }

  .footeritem {
    padding: 1rem;
    font-size: 16px;
    text-align: center;
  }

  .footeritem a {
    color: white;
  }

  .footeritem a:hover {
    color: #769979;
  }

  .socialgridcontainer {
    display: inline-grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 30px;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
  }

  .socialitem {
    width: 2rem;
    text-align: center;
  }

  .socialitem:hover {
    opacity: 0.5;
    cursor: pointer;
  }

  hr {
    width: 40vw;
  }

  /* ///////////////////// End Section /////////////////////// */


}