/*
Theme Name: TailPress
Theme URI: https://github.com/jeffreyvr/tailpress
Author: Jeffrey van Rossum
Author URI: https://vanrossum.dev
Description: TailPress is a simple boilerplate WordPress theme with Tailwind CSS.
Version: 3.4.0
License: MIT
License URI: https://github.com/jeffreyvr/tailpress/blob/master/LICENSE
Text Domain: tailpress
*/








@font-face {
    font-family: 'Matter';
    src: url('fonts/Matter-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      font-display: swap; /* ← add this */

}


@font-face {
    font-family: 'Matter';
    src: url('fonts/Matter-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
      font-display: swap; /* ← add this */

}



.stagger-in {
    opacity: 0; /* Hidden by default */
    transform: translateY(30px); /* Initial position */
  }
  

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
  }






.case-item {
    position: relative;
    overflow: hidden;
}

.case-item img {
    width: 100%;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.case-item:hover img {
    filter: blur(4px) brightness(0.74);
}

.case-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.case-item:hover .overlay {
    opacity: 1;
}

#main-nav.small .h-24 {height:30px;}

.matter-bold {
    font-family: 'Matter', sans-serif;
    font-weight: bold;
}

.libre-caslon {
    font-family: "Libre Caslon Display", serif;
    font-weight: 400;
    font-style: normal;
}


body {font-family:'Matter',sans-serif;
    font-weight:400;
}

.font-size-22 {font-size:22px;line-height:25px;}

.container-99 {max-width:1140px;margin:0 auto;}



    /* General and video styles */
    * {
        -moz-osx-font-smoothing: grayscale !important;
    }



    .matter-bold {
        font-family: 'Matter', sans-serif;
        font-weight: bold;
        -webkit-font-smoothing: antialiased !important;
    }

    body,
    html {
        margin: 0;
        padding: 0;
    }

    .custom-container {
        width: 100%;
        height: 100%;
        position: absolute;
    }

    .custom-image {
        width: 100vw;
    }

    .font-25 {
        font-size: 25px;
    }

    .bg-white {
        background-color: white !important;
    }

    .shadow-lg {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .libre-caslon-display-regular {
        font-family: "Libre Caslon Display", serif;
        font-weight: 400;
        font-style: normal;
    }

    .font-28 {
        font-size: 28px;
    }



    .custom-hero-text {
        top: 200px;
        position: absolute;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .text-white {
        color: white;
    }

 

    .video-container-mob {margin-top:-170px;}
    .font-24 {
        font-size: 24px;
    }

    .font-30 {
        font-size: 30px;
    }

    .letter-spacing-big {
        letter-spacing: 5px;
    }

    .full-width-section {
     
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        width: 100%;
        margin-left: calc(-50vw + 50%);
        text-align: center;
        color: black;
        margin-top: 200px;
    }

    .margin-bottom-80 {
        margin-bottom: 80px;
    }

    .margin-bottom-200 {
        margin-bottom: 200px;
    }



    .font-size-64 {
        font-size: 64px;
        line-height: 114%;
    }



 

    #my-video.full-video-playing {
        cursor: auto;
    }

    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        overflow: hidden;
    }

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #play-overlay {
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        
    }
    

    .vjs-close-button {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 16px;
        display: none;
    }

    .vjs-fullscreen .vjs-close-button {
        display: block;
    }

    /* Change all text and icon colors in the player. */
    .vjs-matrix.video-js {
        color: #0030FF;
    }

    /* Change the border of the big play button. */
    .vjs-matrix .vjs-big-play-button {
        border-color: #0030FF;
    }

    /* Change the color of various "bars". */
    .vjs-matrix .vjs-volume-level,
    .vjs-matrix .vjs-play-progress,
    .vjs-matrix .vjs-slider-bar {
        background: #0030FF;
    }

    .vjs-control-bar {
        background-color: transparent !important;
    }

    .vjs-close-button {
position: absolute;
top: 10px;
right: 10px;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
font-size: 16px;
display: none;
}

.vjs-fullscreen .vjs-close-button {
display: block;
}



  
@media (max-width: 768px) {
 .font-size-64 {font-size:40px;}
 .font-28 {font-size:20px;}

 .display-none-mobile {display:none;}

 .video-container-mob {margin-top:-80px;}
}


  @media (max-width: 768px) {
    .grid-cols-12 {
        grid-template-columns: 1fr; /* Single-column layout on smaller screens */

    }


}

@media (min-width: 768px) {
    #play-overlay {
        display: none;
    }
}


.sliding-text {
    overflow: hidden;
    position: relative;
  }
  
  .sliding-container p {
    position: absolute;
    width: 100%;
    opacity: 0; /* Initial state */
  }