/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0; /* Light gray background */
    color: #333;               /* Dark gray text */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500; /* Ensure Medium 500 weight is used */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    overflow: hidden;
    text-align: center; /* Center content inside container */
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #444 3px solid;
}

header h1 {
    text-align: center;
    margin-bottom: 10px;
}

header p {
    text-align: center;
    font-size: 18px;
}

/* Navigation Menu */
nav {
    background: #444;
    font-family: 'Oswald', sans-serif;
    font-weight: 500; /* Ensure Medium 500 weight is used */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover,
nav ul li a.active {
    background: #555;
}

/* Main Content Area */
main {
    flex: 1; /* Main content grows to fill available space */
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;          /* Centers the main content */
    background-color: #fff;     /* White background */
    border-radius: 8px;         /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

main h1,
main h2,
main h3 {
    margin-bottom: 15px;
    color: #333;
}

main p {
    margin-bottom: 15px;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Content Box */
.tattoo-content {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
}

/* Media Container for Videos */
.media-container.video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.media-container.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Media Container for Images */
.media-container.image {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
}

.media-container.image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Audio Container */
.audio-container {
    width: 100%;
    margin: 20px 0;
}

.audio-container audio {
    width: 100%;
}

/* Text Content */
.text-content {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Content Information */
.content-info {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.content-info p {
    margin: 5px 0;
}

/* Forms */
form {
    width: 100%;
    margin: 20px auto;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="password"],
form input[type="url"],
form input[type="email"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="file"] {
    margin-bottom: 15px;
}

form button[type="submit"] {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background: #555;
}

/* Button Styles */
.button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin: 20px auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #555;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #333;
    color: #fff;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Style for the URL text */
.url-text {
    font-family: monospace;
    color: #555;
    word-break: break-all; /* Allows long URLs to wrap to the next line */
}

/* Style for the "Visit linked content" link */
.visit-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.visit-link:hover {
    background-color: #555;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    /* Navigation Menu */
    nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav ul li a {
        text-align: center;
        border-top: 1px solid #555;
    }

    nav ul li a:first-child {
        border-top: none;
    }

    /* Header */
    header h1 {
        font-size: 24px;
    }

    /* Forms */
    form {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    /* Body font size */
    body {
        font-size: 16px;
    }

    /* Navigation Menu */
    nav ul {
        flex-direction: column;
    }

    /* Header */
    header h1 {
        font-size: 20px;
    }
}

/* Ensure the site fills the viewport height */
html, body {
    height: 100%;
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Notification Message */
.notification {
    margin: 20px auto;
    padding: 15px;
    max-width: 800px;
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Green border */
    border-radius: 5px;
    text-align: center;
}


/* Tattoo Section */
.tattoo-section {
    background-color: #e0e0e0; /* Light grey background */
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
}

/* Optional: Adjust margins of the content inside the section */
.tattoo-section h2 {
    margin-top: 0;
}

.tattoo-section .content-info {
    margin-bottom: 0;
}

button,
form button[type="submit"],
.button,
.visit-link {
    font-family: 'Oswald', sans-serif;
}