body{
  background-image: url('../images/tile.png');
  background-color: #E0E0E0;
  overflow-y: hidden;
  user-select: none;
  white-space: nowrap;
  font-family: helvetica;
}

.mobileView{
  display: none;
}

a{
    color: #000;
}

a:visited{
    color: #000;
}

a:active{
    color: #000;
}


/* -------------------- INTRO */

.title, .descItem{
  animation-delay:.05s;
  animation: comeIn 1.5s forwards;
  opacity:0;
}

.title{
  margin: 0;
  top: 29vh;
  transform: perspective(1px) translateY(-50%);
}

.title, .desc{
  left: 80px;
  position: absolute;
}

.desc{
  top: 42vh;
}

h1{
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 21px;
  background-color: #E0E0E0;
  padding-right: 30px;
}

.desc p{
  display: block;
  width: 300px;
  white-space: normal;
  line-height: 21px;
  background-color: #E0E0E0;
  font-size: 14px;

}

.date{
  background-color: #E0E0E0;
  padding-right: 0;
  margin-right: 60px;
}

.descItem{
  display: block;
  float: left;
}

.descItem:nth-of-type(1){
  animation-delay:.4s;
}

.descItem:nth-of-type(2){
  animation-delay:.45s;
  padding-right: 60px;
}

.descItem:nth-of-type(3){
  animation-delay:.5s;
  padding-right: 60px;
}

.infoCol:nth-of-type(1), .infoCol:nth-of-type(2){
  margin-bottom: 20px;
}

.date, span{
  text-transform: uppercase;
}

span{
  font-weight: bold;
}

.infoCol span{
  padding-right: 10px;
}

.addressLink, .classSocial{
  text-decoration: none;
}


.nameArrow{
  width: 30px;
  height: 30px;
  background-size: cover;
  position: absolute;
  right: 130px;
  top: 50%;
  transform: translateY(-50%);
  cursor: default;
  animation: sideHover 3s ease-in-out infinite;
}

.nameArrow:hover{
  cursor: pointer;
}


@keyframes sideHover {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
  100% {
    transform: translateX(0);
  }
}

/* -------------------- STUDENTS */

.nameContainer{
  width: 460px;
  height: 100vh;
  position: relative;
  display: inline-block;
}

.nameContainer:nth-of-type(1){
  margin-left: 125vw;
}


@keyframes comeIn{
  from{opacity:0; transform: translateY(200px);
  }
  to{opacity:1; transform: translateY(0px)}
}

@keyframes comeIn2{
  from{opacity:0; transform: translateX(-500px);
  }
  to{opacity:1; transform: translateX(0px)}
}

@keyframes comeIn3{
  from{opacity:0; transform: translateY(-200px);
  }
  to{opacity:1; transform: translateY(0px)}
}


@keyframes fadeIn{
  from{opacity:0;
  }
  to{opacity:1;}
}


.studentEntry{
  position: relative;
  margin-top: 10vh;
  height: 30px;

  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  font-size: 21px;
  letter-spacing: 1px;

  opacity:0;
  animation: comeIn 1s forwards;
  transition-duration: .5s;
}

.animateStudentEntry{
  animation: comeIn 1s forwards;
  transition-duration: .5s;
}

.studentEntry:nth-of-type(1){
  margin-top: 15vh;
}

.studentEntry:nth-of-type(1n){
animation-delay:0s;
}

.studentEntry:nth-of-type(2n){
animation-delay:.1s;
}

.studentEntry:nth-of-type(3n){
animation-delay:.2s;
}

.studentEntry:nth-of-type(4n){
animation-delay:.3s;
}

.studentEntry:nth-of-type(5n){
animation-delay:.4s;
}

.studentEntry:nth-of-type(6n){
animation-delay:.5s;
}

.backToBeg{
  color: grey;
}

.titleOne{
  width: 200px;
  height: 50px;
  position: absolute;
  background-color: #E0E0E0;
}

.titleOne:hover{
  cursor:pointer;
}
.titleOne:hover .titleTwo{
  transform: translateY(0px);
  opacity: 1;
}

.titleOne:hover .titleThree{
  transform: translateY(20px);
  opacity: 0;
}

/* -------------------- STUDENT PAGES */


.titleTwo{
  width: 400px;
  position: absolute;
  overflow: hidden;
  transform: translateY(-20px);
  transition-duration: .2s;
  opacity: 0;
  pointer-events: none;
}

.titleThree{
  width: 400px;
  position: absolute;
  overflow: hidden;
  transition-duration: .2s;
  opacity: 1;
  pointer-events: none;
}

.subBody{
  background-image:url('../images/tile2.png');
}

.closeSign{
  background-image:url('../images/plus.png');
  width: 60px;
  height: 60px;
  position: absolute;
  left: 20px;
  top: 20px;
  background-size: cover;
  transition-duration: .3s;
  z-index: 100;
}

.closeSign:hover{
  transform: rotate(135deg);
  transition-duration: .3s;
}

.button{
  font-weight: bold;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: grey;
  transition-duration: .2s;
  animation: comeIn 1s forwards;
  opacity: 0;
  bottom: 30px;
  margin-bottom: 0;
}

.button:hover{
  color: black;
  transform: translateX(20px);
}

.next{
  position: fixed;
  right: 30px;
  padding-right: 0;
}

.previous{
  position: fixed;
  left: 30px;
}

.subTitle{
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;

  position: absolute;
  padding-right: 0;
  margin-top: 30px;
  right: 30px;
  opacity:0;

  animation: comeIn3 1s forwards;
}

.galleryContainer{
  width: 1200px;
  height: 540px;
  position: absolute;
  animation: fadeIn 1.5s forwards;
  opacity:0;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.slide{
  height: 100%;
  position: absolute;
  left: 50%;
  /* transform: translateX(-50%) translateY(-200px); */
  transform: translateX(-50%) translateY(0);
  width: 1000px;
  opacity: 0;
  z-index:0;
  transition-duration: .4s;
}

.activeSlide{
  display: block;
  /* transform: translateX(-50%) translateY(0); */
  transform: translateX(-50%) translateY(0);
  opacity:1;
  z-index:1;
}

.portrait{
  background-size: cover;
  width: 366px;
  height: 100%;
  float: left;
}

.logo{
  width: 35%;
  height: 140px;
  left: 60px;
  top: 10px;
  margin-bottom: 10px;
  /* transform: translateX(-50%); */
  position: relative;
  background-size:contain;
  background-repeat: no-repeat;
  background-color: #E0E0E0;
}

.description{
  width: 634px;
  height: 540px;
  float: right;
  font-size: 16px;
  line-height: 26px;
}

.description p{
  padding: 20px;
  /* margin: 40px; */
  margin: 40px 40px 30px 40px;
  white-space: normal;
  background-color: #E0E0E0;
}

.description a:nth-of-type(1){
  padding-left: 60px;
}

.description a{
  color: grey;
  background-color: #E0E0E0;
  padding-right: 30px;
  text-transform: uppercase;
  text-decoration: none;
  transition-duration: .2s;
  letter-spacing: 1px;
  z-index: 2100;
}

.description a:hover{
  color: black;
  cursor: pointer;
}

.direction{
  width: 30px;
  height: 30px;
  background-size: cover;
  transition-duration: .2s;
}

.direction:hover{
  cursor: pointer;
}

.previousButton:hover{
  transform: translateX(-5px);
}

.nextButton:hover{
  transform: translateX(5px);
}

.previousButton{
  left: 20px;
  top: 50%;
  position: fixed;
}

.nextButton{
  right: 20px;
  top: 50%;
  position: fixed;

}

.dotTracker{
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  position: absolute;
  bottom: 40px;
  height: 40px;
  flex-direction: row;
  z-index: 100;

  display: none;
}

.dotTracker li{
  position: relative;
  width: 30px;
  height: 40px;
  margin-left: 40px;
}

.dotTracker li:hover{
  cursor: pointer;
}

.activeDot .crossBar{
  background-color: black;
}

.crossBar{
  width: 20px;
  height: 5px;
  background-color: grey;
  position: absolute;
  margin-left:20px;
  transition-duration: .2s;
}

.crossBar:nth-of-type(2){
  transform: rotate(90deg);
}

.goHome{

}

img{
  /* width: 100%; */
  height: 540px;
  display: block;
  margin: auto;
}

video{
  height: 540px;
  display: block;
  margin: auto;
  outline: none;
}

@media (max-width:800px){

  body{
    background-image: url('../images/tile.png');
    overflow-y: hidden;
    /* overflow-x: hidden; */
    user-select: none;
    white-space: nowrap;
    font-family: helvetica;
  }

  a{
      color: #000;
  }

  a:visited{
      color: #000;
  }

  .sample{
    position: absolute;
    width: 4000px;
    height: 100%;
  }

  /* -------------------- INTRO */

  .title, .descItem{
    animation-delay:.05s;
    animation: comeIn 1.5s forwards;
    opacity:0
  }

  .title{
    margin: 0;
    top: 29vh;
    transform: perspective(1px) translateY(-50%);

  }

  .title, .desc{
    left: 80px;
    position: absolute;
  }

  .desc{
    top: 42vh;
    width: 100%;
  }

  h1{
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 21px;
    background-color: #E0E0E0;
    padding-right: 30px;
  }

  .desc p{
    display: block;
    width: 300px;
    white-space: normal;
    line-height: 21px;
    background-color: #E0E0E0;
    font-size: 14px;

  }

  .date{
    background-color: #E0E0E0;
    padding-right: 0;
    margin-right: 60px;
  }

  .descItem{
    display: block;
    position: absolute;
  }

  .descItem:nth-of-type(1){
    animation-delay:.4s;
  }

  .descItem:nth-of-type(2){
    animation-delay:.45s;
    padding-right: 60px;
    left: 300px;
  }

  .descItem:nth-of-type(3){
    animation-delay:.5s;
    padding-right: 60px;
    top: 250px;
  }

  .infoCol:nth-of-type(1){
    margin-bottom: 20px;
  }

  .date, span{
    text-transform: uppercase;
  }

  span{
    font-weight: bold;
    padding-right: 10px;
  }

  .nameArrow{
    width: 30px;
    height: 30px;
    background-size: cover;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: default;
    animation: sideHover 3s ease-in-out infinite;
  }

  .nameArrow:hover{
    cursor: pointer;
  }


  /* -------------------- STUDENTS */

  .nameContainer{
    width: 460px;
    height: 100vh;
    position: relative;
    display: inline-block;
  }

  .nameContainer:nth-of-type(1){
    margin-left: 245vw;
  }





  .studentEntry{
    position: relative;
    margin-top: 10vh;
    height: 30px;

    text-transform: uppercase;
    font-weight: bold;
    color: black;
    font-size: 21px;
    letter-spacing: 1px;

    opacity:0;
    animation: comeIn 1s forwards;
    transition-duration: .5s;
  }

  .animateStudentEntry{
    animation: comeIn 1s forwards;
    transition-duration: .5s;
  }

  .studentEntry:nth-of-type(1){
    margin-top: 15vh;
  }

  .studentEntry:nth-of-type(1n){
  animation-delay:0s;
  }

  .studentEntry:nth-of-type(2n){
  animation-delay:.1s;
  }

  .studentEntry:nth-of-type(3n){
  animation-delay:.2s;
  }

  .studentEntry:nth-of-type(4n){
  animation-delay:.3s;
  }

  .studentEntry:nth-of-type(5n){
  animation-delay:.4s;
  }

  .studentEntry:nth-of-type(6n){
  animation-delay:.5s;
  }

  .backToBeg{
    color: grey;
  }

  .titleOne{
    width: 200px;
    height: 50px;
    position: absolute;
    background-color: #E0E0E0;
  }

  .titleOne:hover{
    cursor:pointer;
  }
  .titleOne:hover .titleTwo{
    transform: translateY(0px);
    opacity: 1;
  }

  .titleOne:hover .titleThree{
    transform: translateY(20px);
    opacity: 0;
  }

  /* -------------------- STUDENT PAGES */


  .titleTwo{
    width: 400px;
    position: absolute;
    overflow: hidden;
    transform: translateY(-20px);
    transition-duration: .2s;
    opacity: 0;
    pointer-events: none;
  }

  .titleThree{
    width: 400px;
    position: absolute;
    overflow: hidden;
    transition-duration: .2s;
    opacity: 1;
    pointer-events: none;
  }

  .subBody{
    background-image:url('../images/tile2.png');
  }

  .closeSign{
    background-image:url('../images/plus.png');
    width: 60px;
    height: 60px;
    position: absolute;
    left: 20px;
    top: 20px;
    background-size: cover;
    transition-duration: .3s;
    z-index: 100;
  }

  .closeSign:hover{
    transform: rotate(135deg);
    transition-duration: .3s;
  }

  .button{
    font-weight: bold;
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: grey;
    transition-duration: .2s;
    animation: comeIn 1s forwards;
    opacity: 0;
    bottom: 30px;
    margin-bottom: 0;
  }

  .button:hover{
    color: black;
    transform: translateX(20px);
  }

  .next{
    position: fixed;
    right: 10px;
    padding-right: 0;
  }

  .previous{
    position: fixed;
    left: 10px;
  }

  .subTitle{
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;

    position: absolute;
    padding-right: 0;
    margin-top: 30px;
    right: 30px;
    opacity:0;

    animation: comeIn3 1s forwards;
  }

  .galleryContainer{
    width: 90%;
    height: 540px;
    position: absolute;
    animation: fadeIn 1.5s forwards;
    opacity:0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .slide{
    height: 100%;
    position: absolute;
    left: 50%;
    /* transform: translateX(-50%) translateY(-200px); */
    transform: translateX(-50%) translateY(0);
    width: 100%;
    opacity: 0;
    z-index:0;
    transition-duration: .4s;
  }

img{
    width: 100%;
    height: auto;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
  }



  .activeSlide{
    display: block;
    /* transform: translateX(-50%) translateY(0); */
    transform: translateX(-50%) translateY(0);
    opacity:1;
    z-index:1;
  }

  .portrait{
    background-size: contain;
    background-repeat: no-repeat;
    width: 50%;
    float: left;
  }



  .description{
    width: 100%;
    height: 540px;
    position: absolute;
    font-size: 16px;
    line-height: 26px;
  }

  .description .logo{
    width: 150px;
    height: 150px;
    left: 60%;
    top: 10px;
    /* transform: translateX(-50%); */
    position: absolute;
    background-size:contain;
    background-repeat: no-repeat;
  }

  .description p{
    top: 130px;
    padding: 20px;
    width: 40%;
    right: -40px;
    position: absolute;
    white-space: normal;
    background-color: #E0E0E0;
    line-height: 18px;
    font-size: 12px;
  }

  .description a:nth-of-type(1){
    padding-left: 60px;
  }

  .description a{
    color: grey;
    background-color: #E0E0E0;
    padding: 10px 30px 10px 0;
    /* padding-bottom: 10px;
    padding-right: 30px; */
    text-transform: uppercase;
    text-decoration: none;
    transition-duration: .2s;
    letter-spacing: 1px;
    z-index: 2100;
    display: none;
  }

  .description a:hover{
    color: black;
    cursor: pointer;
  }

  .description a:visited{
    color: black;
  }

  .direction{
    width: 30px;
    height: 30px;
    position: absolute;
    background-size: cover;
    transition-duration: .2s;
    z-index: 102;
  }

  .direction:hover{
    /* transform: scale(1.2); */
    cursor: pointer;
  }

  .previousButton:hover{
    transform: translateX(-5px);
  }

  .nextButton:hover{
    transform: translateX(5px);
  }

  .previousButton{
    left: 20px;
    top: 50%;
  }

  .nextButton{
    right: 20px;
    top: 50%;
  }

  .dotTracker{
    /* width: 280px; */
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    position: absolute;
    bottom: 40px;
    height: 40px;
    display: none;
    flex-direction: row;
    z-index: 100;
  }

  .dotTracker li{
    position: relative;
    width: 30px;
    height: 40px;
    margin-left: 40px;
  }

  .dotTracker li:hover{
    cursor: pointer;
  }



  .activeDot .crossBar{
    background-color: black;
  }

  .crossBar{
    width: 20px;
    height: 5px;
    background-color: grey;
    position: absolute;
    margin-left:20px;
    transition-duration: .2s;
  }

  .crossBar:nth-of-type(2){
    transform: rotate(90deg);
  }

  .goHome{
  }
}


/* MOBILE STYLES ////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 480px){

  body{
    /* overflow-y: hidden; */
    /* overflow-x: hidden; */
    white-space: normal;
    height: 200vh;
  }

  .mobileHidden{
    display: none;
  }

  .mobileView{
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  .smiley{
    display: block;
    width: 50px;
    height: 50px;
    background-image: url('../images/_smile.svg');
    background-size: contain;
    background-color: #E0E0E0;
  }


}
