@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* Palette:
  robin's egg blue - #00CCCC (LINKS!)
  cadmium green - #006B3C (Some font & third div fills)
  inchworm - #B0E313 (Secondary div fill)
  dandelion - #FED85D (Accent color)
  coral - #FF6666 (Accent color)
  coffee - #291711 (Replaces all instances of black. Default font color)
  & white! (Primary body color)
*/

* {
  box-sizing: border-box;/* Removing this will mess with element sizing for the whole site*/
}
/* sitewide font */
body {
  margin: 0;
  padding: 0 auto;
  font-family: "Jost", sans-serif; /* change the main font of the site here*/
}
/* sitewide links */
a { 
  color:#00CCCC;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  font-weight: bold;
}

h1{
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 200%;
  line-height: 1;
  text-decoration-line: underline;
  text-decoration-style: wavy; 
  text-decoration-thickness: 1.5px;
}

/* smooth animation for the "back to top" in galleries */
html { 
  scroll-behavior: smooth;
}

/*-----------------------------------------------------Header-----------------------------------------------------*/
#header {
  /* Color and spacing */
  background-color: #006B3C;;
  top: 0;
  width: 100%;
}
#header h1{
  text-decoration:none;
  text-shadow: -1px -1px 4px #291711, 1px -1px 4px #291711, -1px 1px 4px #291711, 1px 1px 4px #291711;
  color:#FED85D;
  transition: transform .2s ease;
  transform-origin: left;
}

#header h1:hover{
  transform: scale(1.05);
}

.banner {
  background-image: url("../images/banner_web.jpg");
  background-size:cover;
  background-color: #B0E313;
  box-shadow: 0px -10px 12px -6px #291711 inset;
  width: 100%;
  height: 125px;
  padding: 10px;
  margin:auto;
}

/*-----------------------------------------------------Navigation Links-----------------------------------------------------*/

/*nav bar only shows on WIDE SCREENS*/
@media only screen and (min-width: 900px){

  #navLinks {
    list-style-type: none;
    margin: 0 auto;
    padding: 5px;
    color: #006B3C;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 100%;
  }

  /* to change the style of the navigation links, edit this:*/
  #navLinks a {
    display:block;
    color: white;
    padding: 14px 16px;
    transition: all 0.2s ease-out;
    text-decoration: none;
    border-radius: 25px;
  }

  #navLinks a:hover {
    background-color: #FED85D;
    color: #006B3C;
  }

  .navbar { /*hide hamburger nav bar on wide screens*/
    display:none;
  }
}

/*-----------------------------------------------------Containers-----------------------------------------------------*/

.main { 
  display:flex;
  padding: 20px;
  margin: 0 auto; /* centers the main content */
  background-color: white;
  flex: 1;
  order: 2;
  justify-content:center;
  max-width:90%;
}

.mainColumn {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding: 20px;
  margin: auto 0; /* centers the main content */
  background-color: white;
  flex: 1;
  order: 2;
  max-width:90%;
}

.textPage {
  max-width: 800px; 
  min-width:450px;
  padding: 20px;
  margin: 0 auto; /* centers the main content */
  background-color: white;
  justify-content:center;
  color: #291711;
  flex:2;
}

.medDiv {
  order:3;
  display:flex;
  max-width:100%;
  gap:10px;
  justify-content: center;
}

.smallDiv {
  order:4;
  max-width: 400px;
  max-height: 400px;
  border: 2px dotted #FF6666;
  padding: 10px;
  margin:10px;
  color:#006B3C;
  border-radius: 25px;
}

.box { /*my box #mybox*/
  background-color: rgb(253, 253, 253, 0.5);
  border: 2px dotted #FF6666;
  border-radius: 25px;
  padding: 10px;
  color:#006B3C;
  margin: 5px;
  min-width:150px;
}

#flex {
  display: flex;
  flex-wrap: wrap;
}

aside {
  display:flex;
  align-items:center;
  flex-direction:column;
  background-color: #B0E313;
  width: 200px;
  padding: 20px;
  font-size: smaller;
  /* this makes the sidebar text slightly smaller */
}

#leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

hr {
  margin: 2em 0;
}

#footer {
  text-align: center;
  padding: 15px;
  color: #291711;
}

/*-----------------------------------------------------Extras-----------------------------------------------------*/

.kitty {
  display:flex;
  width:100px;
  height:100px;
  animation: spin 5s linear infinite;
  background-image: url("../images/KittySpriteWEB.png");
  background-size:cover;
  float: left;
}

.kitty:hover{
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

#promo {
  width:100%; 
  border-radius: 25px;
  transition: transform .2s;
  border: 2px dotted #FF6666;
}

#promo:hover{
  transform: scale(1.05);
}

/*-----------------------------------------------------Marquee-----------------------------------------------------*/

.marquee {
  display:flex;
  overflow: hidden;
  position: relative;
  margin:5px; 
  order:1;
  height: 50px;
  background: #fefefe;
  color: #FF6666;
  border: 2px dotted #FF6666;
  border-radius: 25px;
}

.marquee p {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 50px;
  text-align: center;
  white-space: nowrap;

  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -moz-animation: scroll-left 30s linear infinite;
  -webkit-animation: scroll-left 30s linear infinite;
  animation: scroll-left 30s linear infinite;
}

@-moz-keyframes scroll-left {
  0% {
  -moz-transform: translateX(100%);
  }
  100% {
  -moz-transform: translateX(-100%);
  }
}

@-webkit-keyframes scroll-left {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-150%);
    -webkit-transform: translateX(-150%);
    transform: translateX(-150%);
  }
}

/*-----------------------------------------------------Slideshow container-----------------------------------------------------*/
.slideshow-container {
  padding: 10px;
  margin: 10px;
  display:flex;
  align-content: center;
  justify-content:center;
  order: 1;
  height:600px;
  width: 500px;
}

/* Hide the images by default */
.mySlides1 {
  display: none;
}

.mySlides1 img {
  max-width:100%;
  max-height:100%;
  filter: drop-shadow(8px 8px 10px);
  color:#291711;
}


/*-----------------------------------------------------Mobile-----------------------------------------------------*/
/*show these things on SMALL SCREENS ONLY*/
@media only screen and (max-width: 900px) {
  .gallery {
    columns: auto 1;
  }

  .social-links {
    display:flex;
    justify-content: center;
    align-items:center;
    flex-direction:column;
  }

  .social-links {
    display:flex;
    align-items:center;
    flex-direction:row;
  }
  
  #flex {
    flex-wrap: wrap;
  }
  .medDiv {
    order: 1;
    flex-wrap: wrap;
    align-items:center;
  }

    /* the order of the items is adjusted here for responsiveness*/
  .main {
    order: 1;
  }

  #leftSidebar {
    order: 2;
  }

  #rightSidebar {
    order: 3;
  }

  aside {
    width: 100%;
  }

  .gallery { /* Number of columns in the gallery for smaller screens */
    columns: auto 2;
  }

  /*-------------------------Mobile Navbar-------------------------*/

  #navLinks { /*hide nav bar on wide screens*/
    display:none;
  }

  .navbar {
    width: 100%;
    box-shadow: 0 1px 4px #291711;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
  }

  .navbar .menu-items {
    display: flex;
  }

  .navbar .nav-container li {
    list-style: none;
  }

  .navbar .nav-container a {
    text-decoration: none;
    color: #006B3C;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
  }

  .navbar .nav-container a:hover{
      font-weight: bolder;
  }

  .nav-container {
    display: block;
    position: relative;
    height: 60px;
  }

  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
  }

  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {/*nav bar container*/
    padding-top: 120px;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .8);
    background-color: rgba(255, 255, 255, .8);
    height: 100vh;
    width: 110%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    position: absolute;
    z-index: 2;
  }

  .navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  
}

/*-----------------------------------------------------Galleries-----------------------------------------------------*/
.gallery {
  padding-top: 1em;
  /* base number of columns */
  columns: auto 3;
  text-align: center;
}

.gallery img {
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

/*project gallery images overlays*/
.projGallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project {
  display:flex;
  justify-content:center;
  position: relative;
  max-width: 350px;
  max-height: 350px;
  padding: 10px;
  margin: 5px;
  text-decoration: none;
}

.project img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(5px 5px 8px);
  color:#006B3C;
  transition: transform .2s;
}
.project img:hover {
  transform: scale(1.05);
}

figure {
  display: inline-block;
  margin: 0;
  margin-bottom: 15px;
}

.spotlightImage {
  display: block;
  margin: 0 auto;
}

/*-----------------------------------------------------Light Box-----------------------------------------------------*/

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #002e1a93;
  z-index: 999;
  overflow: hidden;
}

.lightbox-image {
  display: block;
  margin: 50px auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: fill;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/*-----------------------------------------------------Comic Slides-----------------------------------------------------*/

.comic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  position:relative;
  margin: 0 auto;
  max-width: 600px;
  outline:6px double #006B3C;
}
/* Number text (1/3 etc) */
.numbertext {
  display:flex;
  justify-content: flex-start;
  color: #006B3C;
  font-size: 15px;
  padding: 10px;  
  margin: 0 auto;
}

/* Hide the images by default */
.myPanels {
  display: none;
}

.myPanels img {
  width:500px;
  padding:10px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-shadow:0px 0px 5px #291711;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration:none;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #006B3CCC; /*last 2 digits are for opacity https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4*/
}

.row{
  outline:6px double #006B3C; 
  padding:5px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 10%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.4;
}

.active,
.demo:hover {
  opacity: 1;
}

.backButton {
  margin:30px 30px 5px; /*top right bottom left*/
  display:flex;
  height:60px;
  flex:1;
}

.backButton a {
  color: white;
  font-size:larger;
  transition: all 0.2s ease-out;
  text-decoration: none;
  border-radius: 25px;
  padding: 16px;
  background-color: #006B3C;
}

.backButton a:hover {
  background-color: #FED85D;
  color: #006B3C;
}

/*-----------------------------------------------------Social Links-----------------------------------------------------*/

.fa {
  width: 50px;
  height: 50px;
  text-decoration: none;
  background-color:#B0E313;
  border-radius: 50%;
  display:flex;
  margin:10px;
  justify-content:center;
}

.fa img{
  width: 35px;
  margin: auto;
}

.fa:hover {
  opacity: 0.7;
}

