html {
    font-family: monospace;
    background: linear-gradient(180deg, #2c4c50, #3c7175, #5a9297);
    background-attachment: fixed;
    background-size: cover;
}


header, .cursor {
    background-color: white;
}

.green {
    color: greenyellow;
}

.terminal, footer, .download-btn:hover {
    background-color: rgb(55, 55, 55);
}

header, nav, .cv, .projet_in {
    display: flex;
}

nav, #terminal_tete, .titre_projet, .container {
    text-align: center;
}

/* HAUT DE PAGE */

header {
    position: sticky; top: 0;
    justify-content: space-between;
    padding: 10px;
    font-size: 18px;
    border-bottom: solid;
    border-color: black;
}

nav {
    gap: 30px;
    color: white;
    font-size: 30px;
}

#nom {
    font-size: 30px;
}

#titre {
    font-size: larger;
}

a {
    text-decoration:none;
    color: black;
}

/* TERMINAL */

.terminal {
    margin: 10vh auto;
    font-size: 20px;
    border-radius: 8px;
    max-width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: white;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

#terminal_tete {
    padding: 5px;
}

#terminal_corps {
    padding: 5px;
    background-color: black;
}

.hidden {
    opacity: 0;
    transform: translateY(150%) scaleX(0.2) scaleY(0.2);
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 24px;
    animation: blink 1s infinite;
    vertical-align: bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* PROJETS */

article {
    border-style: solid;
    margin: 5%;
    background-color: lightgrey;
    padding: 10px;
}

.titre_projet {
    font-size: 30px;
    font-weight: 600;
    padding: 10px;
}

.projet_in {
    display: flex;
    padding: 30px;
    text-align: justify;
}

.projet_txt {
    flex: 6;
    font-size: 19px;
}

.projet_img {
    flex: 1;
    text-align: center;
}

.illustration {
    max-width: 60%;
}

/* AUTRE */

.cv {
    padding-top: 20px;
    margin: auto;
    max-width: 50%;
}

.container {
    padding: 40px 0px 20px;
}

.download-btn {
    padding: 10px 20px;
    font-weight: bold;
    color: white;
    background-color: black;
    border-radius: 5px;
}

#clippy {
    position: absolute;
    margin: 10% 48%;
    z-index: -1;
}

#grille {
    padding-top: 20px;
    max-width: 59vw;
    display: block;
    margin: auto;
}

/* BAS DE PAGE */

footer {
    position: fixed;
    bottom: 10px;
    width:20%;
    padding: 5px;
    left: 40vw;
    right: 40vw;
    border-radius: 20px;
    align-items: center;
    display: flex;
    justify-content: space-around;
}

.icone:hover {
    transform:scale(105%);
}

.icone {
    max-height: 75px;
    border-radius: 5px;
}

