* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

@font-face {
  font-family: "cactus_jackregular";
  src: url("Cactus-Jack-Font/cactus_jack-webfont.eot");
  src: url("Cactus-Jack-Font/cactus_jack-webfont.eot")
      format("embedded-opentype"),
    url("Cactus-Jack-Font/Cactus-Jack-Alternate.woff") format("woff"),
    url("Cactus-Jack-Font/Cactus-Jack-Alternate.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-primary: #f1f1f1;
  --color-white: white;
  --color-gray-1: #42423e;
  --color-gray-2: #8d8989;
  --color-secondary-1: rgb(231, 127, 177);
  --color-secondary-2: rgb(255, 153, 202);

  --box-shadow-1: 0 3px 15px rgba(0, 0, 0, 0.2);

  --font-family: "cactus_jackregular";
}

body {
  background-color: var(--color-primary);
  font-family: "cactus_jackregular";
  font-weight: 800;
  font-style: bold;
  font-size: 1.1rem;
  color: var(--color-gray-1);
  transition: all 0.4s ease-in-out;
  overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inheret;
  font-family: inheret;
}


.section {
  display:none;
  transition: all 0.4s ease-in-out;
  background-color: var(--color-primary);
  min-height: 100vh;
  width: 100%;
  position: relative;
  left: 0;
  top: 0;
  padding: 0rem 10rem; /* Default padding for larger screens */
  margin: 0;
  box-sizing: border-box; /* Include padding and borders in width/height calculations */
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
  .section {
      padding: 0rem 6rem;
  }
}

/* Small screens (phones, smaller tablets) */
@media (max-width: 768px) {
  .section {
      padding: 0rem 3rem;
  }
}

/* Extra small screens (mobile phones) */
@media (max-width: 480px) {
  .section {
      padding: 1.5rem 1.5rem;
  }
}



.active {
  display: block;
  /* removed bc of position fixed not working!
    transform: translateY(0) scaleY(1);
    */
  animation: scaleAnim 0.8s ease-in-out;
}

@keyframes scaleAnim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.header-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  vertical-align: center;

  .main-button {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    vertical-align: center;

    h1 {
      color: var(--color-gray-1);
      font-size: 4rem; /* Default font size for larger screens */
      line-height: 1.2; /* Use line-height instead of fixed height */
      margin: 1rem 0; /* Add vertical spacing */
    }

    
/* Styles for mobile devices (screens smaller than 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* Reduce font size for smaller screens */
    line-height: 1.3; /* Adjust line height for better balance */
    margin: 0.8rem 0; /* Adjust vertical spacing */
  }
}

/* Styles for very small screens (screens smaller than 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem; /* Further reduce font size for very small screens */
    line-height: 1.4; /* Slightly increase line height for readability */
    margin: 0.6rem 0; /* Adjust vertical spacing further */
  }
}
  }
  .main-button:hover {
    transition: all 0.2s ease-in-out;
    transform: translateY(-2px);

    h1 {
      color: var(--color-secondary-1);
    }
  }
}

.top {
  height: 2px;
  top: 0%;
  z-index: 1;
  width: 100%;
  background-color: var(--color-gray-1);
  position: absolute;
  overflow: visible;
}

.header{
    /*position: fixed; Keeps header at the top while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Adjust height as needed */
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    z-index: 1000; /* Keeps it above other content */    
        
    
    /*border-bottom: 2px solid #ddd;
    background-color: #f8f8f8;*/  
}

.main-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Keeps content within a max width */

  .home-button-con {

    .home-button {
      transition: all 0.2s ease-in-out;

      img {
        width: 120px; /* Adjust logo size */
        height: auto;
        cursor: pointer;
      }
    }
    .home-button:hover {
      filter: drop-shadow(0px 0px 1px var(--color-secondary-1));
      transform: translateY(-2px);
    }
  }

  .shopping-cart {
    position: relative;
    float: right;

    .cart-con {
      background: var(--color-primary);
      cursor: pointer;
      width: 55px;
      height: 55px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: var(--box-shadow-1);
      border: 1px solid var(--color-gray-1);
      transition: all 0.2s ease-in-out;
      img {
        color: black;
      }
    }
    .cart-con:hover {
      color: var(--color-secondary-1);
      transform: translateY(-2px);
      border: 1px solid var(--color-secondary-1);
    }
  }
}

.main-title {
  font-size: 3rem;
  padding-bottom: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
}

.video-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  text-align: center;
  vertical-align: center;
  max-width: 900px;
  display: none;
  align-items: center;
  margin: auto;
  cursor: pointer;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.active-player {
  display: block;
  transform: translateY(0) scaleY(1);
  animation: scaleAnim 0.4s ease-in-out;
}

.showcase-row {
  position: relative;
  transition: all 0.2s ease-in-out;
  align-items: center;
  margin: auto;
  height: 100%;
  cursor: pointer;
  margin: auto;
  width: 100%;

  /*Main variable that changes max size of the gird.*/
  max-width: 900px;

  .item-grid {
    position: relative;
    box-shadow: var(--box-shadow-1);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 100%;
    width: 100%;
    column-gap: 10px;
    padding: 10px;

    img {
      height: 100%;
      object-fit: contain;
      width: 100%;
      text-align: center;
      padding: 4px;
    }
  }
  .project-hover {
    border: inherit;
    width: 100%;
    margin: auto;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .1s ease-in-out;
    background-color: var(--color-1mary);
    border: 1px inset var(--color-gray-1);

    /*Glass affect. Remove below 5 lines if oscar doesn't like.*/
    backdrop-filter: blur(19px) saturate(180%);
    -webkit-backdrop-filter: blur(19px) saturate(180%);
    background-color: rgba(236, 236, 236, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);

    opacity: 0;
    transform: scale(1);
  }
  .proj-title{
    font-size: 2rem;
  }

  .project-hover:hover {
    opacity: 1;
    transform: scale(1);
  }
}



.active-rental .rental-card {
  left: calc(100% - 500px);
}

.active-rental .rental-con {
  transform: translateX(-200px);
}



