body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    color: #fff;
    background-image: url('Images/lotrcyrillink.jpg');
    background-size: cover;
    background-attachment: fixed;
}

@media only screen and (max-width: 600px) {
    body {
        background-image: url('Images/smartphonebackup.jpg');
        background-size: contain;
        background-attachment: fixed;
    }

    header img,
    .left-img,
    .right-img {
        height: auto;
        width: 20%; /* Ajustez la largeur selon vos besoins */
        object-fit: contain;
    }

    .left-img {
        margin-left: -10%;
        margin-top: -20%; /* Ajustez la valeur négative selon vos besoins */
    }

    .right-img {
        margin-right: -10%;
        margin-top: -20%; /* Ajustez la valeur négative selon vos besoins */
    }
}

header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

header img,
.left-img,
.right-img {
    height: 150px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left-img {
    left: 20px;
}

.right-img {
    right: 20px;
}

@font-face {
    font-family: 'HobbitonBrushHand';
    src: url('Police/hobbitonbrushhand.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1 {
    color: #ffd700;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 10px;
    font-size: 48px;
    display: inline-block;
    font-family: 'HobbitonBrushHand', sans-serif;
}

@font-face {
    font-family: 'RINGM___';
    src: url('Police/RINGM___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h2 {
    color: #ffd700;
    text-shadow: 2px 2px 4px #000000;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'RINGM___', sans-serif;
}

#presentation {
    background-color: rgba(255, 255, 255, 0.833);
    padding: 20px;
    border-radius: 10px;
    margin-top: 400px;
    color: #000;
    box-shadow: 0 0 20px rgba(12, 1, 1, 0.9); /* Opacité de 90% */
}

.background-image {
    position: relative;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.background-image h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffd700;
    text-shadow: 2px 2px 4px #000000;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 0;
    font-family: 'RINGM___', sans-serif;
    z-index: 1;
}

@media only screen and (max-width: 600px) {
    .background-image h4 {
        font-size: 18px; /* Ajustez la taille du texte selon vos besoins */
    }
    .background-image img {
        width: 100%;
    }
}

#presentation ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

#presentation ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px; /* Espace à gauche du texte */
}

#presentation ul li::before {
    content: "-";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 20px;
}

#gif-section {
    text-align: center;
    margin: 40px 0;
}

#gif-section img {
    max-width: 100%;
    height: auto;
}

nav {
    text-align: center;
    margin-top: 20px;
}

nav a {
    text-decoration: none;
    background-color: #ffdd00;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    margin: 0 10px;
    transition: background-color 0.3s;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    background-color: #e3d100;
}

h3 {
    font-size: 24px;
}

h4 {
    color: #ffd700;
    text-shadow: 2px 2px 4px #000000;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'RINGM___', sans-serif;
    text-align: center;
}

h6 {
    font-size: 20px;
    color: #0013e6;
    font-style: italic;
    
}

pre {
    font-family: 'Segoe UI', sans-serif;
    color: #000000;
}
