/* Style général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #141414;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(to right, #258881, #07b270);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #031354;

}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #041a71;
}

h3 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #112a8e;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.zoneOptions {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.zoneOptions p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Plex section */
.optionPlex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.jellyfin-image-container img {
    width: 100%;
    max-height: 500px; /* Limite la hauteur maximale */
    object-fit: contain; /* Garde les proportions de l'image */
    display: block;
    border-radius: 8px 0 0 8px;
}

.optionJellyfin {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.jellyfin-info-container {
    flex: 2;
    background-color: #09324e; /* Couleur bleu foncé pour Jellyfin */
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.optionJellyfin h3 {
    font-size: 1.8rem;
    color: #00a4dc; /* Couleur bleue de Jellyfin */
    margin-bottom: 15px;
    text-align: center;
}

.optionJellyfin a {
    color: #00a4dc;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: rgba(0, 164, 220, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.optionJellyfin a:hover {
    background-color: rgba(0, 164, 220, 0.2);
    transform: translateY(-2px);
}
.optionPlex h3 {
    font-size: 1.8rem;
    color: #e5a00d;
    margin-bottom: 15px;
    text-align: center;
}


/* Conteneurs d'images */
.plex-image-container, .jellyfin-image-container {
    flex: 3;
    position: relative;
}

#plexImgLien img, #jellyfinImgLien img {
    width: 100%;
    display: block;
    border-radius: 8px 0 0 8px;
}

/* Conteneurs d'information */
.plex-info-container, .jellyfin-info-container {
    flex: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plex-info-container {
    background-color: #232323;
}


#infoPlex, #infoJellyfin{
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Styles des liens */
.optionPlex a {
    color: #e5a00d;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: rgba(229, 160, 13, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}



.optionPlex a:hover {
    background-color: rgba(229, 160, 13, 0.2);
    transform: translateY(-2px);
}



/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #0a0a0a;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #999;
}

/* Pour rendre le design responsive */
@media (max-width: 768px) {
    .optionPlex, .optionJellyfin {
        flex-direction: column;
    }
    
    #plexImgLien img, #jellyfinImgLien img {
        border-radius: 8px 8px 0 0;
    }
}
