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

/* Base styling */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fb;
  color: #1a1a1a;
  line-height: 1.6;
  padding: 40px 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.6s ease-out;
}

/* Headings */
h1, h2 {
  color: #222831;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.8rem;
  border-bottom: 3px solid #00adb5;
  padding-bottom: 10px;
  display: inline-block;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
}

/* Paragraphs */
p {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* Highlighted date */
.date {
  color: #00adb5;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

/* Navigation */
a.back-link {
  display: inline-block;
  margin-top: 40px;
  text-decoration: none;
  color: #00adb5;
  font-weight: 600;
  border: 1px solid #00adb5;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

a.back-link:hover {
  background-color: #00adb5;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  .container {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}

.my-video {
  display: block;
  margin: 20px auto 0 auto; /* centered with top margin */
  max-width: 100%; /* responsive width */
  height: auto;
}

.btn-return {
  display: inline-block;
  padding: 10px 18px;
  margin: 20px 0;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-return:hover {
  background-color: #005fa3;
}


/* Collage layout */
.video-collage-container {
  position: relative;
  width: 100%;
  max-width: 900px;  /* adjust overall size */
  margin: 40px auto;
  aspect-ratio: 1/1; /* keep it square */
}

/* All corners */
.video-corner {
  position: absolute;
  width: 40%;   /* make corners bigger (default 30–35% is common) */
  height: 40%;
  overflow: hidden;
}

.video-corner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Place corners */
.corner-tl { top: -10%; left: 0; }
.corner-tr { top: -10%; right: 0; }
.corner-bl { bottom: -10%; left: 0; }
.corner-br { bottom: -10%; right: 0; }

/* Center video */
.video-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;   /* bigger center */
  height: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.video-center video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transform: scale(1.4) translateY(-10%);
  transform-origin: center center;

}
