/* hobbies.css */

body {
  background-color: #f2f2f2;
  color: #1a1a1a;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  padding: 1rem;
}

.banner {
  background: url('../images/hobbies_banner.jpg') center/cover no-repeat;
  height: 50vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content h1 {
  font-size: 3rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px #000;
}

.banner-content p {
  font-style: italic;
}

h2 {
  font-family: 'Courier New', Courier, monospace;
  background-color: #fef3c7;
  padding: 0.5rem;
  border-left: 6px solid #cc0033;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

#running {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #e3f2fd;
  border: 2px dashed #90caf9;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 800px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

#running p {
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.video-container {
  max-width: 560px;
  margin: 1rem auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.photo-frame {
  background-color: #fff8dc;
  border: 2px solid #d4a373;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  transform: rotate(-1.5deg);
  flex: 1 1 280px;
  max-width: 100%;
  min-width: 250px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame:nth-child(2n) {
  transform: rotate(1.5deg);
}

.photo-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border: 1px solid #ccc;
}


.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1a1a1a;
  color: #f2f2f2;
  margin-top: 2rem;
}

.site-footer a {
  color: #fef08a;
  text-decoration: none;
}

.banner-content h1 {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border: 3px dashed #fef08a;
  border-radius: 12px;
  display: inline-block;
  backdrop-filter: blur(3px);
}

.banner-content h1::after {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    #fef08a,
    #fef08a 10px,
    #cc0033 10px,
    #cc0033 20px
  );
  margin-top: 12px;
  border-radius: 2px;
}
