@font-face {
  font-family: "Rinter";
  src: url("Fonts/Rinter.woff2") format("woff2"),
       url("Fonts/Rinter.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

::selection {
  background-color: #FBFBFB;
  color: #0000ff;
}

* {
    box-sizing: border-box;
}

body{
    background-color: #FBFBFB;
    margin: 0;
}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: justify;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;  
}

.logo-header {
    width: 200px;
}

.logo-icon{
    display: none;
}

.qualite p{
    font-family: Rinter;
    font-size: 18px;
    color: #0000ff;
    border: 2px solid #0000ff;
    border-radius: 60px;
    padding: 8px;
    margin: 0;
}

nav ul {
    padding: 0.5rem 1.5rem; /* espace intérieur */
    background-color: rgba(223, 223, 223, 0.5);
    border-radius: 100px;
    backdrop-filter: blur(8px);

    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;

    width: fit-content; /* IMPORTANT */
}

nav ul li a {
    color: #0000ff;
    font-family: Rinter;
    text-decoration: none;
    border-radius: 100px;
    padding: 8px 24px;
    transition: 0.3s;
}

nav ul li a:hover {
    border: 2px solid #0000ff;
}

nav ul li a.active {
    background-color: #0000ff;
    color: white;
}

main{
    padding: 0 120px;
}

h1{
    font-family: Rinter;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: blue;
}

.biography{
    display: flex;
    align-items: center;
    gap: 56px;
    border-bottom: 1px solid #C2C1BB;
}

.title{
    margin-top: 150px;
}

.bio-text{
    display: flex;
    align-items: baseline;
    gap: 56px;
}

.socials{
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 60px;
    justify-content: center;
}

.socials img{
  transition: filter 0.3s ease;
}

.socials img:hover {
  filter: brightness(50%);
}

/* ================= WORKS SECTION ================= */

.works {
    margin-top: 120px;
}

.work-item {
    display: flex;
    gap: 40px;
    padding-top: 16px;
    padding-bottom: 48px;
    border-top: 1px solid #C2C1BB;
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* LEFT SIDE */

.work-left {
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* RIGHT SIDE */

.work-right {
    flex: 1;
}

.work-right h3 {
    font-family: Rinter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: blue;
    margin-top: 0;
    margin-bottom: 6px;
}

.company {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: black;
    margin-top: 0;
}

.date {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-style: italic;
    display: block;
    font-size: 12px;
    color: #64635E;
    margin-bottom: 12px;
}

.work-right p {
    margin: 0;
    max-width: 100%;
}


footer{
    margin-top: 80px;
    max-width: auto;
    width: 100%;
    background-color: #0000ff;
}

.footer-box{
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo{
  width: 300px;
  height: auto;
}

.col-2{ 
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: white;
    order: 1;
}

.col-3{
    order: 2;
}

h6{
    font-family: Rinter;
    font-size: 24px;
    color: white;
    margin-top: 0;
    margin-bottom: 8px;
}

.contacts{
    list-style: none;
    display: block;
    padding: 0;
}

footer ul li a{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
}