/* Importation de la police */
@import url('https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap');

/* Variables CSS */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #1e1e2e;
    --secondary-color-blur: #1e1e2e80;
    --tertiary-color: #ffffff;
    --quaternary-color: #ffa07a;
    --quinary-color: #101022;
}

/* Style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SUSE', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    line-height: 1.6;
}

a {
    color: var(--tertiary-color);
}

a:hover {
    color: var(--primary-color);
    transition: 0.3s;
}

a:active {
    color: var(--quaternary-color);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--secondary-color-blur);
}

.logo img {
    height: 50px;
}

.burger-icon span {
    display: block;
    width: 30px;
    height: 4px;
    background: var(--tertiary-color);
    margin: 5px;
    border-radius: 2px;
}

/* Menu latéral */
.sidenav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: var(--secondary-color);
    transition: 0.3s;
    padding-top: 60px;
}

.sidenav a {
    display: block;
    padding: 15px;
    color: var(--tertiary-color);
    text-decoration: none;
    transition: 0.3s;
}

.sidenav a:hover {
    background: var(--primary-color);
}

.sidenav .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}

/* Sections */
section {
    padding: 60px 10%;
    text-align: center;
}

.titles {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--quaternary-color));
    color: var(--quinary-color);
}

.titles h1 {
    font-size: 3rem;
    font-weight: bold;
}

.titles h2 {
    font-size: 1.5rem;
    opacity: 0.8;
}

.title-section {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* A propos */

.about {
}

/* Actus */

.actus {
}

/* Competences */

.competences {
}

swiper-container {
    width: 100%;
    height: 100%;
  }

  swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  swiper-slide img {
    display: block;
    height: 150px;
    object-fit: cover;
  }

  swiper-container {
    margin-left: auto;
    margin-right: auto;
  }

/* Projets */

.projets {
}

/* Contact */

.contact {
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: var(--quinary-color);
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsivité */
@media screen and (max-width: 768px) {
    .titles h1 {
        font-size: 2.5rem;
    }
    .titles h2 {
        font-size: 1.2rem;
    }

    swiper-slide img {
        height: 100px;
      }
}

@media screen and (max-width: 400px) {
    swiper-slide img {
        height: 50px;
      }
}