/* général */

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

body {
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* onglet */

#onglets {
    background-color: rgba(255, 255, 255, 0.829);
    height: 10vw;
    border: 1px solid black;
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.829);
}

#tablet {
    display: none;
}


#onglets h1 {
    font-family: 'Crete Round', Arial, Helvetica, sans-serif;
}

#onglets ul {
    float: right;
}

#onglets ul li {
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 10px;
}

#onglets ul li a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.829);
    transition: all 0.5s ease-in-out;
}

#onglets ul li a:hover {
    text-decoration: none;
    color: blue;
}

/* intro */

#intro {
    border: 2px solid black;
    border-radius: 10px;
    background-color: darkblue;
    text-align: center;
    margin: 0 auto;
    max-width: 30%;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

#intro:hover {
    transform: scale(1.1);
}

#intro h2 {
    text-transform: uppercase;
    font-weight: bold;
    color: darkgray;
}

#intro h2 .modif {
    color: goldenrod;
    text-transform: none;
}

#intro a {
    text-decoration: none;
    color: goldenrod;
}

#intro a:hover {
    text-decoration: none;
    color: goldenrod;
}

#intro_app {
    display: none;
}

@media only screen and (max-width: 1080px) {
    #onglets {
        background-color: rgba(255, 255, 255, 0.829);
        height: 18vw;
        border: 1px solid black;
        border-radius: 5px;
        color: rgba(0, 0, 0, 0.829);
    }

    #pc {
        display: none;
    }

    #tablet {
        display: block;
    }

    #intro {
        display: none;
    }

    #intro_app h2 {
        text-transform: uppercase;
        font-weight: bold;
        color: darkgray;
    }
    
    #intro_app h2 .modif {
        color: goldenrod;
        text-transform: none;
    }
    
    #intro_app a {
        text-decoration: none;
        color: goldenrod;
    }
    
    #intro_app a:hover {
        text-decoration: none;
        color: goldenrod;
    }

    #intro_app {
        padding-bottom: 10px;
        border: 2px solid black;
        border-radius: 10px;
        background-color: darkblue;
        text-align: center;
        margin: 0 auto;
        max-width: 30%;
        transition: all .5s ease-in-out;
        display: block;
    }

    #intro_app:hover {
        transform: scale(1.1);
    }
}

@keyframes couleurTexte {
    0% { color: red; }
    25% { color: blue; }
    50% { color: green; }
    75% { color: purple; }
    100% { color: red; }
}

.container #intro {
    padding-bottom: 10px;
}
  
.texte-anim {
    animation: couleurTexte 5s infinite;
}

/* styles.css */

#texteEcrit {
    font-size: 24px;
    font-family: Arial, sans-serif;
    white-space: pre; /* Garde les espaces et les sauts de ligne */
    min-height: 25px;
}

.container {
    display: flex;
    align-items: center; /* Alignement vertical */
    justify-content: space-between; /* Alignement horizontal */
}