
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #4C1C24;
}

header {
  background-color: rgb(95, 158, 160);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
}

.container {
  display: flex;
  flex: 1;
}

nav {
  width: 200px;
  background-color: rgb(122, 68, 13);
  padding: 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

nav li {
  margin-bottom: 15px;
     font-size: 23;
}

.logout-item {
height: 30px;
width: 100%;
margin-top: auto;
}

nav a {
  text-decoration: none;
  font-weight: bold;
}

main {
  flex: 1;
  background-color: rgb(30, 56, 54);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.restaurant {
background-color: #963323;
height:600px;
padding: 15px;
border-radius: 8px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
box-sizing: border-box; 
}

.restaurant:hover {
  background-color: #e6533c;
}

.restaurant-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.restaurant:hover {
  transform: scale(1.05);
}

.restaurant h3 {
  color: rgb(95, 158, 160);
  margin: 0 0 20px;
  
}

.rounded-border-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 60px;
}

.restaurant p {
  color: #333;
}

footer {
  background-color: rgb(95, 158, 160);
  color: white;
  text-align: center;
  padding: 10px;
}

dialog {
  border: none;
  border-radius: 8px;
  padding: 24px;
  width: 400px; 
  max-width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center horizontally & vertically */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: white;
  z-index: 1000;
}

dialog::backdrop {
  background: rgb(0, 0, 0);
  opacity: 0.5;
}

dialog button {
  background-color: tomato;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px; 
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

dialog button:hover {
  background-color: #e6533c;
}

.modal-button {
  background-color: tomato;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-button:hover {
  background-color: #e5533c;
}

.logout-button{
  background-color: tomato;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logout-button:hover {
  background-color: #e5533c;
}