@font-face {
    font-family: 'Horizon';
    src: url(/font/Horizon.otf) format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Amoresa';
    src: url(/font/Amoresa.otf) format(otf);
    font-weight: normal;
    font-style: normal;
}

/* Effet de défilement fluide */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    text-align: center;
}

.header {
    text-align: right;
    width: auto;
    height: auto;
}

.header-present img {
    width: 100%;     /* L'image prend 100% de la largeur de son conteneur */
    height: auto;    /* La hauteur s'ajuste automatiquement pour conserver les proportions */
    max-width: 100%; /* L'image ne dépasse pas la largeur du conteneur */
}

.line-decor {
    width: 20%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.header h1 {
    font-family: 'Horizon';
    font-size: 2.5em;
    font-weight: 800;
    margin: 10px 0;
}

.header h2 {
    font-family: 'Amoresa';
    font-size: 2.5em;
    font-weight: 800;
    margin: 10px 0;
}

.header p {
    font-size: 1.2em;
    color: #ccc;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.container {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
}

.section {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.description {
    font-size: 1em;
    color: #ccc;
}

.btn {
    display: block;
    width: fit-content;
    margin: auto;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #000000;
    color: white;
    font-style: bold;
}

.orientation .title {
    font-weight: bold;
}

.orientation .date {
    float: right;
    color: gray;
}

.contact {
    margin-top: 30px;
    margin-bottom: 30px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
}

.contact p {
    margin: 5px 0;
    color: #ccc;
}

.contact a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact a:hover {
    color: #000000;
    font-style: bold;
}

a {
    transition: all 0.3s ease;
}

a:hover {
    color: #000000;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section des projets */
.section.projet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 8px;
}

.project {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project img {
    width: 100%;
    border-radius: 5px;
}

.project h3 {
    margin-top: 10px;
    font-size: 18px;
}

.project p {
    font-size: 14px;
    color: #bbb;
}

.project:hover {
    transform: scale(1.05);
}

.footer {
    background-color: #1e1e1e;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.competence-tableau {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.competence-colonne img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.competence-colonne img:hover {
    transform: scale(1.05);
}
.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }

  .logos img {
    width: 200px;
    height: 200px;
    object-fit: contain; /* garde le ratio, évite les déformations */
    padding: 10px;
    border-radius: 10px;
  }