@charset "UTF-8";
/* create buttons lookType 1*/
        body, html {
            height: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            font-family: Arial, sans-serif;
            
        }

        .content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .header, .footer {
            padding: 10px;
        }

        .button-container {
            display: grid;
            gap: 10px;
            width: 100%;
            flex-grow: 1;
            box-sizing: border-box;
            flex-grow: 1;
            padding: 10px;
            
        }

        .custom-button {
            text-align: center;
            width: 100%;
            background-color:rgb(30, 100, 150);
          /*  background-size: 100% 100%;   This ensures the image fits the button exactly */
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .custom-button:hover {
            background-color: #59738C;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Media queries for grid columns */
        @media (max-width: 600px) {
            .button-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 601px) and (max-width: 900px) {
            .button-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 901px) and (max-width: 1200px) {
            .button-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1201px) {
            .button-container {
                grid-template-columns: repeat(5, 1fr);
            }
        }
        
        .center-button {
    display: none;
    position:  fixed;/*absolute;  This allows it to be centered using top/left fixed;*/
    top: 30%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 600px; /* Example width, adjust as needed */
    height: 600px; /* Example height, adjust as needed */
  /*  background-color: red;  Change to red for visibility */
    color: white;
    border: none;
    border-radius: 0;/*50%;make it square*/
    font-size: 16px;
    text-align: center;
    line-height: 100px;
    opacity: 0;
    transition: opacity 3s ease-in-out;/*all 1s ease-in-out;*/
    z-index: 1000; /* Ensure this is higher than other elements */
    
}

.center-button.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2); /* Scale up when shown */
    animation: zoomInOutFade 6s ease-in-out 1; /* 7s duration, runs once */
}
.center-button.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1); /* Scale down when hiding */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}


@keyframes zoomInOutFade {
  /*  0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    10% {
        transform: translate(-50%, -50%) scale(1.2);
         opacity: 0;
    }
    90% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2); /* Zoom in */
   /* }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.2); /* Zoom in */
  /*  }
  /*  100% {
        transform: scale(1); /* Zoom out */
   /* }*/
   0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.2); /* Zoom in */
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.2); /* Zoom in */
    }
    100% {
        transform: scale(1); /* Zoom out */
    }
}
