@font-face { 
    font-family:"playful";
    src: url('fonts/SuperPlayful-e91WO.ttf') ;
    font-display: swap;
} 

 html {
    font-family:"Poetsen One";
    scroll-behavior: smooth !important;
    color: white;
}

 body {
    background-color:#102458;
    width:100%;
    margin:0;
    padding:0;
    overflow-x: hidden;
}


.background {
    height:100vh;
    width:100vw;
    position:fixed;
 }

.background img {
    z-index: 1;
}

header {
    height:100vh;
    width:auto;
    z-index:1;
}

.navigation {
    background-color:white;
    border-right: solid #2c2c2c 10px;
    position :fixed;
    width:10%;
    height:100vh;
    z-index: 9999;
}

.sub_navigation {
    width:100%;
    height:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-direction:column;
}

.navigation img {
    width:80px;
    fill:#2c2c2c;
}

.navigation svg {
    width:60px;
    fill:#2c2c2c;
    transition: all 0.3s ease;
}

.logo_nav {
    padding-top:10%;
    display:flex;
    justify-content: center;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

nav {
    width:80%;
    height:35%;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: space-around;
}

nav a {
    width:100%;
    display:flex;
    justify-content: center;
    padding-top:20px;
    padding-bottom:20px;
}

nav a svg:hover {
    transform: scale(1.5);
}

nav a svg:hover path{
    fill:#83c6ed;
}


#accueil {
    display:flex;
    justify-content: flex-end;
    scroll-snap-align: start;
}

#landing {
    height:100vh;
    width:90%;
    display:flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.banniere {
    width:100%;
    display:flex;
    justify-content: flex-start;
    align-items: center;
    padding-left:5%;
    padding-bottom:5%;
    z-index: 10;
    padding-top:2%;
    position:relative;
}

.banniere_pages {
    width:100%;
    display:flex;
    justify-content: flex-end;
    align-items: center;
    padding-left:7%;
    z-index: 10;
    padding-top:2%;
    position:relative;
}

.banniere_pages h1 {
    font-family:"playful";
    color:white;
    font-size:4em;
    margin:0;
}

.banniere_pages h2 {
    color:#83c6ed;
    font-size:2rem;
    margin:0;
}

.logo_landing {
    width:10%;
}

.titre_landing {
    width :80%;
    padding-left:3%;
}

.banniere h1 {
    font-family:"playful";
    color:white;
    font-size:4em;
    margin:0;
}

.banniere h2 {
    color:#83c6ed;
    font-size:2rem;
    margin:0;
}

#titles {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#about {
    padding-left:5%;
    display:flex;
    flex-direction: row;
    width:100%;
    z-index: 10;
}


#text_header {
    background-color: white;
    border: solid #2c2c2c 10px;
    border-radius: 50px;
    width:80%;
    align-self: Center;
    justify-content: center;
    display: flex;
    margin-right: 5%;
}

#text_header p {
    width: 80%;
    color: #2c2c2c;
    font-size: 1.3em;
    text-justify: auto;
}

#artstation_portfolio {
    color:#83c6ed;
    text-decoration: none;
}

#text_header p a:hover {
    color: rgb(124, 143, 231);
    font-size: 1.31rem;
    text-decoration: none;
}

#me {
    width: 90%;
    padding: 0;
    align-self: flex-start;
    margin-bottom: -10px;
}

#me img {   
    width: 70%;
    z-index: 2;
    position: relative;
    padding-left: 5%;
}

#jobs {
    width:100%;
    display: flex;
    flex-direction: row;
    align-self: flex-end;
    flex-wrap: wrap;
    padding-bottom: 5%;
    justify-content: center;
    z-index: 10;
}

#sub_jobs {
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
}

#jobs ul {
    width:90%;
    list-style: none;
    display:flex;
    flex-wrap:nowrap;
    justify-content: space-around;
    border: solid white 10px;
    border-radius: 80px;
    margin-top: 0;
    align-items: center;
    z-index: 20;
    position:relative;
}

#jobs li {
    position:relative;
    text-align: center;
    width:30%;
    color: #83c6ed;
    font-size: 1.8em;
    padding-top:2%;
    padding-bottom:2%;
    animation: scrollText 12s infinite linear;
    z-index: 10;
}

/* Page work */

.iframe_cover {
    display:flex;
    justify-content: center;
    align-items: center;  
    padding-left: 5%; 
    width: 80%;
}

iframe {
    aspect-ratio: 16 / 9;
    width: 80%;
    border: solid #2c2c2c 10px;
    border-radius: 50px;
}

.collab_link {
    color:#83c6ed;
    text-decoration: none;
}

.work_description a:hover {
    color: rgb(124, 143, 231);
    font-size: 1.31rem;
    text-decoration: none;
}

.work_pages_header {
    height:100%;
}

.work_pages_onlyheader {
    height:100vh;
}

.work_landing {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
}

.work_header {
    display:flex;
    flex-direction: row;
    width:100%;
    z-index: 10;
    position: relative;
}

.work_description {
    background-color: white;
    border: solid #2c2c2c 10px;
    border-radius: 50px;
    width:50%;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-right:12%;
}

.work_description p {
    width: 70%;
    color: #2c2c2c;
    font-size: 1.3em;
    text-justify: auto;
}

.work_cover {
    display:flex;
    justify-content: center;
    align-items: center;   
}

.work_cover img{
    border: solid #2c2c2c 10px;
    border-radius: 50px;
    width:60%;
}

.work_full{
    width: 90%;
    background-color: white;
    border-top: solid #2c2c2c 10px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.work_full img {
    width: 50%;
}

/* End Page work */

/*  @keyframes scrollText {
    from   { transform: translateX(400%); }
    to { transform: translateX(-400%); }
  }  */

 main {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

/* portfolio */

.filter-buttons {
    width: 90%;
    display: flex;
    justify-content: center;
    padding-bottom: 3%;
}

.filter-buttons button {
    margin: 1%;
    padding: 1%;
    background-color: white;
    border: solid #2c2c2c 5px;
    border-radius: 50px;
    font-family: "Poetsen One";
    font-size: 1rem;
    transition: all 0.3s ease;
    color:#2c2c2c;
}

.filter-buttons button:hover {
    transform: scale(1.2);
    background-color: #83c6ed;
    border : none;
    color:white;
}

.filter-buttons button.active {
    background-color: #2c2c2c;
    border: solid #2c2c2c 5px;
    border-radius: 50px;
    border : none;
    color:white;
}

.hidden {
    display:none;
}

#portfolio {
    margin-top: 2%;
    background-color: white;
    border-top: solid #2c2c2c 10px;
    border-bottom: solid #2c2c2c 10px;
	width:90%;
	padding:0;
	z-index:2;
    position:relative;
	scroll-snap-align: start start;
}

#sub_portfolio {
	display:flex;
	flex-wrap:wrap;
	z-index:2;
    justify-content: center;
    padding:5%;
    padding-top:0;
}

#sub_portfolio h2{
    width: 90%;
    font-family: "playful";
	display:flex;
	font-size:2.5em;
    justify-content: center;
	color:#2c2c2c;
	z-index:2;

}

.gallery_portfolio {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap:25px;
    position: relative;
}

.gallery {
    border:solid #2c2c2c 10px;
    border-radius: 50px;
    overflow: hidden;
    z-index: 4;
    position:relative;
}


.gallery img {
	width:100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hover_gallery {
	position:absolute;
	width:100%;
	height:100%;
	opacity: 0;
	transition: .5s ease;
	background-color:rgba(0,0,0,0.7);
	display:flex;
	justify-content:center;
}

.gallery_h {
	width:100%;
	height:100%;
	display:flex;
	justify-content:center;
	align-items:center;
	position: absolute;
}

.button_port {
	width:40%;
	height:15%;
	display:flex;
	justify-content:center;
	align-items:center;
	position: absolute;
	background-color:white;
    border-radius: 50px;
    border: solid #2c2c2c 10px;
	align-self:flex-end;
	top:60%;
}

.button_port p {
	text-align:center;
	font-size:1em;
    color:#2c2c2c;
}

.hover_gallery h3 {
	color:white;
	position:absolute;
	text-align:center;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	top: 40%;
	left: 50%;
}

.gallery_portfolio img:hover {
    background-color:black;
}

.gallery:hover .hover_gallery {
    opacity:1;
    transform: scale(1.2);
}

.gallery:hover {
    transform: scale(1.05);
}

/* fin portfolio */

/* contact */

#contact {
    width: 90%;
	background-color:white;
	padding-bottom:1%;
	padding-top:3%;
	z-index:2;
	scroll-snap-align: center;
    position: relative;
    display: flex;
    justify-content: center;
}

#sub_contact {
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
    align-items: center;
    width: 90%;
}

#contact h2 {
	font-size:2.5em;
	color:#2c2c2c;
	width:100%;
	display:flex;
	justify-content:center;
	padding-bottom:1rem;
    text-align: center;
}

#email {
    display: flex;
    justify-content: center;
}

#email a {
	padding:15px;
	margin:20px;
	width:100%;
}

#email a svg{
    width:225px;
    transition: all 0.3s ease;
}

#email a svg:hover path {
    fill: #83c6ed;
}

#email a svg:hover {
    transform: scale(1.3);
}

#reseaux_sociaux {
	display:flex;
	justify-content:center;
	width:100%;
    gap: 25px;
}

#reseaux_sociaux svg {
	width:40px;
}

#reseaux_sociaux svg:hover {
    transform: scale(1.5);
    transition: all 0.3s ease;
}

/* fin contact */

/* footer */

footer {
	background-color:#2c2c2c;
    width: 100%;
	padding:1%;
	z-index:2;
	position:relative;
    display: flex;
    justify-content: center;
}

#footer_container {
    width: 90%;
    display:flex;
	justify-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#right {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
	color:white;
	margin:0;
	font-size:1em;
	align-self:center;
	text-align:center;
}

/* fin footer */



/* RESPONSIVE DESKTOP

@media screen and (min-width: 1366px) {	
	.percentage {
    animation: progress 1500ms ease-in 1 ;
	
	}
	
	@keyframes progress {
    from {
		width: 0;
	}
	}
	

}
*/

@media screen and (max-width: 1365px) {



    .work_pages_onlyheader {
        height:100%;
    }

    .iframe_cover {
        padding-left: 0;
    }

    .work_cover img {
        width: 80%;
    }

    .banniere_pages {
        padding-left: 0;
        padding-top:15%;
        flex-direction: column;
        text-align: center;
    }

    .banniere_pages h1 {
        padding-top:4%;
    }

    .work_landing {
        padding-left: 0;
    }

    .work_header {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap:25px;
    }

    .work_description {
        margin-right: 0;
        width: 80%;
    }

    .work_full {
        width:100%;
    }

    .work_full img {
        width:100%;
    }

    #landing {
        width: 100%;
    }
    
    .filter-buttons {
        width:100%;
    }

    #portfolio {
        width:100%;
    }

    #sub_portfolio h2{
     width: 100%;
    }

    #contact {
        width: 100%;
    }

    #subcontact {
        width: 100%;
    }

    .navigation{
        width:100vw;
        height:10%;
        border-bottom: solid #2c2c2c 10px;
        border-right:none;
    }

    .navigation img {
        padding-top:0;
        padding-left:1%;
        position:relative;
        z-index: 9999;
    }

    .sub_navigation {
        width:100%;
        height:100%;
        display:flex;
        align-items: center;
        justify-content: space-between;
        flex-direction:row;
    }

    nav {
        align-items: flex-end;
    }

    .banniere {
        padding-top:10%;
        padding-bottom:0;
    }

    .banniere h1 {
        font-size:3em;
    }

    .banniere_pages h1 {
        font-size:3em;
    }

    #text_header {
        width:100%;
    }

    #me img {
        width:100%;
    }
}

@media screen and (max-width: 859px) {

    main {
        padding-top:10%;
    }

    .banniere_pages {
        padding-top:25%;
    }

    .banniere_pages h1 {
        padding-top:4%;
    }

    .banniere {
        flex-direction: column;
        flex-wrap: wrap;
        padding-top:20%;
        padding-bottom:0;
        text-align: center;
    }

    .work_description p {
        text-align: center;
    }

    #about {
        flex-wrap:wrap;
    }

    #me {
        display:flex;
        width:100%;
        justify-content: center;
        align-items: center;
    }

    #me img {
        width: 50%;
    }

    .banniere h1 {
        width:100%;
        font-size:2.9em;
        padding-top:3%;
    }

    .banniere_pages h1 {
        width:100%;
        font-size:2em;
    }

    .banniere h2 {
        padding-bottom:5%;
    }

    #text_header {
        position:relative;
        z-index:20;
    }

    #text_header p{
        font-size:1em;
        text-align: center;
    }
}

@media screen and (max-width: 520px) {
    .banniere {
        padding-left: 0;
        padding-top:30%;
    }

    #jobs ul {
        padding-left: 0;
    }

    #me img {
        padding-left: 0;
        width: 70%;
    }

    #jobs li {
        font-size:1rem;
    }

    .gallery_portfolio {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    footer {
        padding: 0;
    }

    .navigation img {
        width: 60px;
    }

    #portfolio {
        margin-top:0;
    }

    header {
        height:100%;
        padding-bottom:30%;
    }

}

/* RESPONSIVE BURGER */

.burgerseo {
	display:none;
}

.menu > a {
	margin: 0 1rem;
	overflow: hidden;
}

.menu-button-container {
	display: none;
	width:30%;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#menu-toggle {
	display: none;
}

.menu-button,   /* CROIX */
.menu-button::before,
.menu-button::after {
	display: block;
	background-color: #2c2c2c;
	position: absolute;
	height: 4px;
	width: 30px;
	transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 2px;
    z-index: 50;
}

.menu-button::before {
	content: '';
	margin-top: -8px;
}

.menu-button::after {
	content: '';
	margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-405deg);
}

@media screen and (min-width: 769px) and (max-width: 1365px) {


	nav {
		z-index:10;
	}
	
	.menu-button-container {
		display: flex;
		z-index:10;
	}
	
	.menu {
		position: absolute;
		top:0;
		padding:0;
		left: 0;
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: center;
	}
	
	#menu-toggle ~ .menu a {
		height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	#menu-toggle:checked ~ .menu a {
		box-shadow: rgba(0, 0, 0, 0.7) 0px 3px 8px;
		height: 2.5em;
		padding: 0.5em;
		transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}

    #menu-toggle:checked ~ .menu {
        border-bottom: solid #2c2c2c 10px;
    }
	
	.menu > a {
		display: flex;
		justify-content: center;
		margin: 0;
		padding: 0.5em 0;
		font-size:2em;
		width: 100%;
		color: white;
		background-color:white;
		opacity:0.98;
	}
}

@media screen and (min-width: 200px) and (max-width: 768px) {
	
	nav {
		z-index:10;
	}
	
	.menu-button-container {
		display: flex;
		z-index:10;
	}
	
	.menu {
		position: absolute;
		z-index:1;
		top: 0;
		padding-top:8em;
		padding:0;
		left: 0;
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: center;
	}
	
	#menu-toggle ~ .menu a {
		height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	
	#menu-toggle:checked ~ .menu a {
		box-shadow: rgba(0, 0, 0, 0.70) 0px 3px 8px;
		height: 2.5em;
		padding: 0.5em;
		transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	
	.menu > a {
		display: flex;
		justify-content: center;
		margin: 0;
		padding: 0.5em 0;
		font-size:3em;
		width: 100%;
        background-color:white;
		opacity:0.98;
	}
	
}