
.row_nav{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
    height: 100%;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #009879;
  color: white;
    font-weight: 800;
}


@media (min-width: 915px) {

    .row_nav{
        height: 41px;
    }

}
@media (max-width: 915px) {

    /* Style the links inside the navigation bar */
    .topnav a {
      font-size: 2.5vw;
        padding: 14px 8px;
        height: 41px;
    }

}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Style the navbar */
#navbar {
  overflow: hidden;
  background-color: #333;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 41px;
}


/* Popup Overlay (full screen) */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Make sure it is above other content */
}

/* Popup Content Box */
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px; /* Set a fixed width */
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Timer Display */
#timer {
    font-size: 300px;
    font-weight: bold;
}