﻿@font-face {
    font-family: "CU-Light";
    src: url("../fonts/CormorantUnicase-Light.ttf");
}

@font-face {
    font-family: "CU-Medium";
    src: url("../fonts/CormorantUnicase-Medium.ttf");
}

@font-face {
    font-family: "CU-Regular";
    src: url("../fonts/CormorantUnicase-Regular.ttf");
}

@font-face {
    font-family: "CU-SemiBold";
    src: url("../fonts/CormorantUnicase-SemiBold.ttf");
}

@font-face {
    font-family: "CU-Bold";
    src: url("../fonts/CormorantUnicase-Bold.ttf");
}

* {
    box-sizing: border-box;
}

:root {
    --button-bg: white;
    --text-color: black;
    --particle-bg: white;
    --animation-speed: 0.8s;
    --particles-columns: 5;
    --particles-radius: 5px;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Lora", Arial, sans-serif;
    width: 100%;
    text-align: center;
    touch-action: pan-y;
    position: relative;
    background: url(../images/background1.jpg) repeat-x, #142946 !important;
    height: 100%;
    z-index: -2;
}

#body-wrapper{
    overflow-x: hidden;
    overscroll-behavior: none;
    overscroll-behavior-x: none; /* Prevent bouncing scroll */
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}

.video-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* must be behind overlay elements */
  overflow-x: hidden;
  overflow-y: hidden;
}



.video-overlay {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Pushes content to the bottom */
    align-items: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
    text-align: center;
}

.video-black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* adjustable darkness */
  z-index: 0;
}


.logo {
    max-width: 90%;
    max-height: 30vh;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 0.75rem #cbb687);
}


.description {
    font-size: 2rem;
    text-shadow: 1px 1px 2px #000, 0 0 1em #d89a48, 0 0 0.2em #000;
    color: #fff;
    font-family: "Cinzel";
    font-weight: 600;
    margin-top:0 auto  !important;
}

.store-badges img {
    height: 50px;
    padding: 10px;
}

.separator-1 {
    background: url('../images/border1.png') repeat-x;
    background-size: contain;
    height: 100px;
    width: 100%;
    margin-top: -70px;
    position: absolute;
    z-index: 1;
}

.separator-2 {
    background: url('../images/border1Flipped.png') repeat-x;
    background-size: contain;
    height: 100px;
    margin-top: -30px;
    width: 100%;
    position: absolute;
    z-index: 1;
}

.content {
    background: url("../images/background1.jpg");
    /*background-size:  cover;*/
    position: relative;
    width: 100dvw;
    padding-bottom: 100px;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    z-index: 0;
}

.content-slider {
    background-color: darkslategrey;
    padding: 150px 0px; /*izbrisi kasnije*/
}

.content-section {
    width: 80%;
    margin: auto;
    position: relative;
    z-index: 1;
    padding: 20px 0px;
}

.slider-section {
    padding: 0px 100px;
}

.content-section .info {
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    flex-wrap: wrap;
}
.content-section .info:last-of-type{
    margin-bottom: 20px;
}

.content-image {
    position: relative;
    width: 40%;
    height: auto;
    padding: 10px;
    border: none; /* Remove any default border */
    overflow: hidden; /* Prevent image overflow */
}


.text-box {
    width: 50%;
    /*padding: 0px 20px;*/
}

    .text-box h1 {
        font-size: 2.5rem;
        font-family: "Cinzel";
        font-weight: 600;
        color: rgb(59, 39, 8);
        text-align: left;
        padding: 0px 0px;
        margin: 10px 0px 5px 0px;
    }

.text-title {
    content: "";
    position: absolute;
    width: 100%; /* Adjust fade effect width */
    height: 10px;
    z-index: 2;
    background: url("../images/text-title-border.png") no-repeat;
    background-position: left;
    background-size: contain;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
}

.text-box p {
    color: rgb(59, 39, 8);
    text-align: left;
    padding: 0px 0px;
    font-size: 1.2rem;
    font-family: "Lora";
    margin-top: 20px !important;
}

/* Ensure full section height and prevent extra scrolling */
.content-slider {
    position: relative;
    background-color: darkslategrey;
    height: 100vh; /* Ensures full section height */
    overflow: hidden; /* Prevents unwanted vertical scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full-screen fixed slider section */
.content-slider {
    position: relative;
    background-color: darkslategrey;
    height: 100vh; /* Full height */
    overflow: hidden; /* Prevents unwanted scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensures the container remains within the viewport */
.slider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Hides any extra scrollbars */
    display: flex;
    align-items: center;
}

/* The full slider moves horizontally */
.slider {
    display: flex;
    height: 100%;
    will-change: transform;
}


/* Ensure text is visible on top of the image */
.slide h3 {
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}




.left {
    left: 10px;
}

.right {
    right: 10px;
}

footer {
    text-align: center;
    padding: 20px 0px;
    background: linear-gradient(to bottom, rgba(6, 10, 24, 1), rgba(12, 20, 50, 1));
    color: white;
    position: relative;
    background-size: contain;
    overflow-y: hidden;
}

    footer
    .footer-content {
        width: auto;
        height: auto;
        margin: auto;
        align-items: center;
        justify-content: center;
        position: relative;
        display: flow-root;
    }

.footer-content .logo-footer {
    height: 50px;
}

.footer-content p {
    padding-bottom: 0px;
    margin:0;
    font-family: "Lora", serif;
}
.footer-content p a{
    text-decoration:underline;
    color:#fff;
    transition: all ease-in-out 0.5s;
    margin-right: 10px;
    border-right: 1px solid #fff;
    padding-right: 10px;
}

.footer-content p a:hover{
    color:#d89a48;
}

.footer-border {
    content: "";
    display: block;
    height: 25px !important; /* Adjust border height */
    background: url("../images/footer-border.png") repeat-x;
    background-size: contain;
    width: 100%;
    left: 0;
    top: 0;
    position: relative;
    margin-top: -25px;
    z-index: 3;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(6, 10, 24, 1), rgba(12, 20, 50, 1));
  background-image: url(../images/cookies-border.png), linear-gradient(to bottom, rgba(6, 10, 24, 1), rgba(12, 20, 50, 1));
  background-position: top left;
  background-size: auto 8px, 100% 100%;
  background-repeat: repeat-x;
  color: #fff;
  padding: 16px;
  text-align: center;
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  font-family: 'Lora', serif;
  z-index: 99999;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  display: inline;
}

.cookie-banner a {
  color: #d89a48;
  text-decoration: none;
  margin-left: 6px;
  transition: all 0.2s ease-in-out;
}

.cookie-banner a:hover{
    color:#fff;
}

.cookie-banner button {
  padding: 10px 20px;
  font-size: 1rem;
  font-family: "Cinzel", serif;
  border: none;
  background-color: #d89a48;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.cookie-banner button:hover{
    background-color: #b77a2c;
}

.cookie-buttons{
    margin-top:10px;
}
.download-area {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    background: url("../images/download-background-1.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.download-top-bar,
.download-bottom-bar {
    content: "";
    display: block;
    height: 15px !important; /* Adjust border height */
    background: url("../images/download-border.png") repeat-x;
    background-size: contain;
    width: 100%;
    position: absolute;
    left: 0;
}

.download-top-bar {
    top: 0;
    margin-top: 10px;
}

.download-bottom-bar {
    bottom: 0;
    margin-bottom: 10px;
}

.download-on {
    font-size: 6rem;
    font-family: "Cinzel";
    font-variant: all-small-caps;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #d89a48;
    text-shadow: 1px 1px 2px #000;
    text-align: center !important;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.store-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    z-index: 9999;
    position: relative;
}

    .store-links a img {
        height: 70px;
        width: auto;
        margin-bottom: 50px;
    }

.download-top-bar {
    clip-path: inset(0 100% 0 0);
}

.download-bottom-bar {
    clip-path: inset(0 0 0 100%);
}


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0);
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

#slider-background {
    position: relative;
    width: 100%;
    overflow: visible; /* Omogućava prikaz strelica i gradijenata */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

#horizontal {
    display: flex;
    overflow: hidden;
    margin: auto;
    width: 80%; /* Necessary width for 4 slides */
    height: 256px; /* Set height as requested */
    position: relative;
    background-color: #000;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
}

    #horizontal::before, #horizontal::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100px; /* Adjust fade effect width */
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    #horizontal::before {
        left: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    #horizontal::after {
        right: 0;
        background: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

.slide-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer i Edge */
}
    .slide-wrapper::-webkit-scrollbar {
        display: none; /* WebKit preglednici */
    }
.content-slide {
    width: 180px;
    height: 100%;
    margin: 0 10px; /* 20px total margin */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 24px;
    font-weight: bold;
}

    .content-slide img {
        width: auto;
        max-width: 180px;
        height: 100%;
    }
#fog {
    content: "";
    display: block;
    height: 70px !important; /* Adjust border height */
    background: url("../images/dark-fog.png") repeat-x, url("../images/dark-fog-background.png") repeat-x;
    background-position: center, left;
    background-size: contain;
    width: 100%;
    left: 0;
    top: 0;
    position: relative;
    margin-top: -70px;
}

/*UNTIY CSS*/
.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
}

.unity-frame {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1 1 auto;
}

.return-home {
    position: absolute;
    bottom: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
}

.burning-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: black;
    opacity: 0;
    z-index: 1002;
    pointer-events: none;
}

.show-on-md-only {
    display: none;
}

.hide-on-md-only {
    display: block;
}



/* BUTTON TOP */
button {
    background: none;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: static; /* allow it to flow with other content */
    width: 100%;
    margin-bottom: -450px !important;
}

.main-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-top: 2px solid #d89a48;
    border-bottom: 2px solid #d89a48;
    font-size: 2.4rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-family: "Cinzel";
    font-variant: small-caps;
    text-align: center;
    line-height: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000;
    background-color: #d89a48;
    margin-top:4rem;
    max-width: 95vw;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.third-section{
    text-decoration: none;
    margin-top:20px;
    transform: scale(0.8);
}

    .main-button::before {
        content: "";
        background: url("../images/button_decoration_left.png") no-repeat;
        background-size: contain;
        background-position: left center;
        left: 0;
        margin-left: -29px;
        position: absolute;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        font-weight: 100;
        text-align: center;
        white-space: nowrap;
        line-height: 3.5rem;
        width: 60px;
        height: 60px;
        transform: scaleX(1);
        transition: all 200ms ease-in-out;
    }

    .main-button::after {
        content: "";
        background: url("../images/button_decoration_right.png") no-repeat;
        background-size: contain;
        background-position: right center;
        right: 0;
        margin-right: -28px;
        position: absolute;
        transform: translate(50%, -50%);
        font-size: 2rem;
        font-weight: 100;
        text-align: center;
        white-space: nowrap;
        line-height: 3.5rem;
        width: 60px;
        height: 60px;
        transform: scaleX(1);
        transition: all 200ms ease-in-out;
    }

.main-button-title::before {
    content: "";
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    margin-top: -30px;
}

/* Different text for each button */
.first::before {
    content: "Start";
    transition: all 200ms ease-in-out;
}

.second::before {
    content: "See What";
}

.third::before {
    content: "Visit";
}

.main-button:hover {
    padding: 1rem 3rem;
    background: url("../images/main-button-background-sliding.png") left center repeat-x, url("../images/main-button-background.jpg") center center no-repeat;
    background-size: contain, cover;
    animation: gradient 15s linear infinite running;
}
.main-button:hover::after,.main-button:hover::before{
    transition: all 0.3s ease-in-out;
    transform: scaleX(-1);
    content:url("../images/button_decoration_hover.png");
    align-content: center;

}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.main-button:focus {
    outline: none;
}

.about-us {
    width: 100%;
    background: url("../images/about-us-border.png") top left repeat-x,url("../images/about-us-border.png") bottom left repeat-x ,url("../images/about-us-left.jpg") left center no-repeat, #fff;
    animation: scroll-borders 30s linear infinite;
}
@keyframes scroll-borders {
  0% {
    background-position: 
      0 0,           /* top border */
      0 100%,        /* bottom border */
      left center;   /* side image */
  }
  100% {
    background-position: 
      1000px 0,      /* top border moves right */
      -1000px 100%,  /* bottom border moves left */
      left center;   /* side image */
  }
}
    .about-us .container {
        padding: 100px 0px;
    }

        .about-us .container .row {
            align-items: center;
        }

.about-us-logo img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    padding: 10px;
}

.about-us-info {
    border-image: linear-gradient(to bottom, rgba(255,255,255,1), #d89a48) 1 100%;
    border-style: solid;
    border-right: 1px;
    background-image: linear-gradient(to bottom, #23367a, #060a18);
    color: transparent;
    background-clip: text;
}

    .about-us-info h2 {
        font-family: "Cinzel";
        font-variant: small-caps;
        font-size: 3rem;
        font-weight: 600;
        text-align: right;
    }

    .about-us-info p {
        padding: 10px;
        text-align: justify;
        font-size: 1.3rem;
        font-family: "Lora";
    }

.content-button {
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgb(59, 39, 8);
    cursor: pointer;
    top: 20px;
    position: relative;
    font-family: "Cinzel";
    font-weight: 500;
    transition: all 200ms ease-in-out;
    float: left;
    align-items: center;
    border-radius: 10px;
}

    .content-button:hover {
        background-color: rgba(59, 39, 8, 0.0);
        color: rgb(59,39,8);
        -webkit-box-shadow: inset 0px 0px 0px 2px rgb(59, 39, 8);
        -moz-box-shadow: inset 0px 0px 0px 2px rgb(59, 39, 8);
        box-shadow: inset 0px 0px 0px 2px rgb(59, 39, 8);
        font-weight: 500;
    }



    
/* Overlay backdrop */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/popup-background.png);
    background-repeat: repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

    /* Hidden state */
    #popup-overlay.hidden {
        display: none;
    }

/* Popup box */
#popup-content {
    position: relative;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    margin: 20px;
    background: #fff;
    /*border-radius: 16px;*/
    /*box-shadow: 0 8px 24px rgba(0,0,0,0.2);*/
    overflow: visible;
    padding: 0px;
}

/* Close button */
#popup-close {
    color: #ffffff;
    position: absolute;
    top: -18px;
    left: -50px;
    border: none;
    cursor: pointer;
    transform: scale(0.7);
    margin-top: 0px;
    z-index:9999;
}

/* Body content area */
#popup-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.cookie-gate {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.cookie-gate.hidden {
  display: none;
}

.cookie-gate-box {
  background: 
    url(../images/cookies-border.png) top center repeat-x,                 /* top border */
    url(../images/cookies-border-flipped.png) bottom center repeat-x,              /* bottom border flipped */
    url(../images/about-us-left.jpg) no-repeat left center,                 /* side image */
    #fff;                                                                   /* fallback background */
  background-size: auto 5px, auto 5px, auto 100%, cover; /* adjust heights/sizes */
  background-position: 
    top center,
    bottom center,
    left center,
    center center;
  padding: 60px 30px; /* increase top/bottom padding to accommodate borders */
  max-width: 500px;
  border: 3px solid #d89a48;
  text-align: center;
  font-family: "Lora", serif;
  box-shadow: 0 0 20px #000;
  position: relative;
}


.cookie-gate-box p {
  font-size: 1.1rem;
  color: #142946;
  margin-bottom: 1rem;
}

.cookie-gate-warning {
  font-size: 0.95rem;
  color: #8b0000;
  font-style: italic;
}

.cookie-gate-buttons {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 20px;
}

.cookie-gate-buttons button {
  padding: 10px 20px;
  font-size: 1rem;
  font-family: "Cinzel", serif;
  border: none;
  background-color: #d89a48;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.cookie-gate-buttons button:hover {
  background-color: #b77a2c;
}


.frame-border {
  position: absolute;
  background-repeat: repeat;
  z-index: 5;
  border: 0px !important;
}

.frame-border.top, .frame-border.bottom{
    background-image: url('../images/border-line.png'); /* the tiling border graphic */
}

.frame-border.left, .frame-border.right{
    background-image: url('../images/border-line-vertical.png'); /* the tiling border graphic */
}
/* Individual borders */
.frame-border.top {
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}

.frame-border.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  transform: scaleY(-1);
}

.frame-border.left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  transform: scaleX(-1);
}

.frame-border.right {
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
}


/* Unity iframe full‑bleed */
.unity-frame {
    flex: 1; /* in flex parent, fill leftover space */
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

#popup-spinner {
    width: 100%;
    height: auto;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background:url(../images/loading-pattern.png), radial-gradient(circle,rgba(25, 108, 131, 1) 0%, rgba(9, 17, 36, 1) 100%);*/
    background: url(../images/LoadingBackground.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 0px 50px #0f2542;
    z-index: -1;
}

#rotate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 1);
  color: white;
  font-size: 1.8rem;
  font-family: 'Cinzel', sans-serif;
  text-align: center;
  z-index: 999999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
}

.rotate-message {
  max-width: 90%;
  line-height: 1.5;
  padding: 1rem 2rem;
  text-shadow: 1px 1px 2px black;
}
.rotate-message p strong{
    color: #d89a48;
}


.spinner{
    width: 40px;
  aspect-ratio: 1;
  color: #d89a48;
  position: relative;
  background:#d89a48;
  border-radius: 50px;
  background-size: 100% 50%;
  background-repeat: no-repeat;
}
.spinner::after{
    content:'';
  position: absolute;
  inset: 0;
  --g:currentColor 14.5px,#0000 0 calc(100% - 14.5px),currentColor 0;
  background:
    linear-gradient( 45deg,var(--g)),
    linear-gradient(-45deg,var(--g));
   animation: l7 1.5s infinite cubic-bezier(0.3,1,0,1);
}
.spinner::before{
     content:'';
  position: absolute;
  inset: 0;
  --g:currentColor 14.5px,#0000 0 calc(100% - 14.5px),currentColor 0;
  background:
    linear-gradient( 45deg,var(--g)),
    linear-gradient(-45deg,var(--g));
   animation: l8 1.5s infinite cubic-bezier(0.3,1,0,1);
}


@keyframes l7 {
   33%  {inset:-10px;transform: rotate(0deg)}
   66%  {inset:-10px;transform: rotate(90deg)}
   100% {inset:0    ;transform: rotate(90deg)}
}

@keyframes l8 {
   33%  {inset:-10px;transform: rotate(45deg)}
   66%  {inset:-10px;transform: rotate(135deg)}
   100% {inset:0    ;transform: rotate(135deg)}
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@supports (-webkit-touch-callout: none) {
  .download-on {
    text-align: center !important;
    display: block;
    width: 100%;
  }
}

@media (max-width: 768px) {
    .main-button {
        font-size: 1.6rem;
        padding: 10px 0px;
    }

    .main-button:hover {
    padding: 1rem 3rem;
    background-color: #d89a48;
    background-image: none;
    }
    .main-button:hover::after,.main-button:hover::before{
    transform: scaleX(1);
    transition: all 0.3s ease-in-out;
    content:"";
    align-content: center;

}

    .description {
        font-size: 1.25rem;
        padding-top: 20px;
    }

    .video-overlay {
        padding-top: 4rem;
    }

    .buttons {
        flex-direction: column !important;
        margin-bottom: 0px !important;
    }

    .logo {
        max-width: 70%;
    }
}
@media screen and (max-height: 500px) and (orientation: landscape) {
        .logo {
        max-height: 25vh;
    width: auto;
    display: block;
    margin: 0 auto;
    }

    .description {
        font-size: 1.2rem;
    }

    .buttons {
    flex-direction: row;
    flex-wrap: wrap;
    }
      .video-section {
    height: auto !important;
  }
  .background-video {
    height: auto !important;
    pointer-events: none;
}
  
  .main-button {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    max-width: 90vw;
    transform: scale(0.7);
  }
}
@media only screen and (max-width: 768px) and (orientation: portrait), only screen and (max-width: 1024px) and (orientation: landscape) {
       
    .show-on-md-only {
    display: block;
}

.hide-on-md-only {
    display: none;
}
#fog{
    margin-bottom:-20px;
}
.about-us-info{
    margin-top: 2rem !important;
}
.about-us-info h2{
    text-align: center !important;
}
.about-us-info p{
    text-align: justify !important;
}
}
@media (max-width: 768px) and (orientation: portrait) {

.about-us-logo{
border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(to right, rgb(216, 154, 72, 0), rgb(216, 154, 72, 1), rgb(216, 154, 72, 0)) 1;
  border-top:none;
  border-left:none;
  border-right:none;
  padding-bottom: 20px;
}
.slide-wrapper::-webkit-scrollbar {
    display: none;
}

.text-box h1  {
    text-align: center !important;
  }
.text-box p{
    text-align: justify !important;
}
}

@media (orientation: portrait) {


#horizontal {
        scroll-snap-type: x mandatory;
        scroll-padding: 0 50%; /* helps center slides */
    }

    .slide-wrapper {
        scroll-snap-type: x mandatory;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .content-slide {
        scroll-snap-align: center;
        margin: 0 10px;
        flex-shrink: 0;
    }
    .content-slide:first-of-type{
        margin-left:100px;
    }
    .content-slide:last-of-type{
        margin-right:100px;
    }
}
@media (min-width: 992px) {
  .logo {
    margin-top: -250px;
  }

  .description {
    margin-top: -100px;
  }
}


/* PORTRAIT MOBILE: stack vertically */
@media (max-width: 768px) and (orientation: portrait) {

  .buttons {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem !important;
  }

  .buttons .col-12 {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .main-button {
    width: 90%;
    max-width: 300px;
  }
}

/* LANDSCAPE (mobile/tablet): row */
@media (max-width: 1024px) and (orientation: landscape) {

  .buttons {
    flex-direction: row !important;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem !important;
    flex-wrap: nowrap;
  }

  .buttons .col-12 {
    display: flex;
    justify-content: center;
    flex: 1 1 30%;
    max-width: 33.333%;
  }

  .main-button {
    width: 90%;
    max-width: 260px;
  }
  #popop-overlay{
    width: 100%;
    height: 100vh;
  }
  #popup-content{
    width: 100%;
    height: 100%;
    margin:0;
    
  }
  .frame-border.top, .frame-border.bottom{
    display: none;
  }
}

@media (max-width: 768px) and (orientation: portrait) {

  .video-overlay {
    justify-content: flex-start;
    padding-top: 5vh;
    min-height: 100vh;
  }

  .buttons {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .buttons .col-12 {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .main-button {
    width: 90%;
    max-width: 300px;
  }
}


@media (max-width: 1024px) and (orientation: landscape) {

  .video-overlay {
    min-height: 100vh;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

   .buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Prevent wrapping */
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem !important;
  }

  .buttons .col-12 {
    flex: 0 0 auto !important; /* Prevent Bootstrap from forcing full width */
    max-width: unset !important;
    width: auto;
    display: flex;
    justify-content: center;
  }

  .main-button {
    width: 100%;
    max-width: 220px; /* adjust to fit all 3 buttons in landscape */
  }
  #popup-close.main-button{
        top: 0;
    left:0;
    width: auto;
    min-width: 0px;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
  }
  #body-wrapper{
    overflow-x: hidden;
    overscroll-behavior: none;
    overscroll-behavior-x: none; /* Prevent bouncing scroll */
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    border-left:#d89a48 2px solid;
    border-right:#d89a48 2px solid;
}
}

