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

body {
    background-color: #f5f5f5;
    background: linear-gradient(to right, #ADD8E6, #8A2BE2);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}
a {
    display: inline-block; 
}
h1 {
    margin: 0;
}
nav {
    background-color: #444;
    padding: 10px 0;
    text-align: center;
}
nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 10px 20px;
    transition: filter 1s ease;
    border-radius: 10px;
}
nav a:hover {
    background: linear-gradient(to right, #ADD8E6, #8A2BE2);
}
.logo-youtube,
.logo-discord {
    width: 30px;
    height: auto;
    transition: transform 1s ease;
}
.logo-youtube:hover,
.logo-discord:hover {
    transform: scale(1.1);
}
form {
    text-align: center;
    margin: 0 auto;
}
main {
    margin-left: 20px;
}

/* Téléchargeur */
.telechargeur {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.526);
    border-radius: 5px;
    text-align: center;
}
.telechargeur button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}
.telechargeur button:hover {
    background-color: #0056b3;
}
.telechargeur input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    width: 80%;
}

/* VideoYt */
.VideoLinks a {
    color: blue;
    transition: all 0.5s ease;
}

.VideoLinks a:hover {
    color: rgb(0, 110, 255);
}
.VideosYt {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    justify-content: space-between;
}
.VideoLinks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: blue;
}
.NatcodeYtVideo {
    margin-right: 50px;
}
.NatcodeYtVideo iframe {
    border: 3px solid #007BFF;
    border-radius: 10px;
}

/* Auth */
.auth {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    width: 80%;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.auth .text-left {
    flex: 1; 
    text-align: left;
    margin-right: 20px;
}

.auth .text-left h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.auth .text-left p {
    font-size: 1rem;
    color: #414141;
    line-height: 1.6;
}
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.auth-button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.auth-button:hover {
    background-color: #005cbf;
}

/* GD */
.gd {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.526);
    border-radius: 5px;
    text-align: center;
}
.download-btn {
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.download-btn:hover {
    background-color: #2980b9;
}

/* Register */
.register {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.526);
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.register h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.register form {
    display: flex;
    flex-direction: column;
}
.register input[type="text"],
.register input[type="password"],
.register input[type="email"],
.register input[type="file"] {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    width: calc(100% - 22px);
}
.register label {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #555;
}
.register button {
    text-align: center;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}
.register a {
    color: black;
}
.register .retour {
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}
.register .retour:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0056b3;
}
.register button:hover {
    text-align: center;
    background-color: #0056b3;
}
.register input[type="file"] {
    display: none;
}

/* Login */
.login {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.526);
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.login h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.login form {
    display: flex;
    flex-direction: column;
}
.login input[type="text"],
.login input[type="password"] {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    width: calc(100% - 22px);
}
.login label {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #555;
}
.login button {
    text-align: center;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}
.login a {
    color: black;
}
.login .retour {
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}
.login .retour:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0056b3;
}
.login button:hover {
    text-align: center;
    background-color: #0056b3;
}

/* Image preview */
.image-preview {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
}
.image-preview img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 10px;
}

/* Commentaires */
.commentairesend {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.526);
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
}
.commentairesend h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.commentairesend form {
    display: flex;
    flex-direction: column;
}
.commentairesend textarea[type="text"] {
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #ced4da;
    width: 80%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 16px;
    width: calc(100% - 22px);
}
.commentairesend label {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #555;
}
.commentairesend button {
    text-align: center;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}
.commentairesend button:hover {
    background-color: #0056b3;
}
.commentaireshow {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.8));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}
.commentaireshow h1 {
    text-align: center;
}
.commentaireshow h3 {
    font-size: 20px;
    color: #007BFF;
    margin: 0;
}
.commentaireshow h4 {
    font-size: 18px;
    color: #333;
    margin: 5px 0;
}

/* Menu */
.menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #1111118e;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
.menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: #fff;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}
.menu a:hover {
    background-color: #575757;
}
.Button-Menu {
    font-size: 30px;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0);
    color: white;
    border: none;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

/* Case accepter les conditions d'utilisation */
#conditionsutilisation {
    width: 20px;
    height: 20px;
}

/* supression de commentaire */
.supr_commentaire {
    background-color: #ff4d4d; 
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
}
.supr_commentaire:hover {
    background-color: #ff3333;
}

/* eye */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 30px;
    cursor: pointer;
}

.toggle-password img {
    width: 100%;
    height: 100%;
}
.password-container {
    position: relative;
}

/* afficher ou non "menu" */
@media only screen and (max-width: 768px) {
    .Button-Menu::after {
        content: "";
        display: none;
    }
    .Button-Menu {
        white-space: nowrap; /* Pour éviter que l'icône ne saute à la ligne */
    }
}

.conditionsutilisation {
    background: linear-gradient(to right, rgba(74, 144, 226, 0.4), rgba(142, 45, 226, 0.4));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.526);
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.conditionsutilisation h2 {
    font-size: 22px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}

.conditionsutilisation p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.conditionsutilisation ul {
    margin: 10px 0;
    padding-left: 20px;
}

.conditionsutilisation ul li {
    margin-bottom: 10px;
}