#screen {
    box-sizing: border-box !important;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;
    height: auto !important;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    background-size: cover;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #376cff #000000;
} 




.pub-content {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    
}

.pub-content .btn {
    background: linear-gradient(90deg, #000000, #fff4e3, #000000) !important;
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem 0;
   width: 100%;
    transition: transform 0.3s ease;
}

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

.pub-content .savoir {
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem 0;
   
    transition: transform 0.3s ease;
}

.savoir:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.1) !important;
}

.pub-head, .pub-log, .pub-foot {
    width: 100%;
    text-align: center;
    margin-bottom: 1.1rem;
    text-align: center;
}

.pub-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;         /* Full viewport width */
    max-width: 100vw;     /* Prevent overflow */
    padding: 0 0.7rem;    /* Optional: add horizontal padding */
    box-sizing: border-box;
    margin-bottom: 1.1rem;
    background: transparent;
}

.button-style, .btn {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.pub-head .savoir {
    margin-right: 0;
    margin-left: 10px;
    margin-top: 1.4rem;
}

.pub-head .right-btns {
    display: flex;
    gap: 1rem;
    margin-right: 10px;
    margin-top: 0.9rem;
}

.log-btn {
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem 0;   
    transition: transform 0.3s ease;
}

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



#register-success {
    font-size: 1.9rem;
    margin-bottom: 0.1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #000000;
    text-shadow: 5px 3px 5px #376cff;
    text-align: center;
    justify-content: center;
    position: absolute;
    top: 0%;
    left: 23%;
}

.pub-log p {
    font-size: 15rem;
    margin-bottom: 3rem;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-top: 10rem;
    backdrop-filter: blur(8px);
}

@keyframes brumeAppear {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shadow-pulse {
    0% {
        text-shadow: 5px 3px 5px #000000;
    }
    100% {
        text-shadow: 5px 3px 15px #000000;
    }
}

.pub-log p {
    /* ...existing styles... */
    animation:
        shadow-pulse 2s infinite alternate,
        brumeAppear 12s ease-out;
}



.pub-foot p {
    font-size: 1.2rem;
    color: #14013f;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    animation: shadow-pulse 2s infinite;
}

.pub-log {
    margin-top: 1rem;
    margin-bottom: 0 !important;
}




.pub-content .pub-relationel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    height: 100% !important;
  
   
    
}

.pub-relationel h2 {
    font-size: 1.7rem;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-bottom: 0.2rem;
    margin-top: 1.3rem;
}
.pub-relationel p {
    font-size: 1.2rem;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-bottom: 0.5rem;
    max-width: 600px !important;
    text-align: center;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    margin-top: 0rem;
    
}
.pub-relationel img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   margin-top: 2rem;
}

.pub-content .pub-immersion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100% !important;
  
    
}

.pub-immersion h2 {
    font-size: 1.7rem;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-bottom: 0.4rem;
   
}
.pub-immersion p {
    font-size: 1.2rem;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-bottom: 0.2rem;
    max-width: 600px !important;
    text-align: center;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
        margin-top: 0.2rem;
    

}
.pub-immersion img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.pub-accroche {
    font-size: 1.5rem;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    margin-bottom: 0.2rem;
    max-width: 1500px !important;
    text-align: center;
    margin-top: 0rem !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;

}

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

.pub-content {
    width: 100% !important;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontal centering */
    /* justify-content: flex-start;  default, so can be omitted */
}




.pub-content .pub-relationel,
.pub-content .pub-immersion {
    width: 100%;
    max-width: 2200px !important;
    min-width: 320px;
    margin: 2rem auto 0 auto;   /* Both get the same margin */
    display: flex;
    flex-direction: column;
    align-items: center;
   gap: 0 !important /* Optional: add some space between elements */
}

/* Remove or reduce this! */
.pub-relationel img {
    margin-bottom: 2rem; /* or 0 if you want no extra gap */
}