html {
  height: 100%;
  background: 50% 50% no-repeat
    url('data:image/svg+xml,<svg viewBox="-20 -5 60 40" width="140" xmlns="http://www.w3.org/2000/svg" opacity="0.2"><path d="M1 8l11-7 11 7v8l-11 7-11-7zm0 0l11 8 11-8m0 8L12 8 1 16M12 1v7m0 8v7" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2"/><text x="-12" y="32" font-size="5" font-family="monospace" fill="currentColor">Built on CodePen</text></svg>');
}
body {
background-color: #DECCE0;
color: #3d2b1f;
font-family: sans-serif;
line-height: 1.6;
margin: 0;
padding: 40px;
}
h1, h2, h3 {
color: #4a3736;
}
h1 {
font-size: 40px;
font-weight: bold;
text-align: center;
margin-top: 30px;
margin-bottom: 20px;
}
.location-map {
position: absolute;
top: 25px;
right: 20px;
width: 270px;
height: auto;
border-radius: 8px;
}
h2 {
font-size: 28px;
font-weight: 600;
margin-top: 30px;
margin-bottom: 15px;
border-bottom: 2px solid #c48b8b;
padding-bottom: 5px;
}
h3 {
font-size: 22px;
margin-top: 25px;
}
p {
font-size: 17px;
margin-bottom: 15px;
text-indent: 30px;
}
main {
max-width: 900px;
margin: 0 auto;
padding: 25px;
}
section {
background-color: white;
margin-bottom: 25px;
padding: 20px;
border-radius: 10px;
}
.card {
background-color: #ffffff;
color: #1e1b1b;
border: 1px solid #e1d3d2;
padding: 20px;
border-radius: 8px;
margin-top: 30px;
max-width: 400px;
}
img {
max-width: 100%;
height: auto;
border-radius: 10px;
display: block;
margin: 20px auto;
}
.education-images {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 15px;
margin: 15px auto;
}
.education-images img {
width: 300px;
height: 300px;
object-fit: contain;
}
.hiking-image {
width: 100%;
max-width: 600px;
margin: 20px auto;
border-radius: 15px;
}
.career-image {
width: 100%;
max-width: 700px;
margin: 20px auto;
border-radius: 15px;
}
a {
color: #c48b8b;
text-decoration: underline;
font-weight: bold;
}
a:hover {
color: #4a3736;
text-decoration: none;
}
a:focus {
outline: 3px solid #4a3736;
outline-offset: 3px;
}
@media (max-width: 600px) {
body {
padding: 15px;
}
main {
padding: 10px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 20px;
}
p {
font-size: 16px;
text-indent: 20px;
}
section {
padding: 15px;
margin-bottom: 20px;
}
.card {
max-width: 100%;
padding: 15px;
}
.education-image {
width: 140px;
}
.hiking-image,
.career-image {
width: 100%;
}
table {
width: 100%;
font-size: 14px;
}
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
th, td {
border: 1px solid #999999;
padding: 10px;
text-align: left;
}
th {
background-color: #DECCE0;
color: #3d2b1f;
font-weight: bold;
}

/* Popup styling */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 43, 31, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: #ffffff;
  color: #3d2b1f;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  border: 2px solid #c48b8b;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(61, 43, 31, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.popup-content h2 {
  color: #4a3736;
  margin-top: 0;
  border-bottom: 2px solid #c48b8b;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #3d2b1f;
  font-size: 28px;
  cursor: pointer;
}

.close-button:hover {
  color: #c48b8b;
}
#openPopup {
  background-color: #8F657D;
  color: #ffffff;
  border: 2px solid #3d2b1f;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

#openPopup:hover {
  background-color: #765267;
}

#openPopup:hover {
  background-color: #9f8ca1;
}

#openPopup:hover {
  background-color: #8fc9dc;
}

#openPopup:focus,
.close-button:focus {
  outline: 3px solid #4a3736;
  outline-offset: 3px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}