/*
Vésy Nathan
12.03.2026
*/

body {
  background-color: #f5f5f5;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f5f5f5;
}

.bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.diagonal-line-left,
.diagonal-line-right,
.diagonal-line-bottom-left,
.diagonal-line-bottom-right {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.03);
  width: 200%;
  height: 2px;
  transform-origin: center;
}

.diagonal-line-left {
  top: 30%;
  left: -50%;
  transform: rotate(-15deg);
}

.diagonal-line-right {
  top: 50%;
  left: -50%;
  transform: rotate(15deg);
}

.diagonal-line-bottom-left {
  top: 70%;
  left: -50%;
  transform: rotate(-10deg);
}

.diagonal-line-bottom-right {
  top: 80%;
  left: -50%;
  transform: rotate(10deg);
}

.scroll-container {
  flex: 1;
  overflow-y: auto;
  background-color: #f5f5f5;
}

.main-content {
  max-width: 1100px;
  width: 90%;
  margin: 40px auto;
  padding: 40px 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.video-section {
  padding: 40px;
  margin-bottom: 40px;
}

.video-section h2 {
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 45%;
  background-color: #000;
  overflow: hidden;
  border: 2px solid #ddd;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 40px 40px 40px;
}

.document-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.document-card:nth-child(even) {
  flex-direction: row-reverse;
}

.document-preview {
  flex: 0 0 300px;
  height: 400px;
  background-color: #e0e0e0;
  border: 1px solid #ccc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.document-info {
  flex: 1;
  background-color: white;
  border: 1px solid #ddd;
  padding: 30px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.document-info h3 {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
}

.document-text {
  color: #666;
  line-height: 1.8;
  font-size: 0.95em;
  text-align: justify;
}

.document-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #333;
  background-color: white;
  cursor: pointer;
  font-size: 1em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  transition: all 0.3s;
  text-align: center;
  margin-top: 20px;
  align-self: flex-start;
}

.document-btn:hover {
  background-color: #333;
  color: white;
}

@media (max-width: 1024px) {
  .document-card {
    flex-direction: column !important;
  }

  .document-preview {
    flex: 0 0 300px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .documents-grid {
    padding: 0 20px 20px 20px;
  }

  .video-section {
    padding: 20px;
  }
}