/* ffde73 */
/* d9dbc5 */
/* 261d2e */
@font-face {
    font-family: "marceline";
    src: url("font/Marceline Regular.otf");
}

@font-face {
    font-family: "Dotties";
    src: url("font/DottiesChocolate-Regular.otf");
}

* {
    scroll-behavior: smooth;
}

* strong {
    color:#EA2466;
}

body {
    margin:0px;
    font-family:Dotties,Calibri, sans-serif;
}

.img-box {
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content: center;
}

.wrapper {
	height: 100vh;
	overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}

.wrapper .bg0 {
    transform: translateZ(-10px) scale(2);
}
  
.wrapper .bg1 {
	transform: translateZ(-8px) translateY(50px) scale(1.8);
}
  
.wrapper .bg2 {
    transform: translateZ(-5px) translateY(80px)scale(1.4);
}
  
.wrapper .bg3 {
    transform: translateZ(0) scale(1.1);
}

.wrapper .bg4 {
    transform: translateZ(0) scale(1.6);
}
  
.wrapper .bg0, .bg1, .bg2, .bg3,.bg4 {
    position: absolute;
    height: 100%;
    width: 100vw;
    object-fit: cover;
    z-index: -1;
}
  
header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
	z-index:2;
}
  
header .header-nav-container {
    width:100%;
    height:100%;
}


header #header-nav {
    display:flex;
    justify-content:space-between;
	background-color:#261d2e;
	padding:15px;
}

header #header-nav .img-box {
    display:flex;
}

header #header-nav .img-box:not(#burger-icon) {
    align-items:center;
    justify-content:center;
}

header #header-nav #burger-icon {
    flex-direction:column;
    width:40px;
    height:40px;
    display:flex;
}

header #burger-icon .burger-line{
    background: #fff;
    border-radius:10px;
    height:7px;
    margin: 7px 0;
    transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

header #burger-icon .burger-line:nth-child(2) {
    width:50%;
}

header #header-nav .burger-slide {
    position: absolute;
    margin:0;
    z-index:1;
    top:0;
    left:-100vw;
    background-color: #261d2e;
    transition:.4s;
    height:100vh;
    width: 100vw;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

header #header-nav .burger-slide-icon {
    display:flex;
    width:90%;
    justify-content: space-between;
    padding:10px;
}

header #header-nav .close-box {
    position:relative;
}

header #header-nav .close { 
    width: 32px;
    height: 32px;
    border-radius:5px;
}

header #header-nav .close:active { 
    background-color: #2f213d;
}

header #header-nav .close:before, .close:after {
    position: absolute;
    left: 19px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

header #header-nav .close:before {
    transform: rotate(45deg);
}

header #header-nav .close:after {
    transform: rotate(-45deg);
}

header #header-nav .link-list {
    padding:15px;
    width:90%;
}

header #header-nav .link-list li {
    list-style:none;
    padding:5px;
    margin:10px 0;
}

header #header-nav .link-list li a {
    display:block;
    padding:15px 5px;
    text-decoration:none;
    color:#fff;
    font-weight:bold;
    font-size:1.5rem;
    text-transform: uppercase;
}

header #header-nav .link-list ul li a:active {
    border-radius:5px;
    background-color: #2f213d;
}

header #header-nav #logo-img-box {
    display:flex;
    align-items:center;
    width:40px;
    height:40px;
}

header #header-nav #logo-img {
    width:40px;
    height:40px;
}

header .icons {
	padding:0 5px;
}

.shoppingbasket {
	width:40px;
	height:40px;
	background-color:#261d2e;
	position:relative;
  	transition:0.4s;
}

#shop .shoppingbasket {
    background:none;
}

#shop .shoppingbasket .left, #shop .shoppingbasket .right,#shop .shoppingbasket .bottom, #shop .shoppingbasket .top {
    background-color:#EA2466;
}

.shoppingbasket:hover {
	transform:scale(1.1);
}

.basketitems {
	color:#fff;
	font-size:80%;
	background-color:#e74c3c;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%,-90%);
	-moz-transform:translate(-50%,-90%);
	transform:translate(-50%,-90%);
	padding:0 12%;
	border-radius:1000px;
}

.shoppingbasket .top {
	width:60%;
	height:10%;
	border-radius:1000px;
	background-color:#fff;
	position:absolute;
	top:25%;
	left:50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}

.shoppingbasket .bottom {
	width:50%;
	height:10%;
	border-radius:1000px;
	background-color:#fff;
	position:absolute;
	bottom:25%;
	left:50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}

.shoppingbasket .left {
	width:50%;
	height:10%;
	border-radius:1000px;
	background-color:#fff;
	position:absolute;
	top:45%;
	left:1%;
	-webkit-transform: rotate(80deg);
	-moz-transform: translateX(80deg);
	transform: rotate(80deg);
}

.shoppingbasket .right {
	width:50%;
	height:10%;
	border-radius:1000px;
	background-color:#fff;
	position:absolute;
	top:45%;
	right:1%;
	-webkit-transform: rotate(-80deg);
	-moz-transform: translateX(-80deg);
	transform: rotate(-80deg);
}

header .user-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width:40px;
	height:40px;
}

header .user {
	width: 30px; 
	height: 30px;
	border: 4px solid #EA2466; 
	border-radius: 50%;
	background-color: #EA2466;
	position: relative;
	overflow: hidden;
	transition:0.4s;
}

header .user::before {
	content : '';
	display: block;
	width: 12px; 
	height: 12px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: 2px;
	transform: translateX(-50%);
	transition:0.4s;
}

header .user::after {
	content : '';
	display: block;
	width: 20px; 
	height: 20px; 
	background: #fff;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	bottom: -6px;
	transform: translateX(-50%);
	transition:0.4s;
}

header .user:hover {
	background-color: #fff;
	border: 4px solid #fff;
}

header .user:hover::before, .user:hover::after {
  background: #EA2466;
}


header .user:active {
	background-color: #fff;
	border: 4px solid #fff;
}

header .user:active::before, .user:active::after {
  background: #EA2466;
}

header #header-nav .icon-container {
    display:flex;
}

header #game-presentation {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    width:100%;
	margin:50% 0;
}

header #game-presentation .img-box {
    width:360px;
    height:360px;
}

header #game-presentation .img-box img {
    width:100%;
	filter: drop-shadow(0 0 0.60rem crimson);
    position: relative; 
}

header #game-presentation .img-box::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1); 
    z-index: -1; 
}

header #game-presentation p {
    width:100%;
    word-wrap: break-word;
}

header #game-presentation h2 {
    text-align: center;
}

header .ruban {
	position:absolute;
	background-color:#EA2466;
	filter: drop-shadow(0 0 0.25rem crimson);
	height:60px;
	top:100%;
	z-index:-2;
	display:flex;
	align-items:center;
	padding:0 30px;
	border:solid 5px #ffde73;
	box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0.2); 
}

header .ruban .bulb {
	width:30px; 
	height:30px;
	background-color:#ffde73;
	border-radius:20px;
	margin:0 5px;
	filter: drop-shadow(0 0 0.60rem #f1e42f);
}

main {
    padding:15px;
	background-color:#261d2e;
	color:#fff;
}

main .longtext {
    word-wrap:break-word;
}

main .title {
	font-size:3rem;
}

main .text-info {
    width:100%;
}

main .empty-space {
    width:100%;
    height:60px;
    background:none;
}

main #character-presentation h2 {
    text-align:center;
}

main #character-presentation .character-section {
    width:100%;
    display:flex;
    flex-direction: column;
}

main #character-presentation .character-section-container {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
}

main #character-presentation .character-section .character-box {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
	background-color:#EA2466;
	filter: drop-shadow(0 0 0.25rem crimson);
	padding: 25px 0;
	margin:10px;
	transition:0.4s;
	border-radius:15px;
}

main #character-presentation .character-img {
    width:80%;
}

main #character-presentation .character-img img{
    width:100%;
}

main #character-presentation .title-name {
    text-align:center;
}

main #character-presentation .longtext {
    margin:auto 0;
}

main #gameplay-showcase {
    display:flex;
    flex-direction: column;
    align-items: center;
}

main #gameplay-showcase .space-holder {
	width:80%;
	background-color:#000000;
    overflow: hidden;
}


main #gameplay-showcase .space-holder .gif {
    width:100%;
    height:100%;
    object-position: center;
    margin:0 auto;
}

main #gameplay-showcase .gameplay-infos {
    width:90%;
}

main #gameplay-showcase .gameplay-holder {
    width:100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

main #gameplay-showcase .gameplay-infos-case {
    width:100%;
    word-wrap: break-word;
}

main #gameplay-showcase .gameplay-infos .undertitle {
    font-size:1.8rem;
    color:#EA2466;
}

main #gameplay-showcase .gameplay-infos .text-info {
    width:100%;
}

main #artworks .title{
    text-align: center;
}

main #artworks .screenshot-big {
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
}

main #artworks .screenshot-big-img {
    width:100%;
    box-sizing: content-box;
    margin-bottom:5px;
}

main #artworks .screenshot-line {
    display:flex;
    align-items: center;
    gap:10px;
    overflow-x: auto;
    margin-right:-15px;
    padding-bottom:10px;
    scrollbar-color: #2f213d #261d2e ;
}

main #artworks .screenshot-small-img {
    width:25%;
}

.active {
    filter: grayscale(60%);
}

main .swiper {
    display:flex;
    justify-content: space-between;
    width:100%;
}

main .swiper .pills {
    display:flex;
    align-items:flex-end;
    width:50%;
    justify-content: space-between;
}

main .swiper .pills .circles {
    width:12px;
    height:12px;
    display:block;
    background-color: #000;
    border-radius: 100%;
    margin:5px;
}

main .swiper .pills .circles:nth-child(1) {
    opacity:0.3;
}

main #crowdfunding {
	margin:60px 0;
    background-color:#EA2466;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

main #crowdfunding .title {
    text-align:left;
    font-size:2rem;
}

main #crowdfunding .steps {
    width:100%;
    display:flex;
    flex-direction: column;
    align-items: center;
}

main #crowdfunding .steps .crowdfunding-img-box {
    width:100%;
}

main #crowdfunding .crowdfunding-text {
    padding:15px;
}

main #crowdfunding .steps .crowdfunding-img-box img {
    width:100%;
    border-radius:15px 15px 0 0;
}

.crowdfunding-img-box img.visible {
    display: block;
}

main #crowdfunding .steps .undertitle {
    margin-bottom:0;
}

main #crowdfunding .steps .crowdfunding-text {
    word-wrap: break-word;
    width: 100%;
}

main #crowdfunding .steps .text-info {
    margin:15px 0;
}

main #crowdfunding .steps-button {
    display:flex;
    gap:15px;
}

main #crowdfunding .donation {
    padding: 15px;
}

main #crowdfunding .donation .steps-progress {
    display:flex;
    width:100%;
    align-items:center;
    gap:10px;
    margin:15px 0;
}

main #crowdfunding .donation .progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

main #crowdfunding .donation .steps-bar {
  flex: 1;
  height: 5px;
  background-color: #f0ecec;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

main #crowdfunding .donation .steps-bar .progress {
  height: 100%;
  width: 0;
  background-color: #261d2e;
  border-radius: 50px;
  transition: width 0.3s ease-in-out;
}

main .arrow {
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color:#fff;
}

main .swiper .arrow {
    background-color: #000;
    border: 2px solid #000;
    color:#fff;
}
  
main .arrow:disabled {
    border-color: #aaa;
    color: #aaa;
    cursor: not-allowed;
}

main #crowdfunding .donation .donation-info {
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items:center;
}

main #crowdfunding #donation-button {
    height:50px;
    background-color: #261d2e;
    border-radius: 25px;
    border:none;
    color:#fff;
    padding:15px;
    cursor:pointer;
}

main #crowdfunding #donation-button:active {
    background-color:  #2f213d;
}

main #shop {
    background-color: #EA2466;
    color:#fff;
    display:flex;
    flex-direction: column;
    border-radius: 15px;
}

main .white {
    background-color: #2f213d;
    width:100%;
    border-radius:0 0 15px 15px;
}

main #shop .shop-icons {
    display:flex;
    align-items: center;
    padding:25px;
}

main #shop .title {
    padding-bottom:10px;   
}

main #shop .merch {
    border-top: solid 2px #fff;
    width:100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    row-gap:25px;
    padding:15px 0;
}

main #shop .merch .article-img {
    width:100%;
    border-radius:5px;
}

main #shop .merch .article .merch-options {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

main #shop .merch .article .merch-icons {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

main #shop .article .merch-buy {
    width:40px;
    height:40px;
    background-color: #EA2466;
    border:none;
    color:#fff;
    border-radius: 100%;
}

main #shop .article .merch-buy:active {
    background-color: #f0ecec;
}

.heart {
    width: 20px; 
    height: 20px; 
    background-color: #EA2466;
    transform: rotate(45deg);
    position: relative; 
    cursor:pointer;
}

.heart:hover {
    transition:0.4s;
    transform: rotate(45deg) scale(1.1); /* Rotation conservée, ajout de scale */
}


.heart::after, .heart::before {
    content: "";
    width: 20px; 
    height: 20px; 
    position: absolute;
    border-radius: 100%; 
    background-color: #EA2466;
}

.heart::after {
    bottom: 10px; 
    left: 0;
}

.heart::before {
    top: 0;
    left: -10px; 
}

.backup {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    background: #EA2466;
    color: #fff;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8; 
    text-decoration: none;
}

.backup:hover {
    transform: scale(1.1);
    opacity: 1; /* Réduit la transparence au survol */
}

.backup:active {
    transform: scale(0.95); /* Effet de clic */
}

footer {
    background-color:#EA2466;
    color:#fff;
    word-wrap: break-word;
    padding:15px;
}

footer .longtext {
    margin:0;
    padding:15px;
}

footer img {
    padding:15px;
    width:25%;
}

#header-nav #computer-nav {
    display:none;
}

#lightbox {
    position: absolute; 
    width: 100vw; 
    height: 100vw; 
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center; 
    align-items: center;
    z-index: 1000;
    overflow: hidden;
	display:none;
}

.lightbox-open {
    overflow: hidden; 
}

#lightbox img {
	width:60%;
    object-fit: contain; 
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#lightbox .close {
	position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100; 
}

#lightbox .close:hover {
    color: #EA2466; 
}

header #run-test {
    display:none;
}

header h1 {
    display:none;
}

.computer {
    display:none;
}

.mobile {display:block;}

@media screen and (min-width: 1024px ) {
    .computer {
        display:block;
    }

    .mobile {
        display:none;
    }
    header #mobile-nav {
        display:none;
    }

    header #header-nav {
        align-items:center;

    }

    header #header-nav #logo-img-box {
        width:60px;
        height:60px;
    }

    header #header-nav #logo-img {
        width:60px;
        height:60px;
    }

    header #header-nav #computer-nav {
        display:block;
    }

    header #header-nav #computer-nav .link-list {
        display:flex;
        padding:0;
        margin:0;
        width:100%;
    }

    header #header-nav #computer-nav .link-list li {
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left:0;
        padding-right:0;
        transition:0.4s;
    }

    header #header-nav #computer-nav .link-list li:hover {
        background-color:#3b2d47;
        border-radius:5px;
    }

    header #header-nav #computer-nav .link-list li:active {
        background-color:#2f213d;
        border-radius:5px;
    }

    header #header-nav #computer-nav .link-list li a {
        font-size:1.3rem;
        padding-right:10px;
        padding-left:10px;
    }

    header #header-nav #computer-nav .link-list li:last-child {
        background-color: #EA2466;
        border-radius:5px;
    }

    header #header-nav #computer-nav .link-list li:last-child:hover {
        transform:scale(1.05);
    }

    header #header-nav #computer-nav .link-list li:last-child:active {
        background-color: #c82058;
    }

	header #game-presentation {
		margin:60px auto 0 auto ;
		width:50%;
		flex-direction: row;
    }

    header #game-presentation .game-info {
        width:40%;
        display:flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin:30px;
    }
	   
	header #run-test {
		display:flex;
		flex-direction: column;
		align-items:center;
	}

	header #run-test #game-box {
		margin:25px 0;
	}


	header #run-test .game-options {
		display:flex;
		justify-content: center;
		align-items: center;
		width:40%;
        margin-top:15px;
	}

    header #unity-canvas {
        background-color: black;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }

	header #run-test .play {
		width:40%;
	}

	header #run-test #play-button {
		height: 50px;
		color: #261d2e;
		background-color:#EA2466;
		font-weight: bold;
		border: none;
		width: 100%;
		text-transform: uppercase;
		cursor: pointer;
		position: relative; 
		z-index: 1; 
		clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
		padding: 10px 0; 
		font-size:1.5rem;
		transition:0.4s ease;
	}

    header #run-test #play-button:hover {
		transform:scale(1.1);
	}

	header #run-test #play-button::before {
		content:'';
		background-color:#d9dbc5;
		position:absolute;
		top:5%;
		left:2%;
		width:96%;
		height:86%;
		z-index:-2;
		clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
	}
	
	header #run-test #play-button:active::before {
		background-color: #a8a998;
	}
	
	header .ruban {
        display: flex; 
        flex-wrap: wrap; 
        justify-content: space-evenly; 
        width: 100%; 
	}

	header .ruban .bulb {
		width:30px; 
		height:30px;
		margin:15px;
	}
	
    main {
        padding:25% 200px 65px 200px;
		position:relative;
		z-index:1;
    }

    main .longtext {
        width:80%;
    }
   
    main #character-presentation .character-section-container {
        display:grid;
        grid-template-columns: repeat(4, 1fr);
        gap:10px;
    }
	
	main #character-presentation .character-section-container .character-box {
		margin:0;
	}	

    main #character-presentation .character-img {
        width:40%;
    }

    main #gameplay-showcase .gameplay-holder {
        flex-direction:row;
    }

    main #gameplay-showcase .gameplay-infos-case {
        width:80%;
    }

    main #artworks {
        display:flex;
        align-items: center;
    }

    main #artworks .title {
        text-align:left;
    }

    main #artworks .screenshot-line {
        flex-direction: column;
        overflow-y: auto;
        height:600px;
    }

    main #artworks .screenshot-big {
        width:500px;
        height:600px;
    }

    main #artworks .screenshot-big-img {
        width:100%;
 
    }

    main #artworks .screenshot-small-img {
        cursor:pointer;
        transition:0.4s;
    }

    main #artworks .screenshot-small-img:not(.active):hover {
        filter: brightness(1.3);
    }

    main #crowdfunding .steps {
        flex-direction:row;
        justify-content: space-between
    }

    main #crowdfunding .steps-button .arrow:not(disabled):hover {
        transform: scale(1.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    main #crowdfunding .steps .crowdfunding-img-box {
        width:35%;
    }

    main #crowdfunding .steps .crowdfunding-text {
        width:60%;
    }

    main #crowdfunding .steps .crowdfunding-img-box img {
        border-radius:15px 0 0 0;
    }

    main #crowdfunding .donation-show-side {
        display:flex;
        gap:15px;
    }

    main #crowdfunding #donation-button:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    main #shop .merch {
        width:70%;
        grid-template-columns:repeat(3, 1fr);
        margin:0 auto;
        gap:45px;
    }

    main #shop .merch-options .merch-buy:hover {
        cursor:pointer;
        transition:0.4s;
        transform: scale(1.1);
    }

    footer img {
        width:5%;
    }
    
}
