/* --- FONT ---- */
@font-face {
    font-family: "Wb";
    src: url("../font/fonnts.com-Aeonik_Bold.ttf") format('truetype');
}

@font-face {
    font-family: "Dx";
    src: url("../font/DxSitrus-ExpandedItalic.otf");
}

@font-face {
    font-family: "Ae";
    src: url("../font/fonnts.com-Aeonik_Regular.ttf") format('truetype');
}

@font-face {
    font-family: "Aeb";
    src: url("../font/fonnts.com-Aeonik_Bold.ttf") format('truetype');
}

/* --- BACKGROUND --- */
.grain {
    overflow-x: hidden;
    z-index: 1000;
}

p {
    cursor:default;
    pointer-events: initial;
}
  
.grain::after {
    content:"";
    position: fixed;
    width:200vw;
    height: 200vh;
    left: -50%;
    top: -50%;
    background-image: url('../img/grain.png');
    animation:grain 10s steps(6) infinite;
    z-index: 10;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes grain {
    0%,100% {transform: translate(0,0);}
    10% {transform: translate(-2%,-5%);}
    30% {transform: translate(3%,-5%);}
    50% {transform: translate(7%,3%);}
    70% {transform: translate(2%,4%);}
    90% {transform: translate(-1%,7%);}
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgb(26,26,26);
    background: radial-gradient(at center, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 80%);
    z-index: 101;
    pointer-events: none;
}

.blocks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /*mask-image: radial-gradient(circle, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 100%);
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0))); */
}

#blocks {
    background-color: #1A1A1A;
    width: 105vw;
    height: 105vh;
    display: flex;
    flex-wrap: wrap; 
    justify-content: flex-start;
    align-content: flex-start;
    overflow: hidden;
    z-index: 100;
}

.block {
    background-image: url("../img/portal.svg");
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    transition: filter 0.5 ease;
}

.highlight {
    filter: invert(43%) sepia(71%) saturate(3201%) hue-rotate(223deg) brightness(97%) contrast(93%);
    transition:  0.5 ease;
}


body {
    padding: 0 80px;
    color: #FFF3E7;
    font-family: 'Ae';
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #FFF3E7;
}

button {
    background-color:#FFF3E7;
    border: 1px solid rgba(255,243,231,0.5);
    color: #FFF3E7;
    padding: 9px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/*button:hover {
    background-color:#FFF3E7;
    color: black;
    transition: 0.3s ease;
}*/

button:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

button::before {
    content: '';
    background: #1A1A1A;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

button:hover::before {
    transform: translate3d(0, -100%, 0);
}

button span {
    position: relative;
    mix-blend-mode: difference;
}

nav {
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    transition: 1s ease;
}

.show {
    opacity: 1;
    transition: 1s ease;
    top: 40px;
}

nav * {
    width: 33%;
}

nav img {
    width: 28px;
    height: 32px;
    display: block;
}

i {
    font-family: 'Dx';
    text-transform: lowercase;
    color: #6C6AEE;
    text-shadow:0px 0px 4px #6C6AEE, 0px 0px 4px #6C6AEE;
}

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

.items a button {
    width: auto;
}

.items a {
    width: auto !important;
}

.items p {
    margin-right: 80px;
    width: fit-content;
    mix-blend-mode: difference;
}

h1 {
    font-family: 'Wb';
    font-size: 156px;
    text-transform: uppercase;
}

.header {
    padding: 0 110px;
    margin-top: 110px;
    position: relative;
    z-index: 102;
    pointer-events: none;
}

.second-line {
    margin-left: 310px;
}

.planet {
    position: absolute;
    top: 0px;
    animation: float 6s ease-in-out infinite;
}

.innover {
    display: flex;
}

.specialite {
    margin-left: 48px;
    display: flex;
}

.specialite p {
    margin: 0 24px 16px 0;
    opacity: 0.6;
}

.links-list {
    position: relative;
    z-index: 120;
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.links-list.last {
    margin-bottom: 80px;
}

.links-list div {
    display: flex;
    margin-right: 80px;
}

.links-list div:last-of-type {
    margin-right: 0;
}

.links-list a {
    display: flex;
    cursor: pointer;
    pointer-events: initial;
}

.links-list p {
    margin-right: 16px;
}

.links-list div p {
    pointer-events:fill;
}

.links-list img {
    width: 11px !important;
    height: 11px !important;
    border-radius: 0 !important;
}

hr {
    color: #FFF3E7;
    opacity: 0.4;
}

.star-decoration:before {
    content: "🟄";
    display: inline-block;
    position: absolute;
    margin: 0 0 0 -8px;
    font-size: 15px;
    line-height: 0;
}

.star-decoration:after {
    content: "🟄";
    display: inline-block;
    position: absolute;
    right: -8px;
    margin: 0 0 0 8px;
    font-size: 15px;
    line-height: 0;
}

.about {
    z-index: 110;
    margin:80px 0 120px 0;
    position: relative;
    pointer-events: none;
}

.me,
.skills,
.awards {
    margin: 120px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 64px;
    grid-row-gap: 0px; 
}

.me-descritpion {
    opacity: 0.8;
    line-height: 1.5;
}

.about i {
    text-transform: uppercase;
}

.about-category {
    display: flex;
}

.about-category img {
    filter: invert(43%) sepia(71%) saturate(3201%) hue-rotate(223deg) brightness(97%) contrast(93%);
    margin-right: 16px;
}

.portals {
    width: 15px;
    height: 15px;
}

.skill-list {
    display: block;
}

.skill-list * {
    margin-right: 8px;
}

.skill {
    font-family: 'Dx';
    font-size: 32px;
    margin-bottom: 24px;
    text-transform: lowercase !important;
}

.small-hr {
    width: 54px;
    height: 0.1px;
}

.awards p {
    text-transform:capitalize;
    margin-bottom: 24px;
}

.award {
    opacity: 1;
}

.award:after {
    content: "";
    position: relative;
    bottom: 0;
    left: 24px;
    right: 0px;
    height: 0.5px;
    border-top: 1px solid white;
    z-index: -1;
    width: 40px;
    display: inline-block;
}

.nomination div {
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.projects {
    z-index: 110;
    padding:120px 80px;
    position: relative;
    pointer-events: none;
}

.projects a {
    cursor: pointer;
    pointer-events: initial;
}

.projects img {
    height: 550px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.projet-hero {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.projet-hero img{
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    -o-transition: all .8s ease;
    transition: all .8s ease;
}

.projet-hero img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.project-small-big {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    margin-bottom: 54px;
}

.project h2 {
    transition: 0.3s ease;
}

.project:hover h2 {
    transition: 0.3s ease;
    color:#6C6AEE;
}

.project:hover .big-arrow {
    filter: invert(43%) sepia(71%) saturate(3201%) hue-rotate(223deg) brightness(97%) contrast(93%);
}


.project-big-small {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    margin-bottom: 54px;
}

.projet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,243,231,0.32);
}

img.big-arrow {
    border-radius: 0;
    width: 20px;
    height: 20px;
}

h2 {
    font-size: 32px;
    font-family: 'Aeb';
}

h3 {
    text-transform: capitalize;
    opacity: 0.5;
    font-size: 15px;
    margin-bottom: 8px;
}

footer {
    position:relative ;
    z-index: 120;
    padding: 114px;
    border:1px solid rgba(255,243,231,0.4);
    margin-top: 10px;
    pointer-events: none;
}

footer button {
    pointer-events: initial;
}

.travaillons {
    font-size: 76px;
    font-family: 'Aeb';
    text-transform: uppercase;
    margin-bottom: 24px;
}

.info-contact {
    text-transform: uppercase;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 24px;
}

.line-anim::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background:#FFF3E7;
    top: 160%;
    left: 0;
    pointer-events: none;
}

.line-anim:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}


.line-anim {
    white-space: nowrap;
    position: relative;
    width: fit-content;
}

.project-case {
    margin-top: 80px;
    position: relative;
    z-index: 130;
    pointer-events: none;
}

.project-case img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.project-info {
    margin: 100px 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.project-specialities {
    width: 45%;
}

.project-info h2 {
    font-family: 'Aeb';
    font-size: 80px;
}

.project-info h3 {
    font-family: 'Dx';
    color:#6C6AEE;
    font-size: 18px;
    text-shadow:0px 0px 4px #6C6AEE, 0px 0px 4px #6C6AEE;
    opacity: 1;
}

.project-info p {
    margin-bottom: 8px;
}


.project-info-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    line-height: 1.5;
}

.project-info-solo {
    width: 40%;
}

.project-info-solo button {
    pointer-events: initial;
    cursor: pointer;
    margin-top: 24px;
}

.project-img {
    position: relative;
    z-index: 120;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 80px;
}

.project-image {
    padding: 0 120px;
}

.project-complementary {
    position: relative;
    z-index: 130;
    margin-bottom: 80px;
    width: 80%;
    line-height: 1.5;
    font-size: 18px;
}

.project-nav {
    padding: 0 120px 100px 120px;
    position: relative;
    z-index: 130;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.project-next,
.project-prev {
    pointer-events: initial;
    cursor: pointer !important;
    width: 320px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,243,231,0.32);
}

.project-next h4,
.project-prev h4 {
    text-transform: capitalize;
    opacity: 0.5;
    font-size: 15px;
    margin-bottom: 8px;
}

.project-next h3,
.project-prev h3 {
    font-size: 32px;
    font-family: 'Aeb';
    opacity: 1;
    padding-bottom: 8px;
    transition: 0.3s ease;
}

.project-next:hover h3, 
.project-prev:hover h3{
    transition: 0.3s ease;
    color:#6C6AEE;
}

.project-next:hover img, 
.project-prev:hover img{
    filter: invert(43%) sepia(71%) saturate(3201%) hue-rotate(223deg) brightness(97%) contrast(93%);
}

video {
    position: relative;
    z-index: 130;
    margin-bottom: 100px;
}

.cover-projet {
    width: 100%;
    height: 80vh !important;
    display: block;
    object-fit: cover;
}

.more-project {
    display: flex;
    justify-content: center;
}

/* ---- FLOAT ---- */
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}