@font-face {
    font-family: 'raleway';
    src: local('raleway'),
         url('fonts/raleway.woff2') format('woff2'),
         url('fonts/raleway.woff') format('woff');
  }
  @font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro'),
         url('fonts/Source Sans Pro.woff2') format('woff2'),
         url('fonts/Source Sans Pro.woff') format('woff');    
  }
  @font-face {
    font-family: 'Roboto';
    src: local('Roboto'),
         url('fonts/Roboto.woff2') format('woff2'),
         url('fonts/Roboto.woff') format('woff');
         
  }
body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F4D35E;
    color: white;
}

header {
    display: flex;
    background-color: #FAF0CA;
    padding: 10px;
    justify-content: space-between;
    align-items: center;


}
a{
    text-decoration: none;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
  
  
  }




.logo {
    display: flex;
    justify-content: flex-end;

}

.logo :hover {
    width: 100px;
    height: 100px;
    transition: opacity 0.5s ease-in-out; 

}

.contenu {
    text-align: center;
    background-color: #0D3B66;
    color: white;
    padding: 15px;
    position: relative;
    overflow: hidden;

}

.image-slider {
    display: flex;
    width: 300%;
    animation: slide 9s ease-in-out infinite;

}

.contenu img {
    width: 33.33%;
    max-height: 180px;
    object-fit: cover;
    background-color: #FAF0CA;
    flex-shrink: 0;
}


@keyframes slide {
    0% {
        transform: translateX(0);
    }

    33.33% {
        transform: translateX(-33.33%);
    }

    66.66% {
        transform: translateX(-66.66%);
    }

    100% {
        transform: translateX(0);
    }
}

.texte {
    margin-top: 15px;
}

#titre {
    font-family: 'Raleway', sans-serif;
    font-size: 28pt;
    font-weight: bold;
    color: white;
}

#paragraphe {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #F4D35E;
    padding: 12px;
    border-radius: 12px;
    color: white;
    line-height: 1.4;
    margin: 15px 0;
}

#inscription {
    font-family: 'Roboto', sans-serif;
    background-color: #EE964B;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    text-decoration: none;
}

#compétences {
    font-weight: bold;

}

#basket {
    font-weight: bolder;
}

footer {
    background-color: #F95738;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    text-align: center;
}

footer p {
    margin: 5px 0;
    color: white;
}

footer img {
    width: 22px;
    height: 22px;
    margin: 0 6px;
}

.englais-français {
    text-align: right;

}

@media (min-width: 600px) {
    header {
        padding: 20px;
    }

    .icon-container img {
        width: 50px;
        height: 50px;
        margin: 0 8px;
    }

    .contenu {
        padding: 30px;
    }

    .contenu img {
        max-height: 300px;
    }

    #titre {
        font-size: 70pt;
    }

    #paragraphe {
        padding: 20px;
        font-size: 16px;
    }

    #inscription {
        padding: 15px 30px;
        font-size: 16px;
    }

    footer {
        font-size: 14px;
        padding: 20px;
    }

    footer img {
        width: 30px;
        height: 30px;
    }
}









