/*

Theme Name: Ben has the codes

*/

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Optional: controls font loading behavior */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #FFF;
}

/* Links */
a {
    color: #FFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Button */

.button-57 {
    position: relative;
    overflow: hidden;
    border: 1px solid #18181a;
    color: #18181a;
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    padding: 18px 18px 17px;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-57:hover:after {
    transform-origin: bottom center;
    transform: skewY(9.3deg) scaleY(2);
}

.button-57:after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
    transform-origin: bottom center;
    transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
    transform: skewY(9.3deg) scaleY(0);
    z-index: 50;
}

.button-57 span:first-child {
    position: relative;
    transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 10;
}

.button-57:hover span:last-child {
    transform: translateX(-50%) translateY(-100%);
    opacity: 1;
    transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

.button-57 span:last-child {
    color: white;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 100;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translateY(225%) translateX(-50%);
    height: 14px;
    line-height: 13px;
}

/* Body */
body {
    background-color: #000;
    color: rgb(125,125,125);
    font-family: 'Montserrat', sans-serif;
}


/* Section */
.section {
    padding: 2rem 0 ;
}

.wrapper {
    max-width: 100%;
    padding: 0 1rem;
}

/* Call to Action */
.cta--image_container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.cta--image {
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Text with Slider */
.mask-container {position: relative; }
.mask { float:left; width: 640px; height:300px; overflow:hidden;   }
ul.slide-container { position:relative; top:0px;left:0px; list-style: none; margin: 0; padding:0; }
ul.slide-container li { float:left;  }

.tws--image_container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 50%;
}

.tws--image {
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.tws--text_container {
    padding-left: 0.5rem;
}

ul.triggers { clear: both; margin:0; list-style: none; padding: 0;}
ul.triggers li {  
    float:left; margin:0 5px; font: bold 16px arial; cursor:pointer;
    background-color:#ccc; color:#000; padding:10px; user-select: none;
}
    
ul.triggers li.selected {background-color:red; color:#000;}


/* .control {position:absolute; top: 380px; color:#fff; cursor:pointer;}
.prev { left:120px; }
.next { left:180px; } */

.clearfix {
    clear:both;
}

/* Responsive CSS */
.column {
    display: block;
}

.row .column:nth-child(1) > .cta--content {
    margin: 0.5rem;
}
.row .column:nth-child(2) > .cta--content {
    margin: 0.5rem;
}
.row .column:nth-child(3) > .cta--content {
    margin: 0.5rem;
}

.column--2_2_2 {
    width: 50%;
}

.column--3_3_3 {
    width: 33.33333333333333%;
}

.column--1_2_2,
.column--1_3_3 {
    width: 100%;
}

.column--1-3-all {
    width: 33.33333333333333%;
    display: inline-block;
    vertical-align: top;
}

.column--2-3-all {
    width: 66.66666666666666%;
    display: inline-block;
    vertical-align: top;
}

/* Hidden Footer Reveal */
footer.section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFF;
    color: #333;
    padding: 4rem 0;
    text-align: center;
    transform: translateY(100%); /* Initially hide the footer below the viewport */
    transition: transform 0.5s ease-in-out; /* Smooth transition for revealing/hiding */
}

footer.show-footer {
    transform: translateY(0); /* Reveal the footer */
}

.section:not(.site-footer).slow-reveal {
    transform: translateY(-179.2px);
    transition: transform 0.55s ease-in-out;
}

.section:not(.site-footer) {
    transform: translateY(0);
}

/* .parallax-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
} */

.parallax-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10dvh;
}

.parallax-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
}

.parallax-container img {
    object-fit: cover;
    animation-name: img-up-down;
    animation-duration: 1ms;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-timeline: scroll(root);
    min-width: 100%;
}

.parallax-text-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

@keyframes img-up-down {
    0% {
        object-position: bottom;
    }

    100% {
        object-position: top;
    }
}


@media (min-width: 768px) {
    .wrapper {
        padding: 0 2rem;
    }

    .column {
        display: inline-block;
        vertical-align: top;
    }

    .row .column:nth-child(1) > .cta--content {
        margin: 0 0.5rem 1rem 1rem;
    }

    .row .column:nth-child(1) > div .cta--image {
        right: 0.5rem;
        left: 1rem;
    }

    .row .column:nth-child(2) > .cta--content {
        margin: 0 0.5rem 1rem 0.5rem;
    }

    .row .column:nth-child(2) > div .cta--image {
        right: 0.5rem;
        left: 0.5rem;
    }

    .row .column:nth-child(3) > .cta--content {
        margin: 0 1rem 1rem 0.5rem;
    }

    .row .column:nth-child(3) > div .cta--image {
        right: 1rem;
        left: 0.5rem;
    }

    .column--1_2_2 {
        width: 50%;
    }

    .column--1_3_3 {
        width: 33.33333333333333%;
    }
}

@media (min-width: 1024px){
    .wrapper {
        padding: 0 2rem;
    }
}

/* Menu button
   ========================================================================== */
/**
 * The menu button is exclusively used for toggling the navigation menu on
 * mobile devices, but could be used elsewhere when needed.
 */
.btn--menu {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-block;
  padding: 8px 5px;
  z-index: 101;
  border: none;
  color: #fff;
  text-transform: uppercase;
  background-color: transparent;
  transition: all 0.2s cubic-bezier(.6,.2,.6,.9);
  cursor: pointer;
}

/* States */
.btn--menu:hover,
.btn--menu:focus,
.btn--menu.is-hovered,
.btn--menu.is-focused,
.btn--menu.is-active {
  outline: none;
  color: #0000FF;
  background-color: transparent;
}
.btn--menu:active {
  background-color: transparent;
}
/* Bar icon
   ========================================================================== */
/**
 * The `hamburger` icon is mainly used inside the `btn--menu` element.
 */
.btn--menu .bar,
.btn--menu .bar:before,
.btn--menu .bar:after {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 4px;
  background-color: #fff;
  transition: all 0.2s cubic-bezier(.6,.2,.6,.9);
}
.btn--menu .bar {
  margin-top: -2px;
  margin-left: 4px;
}
.btn--menu .bar:before,
.btn--menu .bar:after {
  content: '';
  position: absolute;
  left: 0;
}
.btn--menu .bar:before {
  top: -8px;
}
.btn--menu .bar:after {
  bottom: -8px;
}
/* States */
.btn--menu:hover .bar,
.btn--menu:hover .bar:before,
.btn--menu:hover .bar:after,
.btn--menu:focus .bar,
.btn--menu:focus .bar:before,
.btn--menu:focus .bar:after,
.btn--menu.is-hovered .bar,
.btn--menu.is-hovered .bar:before,
.btn--menu.is-hovered .bar:after,
.btn--menu.is-focused .bar,
.btn--menu.is-focused .bar:before,
.btn--menu.is-focused .bar:after,
.btn--menu.is-active .bar,
.btn--menu.is-active .bar:before,
.btn--menu.is-active .bar:after {
  background-color: #FF0000;
}
.btn--menu.is-active .bar,
.btn--menu.is-active:hover .bar,
.btn--menu.is-active:focus .bar {
  background-color: transparent;
  -webkit-transition-delay: 0s;
     -moz-transition-delay: 0s;
       -o-transition-delay: 0s;
          transition-delay: 0s;
}
/**
 * The bars rotate into an `x` shape to indicate the user can close the menu.
 * This can be adjusted as required.
 */
.btn--menu.is-active .bar:before {
  top: 0;
  transform: rotate(-45deg);
}
.btn--menu.is-active .bar:after {
  bottom: 0;
  transform: rotate(45deg);
}

@media only screen and (min-width: 768px) {
	.btn--menu {
        display: none;
	}
}

 /* Menu */
nav ol {
    max-height: 0;
    max-width: 0;
    overflow: hidden;
    transition: transform 2.5s ease-in-out, opacity 2.5s ease-in-out, max-width 7.5s ease-in-out, max-height 7.5s ease-in-out;
    opacity: 0;
    transform: translate(0%, 0%) scale(0.8);
}

nav.is-open ol {
    max-height: 1000px;
    max-width: 1000px;
    overflow: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, max-width 0.5s ease-in-out, max-height 0.5s ease-in-out;
    opacity: 1;
    transform: translate(0%, 0%) scale(1);
}

nav ol,
nav ul {
    padding: 0;
    margin: 0;
}
nav li {
    list-style: none;
    text-align: center;
}

nav li {
    margin-bottom: 3px;
}

nav > ol > li > a {
    background-color: #FFF;
    padding: .5rem;
    color: #000;
    display: block;
}

nav > ol > li a:hover {
    background-color: #F00;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(.6,.2,.6,.9);
}

.sub-menu {
    max-height: 0;
    overflow-y: hidden;
    transition: all 0.2s cubic-bezier(.6,.2,.6,.9);
}

.sub-menu li:first-child {
    margin-top: 3px;
}

.sub-menu li:nth-child(3) {
    margin-bottom: 0;
}

.sub-menu.is-open {
    max-height: 300px;
    overflow-y: auto;
}

.sub-menu > li a {
    background-color: lightblue;
    padding: .25rem;
    color: #000;
    display: block;
}


@media only screen and (min-width: 768px) {

    nav ol {
        max-height: 1000px;
        max-width: 1000px;
        overflow: visible;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, max-width 0.5s ease-in-out, max-height 0.5s ease-in-out;
        opacity: 1;
        transform: translate(0%, 0%) scale(1);
    }

    .sub-menu {
        max-height: 300px;
        overflow-y: auto;
    }
   
    nav > ol {
        text-align: right;
    }

    nav li {
        text-align: left;
    }

    nav a {
        padding: .5rem;
        cursor: pointer;
    }

    nav > ol > li {
        display: inline-block;
        margin-bottom: auto;
    }

    nav > ol > li a {
        background-color: inherit;
        color: #FFF;;
        display: inherit;
    }

    nav > ol > li > ul {
        display: none;
        position: absolute;
        padding-left: 0;
    }

    nav > ol > li:has(ul):hover > ul {
        display: block;
        text-align: left;
    }
}