@font-face {
  font-family: 'Caprasimo';
  src: url("media/fonts/Caprasimo-Regular.ttf") format('TrueType');
}

@font-face {
  font-family: 'Exo-Regular';
  src: url("media/fonts/Exo-Regular.ttf") format('TrueType');
}

@font-face {
  font-family: 'Exo-Bold';
  src: url("media/fonts/Exo-Bold.ttf") format('TrueType');
}

@font-face {
  font-family: 'Exo-Light';
  src: url("media/fonts/Exo-Light.ttf") format('TrueType');
}

@font-face {
  font-family: 'Exo-ExtraLight';
  src: url("media/fonts/Exo-ExtraLight.ttf") format('TrueType');
}

*{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
  font-synthesis: style !important;

}

#Wrapper {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.SRonly {
  position: absolute;
  left:-99999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

body {
  background-color: #1a0000;
}

a:link, a:visited, a:hover, a:active {
  color: #b07e00;
  font-weight: bold;
}

h1 {
  font-family: 'Exo-Light', sans-serif;
  padding: 1vh;
  font-size: 2.5vh;
  color:#ffffff;
  opacity: 1;
  margin-top: 5px;
}

h2 {
  font-family: 'Exo-ExtraLight', sans-serif;
  font-style: oblique;
  padding: 1vh;
  font-size: 2vh;
  color:#ffffff;
  opacity: 1;
  letter-spacing: 1px;
}

p {
  font-family: 'Exo-Light';
  color: white;
  font-size: 2vh;
  padding-left : 2vh;
  padding-right: 2vh;
}
 

*{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
}

#Landing {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
  opacity: 100%;
  display: grid;
  text-align: center;
  grid-template-rows: 16% 84%;

}

.LandingSegment {
  position: relative;
  width: 100%;
  transition: 0.5s;
  opacity: 0;
  box-shadow: 2px 0px 7px black, -2px 0px 7px black;

}

#Banner {
  background-color: #000000;
  display: grid;
  grid-template-rows: 45% 55%;
}

#Banner::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;  
  line-height: 1.5;
  font-size: 1.2vh;
  background-image: url("media/images/5year_MosaicSmaller_Pixellated_Recolored.jpg");
  background-size: contain;
  opacity: 0.4;
  background-position: left;
  display: flex;
  align-items: top;
  background-repeat: repeat;
  animation: marquee 7s infinite linear;
}

:root {
  --headphoneWidth: 100px;
  /* Changed dynamically in JS */
}

@keyframes marquee {
  0% {
    background-position: 0;
  }

  100% {
    background-position: var(--headphoneWidth);
  }
}


.BannerOverlay {
  z-index: 1;
  color: white;
}


#Title {
  font-family: 'Caprasimo', cursive;
  z-index: 1;
  font-size: 4vh;
  margin-top: 1vh;
  text-align: center;
  color:#bd8800;
  -webkit-text-stroke: 1px #ca0000;
  text-shadow: 1px 1px 1px #001dd8, -1px 1px 1px #001dd8, 1px -1px 1px #001dd8, -1px -1px 1px #001dd8;
}

#Blurb {
  font-style: italic;
  text-shadow: 1px 1px 1px #000000, -1px 1px 1px #000000, 1px -1px 1px #000000, -1px -1px 1px #000000;
  font-size: 2.2vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  opacity: 100%;
}

#Blurb.fadeOut {
  transform: translateX(0.25em);
  opacity: 0%;
}

#Blurb.fadeInSetup {
  transform: translateX(-0.25em);
  opacity: 0%;
}


#Main {
  background-color: #1a0000;
  border-top: 1px solid #888;
  -o-border-image: -o-repeating-linear-gradient(145deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  border-image: repeating-linear-gradient(145deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  /* padding: 1.5vh; */
  display: grid;
  grid-template-rows: 88% 12%;
}

#ProjectPanel {
  padding: 1.5vh;
  display: grid;
  grid-template-rows: 10% 17% 58% 15%;

}

.ProjectSegment {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* #ProjectTitle {

} */

/* #ProjectRole {

} */

/* #ProjectDisplay {
  object-fit: contain;
} */


#ProjectImage {
  border: 1px solid #888;
  -o-border-image: -o-repeating-linear-gradient(145deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  border-image: repeating-linear-gradient(145deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  width: 65vw;
}

#ProjectEmbed {
  display: block;
  height: 300px;
  border: none;
  max-height: 230px;
  width: 90%;
}

#ProjectReload {
  font-family: 'Caprasimo', cursive;
  color: #b07e00;
  background-color: #1a0000;
  border: 1px;
  border-style: solid;
  border-color: #b07e00;
  border-radius: 28px;
  font-size: 2.4vh;
  padding: 7px;

}

#ProjectReload:active {
  color: #1a0000;
  background-color: #b07e00;
  box-shadow: inset 1px 1px 1px black, inset -1px -1px 1px black, inset 1px -1px 1px black, inset -1px 1px 1px black;

}


#Footer {
  border-top: 1px solid #888;
  -o-border-image: -o-repeating-linear-gradient(145deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  border-image: repeating-linear-gradient(300deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 700px) 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px;

}

.SocialLink {
  width: 7%;
  margin: 20px;

}

.Icons {
  height: 2.8vh;
  width: auto;
  filter: invert(40%) sepia(63%) saturate(1985%) hue-rotate(29deg) brightness(98%) contrast(101%);  
  border: none;
  max-height: 40px;

}

@media screen and (max-width: 350px) {
 
  #ProjectReload {
    font-size: 2.1vh;
  
  }
  
}


@media screen and (min-width: 700px) {

  #Landing {
    grid-template-rows: 14% 86%;
  
  }

  .Title {
    padding: 2vh;
  }  

  
  #ProjectImage {
    max-width: 43vh;
  
  }
  
  #ProjectEmbed{
    height: 500px;
    max-height: 60vh;
    width: 93%;
    
  }

  #ProjectPanel {
    padding: 1.5vh;
    display: grid;
    grid-template-rows: 7% 12% 65% 16%;
  
  }
  

}


@media screen and (orientation: landscape) {
 
  .LandingSegment {
    max-width: 70%;
    left: 15%;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
    -o-border-image: -o-repeating-linear-gradient(270deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
    border-image: repeating-linear-gradient(270deg, #ad9c77, #ad9c77, #635434, #ad9c77, #ad9c77 300px) 1;
  }

  .Title {
    padding: 2vh;
    font-size: 6vh;
  
  }  
  
  #ProjectImage {
    max-width: 45vh;
  
  }
  
  #ProjectEmbed{
    height: 450px;
    max-height: 40vh;
    width: 80%;
    
  }

  #ProjectPanel {
    padding: 1.5vh;
    display: grid;
    grid-template-rows: 6% 10% 68% 16%;
  
  }

}

@media screen and (min-width: 1200px) {

  .LandingSegment {
    max-width: 55%;
    left: 22.5%;
  }

  #ProjectImage {
    max-width: 45vh;
  
  }
  
  #ProjectEmbed{
    height: 450px;
    max-height: 40vh;
    width: 80%;
    
  }

  #ProjectPanel {
    padding: 1.5vh;
    display: grid;
    grid-template-rows: 6% 10% 68% 16%;
  
  }

}


@media screen and (min-width: 1800px) {

  .LandingSegment {
    max-width: 40%;
    left: 30%;
  }


}
