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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #E5E5E5;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 80px;
    margin: 0;
    padding: 0 clamp(1rem, 4vw, 3.125rem);
    border-bottom: solid white 2px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.05s linear;
}

#menu ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 4vw, 3.125rem);
    padding: 0;
    margin: 0;
    margin-right: clamp(0rem, 5vw, 6.25rem);
    list-style: none;
}

#menu ul li {
    margin: 0;
    padding: 0;
}

#menu ul li a {
    text-decoration: none;
    white-space: nowrap;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
}

.txtmenu {
    color: white;
    transition: color 0.05s linear;
}

#menu ul li a:hover {
    text-decoration: underline;
}

.homeimg {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.homeimg img {
    display: block;
    width: auto;
    height: 50px;
}

main {
    position: relative;
}

#video {
    position: relative;
    width: 100%;
    height: clamp(550px, 75vh, 750px);
    overflow: hidden;
}

#video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nom {
    position: absolute;
    top: 15%;
    left: clamp(1rem, 5vw, 5%);
    z-index: 2;
    width: min(90%, 1100px);
}

.nom h1 {
    margin: 0 0 10px;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    color: white;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    text-shadow: #00000068 2px 5px 7px;
    overflow-wrap: break-word;
}

.nom p {
    margin: 0;
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    line-height: 1.4;
    color: white;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    text-shadow: #00000068 2px 5px 7px;
    overflow-wrap: break-word;
}

main .portfolio {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) 1rem;
}

main .portfolio button {
    max-width: 100%;
    border: solid #009a1e;
    padding: 10px clamp(2rem, 6vw, 3.125rem);
    background-color: transparent;
    transition: all 0.2s ease;
}

main .portfolio button:hover {
    background-color: #009a1e;
}

main .portfolio button:hover a {
    color: white;
}

main .portfolio button a {
    display: block;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    text-decoration: none;
    color: #009a1e;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
}

.bio {
    background-color: #0C0C0C;
    padding-bottom: clamp(4rem, 10vw, 9.375rem);
}

.bio .ilm {
    padding-top: clamp(2.5rem, 6vw, 3.125rem);
    padding-left: clamp(1rem, 5vw, 3.125rem);
    padding-right: clamp(1rem, 5vw, 3.125rem);
    margin-bottom: clamp(3rem, 8vw, 6.25rem);
}

.bio .ilm h2 {
    margin: 0;
    padding: 0;
    color: #009a1e;
    opacity: 0.2;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
}

.bio .ilm p {
    margin: 0;
    padding: 0;
    color: #009a1e;
    opacity: 0.2;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
}

.bio .presentation {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding-left: clamp(1rem, 5vw, 3.125rem);
    padding-right: clamp(1rem, 5vw, 3.125rem);
}

.bio .presentation .txtpres {
    width: min(40%, 650px);
    flex: 1 1 400px;
    min-width: 0;
}

.bio .presentation .txtpres p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    color: white;
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    overflow-wrap: break-word;
}

.bio .presentation .txtpres a {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: white;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: break-word;
}

.bio .presentation .txtpres a:hover {
    text-decoration: underline;
}

.bio .presentation .imgpres {
    width: min(100%, 400px);
    flex: 0 1 400px;
}

.bio .presentation .imgpres img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50px;
}

footer {
    min-height: 100px;
    background-color: #E5E5E5;
    padding: 20px clamp(1rem, 5vw, 3.125rem);
}

footer .listefooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
}

footer .listefooter > li {
    flex: 1 1 0;
    min-width: 0;
}

.contact,
.reseaux {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact li {
    overflow-wrap: anywhere;
}

.reseaux li {
    width: auto;
    margin-top: 5px;
}

.imgreseaux {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.imgreseaux li {
    margin: 0;
}

.imgreseaux li img {
    display: block;
    width: 30px;
    height: auto;
}

@media (max-width: 768px) {
    #menu {
        min-height: 70px;
    }

    #menu ul {
        gap: clamp(0.75rem, 3vw, 1.5rem);
        margin-right: 0;
    }

    .homeimg img {
        height: 42px;
    }

    #video {
        height: clamp(420px, 60vh, 550px);
    }

    .nom {
        top: 20%;
    }

    .bio .presentation {
        flex-direction: column;
        align-items: center;
    }

    .bio .presentation .txtpres {
        width: 100%;
        max-width: 650px;
        flex-basis: auto;
    }

    .bio .presentation .imgpres {
        width: min(100%, 400px);
        flex-basis: auto;
    }

    footer .listefooter {
        flex-wrap: wrap;
    }

    footer .listefooter > li {
        flex: 1 1 40%;
    }
}

@media (max-width: 480px) {
    #menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .homeimg {
        width: 100%;
        justify-content: center;
    }

    .homeimg img {
        height: 40px;
    }

    #menu ul {
        width: 100%;
        justify-content: center;
        gap: clamp(0.75rem, 5vw, 1.25rem);
        padding-bottom: 0.25rem;
    }

    #menu ul li a {
        font-size: 0.875rem;
    }

    #video {
        height: clamp(380px, 55vh, 480px);
    }

    .nom {
        top: 150px;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
    }

    .nom h1 {
        font-size: clamp(2.5rem, 13vw, 3.5rem);
        line-height: 0.95;
        margin-bottom: 0.75rem;
    }

    .nom p {
        font-size: clamp(0.95rem, 4.5vw, 1.125rem);
        line-height: 1.35;
    }

    main .portfolio {
        min-height: 150px;
        padding: 2rem 1rem;
    }

    .bio .presentation {
        gap: 2.5rem;
    }

    .bio .presentation .txtpres p,
    .bio .presentation .txtpres a {
        font-size: 1.125rem;
    }

    .bio .presentation .imgpres img {
        border-radius: 30px;
    }

    footer .listefooter {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    footer .listefooter > li {
        width: 100%;
        flex: none;
    }

    .reseaux li {
        width: auto;
    }
}

@media (max-width: 350px) {
    #menu ul {
        gap: 0.5rem;
    }

    #menu ul li a {
        font-size: 0.72rem;
    }

    #video {
        height: 360px;
    }

    .nom {
        top: 140px;
    }

    .nom h1 {
        font-size: 2.25rem;
    }

    .nom p {
        font-size: 0.9rem;
    }
}