/* General text colors */
title {
  color: red;
}
h1 {
  color: #FF91AF;
}
h2 {
  color: #FF91AF;
}
p, ul {
  color: #49516F;
}
h1 + p {
  font-size: 150%;
  font-weight: bold;
}
a:link {
  color: #49516F;
}
a:visited {
  color: #B8BEDD;
}

/* General page styling */
body {
    background-color: #f5e0e4;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Container for both boxes */
.text-container {
    display: flex;
    gap: 20px;               /* Space between boxes */
    max-width: 1200px;
    margin: 20px auto;
    flex-wrap: wrap;         /* Stack on small screens */
}

/* Text box styling */
.text-box {
    background-color: #ffffff;       /* White background */
    border: 2px solid #000000;       /* Black solid border */
    border-radius: 8px;              /* Rounded corners */
    padding: 20px;                   /* Inner spacing */
    flex: 1;                         /* Equal width */
    min-width: 300px;                /* Prevent too small */
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}


/* Headings inside boxes */
.text-box h2 {
    margin-top: 0;
    color: #FF91AF;
}

.text-box h3 {
    margin-top: 5px;
    color: #49516F;
}

/* Paragraphs inside boxes */
.text-box p {
    color: #49516F;
    line-height: 1.5;    
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
    .text-container {
        flex-direction: column;
    }
}

/* Load the TTF font from the same folder */
@font-face {
    font-family: 'MyCustomFont';
    src: url('MyFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Apply the font */
body {
    font-family: 'MyCustomFont', sans-serif;
}

.text-box .player {
  aspect-ratio: 16 / 9;
    min-width: 300px;                /* Prevent too small */
    max-width: 400px;
    flex-direction: column;
}
.img-container {
   width: 300px;
   height: 200px;
  border: 1px solid #000;
}
img {
    min-width: 300px;                /* Prevent too small */
    max-width: 400px;
    flex-direction: column;
}