:root {
    --bodybackground: rgb(43, 46, 42);
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none
}


body {
    background: var(--bodybackground);
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

html {
    /* scroll-behavior: smooth; */
}

.brand {
    z-index: 10;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    top: 20px;
    left: 20px;
    color: rgb(255, 244, 220);
    /* overflow: hidden; */
    font-size: 2rem;
    font-family: 'TheBlacklist';
    cursor: pointer;
    border-radius: 1rem;
    box-shadow: 0px 0px 8px 3px rgba(0, 0, 19, 0.856);
}

.brand .info {
    position: absolute;
    width: max(300px, 20vw);
    max-width: max(300px, 20vw);
    top: 250%;
    left: -500px;
    color: black;
    margin: .5rem;
    background-color: rgba(240, 248, 255, 0.61);
    font-size: 1.5rem;
    /* display: flex;
    flex-direction: row; */
    box-shadow: 0px 0px 8px 3px rgba(0, 0, 19, 0.856);
    border-radius: .5rem;
    padding: .1rem .5rem;
    transition-duration: 500ms;
    transition-property: left, top;
    transition-timing-function: ease-in-out;
    transition-delay: 1s;
}

.brand .p {
    position: relative;
    background-color: black;
    padding: .1rem .2rem .1rem .5rem;
    font-weight: bold;
    border: 2px solid white;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
    border-right: 0;
}

.brand .texte {
    position: relative;
    background-color: white;
    padding: .1rem .5rem .1rem 0rem;
    color: black;
    border: 2px solid black;
    border-left: 0;
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
}

.brand .texte a {
    color: black;
}

.brand:hover>.texte {
    /* filter: invert(1); */
}

.brand:hover>.info {
    left: 0%;
    transition-delay: 0s;
}

.brand .projet {
    opacity: 0;
    position: absolute;
    top: 2px;
    left: 2px;
    width: max-content;
    transition-duration: 500ms;
    transition-property: left, top, opacity;
    transition-timing-function: ease-in-out;
    transition-delay: 2s;
    display: flex;
    align-items: center;
}

.brand .projet .link {
    position: relative;
    color: black;
    background-color: rgb(243, 243, 243);
    font-size: 1.5rem;
    /* display: flex;
    flex-direction: row; */
    box-shadow: 0px 0px 8px 3px rgba(0, 0, 19, 0.856);
    border-radius: .6rem;
    padding: 0 .4rem;
}

.brand .projet:hover>.anime,
.brand .projet.up .anime {
    transform: translate(-50%, -50%);
    animation: tournedonc 2s linear infinite;
    display: initial;
}

.brand .projet .anime {
    position: absolute;
    left: 90%;
    width: max-content;
    color: black;
    /* background-color: aliceblue; */
    font-size: 1.5rem;
    border-radius: 50%;
    background-color: aliceblue;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2rem;
    /* display: none; */
    /* display: flex;
    flex-direction: row; */
    display: none;
}



.up {
    /* filter: invert(1); */

}

.brand:hover>.projet {
    transition-delay: 0s;
    opacity: 1;
}

.brand .projet:hover {
    z-index: +1;
}

.brand:hover>.projet1 {
    top: -10%;
    left: 110%;
}

.brand:hover>.projet2 {
    top: 70%;
    left: 110%;
}

.brand:hover>.projet3 {
    top: 110%;
    left: 60%;
}

.brand:hover>.projet4 {
    top: 115%;
    left: 8%;
}

.brand .nav {
    display: none;
    position: absolute;
    top: 2px;
    left: 2px;
    color: black;
    overflow: hidden;
    transition-duration: 500ms;
    transition-property: left, top;
    transition-timing-function: ease-in-out;
    border-radius: 1rem;
    padding: .1rem .5rem;
}

.brand .nav .item {
    color: black;
    border-radius: 1rem;
    padding: .1rem .5rem;
    margin: .5rem;
    background-color: aliceblue;
    font-size: 1rem;
}
.spot{
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.4);
}
.rip{
    position: absolute;
    width: 5px;
    height: 5px;
}
.spot.faim{
    background-color: rgba(150, 123, 15, 0.4);
}
.spot.fatigue{
    background-color: rgba(58, 165, 42, 0.4);
}
.spot.energie{
    background-color: rgba(79, 42, 165, 0.4);
}

/* .brand:hover>.nav {
    height:initial;
    overflow: initial;
    top:80%;
    left:20px;
} */
/* .brand:hover>.texte {
    padding:.5rem .5rem .5rem 0;
    width: auto;
} */
/* --------------------------------------- */
.resociaux {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 3px;
    background: rgba(63, 62, 62, 0.904);
    border-radius: .5rem;

    /* display: -webkit-box; */
    /* display: -ms-flexbox; */
    display: flex;
    flex-direction: row;
    z-index: 5;
    background: rgba(26, 25, 29, 0.904);
    box-shadow: 0px 0px 10px rgb(32, 25, 25);
    opacity: .4;
    transition-duration: 1s;
    transition-property: opacity;
    transition-timing-function: ease-out;
}

.resociaux:hover {
    box-shadow: 0px 0px 8px rgb(32, 25, 25);
    bottom: 19px;
    left: 21px;
    opacity: 1;
}

.resociaux .github,
.resociaux .codepen {
    position: relative;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background-size: cover;
    border-radius: 50%;
    outline: 2px solid rgba(0, 0, 0, 0.87);
    margin: .3rem;
    /* padding: 1.5rem; */
}

.resociaux .github {
    background-image: url(./github.png);
}

.resociaux .github:hover {
    filter: invert(100%);
}

.resociaux .codepen {
    background-image: url(./codepen.png);
}

.resociaux .codepen:hover {
    filter: invert(100%);
}

/* --------------------------------------- */
.message {
    width: 80%;
    height: 80%;
    margin:auto;
    translate: (-50% -50%);
    align-items: center;
    justify-content: center;
    background: rgba(26, 185, 34, 0.671);
    font-family: 'TheBlacklist';
    font-size: 1.5rem;
    padding: .1rem .3rem;
    border-radius: .5rem;
    display: none;
    z-index: 99999999;
}
.message.message-on {
    display: flex;
}
.contact {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 185, 34, 0.671);
    font-family: 'TheBlacklist';
    font-size: 1.5rem;
    padding: .1rem .3rem .1rem .3rem;
    border-radius: .5rem;
}

.contact .card {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
}

.contact .card .fusee {
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100%;
}
.vraifusee {
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100%;
}

.contact .card .fusee.fusee-on svg {
    transition-duration: 2000ms;
    transition-property: margin;
    transition-timing-function: ease-out;
    margin-top: -200vh;
}


.contact .card .moi,
.contact .card .moi a:hover {
    color: black;
}

.contact .card .moi a:active,
.contact .card .moi a {
    color: white;
}


@keyframes tournedonc {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}