
/*
Theme Name: Alex Tales Modern v6
Author: Alex Tales Team
Description: Modern full-width video layout and updated visuals
Version: 1.0
*/

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: url('https://cdn-images.dzcdn.net/images/cover/63b27a35d1985a6e028e7ed820df3896/1900x1900-000000-80-0-0.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

header, footer {
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: 3rem;
  letter-spacing: 0.2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section {
  padding: 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
}

.card {
  background: transparent;
  color: #fff;
  padding: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 2rem auto;
}

.card img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.card button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-weight: bold;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-icons a {
  margin: 0 1rem;
  color: white;
  font-size: 1.2rem;
}

@keyframes handwriting {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.handwriting {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.15em solid white;
  font-size: 2rem;
  width: 0;
  animation: handwriting 5s steps(40, end) forwards;
}

.cover-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .cover-content {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.cover-content img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
}

.cover-content .handwriting {
  font-size: 1.5rem;
  text-align: left;
  max-width: 400px;
}

.cover-button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 0.5rem;
}

.merch-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .merch-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.merch-grid .card {
  flex: 1;
  max-width: 100%;
  padding: 1rem;
}

.section h2 {
  width: 100%;
  text-align: center;
  font-size: 2.2rem;
  border-bottom: 2px solid white;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
