@import url("https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  background-color: #f2f4f7;
  font-family: "Prompt", sans-serif;
  color: #000;
}

.navbar {
  background-color: transparent;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  padding: 8px 15px;
  color: #000;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #FFF;
  background-color:#0066ff;
  border-radius: 25px;
}

.dropdown-item:hover {
  color: #FFF;
  background-color:#0066ff;
}

a{
  text-decoration: none;
}

a:hover {
  color: green;
}

.northlogo {
  max-width: 100%;
  height: 50px;
}

.navbar-toggler {
  border: none;
  background: transparent;
}

table {
  width: 100%;
  width: 1000px;
  margin: 100px auto 20px;
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

thead th {
  background-color: #0066ff;
  color: white;
  padding: 15px;
  font-size: 18px;
  text-align: center;
}

tbody td {
  padding: 12px 25px;
}

tbody tr:nth-child(even) {
  background-color: white;
}

tbody td:first-child {
  text-align: center;
  width: 10%;
  vertical-align: top;
}

tbody td:last-child {
  text-align: left;
}

ul{
  margin-bottom: 0;
}


@media (max-width: 768px) {
  .northlogo {
    height: 40px;
  }

  table {
    width: 100%;
    margin: 100px auto 20px;
  }

  thead th {
    font-size: 18px;
  }

  tbody td {
    font-size: 16px;
  }

  .navbar-nav .dropdown-menu {
    width: 100vw; /* ใช้ความกว้างของหน้าจอ */
    left: 0; /* ตั้งค่าให้ตำแหน่งซ้ายของเมนูตรงกับขอบของหน้าจอ */
    right: 0; /* ตั้งค่าให้ตำแหน่งขวาของเมนูตรงกับขอบของหน้าจอ */
    box-shadow: none; /* ลบเงา */
    border-radius: 0; /* ลบมุมมน */
    position:absolute;
  }
}
