* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('./images/background.WebP');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header */

.headertop {
    text-align: center;
    color: white;
}

header {
    background-color: #298473;
    padding: 30px;
    margin-bottom: 30px;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    padding-top: 30px;
    margin: 10px;
    list-style: none;
}

header ul li a {
    text-decoration: none;
    color: white;
    transition: all 0.4s ease-in-out;
}

header ul li a:hover {
    color: black;
    border-radius: 20px;
    padding: 10px;
    background-color: white;
}

/* Profil, Expérience, Job d'été, etc. */

.profil,
.experience,
.ete,
.competences,
.soft,
.centre,
.formations {
    text-align: left;
    color: white;
    width: 30%;
    padding-top: 30px;
    margin: auto;
    background-color: #298473;
    border-radius: 20px;
    transition: all 0.3s ease;
    padding: 10px;
    margin-bottom: 30px;
    border: 10px solid hsla(0,0%,100%,.5);
}

.profil:hover,
.experience:hover,
.ete:hover,
.competences:hover,
.soft:hover,
.centre:hover,
.formations:hover {
    box-shadow: 0 0 0 10px black, 0.8em 0.8em 8em #298473;
}

.profil h2,
.experience h2,
.ete h2,
.competences h2,
.soft h2,
.centre h2,
.formations h2 {
    margin-bottom: 10px;
    text-align: center;
}

.profil a,
.experience a,
.ete a,
.competences a,
.soft a,
.centre a,
.formations a {
    color: white;
    transition: all 0.4s ease-in-out;
}

.profil a:hover,
.experience a:hover,
.ete a:hover,
.competences a:hover,
.soft a:hover,
.centre a:hover,
.formations a:hover {
    color: #0094ee;
}

.interet {
    display: flex;
    justify-content: center;
}

.interet img {
    margin: 15px;
    width: 50px;
    height: 50px;
}

/* Footer */
footer {
    background-color: #298473;
    color: rgb(4, 3, 3);
    padding: 10px;
    text-align: left;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 0 10px black;
}

footer .nom {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

footer .social-icons {
    margin-top: 15px;
    text-align: center;
}

footer .social-icons img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

footer .social-icons img:hover {
    transform: scale(1.2);
}



/* Responsive Design */

@media (max-width: 1024px) {
    header ul {
        flex-direction: column;
    }

    header ul li {
        padding-top: 15px;
    }

    .profil,
    .experience,
    .ete,
    .competences,
    .soft,
    .centre,
    .formations {
        width: 45%;
    }

    .interet img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    header ul {
        flex-direction: column;
    }

    header ul li {
        padding-top: 10px;
    }

    .profil,
    .experience,
    .ete,
    .competences,
    .soft,
    .centre,
    .formations {
        width: 80%;
    }

    .interet img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    header ul {
        flex-direction: column;
    }

    header ul li {
        padding-top: 5px;
    }

    .profil,
    .experience,
    .ete,
    .competences,
    .soft,
    .centre,
    .formations {
        width: 100%;
        margin-bottom: 20px;
    }

    .interet img {
        width: 30px;
        height: 30px;
    }

    footer .social-icons img {
        width: 30px;
        height: 30px;
    }
}
