body{ margin: 0; background: white; } ul{ margin: 0; padding: 0; } header{ margin-bottom: 20vh; } p { margin: 0; } nav{ font-size: 20px ; top: 0; left: 0; z-index: 1; position: fixed; display: flex; align-items: center; justify-content: space-around; flex-direction: row-reverse; background: linear-gradient(45deg,orange 35%,darkred); width: 100%; } nav:hover{ background: linear-gradient(45deg,orange ,darkred); } #icone{ height: 7vh; width: 7vw; } main{ display: flex; flex-direction: column; } #background-video{ filter: blur(2px); height: 100vh; width: 100vw; object-fit: cover; position: fixed; left: 0; right: 0; top: 0; z-index: -5; } #btn_up{ background-color: white; border-radius: 50px; position: fixed; right: 2vw; bottom: 2vh; height: 4vh; width: 4vh; transition: transform ease 1s; } #btn_up:hover{ transition: transform ease 0.4s; transform: scale(1.5); } nav li{ display: inline-block; } .page{ list-style-type: none; text-decoration: none; color: black; } .page p{margin-right: 10vh; transition: transform linear 0.2s; } .page p:hover{ color: gold; transform: scale(1.2,1.2); } main p{ font-size: 25px; } .img_gauche_txt_droite{ display: flex; justify-content: space-around; align-items: center; margin-bottom: 10vh; } .img_gauche_txt_droite p{ background-color: rgba(250,250,250,0.2); border-radius: 15px; box-shadow: 15px 10px rgba(0,0,0,0.5); width: 50%; padding: 1%; } .img_gauche_txt_droite p:hover{ box-shadow: -10px -15px rgba(0,0,0,0.5); } .img_gauche_txt_droite img{ box-shadow: 0 40px 60px rgba(150,0,0,0.7); height: 25%; width: 25%; border-radius: 10px; } .img_gauche_txt_droite img:not(:hover){ filter: saturate(0.2); transform: scale(0.8,0.8); } .img_droite_txt_gauche{ display: inline-flex; flex-direction: row-reverse; justify-content: space-around; align-items: center; margin-bottom: 10vh; } .img_droite_txt_gauche p{ background-color: rgba(250,250,250,0.2); border-radius: 15px; padding: 1%; width: 50%; box-shadow: 15px 10px rgba(0,0,0,0.5); } .img_droite_txt_gauche p:hover + img{ padding: 10%; width: 10% } .img_droite_txt_gauche p:hover{ box-shadow: -15px -10px rgba(0,0,0,0.5); } .img_droite_txt_gauche img{ box-shadow: 0 40px 60px rgba(150,0,0,0.7); height: 25%; width: 25%; border-radius: 10px; } .img_droite_txt_gauche img:not(:hover) { filter: saturate(0.2); transform: scale(0.9,0.9); } .img_bas_txt_haut{ display: inline-flex; flex-direction: column-reverse; justify-content: space-around; align-items: center; margin-bottom: 10vh; } .img_bas_txt_haut p{ background-color: rgba(250,250,250,0.2); border-radius: 15px; padding: 1%; width: 80%; box-shadow: 15px 10px rgba(0,0,0,0.5); } .img_bas_txt_haut p:hover{ box-shadow: -15px -10px rgba(0,0,0,0.5); } .img_bas_txt_haut img{ box-shadow: 0 40px 60px rgba(150,0,0,0.7); height: 35%; width: 35%; border-radius: 10px; } .img_bas_txt_haut img:not(:hover) { filter: saturate(0.2); transform: scale(0.9,0.9); } .vide{ margin-top: 10vh; } footer{ display: flex; padding: 2%; align-items: center; flex-direction: row-reverse; justify-content: space-around; background-color: #00010c; color: white; } footer #reseaux li{ list-style-type: none; text-decoration: none; display: inline-block; } footer #reseaux p{ padding-left: 15px; font-size: 25px; } footer #reseaux li img{ width: 3vw; height: 3vh; } footer #reseaux li img:not(:hover){ transition: transform linear 0.5s; opacity: 50%; } footer #reseaux li img:hover{ transition: transform linear 0.2s; transform: scale(1.5); } footer #autres{ margin-top: 2%; } footer #autres a{ color:white ; list-style-type: none; text-decoration: none; } footer #coordonne p{ margin-bottom: 1rem; }