@font-face {
    font-family: "Tiph";
    src: url("../font/tiph.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Europa-bold";
    src: url("../font/europa-bold-webfont.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: #4B00B7 !important;
    overflow-x: hidden !important;
}

.europaBold {
    font-family: "Europa-bold", sans-serif;
}

.tiph {
    font-family: "Tiph", sans-serif;
}

.tête {
    font-weight: 550;
}

#devise {
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

#devise p {
    color: #FF9FD6;
    font-size: 96px;
}

footer {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    overflow: hidden;
    gap: 25px;
    padding: 20px 120px;
}

footer .row {
    display: flex;
    align-items: center !important;
    gap: 20px;
}

footer p {
    color: white;
    font-size: 24px;
}

.paragraphe-footer {
    display: flex;
    gap: 25px;
}

footer hr {
    width: 5px !important;
    background-color: white !important;
    border: none !important;
    border-radius: 7px !important;
}

.logo {
    width: 150px !important;
    height: 150px !important;
}

#contact {
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
    gap: 100px;
}

#contact a {
    text-decoration: none;
}

.contact-text {
    transform: translateY(-100%) translateX(2%);
}

.avion {
    width: 100px;
    height: 100px;
    position: absolute;
    right: 50%;
    bottom: 50%;
}

#contact p {
    color: white;
}

.contact-header {
    position: relative;
}

.contact-header p {
    font-size: 61px;
}

.contact-link {
    display: flex;
    gap: 70px;
}

.contact-link div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 39px;
}

.contact-link div p {
    font-size: 27px;
}

.contact-link div img {
    height: 48px;
    width: auto;
}

#contact p span {
    color: #FF9FD6;
}

#contact h1 {
    color: #FF9FD6;
    opacity: 0;
    font-size: 192px;
}

#main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

header {
    background-color: #4B00B7;
    display: flex;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    height: 61px;
    box-shadow: 21px -25px 16.8px 25px #3E0097;
    padding: 0 48px;
}

header p, #loading p {
    display: flex;
    align-items: center;
    color: #FF9FD6;
    font-size: 40px;
}

header p svg, #loading p svg {
    margin-right: 8px;
}

header p svg {
    height: 40px;
    width: auto;
}

header .header-link {
    display: flex;
    gap: 113px;
}

header .header-link a {
    text-decoration: none;
    color: white;
    font-size: 24px;
}

.hidden {
    display: none;
}

#loading .anim-bandeau {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
}

#loading .anim-bandeau div {
    font-weight: bolder;
}

#loading #bandeau {
    display: flex;
    width: 100%;
    border-top: white solid 6px;
    border-bottom: white solid 6px;
    overflow-x: hidden;
}

#loading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 45px 25px;
    height: 100vh;
}

#loading #bandeau div {
    color: white;
    font-size: 73.74px;
}

#loading .tiph {
    display: flex;
    justify-content: center;
    margin: auto;
    height: 94px;
    overflow: hidden;
}

.haut, .bas {
    display: flex;
    flex-direction: column;
}

footer .tiph {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    height: 94px;
}

.i, .h {
    transform: translateY(-300%);
}

.p {
    transform: translateY(0);
}

.t {
    transform: translateY(0);
}

.haut img {
    height: 94px;
}

.bas img {
    height: 94px;
}

#loading .tiph svg {
    height: 94px;
    width: auto;
}

#loading p:last-child {
    font-size: 26.75px;
    color: white;
    margin: auto;
}

#tiph-animate {
    cursor: pointer;
    margin: auto;
    animation: tiph-animate alternate-reverse infinite 1500ms ease-in-out;
}

button {
    background-color: transparent;
    border: none;
}

#transition {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(-100%);
    height: 100vh;
    background-color: #4B00B7;
}

.wavy {
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
    width: 55%;
}

#about {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    background-color: white;
}

.Big_flower_right {
    position: absolute;
    top: 0;
    right: 0;
    height: 40%;
    width: auto;
}

.Big_flower_left {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40%;
    width: auto;
}

#project-body h1 {
    color: white;
    text-align: center;
}

#project-body hr {
    border: none;
    border-radius: 10px;
    background-color: white;
}

.hr-project {
    width: 131px;
    margin: auto;
    height: 6px;
    margin-top: 50px;
    margin-bottom: 93px;
}

.filter-project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 137px;
}

.filter-project a {
    color: white;
    font-size: 32px !important;
    text-decoration: none;
}

.filter-project hr {
    height: 6px;
    width: 40px;
    rotate: 90deg;
}

.cursor-pointer {
    cursor: pointer;
}

#project-body main {
    display: grid;
    padding: 80px 120px;
    margin-top: 135px;
}

#about {
    padding: 135px 120px 0 120px;
}

#about .tiph-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: clamp(2rem, 0.6702rem + 4.2553vw, 4.5rem);
    color: #4B00B7;
    gap: 48px;
}

#about .tiph-center div {
    position: relative;
    left: 16%;
    display: flex;
    align-items: flex-end;
    z-index: 998;
}

#about .tiph-center div img {
    position: absolute;
    z-index: 0;
    width: auto;
    height: 160%;
    left: -1.2em;
    bottom: -0.2em;
}

#about .tiph-center .tiph p {
    white-space: nowrap;
}

#about .tiph-center p {
    position: relative;
    z-index: 999;
    text-align: center;
    max-width: 588px;
    font-weight: 600;
}

#about .tiph-center p span {
    color: #FF9FD6;
}

.row {
    display: flex;
    height: fit-content;
}

.row .fleche {
    position: relative;
    left: 5em;
    top: 100px;
}

.tiph-center .tiph p {
    opacity: 0;
}

.PhotoTiph {
    transform: translateX(100%);
}

.font-size-36 {
    font-size: 36px;
}

.font-size-32 {
    font-size: 32px;
}

.PhotoTiph {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 998;
    object-fit: cover;
    width: auto;
    height: 80%;
}

#effect {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    text-align: center;
}

.effet-chelou {
    position: relative;
    min-height: 100vh;
}

#paragraphe {
    position: relative;
    z-index: 800;
    overflow: hidden;
    font-weight: 600;
}

.div {
    position: absolute;
    width: 242px;
    height: 242px;
    background: linear-gradient(
        90deg,
        rgba(255, 159, 214, 0) 0%,
        rgba(255, 167, 219, 0.10) 35%,
        rgba(255, 179, 225, 0.15) 65%,
        rgba(255, 149, 210, 0.20) 100%
        );
    filter: blur(120px);
}

#blur {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 0;
    height: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    backdrop-filter: blur(50px);
}

#login {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f3ecff;
    border-radius: 15px;
    height: 80vh;
    width: 90%;
    max-width: 600px;
    padding: 50px;
    gap: 25px;
    box-shadow: 10px 10px 0 0 #f3ecff7a;
}

form h1 {
    text-align: center;
}

form div {
    display: flex;
    flex-direction: column;
}

form label {
    font-size: 24px;
}

form input {
    padding: 7px 10px;
    border-radius: 7px;
    outline: none;
    border: none;
}

form input:focus {
    border: 3px solid #4B00B7;
}

#effect p {
    color: white;
    font-size: 48px;
    max-width: 1000px;
    transform: translateY(100%);
}

#effect p span {
    color: #FF9FD6;
}

#filter-base {
    transform: translateY(0);
}

#contact {
    min-height: 100vh;
}

#project {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url("../img/DEBUT.png");
    background-size: cover;
    background-position: center;
    padding: 0 66px;
    overflow: hidden;
}

#project .project-article {
    display: flex;
    justify-content: space-between;
    z-index: 999;
    height: 100vh;
    width: 100%;
}

.siu article {
    height: 100vh;
}

.absolute {
    position: relative;
}

.absolute {
    width: 100%;
    height: 100vh;
}

.absolute .img-project img {
    width: auto;
    height: 40%;
    min-width: 100px;
}

.absolute .img-project {
    display: flex;
    justify-content: flex-end;
    gap: 75px;
}

.absolute .img-project div {
    display: flex;
    gap: 75px;
}

.project-article .btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.btn {
    color: #4B00B7;
    text-decoration: none;
    background-color: white;
    padding: 10px;
    border-radius: 70px;
    font-size: 26.75px;
}

.btn:hover {
    background-color: #D5B7FF;
}

.fonce {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    z-index: 2;
}

.blur {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
}

.filter {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 55px;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.filter p {
    font-size: 64px !important;
    letter-spacing: -3%;
    line-height: auto;
    color: white;
    opacity: 0.3;
    cursor: pointer;
}

.filter p:hover {
    opacity: 1;
}

.rotate-negative-974 {
    transform: rotate(-9.74deg);
}

.rotate-1202 {
    transform: rotate(12.02deg);
}

.rotate-567 {
    transform: rotate(5.67deg);
}

.active {
    animation: 1.4s anim-active forwards;
    animation-timing-function: cubic-bezier(0.89, 0, 0.09, 1.13);
}

.img-project div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.img-project {
    z-index: 985;
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 100%;
}

.grid-project {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    gap: 130px;
}

.grid-project .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 446px;
    max-height: 446px;
    width: auto;
    max-width: 350px;
}

.grid-project .card img {
    width: 100%;
    height: 100%;
}

.card-group {
    height: 100%;
    width: 100%;
}

.grid-project .super {
    background-color: white;
    padding: 7.7px 15.4px;
    font-size: 32px;
    color: #4B00B7;
    text-align: center;
    white-space: nowrap;
}

.grid-project .card-group {
    position: relative;
}

.add {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 0.25s ease-in;
    color: white;
}

.grid-project .card:hover .add {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.41);
    transition: 0.25s ease-in;
}

.add-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    clip-path: circle(50% at 50% 50%);
    border-radius: 100%;
    transition: 0.25s ease-in;
}

.add-svg:hover {
    opacity: 0.7;
    transition: 0.25s ease-in;
}

.update, .delete {
    display: flex;
    justify-content: center;
    margin: auto;
}

.delete-form {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: center;
    height: fit-content;
}

.filter-project a {
    transition: 1.278s;
}

.filter-project a:hover {
    color: #FF9FD6 !important;
    transition: 1.278s;
}

.detail-project {
    display: flex;
    flex-direction: column;
    gap: 105px;
}

.div-cat-sorted {
    display: flex;
    gap: 112px;
}

.div-cat-sorted div {
    display: flex;
    flex-direction: column;
    gap: 65px;
}

.div-cat-sorted p {
    color: white;
    font-size: 24px;
    max-width: 614px;
}

.div-cat-sorted .btn {
    width: fit-content;
}

.detail-project {
    text-transform: uppercase;
}

.active-project-link {
    color: #FF9FD6 !important;
}

@keyframes tiph-animate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(29deg);
    }
}

@keyframes anim-active {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@keyframes avion {
    0% {
        transform: rotate(0deg) translateX(0) translateY(0);
    }

    20% {
        transform: rotate(5deg) translateX(200px) translateY(-50px);
    }

    40% {
        transform: rotate(10deg) translateX(400px) translateY(-100px);
    }

    60% {
        transform: rotate(15deg) translateX(600px) translateY(-140px);
    }

    80% {
        transform: rotate(20deg) translateX(800px) translateY(-170px);
    }

    90% {
        transform: rotate(25deg) translateX(1000px) translateY(-200px);
    }
    
    100% {
        transform: rotate(25deg) translateX(1200px) translateY(-200px);
    }
}