/*Embed Link for Font.  If you are using a non-generic font family, like the one from google fonts below, you will need to link them here*/
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Gluten:wght@100..900&display=swap");

html {
  scroll-behavior: smooth;
}

#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}
.topnav {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-bottom: 100px;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  display: inline-block;
  text-align: center;
  padding-bottom: 10px;
  text-decoration: none;
  font-size: 17px;
  padding-top: 50px;
}

.topnav-centered a {
  font-family: Gluten;
  font-weight: bold;
  float: none;
  position: absolute;
  display: inline-block;
  top: 40%;
  left: 50%;
  transform: translate(-53%, -50%);
  padding-bottom: 50px;
  color: white;
  font-size: 60px;
  letter-spacing: 0.05em;
  line-height: 3rem;
}

.topnav-right {
  float: right;
  padding-top: 50;
}

/* Menu code starts here */

#menuToggle {
  display: block;
  /* You can also use relative/absolute here if you want to stay on the top */
  position: fixed;
  top: 50px;
  left: 50px;

  z-index: 4;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #c4c4c4;

  transition: color 0.3s ease;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -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 span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: white;
  border-radius: 3px;

  z-index: 4;

  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 span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle 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 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 {
  position: absolute;
  max-width: 300px;
  width: 50vw;
  max-height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 40px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  font-size: 22px;
}

#menu li label {
  cursor: pointer;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  transform: none;
}

.noHover {
  pointer-events: none;
}

/*General body style*/
p {
  font-family: IBM Plex Mono;
  foint-size: 12px;
  margin-top: 400px;
  margin-left: 0;
  margin-right: 0;
  color: #c4c4c4;
}

/*Style for each heading*/
h6 {
  font-size: 1.2em;
  font-weight: normal;
  font-family: IBM Plex Mono;
}
h5 {
  font-size: 1.25em;
  font-family: IBM Plex Mono;
}
h4 {
  font-size: 1.5em;
  font-family: IBM Plex Mono;
}
h3 {
  font-size: 2.5em;
  font-family: IBM Plex Mono;
}
h2 {
  font-size: 3em;
  font-family: IBM Plex Mono;
}
h1 {
  font-size: 3.75em;
  font-family: Gluten;
  text-align: center;
  font-weight: bold;
  color: #c4c4c4;
  font-size: 60px;
  letter-spacing: 0.05em;
  line-height: 3rem;
}

/* Setting up the responsive sections */
.full {
  flex: 1 1 100%;
}
.half {
  flex: 1 1 calc(50% - 2em);
  padding-left: 5em;
  z-index: 2;
  margin-top: -10em;
  margin-bottom: -10em;
  min-width: 400px;
}
.third {
  flex: 1 1 calc(33% - 2em);
  margin-left: -150px;
  padding-right: 5em;
  overflow: auto;
  max-height: 500px;
  color: #c4c4c4;
}
.twothird {
  flex: 1 1 calc(66% - 2em);
}
.quarter {
  flex: 1 1 calc(25% - 2em);
}
.threequarter {
  flex: 1 1 calc(75% - 2em);
}

.flex-box {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
  align-items: center;
}

banner {
  margin: 0 auto;
  padding: 0.1em 0.1em;
  display: block;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
bannerthick {
  margin: 0 auto;
  padding: 3em 0.1em;
  display: block;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
bannerthick h1 {
  font-size: 3.75em;
  font-family: Gluten;
  text-align: center;
  font-weight: bold;
  color: #c4c4c4;
  font-size: 60px;
  letter-spacing: 0.05em;
}

.CHLogo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: invert(60%);
  width: 60%;
}
.CHImages {
  padding-bottom: 20px;
}

/*Sub container style*/
section {
  margin: 2em auto;
  padding: 1em 0.01em;
  max-width: 100%;
}
/*Small border style*/
hr {
  visibility: hidden;
  padding-bottom: 300px;
}
/*Style for all clickable links*/
a.one {
  color: #c4c4c4;
  font-family: IBM Plex Mono;
  text-decoration: none;

  display: inline-block;
  margin: 15px 20px;
  position: relative;
}
a.one:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #c4c4c4;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
}

a.one:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.container.gallery-container {
  background-color: none;
  color: #c4c4c4;
  min-height: 100vh;
}

.gallery-container h1 {
  font-size: 3.75em;
  font-family: Gluten;
  text-align: center;
  font-weight: bold;
  color: #c4c4c4;
  font-size: 60px;
  letter-spacing: 0.05em;
  line-height: 3rem;
}

.gallery-container p.page-description {
  text-align: center;
  max-width: 800px;
  margin: 25px auto;
  color: #888;
  font-size: 18px;
}

.tz-gallery {
  padding: 40px;
}

.tz-gallery .lightbox img {
  width: 100%;
  margin-bottom: 30px;
  transition: 0.2s ease-in-out;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.tz-gallery .lightbox img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.tz-gallery img {
  border-radius: 4px;
}

.baguetteBox-button {
  background-color: transparent !important;
}

@media screen and (max-width: 1000px) {
  p {
    line-height: 1.3em;
  }
}

/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 650px) {
  #background-video {
    display: none;
  }
  body {
    background: url("https://cmollot-host.neocities.org/bubbleload.png")
      no-repeat;
    background-size: cover;
    overflow-x: hidden;
  }

  /*Small border style*/
  hr {
    visibility: hidden;
    padding-bottom: 30px;
  }

  #header {
    position: static;
    display: inline-block;
    width: 100%;
    padding-bottom: 100px;
  }

  .topnav-right {
    float: left;
    display: inline-block;
    padding-left: 36%;
    margin-top: -80px;
    margin-bottom: -50px;
  }

  .topnav-centered a {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
  .flex-box {
    display: block;
    padding: 2em;
    align-items: center;
    text-align: center;
  }
  .third {
    flex: 1 1 calc(33% - 2em);
    margin-left: 0;
    padding-right: 0;
    padding-top: 4em;
    color: #c4c4c4;
  }
  .half {
    flex: 1 1 calc(50% - 2em);
    padding-left: 0em;
    margin-top: -5em;
    margin-bottom: -3em;
    scale: 120%;
  }
  .container.gallery-container {
    border-radius: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .topnav-right {
    margin-right: 200px;
  }
  #menuToggle {
    top: 50px;
    left: 250px;
  }

  #menu {
    margin: -100px 0 0 -250px;
    max-width: 500px;
    width: 50vw;
    max-height: 100vh;
    padding-left: 250px;
    padding-top: 125px;
  }
}
