@import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .25s ease-in-out;
    box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
}

/* Basic styles */
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Fixed header styles */
header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff; /* Adjust as needed */
    z-index: 10; /* Ensure it stays on top */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: add shadow */
}


/* Overlay */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Adjust the opacity as needed */
   
}

/* Main content styles */
.main-content {
    margin-top: 100px; /* Adjust based on the header height */
}

/* Responsive styles for nav-box */
@media (max-width: 768px), all and (display-mode: standalone) and (max-width: 768px) {
    
    @keyframes tap-animation {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
    .nav-box {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 205px; /* Adjust as needed */
        border-radius: 70px 70px 0 0; /* Adjust border-radius as needed */
        background-color: rgba(243, 250, 250, 0.9); /* Adjust background color and opacity as needed */
        z-index: 100; /* Ensure it is above other elements */
        font-family: "Racing Sans One";
        padding: 10px;
    }

    .card span {
        display: flex;
        align-content: center;
        /* Add any other text styles */
    }

    .nav-box .top-cards {
        display: flex;
        justify-content: space-evenly;
        width: 90%;
        padding: 0px; /* Adjust padding as needed */
    }

    .nav-box .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
        padding: 0px;
        width: 30%;
        z-index: 101; /* Ensure it is above other elements within nav-box */
    }

    .nav-box .bottom-card {
        
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(0deg, #16C4BB 0%, #72DCD9 100%);
        border-radius: 70px;
        padding: 10px;
        margin: 2px;
        width: 80%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        margin-bottom: 10px;
        z-index: 101; /* Ensure it is above other elements within nav-box */
        
    }

    .nav-box a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-size: 16px;
        text-align: center;
    }

    .nav-box .icon1 {
        background: url(/public/images/loc.png) no-repeat center center;
        background-size: cover;
        height: 40px;
        width: 40px;
        margin-bottom: 10px;
    }

    .nav-box .icon2 {
        background: url(/public/images/qr.png) no-repeat center center;
        background-size: cover;
        height: 40px;
        width: 40px;
        margin-bottom: 10px;
    }

    .nav-box .icon3 {
        background: url(/public/images/acc.png) no-repeat center center;
        background-size: cover;
        height: 40px;
        width: 40px;
        margin-bottom: 10px;
    }

    .nav-box .icon4 {
        background: url(/public/images/Close.png) no-repeat center center;
        background-size: cover;
        height: 40px;
        width: 40px;
        margin-bottom: 10px;
    }

    /* Basic styles for the card */
    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
        padding: 8px;
        margin: 0px;
        width: 30%;
        transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    }

    /* Animation on tap (click) */
    .card:active {
        transform: scale(0.95);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .card a {
        display: block;
        text-align: center;
        padding: 10px;
        text-decoration: none;
        color: inherit; /* Inherit color from parent */
    }
  

    .card .icon1, .card .icon2, .card .icon3, .card .icon4 {
        width: 40px;
        height: 40px;
        margin: 0 auto;
        justify-content: space-evenly;
        align-content: center;
        /* Add your icon background images or styles */
    }
}



/* Hide nav-box on desktop */
@media (min-width: 769px)  {
    .background-container {
        background: url("/public/images/backgrounds/background.png") no-repeat center center; 
        height: 100vh; /* Ensure it covers the full viewport height */
        background-size: cover;
        position: absolute; /* Change to absolute positioning */
        top: 0; /* Ensure it starts from the top */
        width: 100%;
        z-index: -1;
    }
    .nav-box {
        display: none;
    }
    
    #qr-reader {
        display: none;
    }
    .popup-overlay {
        display: none;
    }
    .qrscannerdesk {
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
    font-family: "Racing Sans One";
    font-size: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 67.2px */
    letter-spacing: -.2px;
    }
    .permission-button {
        padding: 10px 20px;
        font-size: 16px;
        background-color: #ad1d1d;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .permission-button:hover {
        background-color: #ff0000;
    }
    .hidden {
        display: none;
    }
}

/* Container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.navbar a {
    color: #000;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 18px;
}
/* LOGO */
header {
    color: #000;
    text-align: center;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    font-family: "Racing Sans One";
    font-size: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 67.2px */
    letter-spacing: -0.96px;
    text-decoration: none;
    z-index: 0;
    margin-top: 15px;
}

.header a {
    color: rgb(0, 0, 0);
    text-decoration: none;
   
}

.logo {
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    margin: 0 auto 2px;
}

.reviews {
    width: 100%;
    height: 100%;
    position: relative;
}

/* NAV */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: none;
    padding: 10px 20px;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
    font-family: "Racing Sans One";
    font-size: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 67.2px */
    letter-spacing: -.2px;
}


.navbar .menu {
    display: flex;
}
.navbar .hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}



@media (max-width: 768px) {
    .background-container {
        background: url("/public/images/backgrounds/mobilebackground.png") no-repeat center center;
        height: 100vh; /* Ensure it covers the full viewport height */
        background-size: cover;
        position: absolute; /* Change to absolute positioning */
        top: 0; /* Ensure it starts from the top */
        width: 100%;
        z-index: -1;
    }
    .navbar .hamburger {
    display: flex;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    right: 10px;
    top: 10px;
    z-index: 1000;
    transition: transform 0.3s ease;
    }
    .navbar .menu {
        display: none;
        flex-direction: column;
        opacity: 0;
        transition: opacity 0.5s ease, max-height 0.5s ease;
        max-height: 0;
        overflow: hidden;
        position: absolute;
        top: 170px; /* Adjust based on the height of your navbar */
        left: 50%;
        transform: translateX(-50%);
        border-radius: 30px;
    }
    .navbar a {
        font-size: 20px;
        color: white;
        padding: 14px 20px;
        text-decoration: none;
    }
    .navbar .menu.active {
        flex-direction: column;
        display: flex;
        opacity: 1;
        max-height: 500px; /* Set a max-height that fits the menu items */
        background-color: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(1px);
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Feather the edges */
    }
    video {
        width: 100%;
        height: auto;
        max-width: 600px;
       
    }


    button {
        padding: 10px 20px;
        font-size: 20px;
        background: linear-gradient(0deg, #16C4BB 0%, #72DCD9 100%);
        color: white;
        border: none;
        border-radius: 70px;
        cursor: pointer;
        font-family: "Racing Sans One";
        
    }
    button:hover {
        background: linear-gradient(0deg, #16C4BB 0%, #14bdb4 100%);
    }
    #qr-reader img[alt="Info icon"] {
        display: none;
    }
    #qr-reader img[alt="Camera based scan"] {
        width: 100px !important;
        height: 100px !important;
        background: url("/public/images/qr.png");
    }
    #notification-bar {
        position: fixed;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #4caf50;
        color: white;
        text-align: center;
        padding: 10px;
        font-size: 16px;
        z-index: 1000;
        display: none;
        transition: opacity 0.5s ease-in-out;
    }

    .hidden {
        display: none;
    }

    #qrcontainer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 25%;
        margin-top: 10%;
        margin-bottom: 25%;
       
    }

    #qr-reader {
        
        align-items: center;
        justify-content: center;
        text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
        font-family: "Racing Sans One";
        font-size: auto;
        font-style: normal;
        margin-bottom: 25%;
        
    }
    #qr-reader #span{
        
        align-items: center;
        justify-content: center;
        text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
        font-family: "Racing Sans One";
        font-size: auto;
        font-style: 200px;
        margin-bottom: 25%;
        
    }

    #qr-reader2:active {
        margin-bottom: 25%;
        height: 50px;
    }
    .qrscannerdesk {
        display: none;
    }
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    .popup-content {
        background: white;
        padding: 15px;
        border-radius: 5px;
        max-width: 500px;
        width: 90%;
        text-align: center;
        font-family: "Racing Sans One";
    }
    .popup-close {
        background: #16C4BB;
        color: white;
        margin-top: 10px;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        font-size: larger;
        font-family: "Racing Sans One";
    }

}



