/* FLICKITY STUFF */
html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body { 
  font-family: sans-serif;
  height: 3000px; 
}

.titleContainer {
  display: grid;
  justify-content: center;
}

div img.titleImg {
  display: grid;
  text-align: center;
  padding-top: 2em;
}


.carousel {
  background: #FFFFFF;
}

.carousel-cell {
  width: 100%;
  height: 300px;
  margin-right: 10px;
  /* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel.is-fullscreen .carousel-cell {
  height: 100%;
}

.carousel-cell-image {
  display: block;
  max-height: 100%;
}


/* REGULAR CSS */

/* // <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900 */

/* .jost-<uniquifier> {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

/* .chakra-petch-light {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .chakra-petch-light-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .chakra-petch-regular {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .chakra-petch-regular-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .chakra-petch-medium {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .chakra-petch-medium-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .chakra-petch-semibold {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .chakra-petch-semibold-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .chakra-petch-bold {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .chakra-petch-bold-italic {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: italic;
  } */
  
/* MARQUEE CSS */

.marqueesection{
    background-color: rgb(28, 27, 27);
    color: white;
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
    overflow-x: hidden;
    position: fixed; /* Set position to fixed */
    top: 0; /* Align it to the top of the viewport */
    left: 0; /* Align it to the left of the viewport */
    width: 100%; /* Make it full width */
    z-index: 999; /* Set a higher z-index to ensure it's above other content */
}
.marqueediv{ 
    display:flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 100%;
}
.news-message{
    display : flex;
    flex-shrink: 0;
    height: 50px;
    align-items: center;
    animation: slide-left 20s linear infinite;
}
.marqueeTEXT{
    font-size: 2em;
    font-weight: 700;
    padding-left: 0.5em;
}
@keyframes slide-left {
    from {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    to {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
}

/* NAV CSS */

/*
 * Made by Erik Terwan
 * 24th of November 2015
 * Modified by Magiclike Jan 2023
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

 /* body {

	background: #000000;
	color: rgb(200, 200, 200);
	font-family: Inconsolata, monospace;
} */

#menu_container_mobile {
	position: fixed;
	right: 0;
    padding-top: 4em;
    z-index: 9999;
}

#menuToggle_mobile {
	display: block;
	position: relative;
	top: 10px;
	right: 10px;
	z-index: 1;
	-webkit-user-select: none;
	user-select: none;
}

#menuToggle_mobile a {
	text-decoration: none;
	color: rgb(200, 200, 200);
	transition: ease-out 250ms;
}

#menuToggle_mobile a:hover {
	color: #7cb242;
	transition: ease-in 250ms;
}

#menuToggle_mobile input {
	display: block;
	width: 40px;
	height: 32px;
	position: absolute;
	top: -8px;
	right: -6.5px;
	cursor: pointer;
	opacity: 0; /* hide this */
	z-index: 2; /* and place it over the hamburger */
	-webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle_mobile span {
	display: block;
	width: 33px;
	height: 4px;
	margin-bottom: 5px;
	position: relative;
	background: rgb(28, 27, 27);
	border-radius: 3px;
	z-index: 1;
	transform-origin: 4px 0px;
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
	background: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle_mobile span:first-child {
	transform-origin: 0% 0%;
}

#menuToggle_mobile span:nth-last-child(2) {
	transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle_mobile input:checked ~ span {
	opacity: 1;
	transform: rotate(45deg) translate(-2px, -1px);
	background: rgb(200, 200, 200);
}

/*
 * But let's hide the middle one.
 */
#menuToggle_mobile input:checked ~ span:nth-last-child(3) {
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle_mobile input:checked ~ span:nth-last-child(2) {
	transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu_mobile {
	position: absolute;
	min-width: 300px;
	width: 30%;
	margin: -100px 0 0 50px;
	padding: 50px;
	padding-top: 125px;
	background: #202020;
	list-style-type: none;
	-webkit-font-smoothing: antialiased;
	/* to stop flickering of text in safari */
	right: -30%;
	transform: translate(100%, 0);
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
	border-bottom-left-radius: 10px;
}

#menu_mobile li {
	padding: 10px 0;
	font-size: 22px;
}

/*
 * And let's slide it in from the right
 */
#menuToggle_mobile input:checked ~ ul {
	transform: none;
}


/* REGULAR CSS STUFF */

nav {
  /* padding-top: 4em; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
}

nav.nav2 {
  display: grid;
  grid-template-columns: .5fr;
  justify-content: center;
}


nav div {
  border-radius: 6px;
  text-align: center;
}

nav div a {
  display: inline-block;
  padding: 15px 25px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: bold 700;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #000000;
  background-color: #76bf43;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #373737;
  margin: 1em;
  width: auto;
}

nav div a:hover {
  background-color: #3e8e41
}

nav div a:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #373737;
  transform: translateY(4px);
}

.title {
    display: grid;
    justify-content: center;
}

.title img {
  max-width: 52em;
  padding: 2em 1em .5em 1em;
}


.title div {
    display: grid;
    justify-content: center;
    align-items: center;
    /* padding: 1em; */
}

.title h2 {
    text-align: center;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4em;
}

.Typo {
  display: grid;
}
/* 
.title div img {
  max-width: 28em;
} */

.TypoGrid {
  display: grid;
  /* grid-template-areas: "h2 h2 h2"
  "div div div"; */
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
}

.Typo .TitleText {
  font-size: 3em;
}



.Typo div img {
  max-width: 20vw;
  padding: 6em 1em 1em 1em;
}


.Typo h3 {
  font-family: "Jost", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 3em;
    /* text-align: center; */
}

.Typo .Jost {
  font-family: "Jost", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;
    max-width: 10em;
    /* text-align: center; */
}

.Typo h4 {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3em;
    /* text-align: center; */
}

.Typo .Chakra {
  font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5em;
    max-width: 10em;
    /* text-align: center; */

}

.AssetGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

article {
    display: grid;
    padding: 1em 1em 1em 1em;
}

.ABOUT {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2em;
    justify-content: center;
}

.ABOUT img {
    max-width: 33%;
    padding: 1em;
}

.ABOUT section {
  display: grid;
  justify-content: right;
  grid-template-rows: .5fr 1fr;
}

.ABOUT h2 {
    text-align: left;
}

.ABOUT p {
    text-align: left;
    max-width: 20em;
}

.ColorPGrid {
  display: grid;
  grid-gap: .5em;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

.ColorPGrid img {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 1em;
  border-radius: 10px;
  width: fit-content;
}

article h2 {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4em;
}

article p {
    font-family: "Jost", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;
    max-width: 60em;
}

footer {
    padding: 2em 0 1em 0;
}

.rat-crawl {
  position: fixed;
  left: 0;
  bottom: 1%;
  height: 30px;
  width: 100px;
  border-radius:5px;
  /* background: #d3d3d3; */
  background-image: url(./Colors/TrolleyAndRat.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 9999;
}

/* .rat-crawl2 {
  background-image: url(./Colors/Rat2.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 9999;
  position: fixed;
  left: 0;
  bottom: 1%;
  height: 30px;
  width: 100px;
  border-radius:5px;
} */

/* .rat-crawl2 {
  background-image: url(./Colors/Rat2.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: fixed;
  height: 30px;
  width: 100px;
  bottom: 0;
  right: 0; 
  transform: translateX(100%);
  z-index: 1000; 
  display: none; 
} */

.UpBtn {
  display: grid;
  text-align: center;
}

.UpBtn a img {
  max-width: 30%;
  padding: 1em 1em 0em 1em;
}

.UpBtn a img:active {
  transform: translateY(4px);
}

.UpBtn p {
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
}

footer p {
  text-align: center;
}

@media only screen and (min-width: 360px) and (max-width: 768px) {
    /* html, body{
      overflow-x: hidden;
    }  */

     body {
      position: relative;
    }

    img.titleImg {
      max-width: 100% !important;
      padding: 5em 0em 0em 0em !important;
    }
    

    .ABOUT {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .ABOUT img {
      max-width: 100%;
      padding: 1em;
    }

    .ColorPGrid {
      display: grid;
      grid-gap: .5em;
      grid-template-columns: 1fr;
      justify-items: center;
    }

    .title img {
    max-width: 31em;
    padding: 2em 1.5em 0em 1.5em;
    }

    .title div img {
      max-width: 28em;
    }

    .TypoGrid {
      display: grid;
      grid-template-columns: 1fr;
      /* grid-template-rows: 1fr; */
    }

    .Typo div img {
      max-width: 60vw;
      padding: 6em 1em 1em 1em;
    }

    #menu_container_mobile {
      position: fixed;
      right: 0;
        padding-top: 4em;
        z-index: 9999;
    }
    
    #menuToggle_mobile {
      display: block;
      position: absolute;
      top: 60px;
      right: 6px;
      z-index: 10000;
      -webkit-user-select: none;
      user-select: none;
    }
    
    #menuToggle_mobile a {
      text-decoration: none;
      color: rgb(200, 200, 200);
      transition: ease-out 250ms;
    }
    
    #menuToggle_mobile a:hover {
      color: #7cb242;
      transition: ease-in 250ms;
    }
    
    #menuToggle_mobile input {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -8px;
      right: -6.5px;
      cursor: pointer;
      opacity: 0; /* hide this */
      z-index: 2; /* and place it over the hamburger */
      -webkit-touch-callout: none;
    }
    
    /*
     * Just a quick hamburger
     */
    #menuToggle_mobile span {
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;
      background: rgb(28, 27, 27);
      border-radius: 3px;
      z-index: 1;
      transform-origin: 4px 0px;
      transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
      background: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
    }
    
    #menuToggle_mobile span:first-child {
      transform-origin: 0% 0%;
    }
    
    #menuToggle_mobile span:nth-last-child(2) {
      transform-origin: 0% 100%;
    }
    
    /* 
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #menuToggle_mobile input:checked ~ span {
      opacity: 1;
      transform: rotate(45deg) translate(-2px, -1px);
      background: rgb(200, 200, 200);
    }
    
    /*
     * But let's hide the middle one.
     */
    #menuToggle_mobile input:checked ~ span:nth-last-child(3) {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    
    /*
     * Ohyeah and the last one should go the other direction
     */
    #menuToggle_mobile input:checked ~ span:nth-last-child(2) {
      transform: rotate(-45deg) translate(0, -1px);
    }
    
    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #menu_mobile {
      position: absolute;
      min-width: 300px;
      width: 30%;
      margin: -100px 0 0 50px;
      padding: 50px;
      padding-top: 125px;
      background: #202020;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      /* to stop flickering of text in safari */
      right: -31%;
      transform: translate(100%, 0);
      transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
      border-bottom-left-radius: 10px;
    }
    
    #menu_mobile li {
      padding: 10px 0;
      font-size: 22px;
    }
    
    /*
     * And let's slide it in from the right
     */
    #menuToggle_mobile input:checked ~ ul {
      transform: none;
    }

    .rat-crawl {
      position: fixed;
      left: 0;
      bottom: 1%;
      height: 30px;
      width: 100px;
      border-radius:5px;
      /* background: #d3d3d3; */
      background-image: url(./Colors/TrolleyAndRat.png);
      background-size: contain;
      background-repeat: no-repeat;
      z-index: 9999;
    }
}