You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

388 lines
6.4 KiB

@media (max-width: 800px) {
.contener {
display : flex;
flex-direction : column;
}
}
@font-face {
font-family: "Trickster";
src:"Police/Inter-Italic-VariableFont_opsz\,wght.ttf" format("truetype");
}
@media print {
header{
display: none;
}
header{
display: none;
}
}
#taille_tableau{
width: 50%;
}
th{
background-color: cyan;
}
td{
background-color: white;
}
.images_tableau{
max-width: 150px;
}
#legende_tableau{
float:right;
width: 50%
}
a{
text-decoration: none;
color: black;
}
a:hover:visited{
color: rgb(24, 24, 24);
}
.centrer{
text-align: center;
}
.activités{
background-color: orangered;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
body {
min-height: 100vh; /* hauteur minimum = hauteur de la fenêtre */
}
.bandeau{
background-color : rgb(53, 52, 52);
width: 100%;
height : 150px;
display: flex;
position: sticky;
top:0;
border-bottom : 2px solid rgb(44, 44, 44);
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('image/background.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
z-index: -2; /* met bien l'image en fond derrière tout */
}
.cv-container {
text-align: center;
margin-top: 20px;
}
.cv-preview {
width: 200px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.cv-preview:hover {
transform: scale(1.5); /* Agrandit l'image à 1.5x sa taille */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.contact-section a {
color: white;
text-decoration: none;
}
.contact-section a:hover {
text-decoration: underline; /* Ajoute un soulignement au survol */
}
/* Centrer le titre "Mon CV" */
.cv-title {
text-align: center;
margin-bottom: 20px;
}
/* Descendre le texte sous l'image */
.cv-download-text {
text-align: center;
margin-top: 10px;
font-size: 14px;
color: #ffffff;
}
.background::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* noir semi-transparent */
z-index: -1;
}
.image_accueil{
height: 120px;
width: 100px;
border-radius: 50%;
margin-top: 15px;
}
.wrapper {
flex: 1;
display: flex;
flex-direction: column;
}
.photo_titre_bandeau{
margin-left: 8px;
display: flex;
}
#bouttons_liens_nav{
border-left : 2px solid grey;
width: 100%;
max-height: 150px;
display:flex;
justify-content: space-evenly;
align-items: center;
}
.bouttons_liens{
background-color: #ffffff;
color: grey;
height: 50px;
width: 200px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 12px;
padding-top: 7%;
border-right: 2px solid black;
}
.container{
margin-left:8px;
color:white;
}
.blocs{
display: flex;
gap: 30px;
justify-content: center;
margin-top: 40px;
flex-wrap: wrap; /* pour adaptation mobile */
}
.bloc1{
float: left;
width: 200px;
background-color: grey;
padding: 10px;
margin-left: 10%;
margin-top : 5%;
border : solid black 2px;
border-radius: 10%;
padding : 15px;
}
.bloc2{
float: right;
width: 200px;
background-color: grey;
padding: 10px;
margin-right: 10%;
margin-top : 10%;
border : solid black 2px;
border-radius: 10%;
padding : 15px;
}
/* Section des projets */
.section-title {
text-align: center;
margin: 20px 0;
font-size: 18px; /* réduit la taille */
color: #ffffff;
}
.container h1 {
text-align: center;
font-size: 36px; /* augmente la taille */
margin-bottom: 20px;
color: #ffffff;
}
/* Grille des projets */
.projects-grid {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin: 20px 0;
}
/* Carte de projet */
.project-card {
background-color: #f9f9f9;
border: 2px solid #bbb; /* border grise */
border-radius: 15px;
width: 250px;
height: 150px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s, z-index 0.1s;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0,0,0,0.07); /* légère ombre */
position: relative;
z-index: 1;
}
.project-card:hover {
transform: scale(1.05);
box-shadow: 0 8px 24px rgba(0,0,0,0.18);
z-index: 10; /* Passe au-dessus des autres */
}
.project-card h3 {
margin: 0;
font-size: 18px;
color: #333;
}
.project-card p {
font-size: 14px;
color: #666;
margin-top: 10px;
}
.bloc-texte {
margin-top: 30px; /* espace entre les blocs */
line-height: 1.6;
}
#liens_externes{
width : 20%;
border : 2px solid black;
float:right;
}
.liste_liens{
margin-top: 5px;
margin-bottom: 5px;
}
.images_bouttons_liens{
height: 30px;
width: 30px;
}
.texte_principal{
width : 80%;
float:left;
}
.texte_principal:hover{
color: black;
}
.taille_image_gallerie{
height: 250px;
width: 400px;
}
/* État agrandi */
.project-card.expanded {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(1.2); /* Zoom centré */
width: 60vw;
height: 220px;
z-index: 100;
background: #e9e9e9;
box-shadow: 0 8px 24px rgba(0,0,0,0.18);
transition:
transform 0.3s cubic-bezier(.4,2,.6,1),
box-shadow 0.3s,
z-index 0.1s,
width 0.3s,
height 0.3s;
}
.close-btn {
position: absolute;
top: 10px;
right: 15px;
background: #fff;
border: none;
font-size: 2rem;
color: #888;
cursor: pointer;
z-index: 30;
border-radius: 50%;
width: 36px;
height: 36px;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
transition: background 0.2s;
}
.close-btn:hover {
background: #eee;
color: #333;
}
.bonne-visite {
text-align: center;
margin-top: 40px;
font-size: 1.5em;
margin-top : 30%;
}
.basPage {
text-align: center;
background-color: rgb(53, 52, 52);
padding: 10px 0;
position: fixed; /* fixé en bas de l'écran */
bottom: 0;
left: 0;
width: 100%;
z-index: 10;
}
::selection{
color: black;
background-color: rgb(57, 103, 143);
}