
th, td, caption {
    border: 1px solid #333;
    font-family:monospace;
    border-collapse: separate;
    padding: 0.5rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff8e1;
  color: #4e342e;
  line-height: 1.6;
}

header {
  background-color: #ffcc00;
  color: #4e342e;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 4px solid #ff9800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

h1 {
  font-size: 2.8rem;
  margin: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #5d4037;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #ffe082;
}

figure {
  margin: 30px auto;
  max-width: 300px;
  text-align: center;
}

figure img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

figcaption {
  font-style: italic;
  margin-top: 8px;
  color: #6d4c41;
}

main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

article {
  background-color: #fffde7;
  border-left: 5px solid #ffb300;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

article h2 {
  color: #d84315;
  font-size: 2rem;
  margin-bottom: 10px;
}

article h3 {
  margin-top: 30px;
  color: #8d6e63;
}

details {
  margin-top: 15px;
  background-color: #ffe0b2;
  padding: 10px 15px;
  border-left: 4px solid #fb8c00;
  border-radius: 5px;
}

details summary {
  font-weight: bold;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff3e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.1);
}

caption {
  font-weight: bold;
  font-size: 1.4rem;
  background-color: #ffe082;
  padding: 10px;
  border-bottom: 2px solid #ffb74d;
}

th, td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ffcc80;
}

th {
  background-color: #ffe082;
  font-weight: bold;
}

tfoot td {
  font-style: italic;
  background-color: #ffe0b2;
}

a {
  color: #d84315;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #ffcc80;
  color: #4e342e;
  font-size: 0.9rem;
  margin-top: 60px;
  border-top: 3px solid #ffa726;
}
 

fieldset {
  border: 2px solid #ffb74d;
  padding: 20px;
  border-radius: 10px;
  background-color: #fffde7;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #d84315;
  padding: 0 10px;
}

fieldset label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #5d4037;
}

select {
  padding: 8px 12px;
  border: 1px solid #ffcc80;
  border-radius: 6px;
  background-color: #fff8e1;
  font-family: inherit;
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px 15px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ffcc80;
  border-radius: 8px;
  background-color: #fff8e1;
  font-size: 1rem;
  color: #5d4037;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #ffa726;
  box-shadow: 0 0 5px rgba(255, 152, 0, 0.4);
  outline: none;
}

textarea {
  resize: vertical;
}

input[type="submit"],
input[type="button"],
button {
  background-color: #ff7043;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
  background-color: #e64a19;
}


address {
  font-style: normal;
  background-color: #fff3e0;
  border-left: 5px solid #ffb74d;
  padding: 15px 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  border-radius: 10px;
  color: #4e342e;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  line-height: 1.8;
}


h2 {
  color: #d84315;
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #ffb74d;
  border-radius: 2px;
}


p {
  font-size: 1.1rem;
  color: #5d4037;
  line-height: 1.8;
  margin-bottom: 20px;
}


ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

ul li {
  background-color: #fff3e0;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-left: 5px solid #ffb74d;
  border-radius: 8px;
  color: #4e342e;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

ul li:hover {
  background-color: #ffe0b2;
}


dl {
  background-color: #fffde7;
  border-left: 5px solid #ffb74d;
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

dt {
  font-weight: bold;
  font-size: 1.2rem;
  color: #d84315;
  margin-top: 15px;
}

dd {
  margin: 5px 0 15px 20px;
  font-size: 1.05rem;
  color: #5d4037;
  line-height: 1.6;
}

