body {
  background-color: #0D0D0D;
  /* background: linear-gradient(90deg, #0D0D0D 90%, #F5F5F5 10%); */
  color: #F5F5F5;
  overflow-y: auto;
  font-family: zeitung, sans-serif;
}

/***************************************LANDING CSS**********************************************/

@keyframes landingContentFadeIn {
  0% {
    opacity: 0;
    top: 2%;
    right: 1%;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    top: 2%;
    right: 2%;
  }
}
@keyframes landingContentFadeOut {
  0% {
    opacity: 1;
    top: 2%;
    right: 2%;
  }
  40% {
    opacity: 0;
    top: 2%;
    right: 1%;
  }
  100% {
    opacity: 0;
    top: 3%;
    right: 1%;
  }
}

@keyframes detailsFadeIn {
  0% {
    opacity: 0;
    color: #F5F5F5;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes signupButtonTransition {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 101%;
  }
}

@keyframes landingTileTransition {
  0% {
    background-position: 10% 20%, 50% 50%;
    filter: grayscale(20%);
  }
  100% {
    background-position: 60% 20%, 50% 50%;
    filter: grayscale(100%);
  }
}

#landingHeader {
  width: 100%;
  margin: 0 auto;
  margin-top: 25%;
  margin-bottom: 25%;
  /* align-self: center; */
  text-align: center;
  justify-content: center;
  /* position: relative; */
  /* display: grid;
  grid-template-columns: 50% 50%; */
}
#landingHeader h1 {
  font-weight: bold;
  font-size: 300%;
}
#landingHeader h2 {
  color: #b4b4b4;
}
#signup {
  margin: 0 auto;
  margin-top: 10%;
  margin-bottom: 10%;
  width: 50%;
  border: 3px solid #F5F5F5;
}
#signup h1 {
  text-align: center;
  margin: 5% 0 auto;
}
#signupContent {
  margin: 0 auto;
  width: 50%;
}
#signupSubmit {
  width: 100%;
  margin: 0 auto;
  height: 5vh;
  border: 3px solid #F23D3D;
  color: #F5F5F5;
  background-image: linear-gradient(0deg, #F23D3D 50%, #0D0D0D 50%);
  background-size: 300% 300%;
  background-position: 0% 0%;
  transition: ease-in-out 0.3s;
}
#signupSubmit:hover, #signupSubmit:active {
  cursor: pointer;
  background-image: linear-gradient(0deg, #F23D3D 50%, #0D0D0D 50%);
  background-size: 300% 300%;
  background-position: 0% 100%;
  animation: signupButtonTransition 0.3s ease-in-out;
}

#landingInstruction {
  width: 90vw;
  border-top: 5px solid #F5F5F5;
  border-bottom: 5px solid #F5F5F5;
  margin: 0 auto;
  text-align: center;
}

#landingContent {
  width: 90vw;
  margin: 10% 0%;
}

.landingTile #landingTile1{
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing1.jpg);
  background-size: 200% 200%, cover;
  background-position: 10% 20%, 50% 50%;
  filter: grayscale(20%);
  transition: ease-in-out 0.7s; 
}
.landingTileTransition #landingTile1{
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing1.jpg);
  background-size: 200% 200%, cover;
  background-position: 60% 20%, 50% 50%;
  filter: grayscale(100%);
  animation: landingTileTransition 0.7s ease-in-out;
}

.landingTile #landingTile2 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing2.jpg);
  background-size: 200% 200%, cover;
  background-position: 10% 20%, 50% 50%;
  filter: grayscale(20%);
  transition: ease-in-out 0.7s; 
}
.landingTileTransition #landingTile2 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing2.jpg);
  background-size: 200% 200%, cover;
  background-position: 60% 20%, 50% 50%;
  filter: grayscale(100%);
  animation: landingTileTransition 0.7s ease-in-out;
}

.landingTile #landingTile3 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing6.jpg);
  background-size: 200% 200%, cover;
  background-position: 10% 20%, 50% 50%;
  filter: grayscale(20%);
  transition: ease-in-out 0.7s; 
}
.landingTileTransition #landingTile3 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing6.jpg);
  background-size: 200% 200%, cover;
  background-position: 60% 20%, 50% 50%;
  filter: grayscale(100%);
  animation: landingTileTransition 0.7s ease-in-out;
}

.landingTile #landingTile4 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing4.jpg);
  background-size: 200% 200%, cover;
  background-position: 10% 20%, 50% 50%;
  filter: grayscale(20%);
  transition: ease-in-out 0.7s; 
}
.landingTileTransition #landingTile4 {
  height: 100%;
  background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.60) 50%), url(./photos/landing4.jpg);
  background-size: 200% 200%, cover;
  background-position: 60% 20%, 50% 50%;
  filter: grayscale(100%);
  animation: landingTileTransition 0.7s ease-in-out;
}

.landingTile #landingTileContent {
  height: 90%;
  width: 50%;
  opacity: 0;
  position: absolute;
  top: 2%;
  right: 1%;
  color: #F5F5F5;
  z-index: 1;
  animation: landingContentFadeOut 1s ease-in-out;
}
.landingTileTransition #landingTileContent {
  height: 90%;
  width: 50%;
  position: absolute;
  top: 2%;
  right: 2%;
  color: #F5F5F5;
  z-index: 1;
  animation: landingContentFadeIn 1s ease-in-out;
}


#details {
  position: absolute;
  bottom: 3%;
  right: 2%;
}
.landingTile #details {
  opacity: 0;
  color: #F5F5F5;
}
.landingTileTransition #details {
  opacity: 1;
  animation: detailsFadeIn 1.2s ease-in-out;
  transition: ease-in-out 0.3s;
}
.landingTileTransition #details:hover {
  cursor: pointer;
  color: #F23D3D;
  /* transform: scale(1.1); */
  transition: ease-in-out 0.3s;
}

#tileContainer {
  height: 20vw;
  width: 80vw;
  margin: 5% 10%;
  overflow: hidden;
  /* display: flex; */
  position: relative;
  justify-content: center;
  padding: 0 auto;
}

.landingTile, .landingTileTransition {
  height: 20vw;
  width: 80vw;
  margin: 5% 10%;
  overflow: hidden;
  position: relative;
  justify-content: center;
  padding: 0 auto;
  border: 3px solid #F5F5F5;
}


.landingTileTransition h2 {
  animation: landingContentFadeIn 0.8s ease-in-out;
  color: #b4b4b4
}

.landingTile h2 {
  opacity: 0%;
  transition-timing-function: ease-in-out;
  transition-duration: 0.8s;
}


@media screen and (max-width: 550px) {
  body {
    /* width: 90vw; */
    font-size: 50%;
    /* grid-template-columns: 100%;
    grid-template-rows: 30% 70%; */
  }
  
  #landingContent {
    font-size: 50%;
  }
  
  #signup {
    margin: 0 auto;
    width: 80%;
  }
  #signupSubmit {
    height: 5%;
    font-size: 50%;
  }

  .landingTile, .landingTileTransition {
    height: 30vw;
  }
  
  /*Completely change tile animations and layout*/
  /*Grid of square tiles
  On tap, image fades to gray and details link appears
  On details link click, redirect?*/
}

@media screen and (min-width: 551px), (max-width: 550px) and (orientation: landscape) {
  /* .landingTile #landingTile1{
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing1.jpg);
    background-size: 200% 200%, cover;
    background-position: 10% 20%, 50% 50%;
    filter: grayscale(20%);
    transition: ease-in-out 0.7s; 
  }
  .landingTileTransition #landingTile1{
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing1.jpg);
    background-size: 200% 200%, cover;
    background-position: 60% 20%, 50% 50%;
    filter: grayscale(100%);
    animation: landingTileTransition 0.7s ease-in-out;
  }
  
  .landingTile #landingTile2 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing2.jpg);
    background-size: 200% 200%, cover;
    background-position: 10% 20%, 50% 50%;
    filter: grayscale(20%);
    transition: ease-in-out 0.7s; 
  }
  .landingTileTransition #landingTile2 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing2.jpg);
    background-size: 200% 200%, cover;
    background-position: 60% 20%, 50% 50%;
    filter: grayscale(100%);
    animation: landingTileTransition 0.7s ease-in-out;
  }
  
  .landingTile #landingTile3 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing6.jpg);
    background-size: 200% 200%, cover;
    background-position: 10% 20%, 50% 50%;
    filter: grayscale(20%);
    transition: ease-in-out 0.7s; 
  }
  .landingTileTransition #landingTile3 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing6.jpg);
    background-size: 200% 200%, cover;
    background-position: 60% 20%, 50% 50%;
    filter: grayscale(100%);
    animation: landingTileTransition 0.7s ease-in-out;
  }
  
  .landingTile #landingTile4 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing4.jpg);
    background-size: 200% 200%, cover;
    background-position: 10% 20%, 50% 50%;
    filter: grayscale(20%);
    transition: ease-in-out 0.7s; 
  }
  .landingTileTransition #landingTile4 {
    height: 100%;
    background-image: linear-gradient(55deg, rgba(0, 0, 0, 0) 50%, black 50%), url(./photos/landing4.jpg);
    background-size: 200% 200%, cover;
    background-position: 60% 20%, 50% 50%;
    filter: grayscale(100%);
    animation: landingTileTransition 0.7s ease-in-out;
  }
  
  .landingTile #landingTileContent {
    height: 10vw;
    width: 30vw;
    opacity: 0;
    position: absolute;
    top: 3%;
    right: 1%;
    color: #F5F5F5;
    z-index: 1;
    animation: landingContentFadeOut 1s ease-in-out;
  }
  .landingTileTransition #landingTileContent {
    height: 10vw;
    width: 30vw;
    position: absolute;
    top: 3%;
    right: 5%;
    color: #F5F5F5;
    z-index: 1;
    animation: landingContentFadeIn 1s ease-in-out;
  } */
}

/*************************************************************************************/


#mainBody {
  height: 400vh;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
  background: #F23D3D;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition-duration: 0.2s;
  background: #A63333;
}

#nav {
  background-color: #0D0D0D;
  position: fixed;
  display: grid;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  align-self: center;
  overflow: hidden;
  z-index: 2;
  height: 8vh;
  width: 100vw;
  margin: auto;
  top: 0;
  border-bottom: 5px solid #F5F5F5;
}

#nav button, #viewClientButton {
  width: 80%;
  height: 5vh;
  background-color: #0D0D0D;
  border: 3px solid #F23D3D;
  color: #F5F5F5;
  transition: all ease 0.3s;
}

#nav button:hover, #accountSubmit:hover, #viewClientButton:hover {
  cursor: pointer;
  background-color: #F23D3D;
  transform: scale(1.02);
  font-weight: bold;
}

#nav button:active, #accountSubmit:active, #viewClientButton:active, #closeButton:active {
  transform: scale(0.95);
  transition-duration: 0.2s;
}

#closeButton:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: all ease 0.2s;
  font-weight: bold;
}


#announcements, #about, #testimonials, #contact {
  /* width: 100vw; */
  padding-left: 2vw;
  padding-right: 2vw;
  padding-top: 10vh;
  padding-bottom: 10vh;
  height: 80vh;
  text-align: center;
  align-content: center;
  border-top: 2px solid #2C2F40;
  border-bottom: 2px solid #2C2F40;
}

#announcements img {
  height: 65vh;
  width: auto;
}

#announcementsContent {
  width: 80vw;
  margin: 0 auto;
}

#introduction {
  display: grid;
  grid-template-columns: 30% 70%;
  text-align: left;
  width: 80%;
  margin: 0 auto;
}

#certifications {
  width: 80vw;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: 33% 34% 33%;
}

#accountAccess, #accountHome {
  padding-left: 2vw;
  padding-right: 2vw;
  padding-top: 10vh;
  padding-bottom: 10vh;
  height: 75vh;
}

#accountAccess {
  margin: 0 auto;
  margin-top: 5%;
  align-content: center;
}

/* #signup, #login {
  margin: 0 auto;
  border: 3px solid #2C2F40;
  width: 60%;
} */

#signupContent, #loginContent {
  margin: 5% auto;
  width: 60%;
}

#signupContent input, #loginContent input {
  width: 100%;
  margin-top: 2%;
  margin-bottom: 2%;
}

#signupContent p, #loginContent p {
  text-decoration: underline;
  color: #F23D3D;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

#signupContent p:hover, #signupContent p:active,
#loginContent p:hover, #loginContent p:active {
  cursor: pointer;
  color: #A63333;
}

#accountSubmit {
  width: 100%;
  margin: 0 auto;
  height: 5vh;
  border: 3px solid #F23D3D;
  color: #F5F5F5;
  background-color: #0D0D0D;
  transition: all ease 0.3s;
}

#clientList {
  width: 90vw;
  text-align: center;
  margin: 0 auto;
  margin-top: 3%;
}

#clientTable {
  border: 3px solid #2C2F40;
  height: 65vh;
}

#clientListHeader, #clientEntry {
  /* text-align: center; */
  width: 100%;
  display: grid;
  grid-template-columns: 25% 15% 20% 20% 20%
}

#clientList hr {
  border-color: #2C2F40
}

#clientEntry {
  margin: 2vw 0vw;
}

#clientEntryName {
  text-decoration: underline;
}

#clientEntryButtons {
  display: grid;
  grid-template-rows: 50% 50%;
  width: 90%;
  margin: 0 auto;
}

#clientInfoModal {
  display: block;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.521);
}

#closeButtonContainer {
  width: 95%;
  margin: 0 auto;
  text-align: right;
}

#closeButton {
  width: 2vw;
  height: auto;
}

#clientInfoWindow {
  width: 80vw;
  height: 80vh;
  margin: 0 auto;
  margin-top: 10vh;
  background: black;
  border: 3px solid #2C2F40;
  border-radius: 3%;
}

#clientInfo {
  width: 80%;
  height: 80%;
  margin: 0 auto;
}


@media screen and (max-width: 550px) {
  body {
    font-size: 70%;
  }

  #nav {
    grid-template-rows: 50% 40%;
  }

  #nav h1 {
    width: 100vw;
  }

  #accountDropdown {
    animation: growDown 300ms ease-in forwards;
    background-color: black;
    width: auto;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    margin: auto;
    margin-top: 2vh;
  }

  #mainNav {
    /* animation: growDown 300ms ease-in forwards;
    background-color: black;
    width: auto;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    margin: auto; */
    /* margin-top: 9vh; */
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
  }

  #accountNav {
    display: grid;
    grid-template-columns: 60% 20% 20%;
  }

  #mainNav button, #accountNav button {
    height: 6vw;
    font-size: 40%;
  }

  #clientEntryButtons button{
    font-size: 40%;
  }
}

@media screen and (min-width: 550px) {
  #nav {
    grid-template-columns: 40% 60%;
  }

  #accountDropdown {
    animation: growDown 300ms ease-in forwards;
    background-color: black;
    width: 12vw;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    margin: 0 auto;
    margin-top: 2vh;
  }

  #accountDropdown button {
    width: 80%;
    margin: 1% auto;

  }

  #mainNav {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
  }

  #accountNav {
    display: grid;
    grid-template-columns: 60% 20% 20%;
  }

  #nav h1 {
    padding-left: 2vw;
  }

}


.active {
  text-decoration: underline;
}
