* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    background-color: #e0f7fa;
  }

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  position: relative;          
  background-color: rgb(210, 242, 255);
  border-bottom: 1px solid #ccc;
  padding: 1rem 2rem;
  height: 80px;
  box-sizing: border-box;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex: 0 0 auto;
  color: #003b4d;
}


.nav-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 1.5rem;
  color: rgb(3, 82, 115);
  white-space: nowrap; 
  text-align: center;
  pointer-events: none; 
}

@media (max-width: 640px) {
  .nav-title {
    position: static;
    transform: none;
    margin: 0 auto;
    pointer-events: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    white-space: normal;
  }

  .navbar {
    justify-content: space-between;
  }
}

  
  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: calc(100vh - 80px); 
    width: 100vw;
  }
  
  .grid-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: transform 0.2s, background-color 0.2s;
  }
  
  .grid-button:hover {
    transform: scale(1.03);
  }
  
  .red {
    background-color: #ff4d68;
    border: 6px solid rgb(169, 43, 73);
  }

  .pink {
    background-color: #ff8fab;
    border: 6px solid #e0597d;
  }
  
  .orange {
    background-color: #ff9f2a;
    border: 6px solid #b16e1b;
  }
  
  .blue {
    background-color: #1394be;
    border: 6px solid #0d617e;
  }

  