/*styles.css*/
body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    text-transform: lowercase;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    margin: 0;
    font-size: 2.25em;
}

nav {
    margin-top: 20px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 15px;
    margin: 0 10px;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    transition: background-color 0.3s ease;
    width: 35vw;
    padding: 2vh 0;
}

nav a#overseerr {
    background-color: #161e2d;
}

nav a#plex {
    background-color: #202020;
    color: #e5a00d;
}

nav a#network-diagrams {
    background-color: #fff;
    color: #000;
    margin-bottom: 25px;
}

nav a#return {
    background-color: #fff;
    color: #000;
}

nav a:hover {
    background-color: #777 !important;
}

.intro-text {
    margin-top: 2vh;
    padding: 2vh 5vw 2vh;
    font-size: 1.2em;
}

.image-container,
.thank-you {
    margin-top: 0;
    padding: 0 5vw 5vw;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.thank-you {
    font-size: 1.5em;
}

main {
    flex: 1;
    margin-bottom: 350px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    position: relative;
    max-width: 100%;
    margin-top: auto;
}

#admin-link {
    color: #1a1a1a;
    text-decoration: none;
}

#admin-link:hover {
    text-decoration: underline;
}

#back-link-header {
    color: #1a1a1a;
    text-decoration: none;
}

#back-link-header:hover {
    text-decoration: underline;
}

#back-link-footer {
    color: #1a1a1a;
    text-decoration: none;
}

#back-link-footer:hover {
    text-decoration: underline;
}

.admin-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.admin-button {
    display: inline-block;
    padding: 20px 40px;
    margin: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    border-radius: 15px;
    font-size: 3.2em;
    position: relative;
    filter: brightness(100%);
}

.admin-buttons .admin-button:hover {
    filter: brightness(115%);
    /*background-color: #555 !important*/
}

.admin-buttons .admin-button:active{
    filter: brightness(85%);
}

.admin-button.radarr,
.admin-button.sabnzbd {
    color: black;
    -webkit-text-fill-color:white;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
}

.status-iframe-container {
    margin: 20px auto; /* Center horizontally */
    width: 75%; /* Limit to 75% of the viewport width */
}

/* Set the iframe width and height */
.status-iframe-container iframe {
    width: 100%;
}

.diagram-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram-container h2 {
    margin-top: 20px;
}