/* Additional styling for the new GIF section */
.gif-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}

.gif-section img {
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Ensures margin auto works properly */
}/* Add this at the top to control transitions */
:root {
  --transition-override: background-color 0.5s, color 0.5s;
}

@font-face {
  font-family: "Arial Narrow";
  src: url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.eot");
  src: url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.eot?#iefix")format("embedded-opentype"),
  url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.woff2")format("woff2"),
  url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.woff")format("woff"),
  url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.ttf")format("truetype"),
  url("https://db.onlinewebfonts.com/t/7c6661efce01eac269383bac79303c1b.svg#Arial Narrow")format("svg");
}
* {
  cursor: none !important;
}
body {
  font-family: Arial Narrow;
  line-height: 1.0;
  background-color: #060911;
  color: #F9F6EE;
  transition: var(--transition-override);
}
/* Sticky positioning for all sections */
section {
  position: sticky;
  position: -webkit-sticky;
  top: 1px;

}
/* Common styling for containers */
.container {
  padding: auto;
  min-height: 100vh;
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
}
.container img {
  filter: invert(100%);
  max-width: 50vw;
  display: flex;
  margin: 0 auto;
  transition: var(--transition-override);
}
section.tagline {
  border-top: 1px solid #F9F6EE;
  background-color: #060911;
  padding: 10px;
  min-height: 100%;
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
}
.texttag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #060911; /* Adjust font color */

}
main {
  flex: 1;
  margin: 0;

  display: flexbox;
  flex-direction: column;
}
.des {
  border-top: 1px solid #F9F6EE;
  background-color: #060911;
  padding: 10px;

  overflow: hidden;
  display:grid;
  flex-direction:column;
  transition: var(--transition-override);
}
section.photos {
  border-top: 1px solid#F9F6EE;
  background-color: #060911;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-override);
}
section.photos img {
  padding: 10px;
  width: 50%;
  height: auto;
  max-width: 80%;
}
@media screen and (min-width: 768px) {
  section.photos img {
    padding: 50px;
    max-width: 35%;
  }
}
section.horizontal-scroll-container {
  max-height:max-content;
}
.horizontal-scroll-container {
  border-top: 1px solid #F9F6EE;
  background-color: #060911;
  display: flex;
  overflow-x: auto;
  width: 100%;
  white-space: nowrap; /* Prevents items from wrapping to the next line */
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 3px;
  transition: var(--transition-override);
}
.item {
  flex: 0 0 auto;
  width: calc(100% - 20px);
  max-width: 300px;
  margin-right: 10px;
  overflow: hidden;
}
.item img,
.item video {
  max-width: 100%;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .item {
    width: calc(50% - 20px); /* Adjust width and gap to fit your design */
    max-width: none;
  }
}
/* Styles for mobile */
@media only screen and (max-width: 767px) {
  .item {
    width: calc(100% - 20px); /* Adjust width and gap to fit your design */
    max-width: none;
  }
}
.photo {
  border-top: 1px solid #F9F6EE;
  background-color: #060911;
  
  overflow-x: auto;
  transition: var(--transition-override);
}
.photo-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding-top: 10px; /* Adjust padding as needed */
  padding-bottom: 10px;
  padding-left: 10px;
}
.photo-item {
  flex: 0 0 auto;
  max-width: 100%;
  width: calc(50% - 10px); /* Adjust width and gap to fit your design */
  overflow: hidden;
}
.photo-item img {
  width: 100%;
  height: auto;
}
/* Styles for web */
@media only screen and (min-width: 768px) {
  .photo-item {
    width: calc(40% - 10px); /* Adjust width and gap to fit your design */
  }
}
/* Styles for mobile */
@media only screen and (max-width: 767px) {
  .photo-item {
    width: calc(100% - 10px); /* Adjust width and gap to fit your design */
  }
}
h2, p {
  font-family: 'Times New Roman', Times, serif; /* Change font family to Cheese */
  color: #F9F6EE;
  font-size: 20px;
  transition: var(--transition-override);
  padding-left: 5px;
}
/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  h2, p {
    font-size: 14px; /* Adjust this size for smaller screens */
  }
}
h1, a {
  font-family: Arial Narrow;
  text-decoration: none;
  color: #F9F6EE;
  font-size: 50px;
  transition: var(--transition-override);
}
/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  h1, a {
    font-size: 18px; /* Adjust this size for smaller screens */
  }
}
a:hover {
  color: rgb(107, 128, 109);
  transition: var(--transition-override);
}
/* Styling for images in .des sections */
.des img {
  filter: invert(0%);
  transition: var(--transition-override);
}

/* Additional styling for the new GIF section */
.gif-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}

.gif-section img {
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Ensures margin auto works properly */
}
body.inverted {
  background-color: #F9F6EE;
  transition: var(--transition-override);
}
body.inverted .logo img {
  filter: invert(0%); /* Invert the color of the logo */
  transition: var(--transition-override);
}
body.inverted .des,
body.inverted .tagline,
body.inverted .horizontal-scroll-container,
body.inverted .photo,
body.inverted .photos,
body.inverted .video,
body.inverted .crashwide
 {
  background-color: #F9F6EE; /* Change section background color to white */
  border-top-color: #060911;
  transition: var(--transition-override);
}
body.inverted h1,
body.inverted h2,
body.inverted a,
body.inverted p,
body.inverted svg {
  color: #060911; /* Change text color to black */
  fill: #060911; /* Invert SVG fill color */
  transition: var(--transition-override);
}
body.inverted .des img {
  filter: invert(100%); /* Invert the color of images in des sections */
  transition: var(--transition-override);
}
body.inverted a:hover {
  color: rgb(175, 0, 0);
  transition: var(--transition-override);
}
.invert-button {
  position: fixed;
  top: 20px; /* Adjust vertical position */
  right: 20px; /* Adjust horizontal position */
  border: 1px solid #F9F6EE;
  background-color: #060911;
  padding: 12px 12px; /* Smaller padding for text and border */
  border-radius: 0;
  cursor: pointer;
  z-index: 999; /* Ensure button stays on top */
  transition: var(--transition-override);
}
body.inverted .invert-button {
  border: 1px solid #060911;
  background-color: #F9F6EE;
  transition: var(--transition-override);
}