/* CSS pour le style des pages d'acces aux projets */
html, body {
    margin: 0;
    height: 100%;
    font-family: 'Life Savers', cursive;
    font-weight: 700;
    color: white;
    background: url('bkg-1.jpg') no-repeat center center/cover;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nom de l'auteur en haut à droite - Style WordPress */
.author-name {
    position: absolute;
    top: 0;
    right: 25px;
    width: 320px;
    height: 200px;
    background: url('title-bkg-5.png') no-repeat center top;
    background-size: contain;
    font-family: 'Fredericka the Great', cursive;
    font-size: 2.8rem;
    font-weight: 100;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    overflow: visible;
}

.author-name > div {
    transform: translateY(-35px);
}

.author-name .subtitle {
    font-family: 'Life Savers', cursive;
    font-size: 1.6rem;
    font-weight: 100;
    margin-top: 5px;
}

/* Menu en haut */
.menu-nav {
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 30px 0;
}

.menu-nav a,
.menu-nav a:visited,
.menu-nav a:hover,
.menu-nav a:active {
    color: white;
    text-decoration: none;
}

/* Conteneur principal avec flex spacers */
.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 800px;
    align-items: center;
}

/* Spacers pour positionner miniature et formulaire */
.spacer-top {
    flex: 0.25;
}
.spacer-middle {
    flex: 0.25;
}
.spacer-bottom {
    flex: 0.25;
}

.thumbnail {
/*    max-height: 200px;
*/
    max-height: 40vh;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.container {
    background: transparent;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

input[type="email"] {
    padding: 10px;
    width: 90%;
    border-radius: 10px;
    border: none;
    margin: 15px 0;
    font-size: 16px;
}

button {
    background: #ffffff;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #ddd;
}

.warning {
    margin-bottom: 20px;
    font-size: 18px;
}

.warning a,
.warning a:visited,
.warning a:hover
{
    color: yellow;
    text-decoration: none;
}
.warning a:active {
    color: white;
    text-decoration: none;
}

.error {
    color: #ff8080;
}

.security-notice {
    color: #ffff80;
    margin-bottom: 15px;
    font-size: 0.9em;
}

h1 {
    margin-bottom: 20px;
}

@media (max-width: 1100px) {
    .menu-nav {
        padding: 40px;
        margin-left: 60px;
        font-size: 20px;
        text-align: left;
    }
}