/* Universal selector for general styles */
* {
    margin: 0; /* Removes default margin */
    padding: 0; /* Removes default padding */
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
    font-family: 'Lexend Exa', sans-serif; /* Sets a consistent font for all elements */
}

/* Body styling */
body {
    background-color: #000000f6; /* Dark background color with slight transparency */
    color: #d5c8af; /* Light beige text color */
}

/* Header styles */
.header {
    background-color: #212121; /* Dark background for the header */
    color: #0042f8; /* Blue text color */
    padding: 20px; /* Adds space around header content */
    text-align: center; /* Centers the header text */
}

.header h2 {
    font-family: 'Acme', sans-serif; /* Custom font for header title */
    font-size: 2em; /* Increases font size */
    margin-bottom: 10px; /* Adds space below the title */
}

.header p {
    font-size: 1.2em; /* Sets the font size for the header paragraph */
    color: #d5c8af; /* Light beige color for text */
}

/* Content section styles */
.content {
    max-width: 1200px; /* Limits the width of the content */
    margin: 20px auto; /* Centers the content with margin */
    padding: 20px; /* Adds space inside the content section */
}

/* Section styles for lore, stats, and alignment */
.lore-section, .stat-section, .alignment-section {
    margin-bottom: 30px; /* Adds space below each section */
}

/* Header styles for lore, stats, and alignment sections */
.lore-section h3, .stat-section h3, .alignment-section h3 {
    color: #c9410f; /* Gold-orange color for section titles */
    font-size: 1.8em; /* Increases the font size */
    margin-bottom: 15px; /* Adds space below the section title */
}

/* Text paragraph styles within lore, stats, and alignment sections */
.lore-text, .alignment-section p, .stat-section p {
    color: #d5c8af; /* Light beige color for text */
    line-height: 1.6; /* Increases line height for better readability */
}

/* Flex container for images and text */
.container {
    display: flex; /* Uses flexbox layout */
    align-items: flex-start; /* Aligns items at the top of the container */
    gap: 20px; /* Adds space between the image and text */
}

/* Styling for text inside the container */
.text-details {
    flex: 1; /* Allows text to take remaining space */
    color: #d5c8af; /* Light beige text color */
}

/* Image styling inside the container */
.container img {
    width: 200px; /* Sets a fixed width for images */
    height: 200px; /* Sets a fixed height for images */
    object-fit: cover; /* Ensures the image fills the box without distortion */
    border-radius: 10px; /* Adds rounded corners to images */
}

/* Styling for text containers */
.text-1 {
    flex: 1 1 calc(25% - 20px); /* Sets the size of each text block */
    background-color: #080808; /* Dark background for text blocks */
    padding: 10px; /* Adds padding inside each text block */
    text-align: center; /* Centers the text */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.2s; /* Adds a smooth transform effect on hover */
}

/* Hover effect for text containers */
.text-1:hover {
    transform: scale(1.05); /* Slight zoom effect when hovering over text blocks */
}

/* Styling for images inside text content */
.text-content img {
    margin-bottom: 10px; /* Adds space below the image */
    width: 100px; /* Fixed width for images */
    height: 100px; /* Fixed height for images */
    object-fit: cover; /* Ensures images fill the space without distortion */
    border-radius: 8px; /* Rounded corners for images */
}

/* Styling for text details within each container */
.text-details h3 {
    font-family: 'Acme', sans-serif; /* Custom font for text titles */
    font-size: 1.2em; /* Font size for text titles */
    color: #8b2826; /* Dark red color for text titles */
    margin-bottom: 5px; /* Adds space below the title */
}

.text-details p {
    font-size: 0.9em; /* Smaller font size for paragraphs */
    color: #d5c8af; /* Light beige text color */
}

/* Audio section styling */
.audio-section {
    margin-top: 20px; /* Adds space above the audio section */
    text-align: left; /* Aligns audio controls to the left */
}

/* Audio player styling */
.audio-section audio {
    width: 100%; /* Makes the audio player take up full width */
    max-width: 400px; /* Limits the maximum width */
    background-color: #000000f6; /* Dark background for the player */
    border: 2px solid #000000f6; /* Border color matches the background */
    border-radius: 10px; /* Rounded corners for the player */
    padding: 5px; /* Adds padding inside the player */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Adds a shadow effect */
    color: #d5c8af; /* Light beige color for text inside the audio player */
}

/* Styling for audio section header */
.audio-section h4 {
    margin-bottom: 10px; /* Adds space below the header */
    font-size: 1.2em; /* Increases font size */
    color: #f8b700; /* Gold color for the header */
}

/* Styling for anchor links in h3 elements */
h3 a {
    text-decoration: none; /* Removes underline */
    color: #ffffff; /* White color for links */
    text-align: center; /* Centers the link text */
}

/* Hover effect for links in h3 elements */
h3 a:hover {
    color: #1b1b1b; /* Changes text color on hover */
    border-color: #ffd700; /* Matches border to the hover color */
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.button-container {
    text-align: center;
  }

  .play-button {
    width: 100%; /* Make it full-width */
    max-width: 725px; /* Optional: Set a maximum width */
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #1b1b1b;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

  .play-button:hover {
    background-color: #0000;
}

/* Container for each control */
.control {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #080808;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 180px;
    transition: transform 0.2s;
}

.control:hover {
    transform: scale(1.05);
}

/* Keyboard key style */
.key {
    width: 80px;
    height: 80px;
    background: #1b1b1b;
    border: 2px solid #d5c8af;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #ffffff;
    font-family: 'Lexend Exa', sans-serif;
}

/* Mouse icon recreated in CSS */
.mouse-icon {
    width: 80px;
    height: 120px;
    background: #1b1b1b;
    border-radius: 40px;
    position: relative;
    display: flex;
    overflow: hidden;
    border: 2px solid #d5c8af;
}

.mouse-icon .left {
    width: 50%;
    background: #ff3b3b;
}

.mouse-icon .right {
    width: 50%;
    background: #1b1b1b;
}

.control p {
    margin-top: 10px;
    color: #d5c8af;
    font-size: 1rem;
    text-align: center;
}

/* Row layout for controls */
.controls-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Individual control box */
.control {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #080808;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 180px;
    transition: transform 0.2s;
}

.control:hover {
    transform: scale(1.05);
}

/* Keyboard key style */
.key {
    width: 80px;
    height: 80px;
    background: #1b1b1b;
    border: 2px solid #d5c8af;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #ffffff;
    font-family: 'Lexend Exa', sans-serif;
}

/* Mouse icon recreated in CSS */
.mouse-icon {
    width: 80px;
    height: 120px;
    background: #1b1b1b;
    border-radius: 40px;
    position: relative;
    display: flex;
    overflow: hidden;
    border: 2px solid #d5c8af;
}

.mouse-icon .left {
    width: 50%;
    background: #ff3b3b;
}

.mouse-icon .right {
    width: 50%;
    background: #1b1b1b;
}

.control p {
    margin-top: 10px;
    color: #d5c8af;
    font-size: 1rem;
    text-align: center;
}
