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

*:before,
*:after {
    box-sizing: border-box
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 768px) {
    header nav ul li a {
        font-size: 1.2rem
    }

    body h1,
    body h2,
    body h3,
    body h4 {
        font-size: 32px
    }

    body p,
    body ul,
    body label,
    body input {
        font-size: 18px
    }

    .text-div,
    .text-container,
    .form-contact {
        padding: 20px
    }

    .text-container {
        margin: 50px;
        border-width: 50px
    }

    .mosaic-layout img {
        max-width: 48px;
        height: auto;
        max-height: 300px;
        object-fit: cover
    }

    .mosaic-layout header nav ul li.logo img,
    .mosaic-layout .text-div section img {
        max-width: 80%;
        max-height: 200px
    }
}

.dev-div img {
    max-width: 100%;
    height: auto
}

.back-to-top {
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    padding: 10px 20px
}

header {
    background-color: #00000098;
    font-size: 50px;
    position: fixed;
    top: 0;
    width: 100%;
    border: 2px solid transparent;
    z-index: 100
}

header nav ul {
    display: flex;
    align-items: center
}

header nav ul li {
    margin: 20px;
    padding: 10px;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 15px;
    transform: scale(1);
    transition: 2s cubic-bezier(.075, .82, .165, 1)
}

header nav ul li:hover {
    border-color: #8a2be2;
    transform: scale(1.1)
}

header nav ul li.logo {
    background: transparent
}

header nav ul li.logo img {
    height: 120px
}

header nav ul li.logo:hover {
    border-color: transparent
}

header nav ul li a {
    color: bisque;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 10px
}

header nav ul li::marker {
    content: ""
}

header nav ul li.logo img {
    height: 60px
}

body {
    background: #020024;
    background: linear-gradient(90deg, #020024, #3a3a3b);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    color: bisque;
    scroll-behavior: auto
}

body h1,
body h2,
body h3,
body h4 {
    padding: 30px;
    font: small-caps 700 48px/1 sans-serif
}

body p,
body ul,
body label,
body input {
    padding: 10px;
    font: small-caps 24px/1 sans-serif;
    justify-content: center;
    align-items: center
}

.text-div {
    display: flex;
    flex-direction: column;
    font-size: 40px
}

.text-div section {
    text-align: center
}

.text-div section img {
    transform: scale(1);
    transition: 2s cubic-bezier(.075, .82, .165, 1)
}

.text-divsection img:hover {
    transform: scale(1.2)
}

.text-div section ul li::marker {
    content: ""
}

.text-container {
    background-color: #89888729;
    padding: 40px;
    margin: 100px;
    border: 70px;
    text-align:center;
    border: 2px solid transparent;
    border-radius: 15px
}

.text-container img, .about-me img{
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover
}
.text-container iframe {
    border: 2px solid transparent;
    border-radius: 15px
}

.text-div section img,
.mosaic-layout img,
#merlin img {
    animation: fadeIn 2s ease-in-out
}

.dev-div img {
    animation: fadeIn 1.5s ease-in-out
}

#image-dev {
    margin-top: 200px
}

.js-div {
    width: 800px;
    border: 2px solid transparent;
    border-radius: 15px;
    transform: scale(1);
    transition: 3s cubic-bezier(.075, .82, .165, 1)
}

.js-div:hover {
    transform: scale(1.05)
}

.mosaic-layout {
    gap: 15px;
    padding: 50px
}

.mosaic-layout>* {
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.075, .82, .165, 1)
}

.mosaic-layout>*:hover {
    transform: scale(1.05)
}

.mosaic-layout>*:nth-child(0) {
    grid-column: 2
}

.mosaic-layout img {
    padding: 30px;
    object-fit: cover
}

.dev-div {
    width: 200px;
    border: 2px solid transparent;
    border-radius: 15px;
    transform: scale(1);
    transition: 3s cubic-bezier(.075, .82, .165, 1)
}

.dev-div:hover {
    transform: scale(1.1)
}

.video-container {
    padding: 30px !important;
    margin: 0 !important
}

footer {
    background-color: #00000051;
    font-size: 50px;
    width: 100%;
    border: 2px solid transparent;
    border-radius: 15px
}

footer ul {
    display: flex;
    align-items: center
}

footer ul li {
    margin: 20px;
    padding: 10px;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 15px;
    transform: scale(1);
    transition: 2s cubic-bezier(.075, .82, .165, 1)
}

footer ul li:hover {
    border-color: #8a2be2;
    transform: scale(1.1)
}

footer ul li.logo {
    background: transparent
}

footer ul li.logo img {
    height: 120px
}

footer ul li.logo:hover {
    border-color: transparent
}

footer ul li a {
    color: bisque;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 10px
}

footer ul li::marker {
    content: ""
}

.back-to-top {
    scroll-behavior: smooth
}

#Copyright {
    color: bisque;
    padding: 20px;
    text-align: center;
    font-size: 1rem
}

.about-me {
    padding: 300px
}

#merlin {
    margin: 100px
}

#merlin img {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.contact {
    padding-top: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.form-contact {
    justify-content: center;
    padding: 60px
}

.form-contact label,
.form-contact input,
.form-contact textarea {
    padding: 20px;
    margin: 20px
}

.form-contact input,
.form-contact textarea {
    border: 2px solid transparent;
    border-radius: 15px
}

.legal-mentions {
    box-sizing: content-box;
    padding: 300px;
    max-width: 800px;
    margin: auto;
    font-family: Arial, sans-serif
}

.legal-mentions li {
    padding: 10px
}

.legal-mentions li::marker {
    content: ""
}

.legal-mentions h1,
.legal-mentions h2 {
    color: #333
}

.legal-mentions,
p {
    margin: .5rem 0
}

.legal-mentions a {
    color: #007acc;
    text-decoration: none
}

.legal-mentions a:hover {
    text-decoration: underline
}

.resume-header {
    padding-top: 100px
}

.resume-section {
    margin: 20px 0
}

.section-title {
    display: flex;
    font: small-caps 700 60px/1 sans-serif;
    font-size: 1.5em;
    border-bottom: 2px solid bisque;
    margin-top: 30px;
    margin-bottom: 20px;
    justify-content: center
}

.section-content ul {
    list-style-type: none;
    margin-left: 30px;
    margin-right: 30px
}

.section-content ul li {
    padding: 10px;
    margin: 10px 0;
    background-color: #0000004d;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: 2s cubic-bezier(.075, .82, .165, 1)
}

.section-content ul li:hover {
    border-color: #8a2be2;
    transform: scale(1.05)
}

.contact-info,
.languages,
.skills,
.interests {
    margin-bottom: 20px
}

.contact-info p,
.languages p,
.skills p,
.interests p {
    margin: 5px 0
}

#Accueil {
    margin-top: 100px
}