*{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}


/* Header */
body {
    font-family: 'Arial', sans-serif;
}

h1 {
    font-family: 'Helvetica', sans-serif;
}

h2 {
    font-family: 'Verdana', sans-serif;
}

p {
    font-family: 'Times New Roman', serif;
    font-weight: lighter;
}

body{
    background-color: rgb(239, 239, 239);
}

header{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 75vh;
    background-image: url(/ressources/headerbackground.webp);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10px); 
}

header h1{
    padding: 10px;
    font-size: 3rem;
    color: white;
}

header p{
    padding: 10px;
    font-size: 1.5rem;
    color: white;
}

header a{
    text-decoration: none;
    margin-top: 15px;
    padding: 10px;
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    background-color: #f9f9f9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

header a:hover{
    background-color: #dcdcdc;
}

/* Download */

.download{
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
    height: 100px;
}

.download h1{
    color: rgb(63, 63, 63);
    margin: auto;
    font-size: 3rem;
}

.download p{
    color: rgb(63, 63, 63);
}

.light{
    display: flex;
    padding: 10px;
    font-size: 1.5rem;
    color: rgb(63, 63, 63);
    justify-content: space-around;
}


.light a{
    text-decoration: none;
    padding: 10px;
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    background-color: #91bbff93;
    border: none;
    cursor: pointer;
    margin: 15px;
}

.light a:hover{
    background-color: #a8c9ff;

}

.light p{
    font-size: 1.3rem;
}

.text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 75px;
    line-height: 2;
    text-align: center;
}

.textdark{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 75px;
    line-height: 2;
    text-align: center;
}

.dark{
    justify-content: space-evenly;
    display: flex;
    padding: 10px;
    font-size: 1.5rem;
    color: rgb(63, 63, 63);
}


.light, .dark{
    margin:50px;
}

.dark p{
    font-size: 1.3rem;
}

.dark a{
    text-decoration: none;
    padding: 10px;
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    background-color: #c691ff;
    border: none;
    cursor: pointer;
    margin: 15px;
}

.dark a:hover{
    background-color: #d3abff;

}

/* Footer */

footer{
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 25vh;
    background-color: rgb(29, 29, 29);
}

.contact h2, .contact p {
    margin: 10px 0; /* Ajoutez cette ligne */
}

.contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1rem;
    color: white;
}

.contact a{
    text-decoration: underline;
    color: white;
}

img{
    border-radius: 10%;
    width: 440px;
    height: 520px;
}

.tuto{
    border: 1px solid black;
    border-radius: 20px;
    margin: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1rem;
    color: black;
}

.tuto li{
    margin: 20px;
}

@media screen and (max-width: 900px) {
    .light, .dark {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-self: center;
    }

    .light img {
        margin-left: 0;
    }

    img{
        margin: 0;
        padding: 0;
        width: 300px;
        height: 400px;
    }

    .text, .textdark {
        margin: 25px;
        padding: 20px;
        line-height: 2;
        text-align: center;
        
    }

    body, html {
        overflow-x: hidden;
    }
        .dark img {
            order: 1;
            margin: 0;
        }

        .textdark {
            order: 2;
        }
    }

@media screen and (min-width: 900px) and (max-width: 1500px) {
    .textdark {
        margin-left: 5%;
    }

    .light img {
        margin-left: 8%;
    }
}
