* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

iframe {
  max-width: 100%;
}

html,
body,
main {
    height: 100%;
}

ul {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #F1EDEA;
}

main {
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========= */

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #FFFBF8;
    border-bottom: 1px solid #000000;
    padding: 0.7rem 8vw;
    overflow-x: scroll;
}

.navbar, .navbar-list {
    gap: 2vw;
    font-family: 'Aubercf';
}

.navbar {
    display: flex;
    flex-direction: row;
}

.navbar nav {
    display: flex;
    flex-direction: row;
}

.navbar-logo {
    width: 3.4rem;
    display: grid;
    align-items: center;
}

.navbar-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.2rem;
}

.navbar-list li:hover {
    animation: nav-button-hover-in 0.2s forwards;
    -webkit-animation: nav-button-hover-in 0.2s forwards;
}

.navbar-list li {
    padding: 2px 17px;
    border-radius: 14px;
    border: 2px solid transparent;
    background-color: #FFFBF8;
    animation: nav-button-hover-out 0.1s forwards;
    -webkit-animation: nav-button-hover-out 0.1s forwards;
}

.socials {
    display: flex;
    flex-direction: row;
    height: auto;
}

.socials-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1vw;
}

.socials-list li {
    width: 1.5rem;
}



/* ========= */

.info-section {
    font-family: 'Alata';
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background-color: #F1EDEA;
    padding: 2.5vw;
    box-sizing: border-box;
}

.info {
    background-color: #FFFBF8;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    width: 100%;
    /*! gap: 2vh; */
    min-height: 520px;
}

.info-title {
    width: 23vw;
    min-width: 37vh;
    margin: 10px;
}

.info-container {
    overflow: hidden;
    border-radius: 19px;
    border: solid black 3px;
    display: flex;
    min-width: 13rem;
    width: 62vw;
}

.info-picture {
    width: 136%;
    background-color: #F6D33E;
    overflow: hidden;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 5%;
}

.info-picture img {
    position: relative;
    top: 4px;
}

.info-description {
    width: auto;
    background-color: #FFFFFF;
    padding: 4% 3vw;
    /*! gap: 7rem; */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.info-description h2 {
    font-size: 2.5rem;
}

.info-description p {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow: hidden;
    display: flex;
}

.info-picto {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    height: 37px;
    gap: 16px;
    padding-right: 1vw;
}

/* SKILL ========================== */

.section {
    padding: 3rem 4vw;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-skill {
    color: #FFFFFF;
    background-color: #000000;
}

.section-creation {
    background-color: #EFEDE6;
    color: #000000;
    background-image:
        repeating-linear-gradient(to right,
            #212120 0,
            #212120 1.5px,
            /*Dégradé de blanc vers blanc, allant de 0px à 1px */
            transparent 1.5px,
            transparent 100px
            /*Dégradé de transparent vers transparent, allant de 1px à 100px */
        ),
        repeating-linear-gradient(to bottom,
            #212120,
            #212120 1px,
            transparent 1px,
            transparent 100px);

    min-width: 100%;
    background-position: 37px 210px;
}

.section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 2rem;
    font-family: 'Aubercf';
}

.creation-date {
    display: flex;
    flex-direction: row-reverse;
    margin: 10px 0px;
    padding: 4px 12px 0px;
    color: #4F4F4F;
}

.skill-container {
    border: 5px solid white;
    border-radius: 60px;
    display: flex;
    flex-direction: row;
    padding: 3vw;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.skill-box {
    color: white;
    border: 5px solid white;
    border-radius: 15%;
    display: flex;
    flex-direction: column;
    width: 30rem;
    height: auto;
    padding: 35px;
    justify-content: space-evenly;
    aspect-ratio: 1;
    font-family: 'Alata';
    gap: 18px;
}

.skill-box-details {
  font-size: 1.3rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.skill-box-details ul {
  list-style: disc;
  padding-left: 35px;
}

.skill-box-icons {
    display: flex;
    flex-direction: row;
    gap: 0.6vw;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.skill-box-title {
    font-size: 230%;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid white;
    padding-bottom: 11px;
}

.skill-icons {
    background-color: #FFFFFF;
    border: 3px solid black;
    border-radius: 22%;
    padding: 7px;
    display: flex;
    align-items: center;
    aspect-ratio: 1;
    height: auto;
    width: 17%;
}

.skill-icons img {
    height: 100%;
    width: 100%;
    aspect-ratio: 1;
}

.skill-box-title img {
    height: 18px;
}

.skill-box:hover {
    animation: skill-box-hover_in 0.2s forwards;
    -webkit-animation: skill-box-hover_in 0.2s forwards;
}

.filter-button {
    display: flex;
    width: 258px;
    height: 47px;
    margin: 5px 14px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 25px;
    border: 2px solid black;
    font-size: 1.1rem;
    font-family: Alata;
    background-color: #FFFFFF;
    min-width: 258px;
}

.filter-button img {
    aspect-ratio: 1;
    display: flex;
    width: 100%;
    height: 100%;
}

.creation-filter {
    display: flex;
    flex-direction: row;
    margin-right: -4vw;
    filter: drop-shadow(0px 0px 10px #00000030);
}

.filter-button .button-title {
    flex-grow: 1;
    display: flex;
    margin-left: 1rem;
}

.filter-button .button-icon {
    width: 58px;
    border-right: 2px solid black;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creation {
    background: #FFFFFF;
    border-radius: 5px;
    border: 2px solid black;
    max-width: 100%;
    width: 18%;
    min-width: 18rem;
    cursor: pointer;
    /*! display: flex; */
    margin: 15px 0px;
}

.creation a {
  display: flex;
  flex-direction: column;
}

.creation-img {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 52%;
    /*! flex-grow: 1; */
}

.creation-text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    max-width: 40rem;
    padding: 0rem 2rem 2rem;
    gap: 1rem;
}

.creation-container {
    font-family: Alata;
    filter: drop-shadow(0px 0px 11px #000);
    column-count: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.creation-text .title {
    font-size: 1.5rem;
}

.creation-filter input {
    display: none;
}

.creation-filter label:hover {
    animation: filter-button-hover-in 0.2s forwards;
    -webkit-animation: filter-button-hover-in 0.2s forwards;
}

.creation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creation-categories:last-child {
    padding-right: 4vw;
}

.creation-categories::-webkit-scrollbar {
    display: none;
}

.creation-categories {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    padding: 5px 0px;
}

.creation-sort {
    border-right: 4px solid black;
    padding: 5px 0px;
}

select {
    background-image: url(src/categories/filter.svg);
    background-repeat: no-repeat;
    background-size: 33px;
    background-position: 18px center;
    padding: 0px 0px 0px 4em;
}

.creation:hover {
    animation: filter-button-hover-in 0.2s forwards;
    -webkit-animation: filter-button-hover-in 0.2s forwards;
}


.creation-detail {
    padding: 2vw;
}

.creation-detail-container {
    border-radius: 50px;
    background-color: #F1EDEA;
    padding: 3vw;
    border: 2px solid black;
    filter: drop-shadow(0px 0px 11px #0000008a);
}

.creation-detail-title {
    display: flex;
    justify-content: center;
    color: #000;
    font-family: Alata;
    font-size: 5vh;
    /*! padding-bottom: 20px; */
    border-bottom: 4px solid #000;
    padding: 0px 25px 3vw 25px;
}

.creation-detail-box {
    margin: 27px 0px;
    display: flex;
    gap: 23px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.main-picture {
    display: flex;
    width: 40%;
    border: 2px solid #000;
    border-radius: 7px;
    height: 100%;
    flex: 1 1 100px;
    min-width: 270px;
    max-width: 400px;
}

.detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 600px;
}

.detail-text {
    padding: 15px 25px;
    font-family: Alata;
    margin: 0px 0px 23px;
    background-color: #FFF;
    border-radius: 19px;
    border: 2px solid #000;
}


.detail-text a {
  text-decoration: underline;
  color: #1285ff;
}

.detail-text ul {
  list-style: inherit;
  margin: 10px 19px;
}

.image-gallery {
    column-count: auto;
    column-width: 320px;
}

.image {
    display: inline-flex;
    background-color: #FFF;
    border: 2px solid black;
    margin-bottom: 10px;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 2px #000);
}

.image p {
    font-family: Alata;
    display: flex;
    align-items: center;
    margin: 10px;
}

.main-picture img {
    border-radius: 5px;
}

.creation-categories .filter-button {
    cursor: pointer;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 38px;
}

.creation-detail-box img {
    height: auto;
    width: 100%;
    border-right: 1.3px solid #bfbfbf;
}

.container {
    display: flex;
    flex-direction: column;
    background-color: #fffbf8;
    padding: 2vw 16vw;
    align-items: center;
    font-family: Alata;
}

.info_contact {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin: 12px;
    font-size: 1.4rem;
}

.form_contact {
    width: 100%;
}

.form-contact {
    display: flex;
    justify-content: space-between;
}

.section-contact .form-control {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 10px;
    width: 100%;
}

.form-contact-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    flex-direction: column;
    background-color: #fffbf8;
    padding: 2vw 16vw;
    align-items: center;
    font-family: Alata;
}

.info_contact {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin: 12px;
    font-size: 1.4rem;
}

.form_contact {
    width: 100%;
}

.form-contact-submit button:hover {
    animation: nav-button-hover-in 0.2s forwards;
    -webkit-animation: nav-button-hover-in 0.2s forwards;
}

.form_button {
    padding: 8px 32px;
    border-radius: 14px;
    font-size: 1.2rem;
    border: 2px solid black;
    background-color: #FFFFFF;
    font-family: Alata;
}

.section-contact input,
textarea {
    padding: 16px 10px;
    border: 2px solid black;
    border-radius: 11px;
}

.section-contact input:focus {
    animation: nav-button-hover-in 0.2s forwards;
    -webkit-animation: nav-button-hover-in 0.2s forwards;
}

.section-contact textarea:focus {
    animation: nav-button-hover-in 0.2s forwards;
    -webkit-animation: nav-button-hover-in 0.2s forwards;
}

/* NAVBAR BUTTON ANIM */

@keyframes nav-button-hover-in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #000000);
        border: 2px transparent black;
    }

    100% {
        transform: translate(6px, -6px);
        filter: drop-shadow(-6px 6px #000000);
        border: 2px solid black;
    }
}

@-webkit-keyframes nav-button-hover-in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #000000);
        border: 2px transparent black;
    }

    100% {
        transform: translate(6px, -6px);
        filter: drop-shadow(-6px 6px #000000);
        border: 2px solid black;
    }
}

@keyframes nav-button-hover-out {
    0% {
        transform: translate(6px, -6px);
        filter: drop-shadow(-6px 6px #000000);
        border: 2px solid black;
    }

    100% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #000000);
        border: 2px transparent white;
    }
}

@-webkit-keyframes nav-button-hover-out {
    0% {
        transform: translate(6px, -6px);
        filter: drop-shadow(-6px 6px #000000);
        border: 2px solid black;
    }

    100% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #000000);
        border: 2px transparent white;
    }
}

/* FILTER BUTTON ANIM */

@keyframes filter-button-hover-in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #00000000);
    }

    100% {
        transform: translate(7px, -7px);
        filter: drop-shadow(-7px 7px #000000);
    }
}

@-webkit-keyframes filter-button-hover-in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #00000000);
    }

    100% {
        transform: translate(7px, -7px);
        filter: drop-shadow(-7px 7px #000000);
    }
}

/* SKILL BOX ANIM */

@keyframes skill-box-hover_in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #ececec00);
    }

    100% {
        transform: translate(10px, -10px);
        filter: drop-shadow(-10px 10px #ececec);
    }
}

@-webkit-keyframes skill-box-hover_in {
    0% {
        transform: translate(0px, 0px);
        filter: drop-shadow(0px, 0px #ececec00);
    }

    100% {
        transform: translate(10px, -10px);
        filter: drop-shadow(-10px 10px #ececec);
    }
}