*{
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

html,body{
    background-color: rgb(20, 3, 0);
}
body{
    height: fit-content;
    min-height: 100vh;
    width: 100vw;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
}

main{
    min-height: 100dvh;
    height: fit-content;
    width: 90%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,h2{
    font-family: "Jacquard 24", system-ui;
    font-weight: 200;
    color: #EEED91;
}
h1{
    margin-top: 20px;
    font-size: 3em;
}
h2{
    font-size: 2em;
    line-height: 0.4em;
}

p{
    min-width: 240px;
    max-width: 700px;
    font-size: 1.2em;
    font-family: "Baskervville", serif;
    color: #00FFBB;
}
.retour{
    display: block;
    content: "";
    margin-top: 0.4em;
}
.retourParag{
    display: block;
    content: "";
    margin-top: 1em;
}

#bulle{
    min-height: 1em;
    height: fit-content;
    width: 60%;
    margin-top: 1em;
    padding: 1em 2em;

    display: flex;
    flex-direction: column;
    gap: 0.2em;
    color: #00FFBB;
}

#phylactere{
    top: 120px;
    left: 23vw;
    position: absolute;
    width: fit-content;
    rotate: 75deg;
    text-align: left;
}

#conteneurPerso{
    position: fixed;
    display: flex;
    flex-direction: row;
    gap: 2em;
    width: fit-content;
    top: 120px;
    right: 78vw;
    z-index: 10;
}
#perso{
    height: 10.3vw;
    width: 14vw;
    background-image: url(images/lettre-motivation-numérique/meSheet.png);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}
#perso:hover{
    cursor: pointer;
}
#perso.mute:hover{
    background-position: 0 100% !important;
}
#conteneurPerso>p{
    position: absolute;
    transform: translateY(17vw) translateX(-2vw);
    font-size: 0.9em;
    width: 150px !important;
    min-width: 1vw !important;
    max-width: 20vw !important;
}

#mainDroite,#mainGauche{
    position: absolute;
    height: 6vw;
    width: 6vw;
    background-image: url(images/lettre-motivation-numérique/main_coucou.PNG);
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}
#mainDroite{
    transform: translateX(-3vw) translateY(9vw) rotate(-25deg) scaleX(-1);
}
#mainGauche{
    transform: translateX(11vw) translateY(9vw) rotate(15deg);
}

#displayer{
    height: 40vh;
    width: 100vw;

    margin-top: auto;
    margin-bottom: 25px;
}
#carousel{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2vw;
    align-items: flex-start;
    justify-content: flex-start;

    height: 100%;
    width: 80vw;
    transform: translateX(10vw);
}
#carousel>div{
    flex-shrink: 0;
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-evenly;
    justify-content: center;
}
#carousel>div>img{
    image-rendering: pixelated;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carte:hover{
    z-index: 10;
}

@media (max-width: 1000px){
    p{
        font-size: 1em;
    }
}