﻿body {
    margin: 0;
    background: #ccddff; /* For browsers that do not support gradients */
    /*background: -webkit-linear-gradient(left top, yellow, red); /* For Safari 5.1 to 6.0 */
    /*background: -o-linear-gradient(bottom right, yellow, red); /* For Opera 11.1 to 12.0 */
    /*background: -moz-linear-gradient(bottom right, yellow, red); /* For Firefox 3.6 to 15 */
    /*background: linear-gradient(-1800deg, red, yellow); /* Standard syntax (must be last) */
    /*background-repeat: no-repeat;
    */
}
header {
    width: 100%;
    height: 40px;
    
}
#header-inner {
    max-width: 100vw;
    margin: 1px 15px auto;
    /*box-shadow: 10px 10px 5px grey;
    text-align:center;*/
}
#logo {
    margin: 5px;
    float: left;
    width: 200px;
   
}
#logo2 {
    margin: 5px;
    float: left;
    width: 170px;
}
nav {
    float: right;
    /*padding:0 0 0 0;*/
}
#menu-icon{
    display: none;
    width: 40px;
    height: 40px;
    background: url(Images/nav.png) center;
}
a:hover#menu-icon {
    border-radius: 4px 4px 0 0; 
}
ul {
    list-style-type: none;
    /*margin: 0;
    padding: 0;*/
}
nav ul li {
    font-size: 120%;
    display: inline-block;
    float: left;
    padding: 5px;
    position: relative;
}
nav ul li a {
    color:black;
    text-decoration: none;
}
    nav ul li a:hover {
        color: white;
        display: block;
    }
.current {
    color:white;
}

/* Submenu styles */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16C47F;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 160px;
    border-radius: 5px;
    z-index: 1011;
}

    .submenu li {
        width: 95%;
    }

        .submenu li a {
            padding: 10px 5px;
            text-align: center;
            color: white;
            text-decoration: none;
            font-size: 14px;
            display: block;
        }

            .submenu li a:hover {
                background-color: #13a86c; /* Slightly darker green for hover effect */
            }

/* Show submenu on hover */
nav ul li:hover .submenu {
    display: block;
}



#cube {
  border-radius: 25px;
  border: 3px solid red;
  padding: 20px; 
  width:320px;
  height:300px;
}

#idlog{
        position: absolute; top: 30px; left: 250px
    }

.IndoorRecord {
	background-color:darkturquoise; /*#4CAF50; /* Green */
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 19px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.button3 {
    background-color: #16C47F;
    color: black;
    border: 2px solid black;
    border-radius: 8px;
}

.button3:hover {
    background-color: #f44336;
    color: white;
    border-color:white;
}
}.IndoorRecord:active {
	position:relative;
	top:1px;
}
   .makewidth{
       float:left;
       width:200px;
    margin: 0;
    }  
   .makewidth1{
       float:left;
       width:200px;
    margin: 0;
    }  
  .widthtex1{
        width:150px;
    }
  .widthtex{
        width:150px;
    }

/* Menu Section */
.menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Display 4 items per row */
    gap: 20px;
    width: 65.5vw;
    padding: 1px;
}

    .menu h3 {
        font-size: 24px;
        color: #333;
        margin-bottom: 20px;
        font-weight: bold;
        grid-column: span 4; /* Title spans across all columns */
    }

.menu-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 280px; /* Fixed height to ensure uniformity */
}

    .menu-item:hover {
        transform: translateY(-10px);
    }

    .menu-item img {
        width: 150px;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }

    .menu-item span {
        display: block;
        font-size: 12px;
        margin-top: 1px;
        color: #333;
    }





  [type="date"] {
  background:#fff url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/calendar_2.png)  97% 50% no-repeat ;
}
[type="date"]::-webkit-inner-spin-button {
  display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}





 /*---Media--*/
@media (max-width: 767px) {

     header {
        position: absolute;
    }

    #logo {
        margin: 2px 0px;
        width: 100px;
        background: no-repeat center;
    }

    #logo2 {
        margin: 2px 0px;
        width: 90px;
        background: no-repeat center;
    }

    nav {
        float: none;
        width: 250px;
        position: absolute;
        z-index: 100111;
        top: 0;
        right: 5px;
    }
    #menu-icon {
        display: block; /* Ensure it's visible */
        width: 70px;
        height: 70px;
        background: url(Images/nav.png) center no-repeat;
        background-size: cover;
        cursor: pointer;
        position: absolute; /* Position it absolutely */
        top: 0; /* Adjust the distance from the top */
        right: 5px; /* Adjust the distance from the right */
        z-index: 100; /* Ensure it appears above other content */
    }

    /* Hide Menu by Default */
    ul {
        display: none;
        flex-direction: column; /* Stack menu items vertically */
        background-color: #16C47F; /* Match main menu background */
        width: 100%; /* Take full width of the screen */
    }

        /* Show Menu When Active */
        ul.active {
            display: flex;
        }

    nav ul li {
        display: block; /* Stack menu items */
        width: 200px; /* Full width for items */
        text-align: center;
    }

        nav ul li a {
            padding: 15px;
            font-size: 18px; /* Larger font for touch devices */
            color: white;
            text-decoration: none;
            display: block;
        }

    /* Submenu */
    .submenu {
        display: none; /* Hide submenus by default */
        background-color: #13a86c; /* Darker shade for submenus */
    }

    nav ul li.active > .submenu {
        display: block; /* Show submenu when parent is active */
    }

    /* Optional: Adjust hover effects */
    nav ul li a:hover {
        color: white;
        background-color: #13a86c;
    }

    #idlog {
        position: absolute;
        top: 20px;
        left: 110px
    }

    #HyperLink1 {
        font-size: 12px;
    }

    #LinkButton101 {
        font-size: 12px;
    }

    #Label2000 {
        font-size: 12px;
    }

    #Label2 {
        font-size: 12px;
    }
    .headerlable {
        font-size: 12px;
    }
    .tablewidth {
        width: 96vw;
    }

    .makewidth {
        float: left;
        width: 160px;
        margin: 5px;
    }

    .widthtex {
        width: 140px;
    }

    .widthtex1 {
        width: 140px;
    }

    #gridoverflow {
        padding: 0;
        width: 100vw;
    }

    .nwgridover {
        padding: 0 0 0 0; /*:0 50px 0 0;
            : 0 0 0 0;*/
        width: 95vw;
    }

    .menu {
        width: 92vw;
        grid-template-columns: 1fr 1fr; /* Two items per row on smaller screens */
    }

    .menu-item {
        height: 260px; /* Adjust height on smaller screens */
    }

        .menu-item img {
            width: 120px;
        }

        .menu-item span {
            font-size: 12px;
        }
}