:root{
  --window-open-time: 300ms;
}


@font-face {
    font-family: 'FTT-Chiaro';
    src: url(fonts/TT_CHIARO-B.ttf);
}

@keyframes windowOpen {
  from{ 
    /* height: 0px;
    width: 0px; */
    transform: scale(0);
  }
  to{
    /* height: 200px;
    width: 500px; */
    transform: scale(1);
  }
}

@keyframes windowClose{
  from{ 
    transform: scale(1);
  }
  to{
    transform: scale(0);
  }
}

@keyframes typing {
  from{
    width: 0%
  }
  to{
    width: 100%
  }
}

@keyframes appear{
  from{
    opacity: 0%;
  }
  to{
    opacity: 100%;
  }
}

@keyframes advance{
  from{
    height:100%;
  }
  to{
    height: 0%;
  }
}

@keyframes unread{
  from{
    background-color: black;
  }
  to{
    background-color: #164d52;
  }
}

.filmwindow {
  position: absolute;
  background-color: black;
  border-style: solid;
  border-width: 3px;
  border-color: #25442b;
  padding: 10px;
  /* height:200px;
  width:500px; */
  word-wrap: normal;
  box-shadow: 10px 10px rgba(0,0,0,50);
  overflow: hidden;
  z-index: 1;


  animation-name: windowOpen;
  animation-duration: var(--window-open-time);
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.filmwindowClose{
  animation-name: windowClose;
  animation-duration: var(--window-open-time);
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.computerIcons{
  position: absolute;
}

.computerIcons:hover{
  background-color: #164d52;
}

.header{
  position: fixed;
  top:0px;
  background-color: #00a726;
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-stretch: condensed;
  font-weight: bold;
  color: black;
}

body {
  background-color: #010f00;
  color: #707070;
  font-family: 'FTT-Chiaro';
  overflow: hidden;
}

.bggrid {
  display: grid;
  grid-template-columns: 20px 20px 20px;
}

.bggrid div{
  border: 10px solid #045305;
  padding: 3px;
}

.mailWindow.filmwindow{
  max-height: 600px;
  width:900px;
  overflow-y: auto;
  top:20%;
  right:50%;
  z-index:99;
}

.mailContents{
  text-wrap-mode: wrap;
  font-size:50px;
}

canvas {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events: none;
}

#defaultCanvas0{
  z-index: -1;
}





button{
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}


div.mailBox{
  position:absolute;
  top: 37%;
  left: 5.8%;
}

li.mailItems{
  background-color: black;
  height: 60px;  
  width: 750px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 33% 33% 33%;
  align-items: center; 
  place-items: center;
  line-height: 0px;
  padding-bottom: 10px;
}

li.mailItems:hover{
  /* border: 3px solid #ad8eaa; */
  background-color: black;
  height: 60px;  
  width: 750px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 33% 33% 33%;
  align-items: center; 
  place-items: center;
  line-height: 0px;
  padding-bottom: 10px;
}

.mailItems.unread{
  animation-name: unread;
  animation-duration: 1s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.filmwindow .scrolling {
  font-size:xx-large;
  border-bottom: .07em solid #737373;
  margin: 0 auto;
  text-align: left;
  /* text-decoration: underline #737373 2px; */
  letter-spacing: .06em;
  overflow: hidden;
  font-size: 40px;
  /* animation: 
    appear 1ms linear var(--window-open-time) 1 normal both; */


}

.advancetextanimation{
  animation-name: advance;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: both;

}

.closeButton{
  position:fixed;
  top:100px;
  left:500px;
}

ul.websitebuttons{
  list-style-type: none;

}

li.websitebuttons{
  float: left;
}


a{
  position:relative;
  color: #690afe;
  padding: 0.8cm;
  font-family: 'Times New Roman', Times, serif;
  text-transform: lowercase;
  -webkit-text-stroke: 1px #2107bc;
  text-decoration: none;
}

h3{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #d4e000;
  font-size: 40px;
  font-weight: lighter;
  font-stretch: ultra-condensed;
  
}





iframe{
  overflow: hidden;
}
