

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-red: #690b2c;
  --color-darkpink: #bb4a4e;
  --color-pink: #e15958;
  --color-lightpink: #ec9999;
  --color-white: #f7f6f5;
  --color-gray: #cecfce;
  --color-darkgray: #473d4e;
}

@font-face {
  font-family: 'HmCustomFont';
  src: url('hm.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: linear-gradient(135deg, #690b2c 0%, #8b1538 100%);
  background-image: url("/images/tree_background.JPG");
  background-size: cover;
  background-attachment: fixed;
  color: var(--color-white);
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5em;
  text-shadow: 2px 2px 0 var(--color-darkpink);
  min-height: 100vh;
  padding: 20px;
}

img {
  width: 200px;
  height: auto;
}

h1 {
  color: var(--color-white);
  text-align: center;
  font-size: 2.5em;
  text-shadow: 3px 3px 0 var(--color-darkpink), 6px 6px 0 var(--color-pink);
  margin: 0;
  font-family: 'HmCustomFont', serif;
}

.title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0 10px;
}


.logo {
  position: static;
  width: 80px;
  height: auto;
  z-index: 10;
  transition: transform 0.3s ease;
}





a {
  color: var(--color-lightpink);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-lightpink);
  text-decoration: thickness: 2px;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.nav-link {
  padding: 10px 20px;
  border-radius: 5px;
  border: 2px solid var(--color-darkpink);
  color: var(--color-red);
  background: 0;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--color-red);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--color-pink);
  color: var(--color-white);
}





/* Social Media Section */
.socials {
  text-align: center;
  margin: 40px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  border: 2px solid var(--color-lightpink);
  transition: all 0.3s ease;
  color: var(--color-lightpink);
}

.social-btn:hover {
  transform: scale(1.15) rotate(10deg);
  color: var(--color-white);
}

.social-btn.youtube {
  background: rgba(255, 0, 0, 0.2);
}

.social-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-btn.discord {
  background: rgba(88, 101, 242, 0.2);
}

.social-btn.discord:hover {
  background: #5865f2;
  border-color: #5865f2;
}




/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.gallery img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  border: 3px solid var(--color-darkgray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 0 20px var(--color-pink);
}

/* Lego gallery */
.lego-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 25px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 5px;
  -webkit-overflow-scrolling: touch;
}

.lego-gallery img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 6px #ffffff);
  transition: width 0.25s ease, height 0.25s ease, box-shadow 0.25s ease, outline 0.25s ease;
}

.lego-gallery img:hover {
  width: 200px;
  height: 200px;
  z-index: 2;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90vw;
  height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 10px #ffffff);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 11;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Content Pages */
.page-content {
  max-width: 800px;
  margin: 40px auto;
  background: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #f45dc9;
}

.page-content p {
  line-height: 1.6;
  margin: 15px 0;
}

.back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(244, 93, 201, 0.3);
  border: 2px solid #f45dc9;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(244, 93, 201, 0.6);
  transform: translateX(-5px);
}