html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f1f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


header{
    width: 100%;
    height: 40px;
    background-color: black;
    position: fixed;
    top: 0;
    z-index: 1000;
}

header ul{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

header ul li{
    height: 100%;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 11px;
    font-size: 20px;
}

header ul li a{
    height: 100px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
}

header ul li a:hover {
    background-color: grey;
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.container{
    width: 70%;
    justify-content: center;
    max-height: 100%;
    margin-top: 3%;
    margin-left: 15%;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: rgba(255, 255, 255, 0.288);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.barre_gauche{
    height: 98%;
    width: 80%;
    top: 0;
    background-color: #f4ece6;
    padding: 15px;
}

.barre_gauche p{
    text-transform: uppercase;
    font-size: 25px;
    text-align: justify;
    font-weight: bold;
    padding-left: 10px;
    padding-top: 15px;
    border-bottom: 2px solid black;
}

.barre_gauche img{
    width: 57%;
    border-radius: 5px;
}

.barre_gauche .profil{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.barre_gauche h1{
    text-align: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 2.3em;
}

.barre_gauche ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.barre_gauche ul li{
    padding: 15px;
    font-size: 20px;
}

.barre_gauche ul li a{
    text-decoration: none;
    color: black;
}

.barre_gauche ul li img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.barre_gauche .skills ul {
    display: flex;
    flex-wrap: wrap; 
}

.barre_gauche .skills ul li {
    padding: 5px;
    margin-right: 10px;
}

.skills ul li img {
    width: 50px;
    height: 50px;
}

.formation h1{
    border-bottom:2px solid black ;
}

.langues ul li {
    list-style-type: none;
    padding: 2px;
    margin: 0;
}

.sous_titre{
    text-align: center;
    font-size: 2em;
    padding-right: 7%;
}

.formation li{
    padding: 3%;
    font-size: 1.2em;
}

.formation p{
    font-size: 1.1em;
}

.formation .bac{
    font-size: 1.2em;
    background-color: #f4ece6;
    width: 100%;
    margin-left: -60px;
    padding-left: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.formation .bac p{
    margin: 0;
}

.langues ul{
    list-style-type: none;
    padding: 3%;
    margin: 0;
}

.langues ul li {
    padding-top: 5%;
    font-size: 1.2em;
}

.Container1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px; 
    margin-top: 50px;
}

.box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.box img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.box p {
    font-size: 1.2rem;
    color: #555;
}

.titre{
    text-align: center;
    font-size: 2em;
    padding-top: 20px;
    margin-bottom: -50px;
}
.vidéo {
    width: 50%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.vidéo h2 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 15px;
    margin-top:0;
}

.vidéo video {
    max-width: 80%;
    border-radius: 10px;
}

.box2 {
    width: 60%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-top: 0;
    margin-left: 20%;
}

.box2 img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.box2 h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
}

.Container1 .box3 {
    width: 150%;
    height: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-top: 0;
    margin-left: -70%;

}

.Container1 .box3 iframe {
    width: 70%;
    height: 70%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: none; 
}

.Container1 .box3 h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
}

.Container1 .box3 p {
    font-size: 1.2rem;
    color: #555;
}

.Container1 .fleche {
    width: 50%;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    margin-left: -20%;
}

.Container1 .fleche img{
    width: 20%;
    padding-top: 80%;
}

.image_clic img{
    width: 1920px;
    height: 955px;
}

#tout{
    overflow-x: hidden;
}

#web {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}


#web::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    background-image: url('images/web.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 1; 
}

.overlay {
    position: relative;
    z-index: 2; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    top: 50px;
}

.overlay h1 {
    font-size: 6rem;
    color: white;
    text-align: center;
    margin: 0;
}

.description {
    max-width: 70%; 
    margin: 100px auto; 
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.description p {
    font-size: 1.2rem; 
    line-height: 1.8; 
    color: #333; 
    margin-bottom: 15px;
    text-align: justify; 
}

.description p:first-of-type {
    font-weight: bold; 
    font-size: 1.3rem; 
}


#ux-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#ux-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    background-image: url('images/ux-image.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 1; 
}


#com {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#com::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    background-image: url('images/formation-community-manager.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 1; 
}

.back-to-top {
    position: absolute;
    width: 100%;
    bottom: 70px;
    left: 92%;
}

.back-to-top img {
    width: 5%;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    padding: 10px;
}

.section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.section .content {
    max-width: 800px;
    margin: 0 auto;
}

.section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.5rem;
    line-height: 1.8;
}


section {
    max-width: 900px; /* Augmentation de la largeur de la box */
    margin: 100px auto;/* Augmenter le padding pour ajouter de l'espace à l'intérieur */
    padding-right: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border: 1px solid #007BFF;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 12px;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

input[type="submit"]:focus {
    outline: none;
}

/* Ajout d'un padding pour rendre le formulaire plus agréable */
section {
    padding: 30px;
    margin-top: 100px;
    background-color: rgba(255, 255, 255, 0.9);
}
