@import "compass/css3";

body {
    background-color: black;
    color: rgb(250, 250, 255);
    font-family: 'Roboto', sans-serif;
    background-image: linear-gradient(0deg, black, #111745, #2c3344, #1a5566);
    padding: 0%;
    margin: 0%;

}

.titre {
    animation: body2 8s infinite;
}

@keyframes body2 {
    50% {
        color: #b3d2ff;
    }

}

a {
    color: rgb(250, 250, 255);
    text-decoration: none;
    animation: body2 8s infinite;
}

h1 {
    color: white;
    text-align: center;
    font-size: 96px;
    padding-top: 60px;
    padding-bottom: 50px;
    background-position: center;
    background-image: url('../Images/world-creator-11.jpg');
    background-size: auto 220px;
    background-repeat: no-repeat;
    animation: title 5s 1s infinite;
    border-radius: 0px;
    margin-bottom: 30px;
}


@keyframes title {

    50% {

        color: #c8deff;
    }
}



.Nouveauté .article {
    margin-left: 50px;
}



img {
    margin-top: 50px;
    width: 100%;
    margin: 0;
}





#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked+.menu__btn>span {
    transform: rotate(45deg);
}

#menu__toggle:checked+.menu__btn>span::before {
    top: 0;
    transform: rotate(0deg);
}

#menu__toggle:checked+.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
    left: 0 !important;
}



.menu__btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
}


.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: #494949;
    transition-duration: .2s;
}



.menu__btn>span::before {
    content: '';
    top: -8px;
}

.menu__btn>span::after {
    content: '';
    top: 8px;
}


.menu__box {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 2000%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: rgb(20, 20, 50);
    box-shadow: 6px 6px 18px rgba(0, 0, 0, .4);
    transition-duration: .15s;
}

.menu__item {
    display: block;
    padding: 12px 24px;
    color: #cacaff;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-delay: .5s;
    transition-duration: .5s;
}

.menu__item:hover {
    background-color: rgb(100, 200, 255);
}





.header {
    padding: 3px;
    text-align: center;
    position: fixed;
    vertical-align: middle;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1;
    height: 50px;
    background-color: #225;
    background-image: url('../Images/world-creator-11.jpg');
    background-position: 50% 40%;
    background-size: 100%;
    transform: translateX(0px) translateY(-65px);
}


.header .logo {
    position: fixed;
    top: 0;
    right: 25px;
    width: 100;
    height: 26px;
    cursor: pointer;
    z-index: -1;
    text-align: left;
    color: #494949;
    text-decoration: none;
    font-size: 50px;
    animation: none;
}

.footer .logo {
    position: fixed;
    top: 0;
    right: 25px;
    width: 100;
    height: 26px;
    cursor: pointer;
    z-index: -1;
    text-align: left;
    color: #494949;
    text-decoration: none;
    font-size: 50px;
}

.article_Nouveauté {
    background-color: #10213e;
    width: 180px;
    height: 160px;
    font-size: small;
}

.Nouveauté {
    background-color: rgb(22, 22, 40, .6);
    padding-top: 10px;
    padding-bottom: 20px;
    border-radius: 0px;
}

.Nouveauté h2 {
    margin-left: 15px;
}

.Nouveauté_Scroll {

    align-items: center;
    display: flex;
    overflow: auto;
    overflow-x: scroll;
    flex-wrap: nowrap;
    justify-content: space-between;
    scroll-snap-align: center;
    scroll-snap-type: x mandatory;
    gap: 3px;
}

.Nouveauté_Scroll::-webkit-scrollbar {
    display: none;
}

.article_Nouveauté {
    scroll-snap-align: center;
    scroll-snap-align: 50px;
    padding: 8px;
    flex-shrink: 0;
    margin-top: 30px;
    border-radius: 25px;

}



.article_Nouveauté img {
    border-radius: 35%;
    width: 65px;
    height: 65px;
    transform: translate(-25px, -25px);
}

.space {
    width: 30px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0);
    filter: opacity(0);
}

.Populaire {
    background-color: rgb(22, 22, 40, .6);
    padding: 15px;
    margin-top: 30px;
}

.article_Populaire {
    background-color: #10213e;
    padding: 10px;
    border-radius: 20px;
    margin-top: 20px;
}

.article_Populaire img {
    border-radius: 18px;
}

footer {
    background-color: #10213e;
    padding-top: 50px;
    text-align: center;
    font-size: larger;
    padding-bottom: 50px;
}

footer img {
    border-radius: 12.5px;
    width: 50px;
    height: 50px;
}

.dark-mode {
    background-image: linear-gradient(0deg, #e9f6ff, #adcbde);
    color: black;
}

.dark-mode .article_Populaire {
    background-color: #aac7d8;
}

.dark-mode a {
    color: black;
    animation: none;
}

.dark-mode .footer {
    background-color: #6f8c9d;
}

.dark-mode .Populaire {
    background-color: #c5deec;
}

.dark-mode .Nouveauté {
    background-color: #c5deec;
}

.dark-mode .article_Nouveauté {
    background-color: #aac7d8;
}



.dark-mode .menu__box {
    background-color: rgb(216, 225, 229);
}

.dark-mode .menu__item {
    color: black;
}

.dark-mode .menu__item:hover {
    background-color: grey;
}

.dark-mode .header {

    background-color: #7996a8;
    background-image: url('../Images/world-creator-4.jpg');
}

.dark-mode h1 {
    background-image: url('../Images/world-creator-4.jpg');
}

.dark-mode .header .logo {
    color: whitesmoke;
}

.dark-mode .footer .logo {
    color: black;

}


.dark-mode h2 {
    color: #0a202a;
    animation: none;
}

button {
    color: white;
    background-color: black;
    border: none;
    background: none;
    animation: body 2 infinite 8;
}

.dark-mode button {
    color: black;
    background-color: white;
    background: none;
}