body{ margin: 0; background:white ; } ul{ margin: 0; padding: 0; } .vide{ margin-top: 10vh; } 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: #00010c; width: 100%; } nav:not:hover{ filter: opacity(50%); } #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; color: white; transition: color linear 0.7s; } .page p:hover{ color: gold; transform: scale(1.3,1.3); transition: transform cubic-bezier(0,0.6,0.4,1.03) 1s; } .page p:not(:hover){transition: color linear 0.7s;transition: transform ease 0.4s ;} #page_courante p{ font-size: 1.4em; color: red; } main p{ font-size: 25px; } #img_gauche_txt_droite{ display: flex; flex-direction: row-reverse; 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: -10px -15px rgba(0,0,0,0.5); width: 50%; padding: 1%; } #img_gauche_txt_droite p:hover{ box-shadow: 15px 10px rgba(0,0,0,0.5); } #img_droite_txt_gauche{ display: inline-flex; flex-direction: row; justify-content: space-around; align-items: center; margin-bottom: 10vh; } #img_droite_txt_gauche p{ background-color: rgba(250,250,62,1); border-radius: 15px; padding: 1%; width: 50%; box-shadow: -15px -10px rgba(0,0,0,0.5); } #img_droite_txt_gauche p:hover{ box-shadow: 15px 10px rgba(0,0,0,0.5); } .img_main{ height: 20%; width: 20%; border-radius: 10px; transition: transform ease 0.4s; filter: saturate(0.2); } #hover_img_1:hover + .img_main,#hover_img_2:hover + .img_main,.img_main:hover{ box-shadow: 0 40px 60px rgba(150,0,0,0.7); transform: scale(1.3,1.3); transition: transform ease 0.8s; filter: saturate(1); } #hover_img_1{ top: 15vh; position: absolute; height: 35vh; width: 100vw; } #hover_img_2{ top: 50vh; position: absolute; height: 35vh; width: 100vw; } 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 a{ color:white ; list-style-type: none; text-decoration: none; } footer #coordonne p{ margin-bottom: 1rem; }