@font-face {
    font-family: 'GoldenHills';
    src: url('/media/fonts/GoldenHillsDEMO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NOMARK';
    src: url('/media/fonts/Nomark.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
  scroll-behavior: smooth;
  cursor: url(/media/images/grisham/cursor.png), auto !important;
}

:root,
        [data-selected-theme="grisham"] {
            color-scheme:light dark;
            --main-color:;
            --mainfont: 'Ms UI Gothic';
            --fontcolor:#656565;
            --titlefont: 'NOMARK';
            --titlecolor: #ffffff;
            --mainheadingcolor: #4f4646;
            --gradientwhite: #ffffff;
            --gradientred: #918a8a;
            --lightgray: #aaaaaa;
            --lightergray: #bebebe;
            --white: #ffffff;
            --outline: #535353;
            --shadow: #4b4b4b;
            --transwhite: #ffffff00;
            --transblack: #ffffff00;
            --half: #ffffff7e;
            --kinda: #ffffffb7;
            --black: #000000;
        }

body {
    font-family:var(--mainfont);
    display:flex;
    width:80vw;
    background:url(/media/images/grisham/background.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment:fixed;
    color:var(--fontcolor);
    position: relative;
    height:auto;
    margin-left: auto;
    margin-right: auto;

}

.grid-container {
display: grid;
grid-template-columns: 15% 1fr 1fr;
grid-template-areas:
        " header header header "
        " left bar bar "
        " left main main "
        " left main main "
        " footer footer footer ";
  border: 3px double var(--outline);
  border-radius:10px 10px 10px 10px;
  padding:2px;
}


header {
    grid-area:header;
    background:
    linear-gradient(to top,  light-dark(var(--transwhite), var(--transblack)) 0%, light-dark(var(--white), var(--black)) 85%, light-dark(var(--white), var(--black)) 75%),
    url(/media/images/grisham/graphics/grishamheader.png) no-repeat,
    linear-gradient(45deg, #c1c1c1 25%, #fefefe 25%, #fefefe 50%, #c1c1c1 50%, #c1c1c1 75%, #fefefe 75%, #fefefe 100%);
    background-size: cover, 
    contain, 
    62.23px 62.23px;
    background-position:
    auto,
    bottom 0 left 0,
    auto;
    background-repeat:
    auto, 
    no-repeat, 
    auto;
    height:23vh;
    width:auto;
    border-radius: 10px 10px 0px 0px;
}

.bar {
    grid-area:bar;
    background:var(--white);
    padding:5px;
}

aside {
    grid-area: left;
    box-shadow:inset 1px 1px 3px var(--shadow);
    /*background-image: linear-gradient(125deg, light-dark(var(--gradientred), var(--shadow)) 7.14%, light-dark(var(--white), var(--black)) 7.14%, light-dark(var(--white), var(--black)) 50%, light-dark(var(--gradientred), var(--shadow)) 50%, light-dark(var(--gradientred), var(--shadow)) 57.14%, light-dark(var(--white), var(--black)) 57.14%, light-dark(var(--white), var(--black)) 100%);
    background-size: 8.55px 12.20px;*/
    background:repeating-conic-gradient(var(--lightgray) 0 25%, var(--lightergray) 0 50%) 
      50% / 20px 20px;
      text-align:center;
}

aside h1, aside h2, aside h3, aside h4, aside h5, aside h6 {
  font-family:var(--titlefont);
  color:var(--white);
  margin-bottom:-10px;
  text-shadow: 3px 1px var(--mainheadingcolor), -1px 1px var(--mainheadingcolor), 3px 1px var(--mainheadingcolor), -1px 1px var(--mainheadingcolor) ;
}

.asidebox {
  box-shadow:inset 1px 1px 3px var(--gradientred);
  background: linear-gradient(0deg,  var(--lightergray) 0%,var(--gradientwhite) 40%);
  width:80%;
  margin-left:auto;
  margin-right:auto;
  border-radius: 10px 10px 10px 10px;
  border:1px solid var(--outline);
  padding:10px;
  line-height: 1.5;
}

.asidebox ul {
  list-style-type: "⟡ ";
  text-align:start;
}
.asidebox a {
transition: letter-spacing .5s;
}

.asidebox a:hover {
letter-spacing:1px;
}

.team {
    float:right;
    width: 25%;
  padding-left: 0.5rem;
  margin: 0.5rem;
  border:initial;
  box-shadow:initial;
  text-align:center;
  z-index:900;
  font-family:var(--mainfont);
}

.yay {
max-height:20vh;
text-align:center;
border: 3px double var(--mainheadingcolor);
padding:10px;
border-radius: 10px 10px 10px 10px;
}

.teamy {
    background:var(--white);
}
.teamy img {
    height:10vh;
    transition:transform .5s;
}

.teamy img:hover {
    transform:scale(1.5);
}

main {
    grid-area:main;
    padding:10px;
    height:fit-content;
    overflow:scroll;
    text-align:center;
    background:var(--kinda);
}

main p {
font-size:.9rem;
text-align:initial;
line-height:1.7;
}

main img {
  text-align:center;
}

.quotey li {
  font-style:italic;
  color:var(--gradientred);
  margin-bottom:20px;
}

.quotey ul {
  list-style-type: none;
  text-align:start;
}

.heady ul {
  text-align:start;
  list-style-type: "⟡ ";
}

article {
    border:1px solid var(--outline);
    padding:10px;
    box-shadow:inset 1px 1px 3px var(--shadow);
    overflow:scroll;
    line-height:1.5;
    background:var(--half);
}

footer { 
    grid-area:footer;
    background: linear-gradient(to bottom,  var(--gradientwhite) 0%,var(--gradientred) 100%);
    color:var(--outline);
    text-align:center;
    padding:5px;
    border-radius:0px 0px 10px 10px;
}

.title {
    background: linear-gradient(to bottom,  var(--gradientwhite) 0%,var(--gradientred) 100%);
    box-shadow:inset 1px 1px 3px 3px var(--white);
    color: var(--titlecolor);
    font-family: var(--titlefont);
    border-radius: 10px 10px 0px 0px;
    border: 1px solid var(--outline);
    font-size:1.2rem;
    text-align:center;
    }

main h1, main h2, main h3, main h4, main h5, main h6  {
    text-shadow: 3px 1px var(--mainheadingcolor), -1px 1px var(--mainheadingcolor), 3px 1px var(--mainheadingcolor), -1px 1px var(--mainheadingcolor) ;
    margin:5px;
    text-transform:uppercase;
}

article h1, article h2, article h4, article h5, article h6 {
    background: linear-gradient(to right,  var(--mainheadingcolor) 0%,var(--transwhite) 100%);
    color:var(--white);
    font-family:var(--titlefont);
    margin-left:-10px;
    padding:3px;
    text-align:start;
}


/*MARQUEE STUFF*/
/* This is what causes the actual smooth scrolling */
@keyframes scroll-r2l {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Change the '10s' in this to change how fast it scrolls! */
.scroll-r2l {
  animation: scroll-r2l 30s linear infinite;
}

/* Left-to-Right */
@keyframes scroll-l2r {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

.scroll-l2r {
  animation: scroll-l2r 30s linear infinite;
}

/* 'Display: Flex' is extremely important to use here so all the items inside the marquee line up correctly, and the duplicated container lines up properly with the original */
.marquee {
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  box-sizing: unset;
  
  /*  You dont need a border or a set width on yours, but it makes the effect look better if the marquee width is smaller than the number of items in your marquee  */
}

.marquee-items {
  display: flex;
  flex-shrink: 0;
  height: 100%;
  font-size:0.75em;
  font-family:var(--mainfont);
  color:var(--);
  font-style:italic;
  min-width: 100%;
  position: relative;
}

/* Changes to this class will only affect the children
of the marquee-items, and not all of their descendants.
Make changes here if you want spaces in-between the
marquee items or other effects and styles!*/
.marquee-items > * {
  margin: 0;
}

.paused {
  -webkit-animation-play-state:paused;
  -moz-animation-play-state:paused;
  -o-animation-play-state:paused;
  animation-play-state:paused;
}


/*MAREUQQ END*/

@media only screen and (max-width: 900px) {
    .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        " header " 
        " left " 
        " bar " 
        " main " 
        " footer " ;
}
body {
  width:90%;
}
.team {
  display:none;
}

.yay {
  width:60vw;
}
}