*{
    margin: 0;
    padding: 0;
}
body{
    min-height: 100vh;
    background-image: url(graphics/laptop.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Montserrat','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}





nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* assure-toi qu’il n’y a pas d’espace */
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

#logo {
    margin-right: auto; /* pousse les autres items à droite */
}

#logo a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
}

#logo img {
    height: 40px; /* ajuste selon ton image */
    margin-right: 10px;
}

#logo span {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

nav a:hover{
    background-color: #f0f0f0;
}

nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.goldenMenu {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu{
    background: linear-gradient(45deg, #22333b, #2d4551);
    color:white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu:hover a{
    color:black;
}

.contactMenu a {
    color: white;
}


/* -------  Body --------*/

#header_blog {
    height: auto;
    background-image: url(../../graphics/sport-2266184_1280.jpg);
}

#header_blog_text{
    color: #ffffff;
    padding-left: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#header_blog_text h2{
    margin-top: 35px;
}

#header_blog_text a{
    color: white;
    text-decoration: none;
}

#header_blog_text a:hover{
    color: #d2d2d2;
}

/*       SECTION DES ARTICLES SUR LES MEMBRES DU TEAM          */

#team-section h2{
    text-align: center;
    margin-top: 70px;
    margin-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
}


.single-teammate {
    display: flex;
    flex-direction: row;
    padding: 50px;
}

.teammate-text{
    width: 500px;
    
}

.team {
    margin-left: 100px;
    margin-bottom: 50px;
}

.teammate-text h3{
    font-size: 25px;
}


.team-photos {
    display: flex;
    flex-direction: column;
}

.team-photos img {
    margin-top: 20px;
    margin-left: 150px;
}

.black-paragraph {
    color: #22333b;
    margin-top: 15px;
}

.gray-paragraph {
    color: #606060;
}

.teammate-text a {
    color: #a88955;
}


/* Bouton Modifier */
#team-section .btn-edit {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 25px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #3498db;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

#team-section .btn-edit:hover {
    background-color: #217dbb;
}

/* Review désactivée (visible uniquement pour admin) */
.inactive-teammate {
    opacity: 0.5;          /* effet translucide */
    font-style: italic;    /* différencier du texte normal */
    color: #555;           /* gris plus clair */
    position: relative;
}

.inactive-teammate::after {
    content: " (désactivée)";
    font-size: 14px;
    color: #b00;  /* rouge pour attirer l’attention admin */
    margin-left: 5px;
}


/* Bouton ajouter un article */
.btn-add-teammate {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    background-color: #28a745; /* vert */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-left: 50px;
}

.btn-add-teammate:hover {
    background-color: #218838; /* vert plus foncé */
}

.img-team {
    max-width:200px;
    border-radius:20px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.4);
}

@media(max-width: 850px){
    .team-photos img {
        margin-left: 100px;
    }
    .team {
        margin-left: 50px;
    }
}
@media(max-width: 710px){
    .single-teammate {
        flex-direction: column;
    }
    .team-photos {
        justify-content: space-around;
        align-items: center;
    }
    .img-team {
        max-height:200px;
    }
    .team-photos img {
        margin-left: 10px;
        margin-right: 10px;
    }
    .team {
        margin-left: 0px;
    }
}

@media(max-width: 550px){
    .teammate-text{
        width: 95%;
    }
    .single-teammate {
        padding: 20px;
    }
}


/* -------     PODCAST   --------*/

#podcast-section {
    background-color: #252525;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 60px;
    padding-right: 60px;
}

#podcast-sec-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#podcast-sec-text {
    width: 700px;
    font-size: 140%;
    
}

#podcast-sec-text h3{
    color: #9f9f9f;
}

#podcast-sec-text h2{
    color: #ffffff;
    margin-top: 5px;
}

#podcast-sec-text p{
    color: #ffffff;
    margin-top: 5px;
}

.gold-bar2 {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #d4d4d4);
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
}

.cta-button {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
    color: rgb(67, 67, 67);
    text-decoration: none;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    font-size: 15px;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #dadada;
}
#podcast-sec-image div{
    background-color: white;
    border-radius: 10px;
}

#podcast-sec-image {
    margin-left: 35px;
}

#podcast-sec-image  img{
    width: 400px;
}


@media(max-width: 850px){
    #podcast-sec-box {
        flex-direction: column;
        align-items: center;

    }
    #podcast-sec-image {
        margin-top: 50px;
    }
    #podcast-sec-image div{
        width: 400px;
    }
}

@media(max-width: 750px){
    #podcast-sec-text {
        width: 95%;
    }
    #podcast-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    #podcast-sec-image {
        margin-left: 0px;
    }

}

@media(max-width: 410px){
    #podcast-sec-image {
        width: 90%;
    }

}


/* -------     FOOTER  --------*/

#footer{
    background-color: #22333b;
}

#div-footer{
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.footer-categories{
    padding-left: 100px;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-categories img{
    height: 100px;
    padding-bottom: 15px;
}

.footer-categories ul {
    width: 100%;
    list-style: none;
}
.footer-categories li {
    padding-top: 2px;
}

.footer-categories li a {
    text-decoration: none;
    color: rgb(163, 163, 163);
    transition: all 0.5s ease;
}

.footer-categories li a:hover {
    color: white;
}

#copyright{
    background-color: #26373e;
    color: rgb(163, 163, 163);
    padding: 15px;
}

#copyright p{
    padding-left: 85px;
}

@media(max-width: 650px){
    #div-footer{
        flex-direction: column;
        justify-content: center;
    }
    .footer-categories{
        padding-left: 40%;

    }
}






/* ------- RESPONSIVE ------- */

@media(max-width: 1000px){
    .hideOnMobile{
        display: none;
    }
}

@media(min-width: 1001px){
    .hideOnPC{
        display: none;
    }
}



@media(max-width: 525px){
    #messageArea textarea {
        width: 300px;
        height: 200px;
        resize: horizontal;
        min-width: 300px;
        max-width: 300px;
    }
}

@media(max-width: 460px){
    .twoFields input {
        width: 200px;
        height: 20px;
        display: flex;
        flex-direction: column;
    }

#Mail {
    margin-left: 0px;
}

#Name {
    margin-right: 0px;
}

#Phone {
    margin-right: 0px;
}

#Object {
    margin-left: 0px;
}
}


