html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #fff4e3 #000000;
}

.arg-content {
    height: 100%;
    width: 100%;      /* 100% of viewport width */
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    background-size: cover;
    animation: bg-move 30s linear infinite;
    margin: 0;
}

/* Animate background position diagonally */
@keyframes bg-move {
    0% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.edition-image {
    display: flex;
    justify-content: center;
    flex-direction: row;
    height: 100%;
    width: 100%;
    gap: 2rem;
    margin-top: 0;
}

.arg-content h1 {
    margin-top: auto; /* pushes h1 to the bottom */
    display: flex;
    font-family: 'Orbitron', sans-serif;
    font-size: 4.1rem;
    letter-spacing: 1px;
    flex-direction: column;
    text-align: center;
    color: #fff4e3;
    text-shadow: 10px 10px 10px #000000;
    font-weight: bold;
}

.arg-content p {
    /* pushes h1 to the bottom */
    display: flex;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    flex-direction: column;
    /* Remove height: 100%; and justify-content: center; */
    text-align: center;
    color: #fff4e3;
    font-weight: bold;
}

.arg-content a {
    margin-top: auto; /* pushes h1 to the bottom */
    display: flex;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    flex-direction: column;
    /* Remove height: 100%; and justify-content: center; */
    text-align: center;
    color: #ffe6e6;
    text-shadow: 10px 10px 10px #000000;
    list-style: none;
    text-decoration: none;
    font-weight: bold;
}

.edition-flex {
    margin-top: 1rem;
    background: transparent;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    width: 60%;
    height: auto;
    margin-bottom: 3rem;
}

.edition-flex h2 {
    color: #fff4e3;
    display: flex;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    flex-direction: column;
    /* Remove height: 100%; and justify-content: center; */
    text-align: center;
    font-weight: bold;
}

.auteur {
    margin-top: 1rem;
    background: transparent;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    width: 60%;
    height: auto;
    margin-bottom: 3rem;
}

.auteur h2 {
    color: #fff4e3;
    display: flex;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    flex-direction: column;
    /* Remove height: 100%; and justify-content: center; */
    text-align: center;
    font-weight: bold;
}

.edition-content .edit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 12px 28px;
    background: linear-gradient(90deg,  #000000, #ffffff, #000000);
    color: #000000;
    border: #fff4e3 solid 1px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    width: 30%;
    margin-left: 6rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-align: center;
}

.edition-content .edit-btn:hover {
   background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
   transform: scale(1.03);
    border: #fff4e3 solid 1px;
    font-size: 0.9em;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold
}

.author-submission-form {
    width: 100%;
    margin-top: 1.5rem;
}

.author-submission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-submission-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.author-submission-field-wide {
    grid-column: 1 / -1;
}

.author-submission-field label,
.author-submission-field small {
    color: #fff4e3;
    font-family: 'Orbitron', sans-serif;
    text-align: left;
}

.author-submission-field label {
    font-size: 0.92rem;
    font-weight: bold;
}

.author-submission-field small {
    font-size: 0.74rem;
}

.author-submission-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 244, 227, 0.4);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff4e3;
    font-family: 'Orbitron', sans-serif;
}

.author-submission-field input[type="file"] {
    padding: 0.65rem;
}

.author-submission-notice {
    margin: 1rem auto 0;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}

.author-submission-notice.is-success {
    background: rgba(61, 153, 112, 0.22);
    border: 1px solid rgba(173, 255, 216, 0.4);
    color: #e6fff2;
}

.author-submission-notice.is-error {
    background: rgba(153, 61, 61, 0.22);
    border: 1px solid rgba(255, 196, 196, 0.4);
    color: #fff0f0;
}

@media (max-width: 900px) {
    .author-submission-grid {
        grid-template-columns: 1fr;
    }

    .author-submission-field-wide {
        grid-column: auto;
    }
}

a.fragment-link {
    text-decoration: none;
}

.nice-btn {
    padding: 0.7rem 1.7rem;
    margin-top: 0;
    margin-left: 1.5rem;
    margin-right: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border:1px solid #fff4e3;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    align-self: flex-start;
    font-size: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    animation: all 0.3s ease;
    text-decoration: none;
}

.nice-btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.03);
}

.img-edit {
    display: block;
    flex-direction: column;
    width: 700px !important;
    height: 500px !important;
    border-radius: 8px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 3px 3px 15px #fff4e3;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.img-lec {
    display: block;
    flex-direction: column; 
    width: 42%;
    height: 360px;
    border-radius: 12px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 3px 3px 15px #da065e;
    animation: pulse 3s infinite;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 3px 3px 15px #da065e;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 5px 5px 20px #da065e;
    }
    100% {
        transform: scale(1);
        box-shadow: 3px 3px 15px #da065e;
    }
}

.edition-content #address {
    font-family: 'Orbitron', sans-serif;
    width: 49.5%;
}

.edition-content #manuscript {
    font-family: 'Orbitron', sans-serif;
    width: 49.5%;
}

.edition-content #birthday {
    font-family: 'Orbitron', sans-serif;
    width: 100.5%;
}