@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding/margin doesn't break layout */
}

body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: antiquewhite;
    flex-direction: column;
    text-align: center;
}

/* Container to hold the image, title, and links */
.release {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px; /* Limits the max width */
    padding: 20px;
    flex-wrap: wrap;
}

.release h1{
    color: black;
    font-size: 35px;
} 

/* Title styling */
.title {
    font-size: 20px;
    color: black;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Image styling */
img {
    width: 100%; /* Image scales with the width of its container */
    max-width: 500px; /* Maximum image width */
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Links section for streaming sites */
.streaming-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows links to wrap on smaller screens */
    gap: 10px;
    margin-top: 10px;
    flex-direction: column;
    flex-wrap: wrap;
}

.streaming-links a {
    padding: 10px 20px;
    text-decoration: none;
    background-color: darkkhaki;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.streaming-links a:hover {
    background-color: sandybrown;
;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .title {
        font-size: 18px;
    }

    img {
        width: 90%; /* Image will shrink when the screen size is smaller */
        max-width: none; /* Remove max width for more flexibility */
    }

    .streaming-links a {
        font-size: 14px;
    }
}

.back-button {
    display: inline-block; /* Make it behave like a button */
    padding: 10px 20px; /* Add padding */
    margin-top: 20px; /* Add space above the button */
    background-color: burlywood; /* Blue background */
    color: white; /* White text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Text size */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.back-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}