SAE_WEB_S1/CSS/styles.css
2024-01-15 11:26:46 +01:00

298 lines
3.6 KiB
CSS

body{
margin: 0;
background:white ;
}
.txt_rouge{color: red;font-weight: bold;}
.txt_jaune{color: gold;font-weight: bold;}
ul{
margin: 0;
padding: 0;
}
header{
}
#presentation{
position: relative;
height: 100vh;
top: 0;
}
h1{
text-align: center;
margin-bottom: 10vh;
font-size: 3em;
}
h2{
padding: 0;
margin: 0;
text-align: center;
font-size: 2.5em;
}
h3{
text-align: center;
font-size: 2em;
}
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: #000000;
width: 100%;
}
#icone{
height: 7vh;
width: 7vw;
}
main{
display: flex;
flex-direction: column;
}
#background-video{
filter: blur(3px);
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: rgb(255,255,255);
}
.page p{
margin-right: 10vh;
color: rgb(255,0,0);
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: rgb(0,255,25);
}
main p{
font-size: 25px;
}
#img_gauche_txt_droite{
display: flex;
flex-direction: row-reverse;
justify-content: space-around;
align-items: center;
padding-bottom: 20vh;
}
#img_gauche_txt_droite p{
background-color: rgba(250,250,250,0.2);
backdrop-filter: blur(10px);
border-radius: 30px;
width: 40%;
padding: 1%;
}
#img_droite_txt_gauche{
display: inline-flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding-bottom: 20vh;
}
#img_droite_txt_gauche p{
background-color: rgba(250,250,250,0.2);
backdrop-filter: blur(10px);
border-radius: 30px;
padding: 1%;
width: 40%;
}
.img_main{
backdrop-filter: blur(10px);
height: 20rem;
width: 25rem;
border-radius: 15px;
transition: transform ease 0.4s;
filter: saturate(0.2);
}
.img_txt:hover .img_main{
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
transform: scale(1.2,1.2);
transition: transform ease 0.8s;
filter: saturate(1);
}
#img_gauche_txt_droite:not(:hover) p{
background-color: rgba(150,150,150,0.4);
}
#img_droite_txt_gauche:not(:hover) p{
background-color: rgba(150,150,150,0.4);
}
#fond_2{
z-index: -1;
backdrop-filter: blur(10px);
text-align: center;
display: block;
flex-direction: column;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding-bottom:20%;
}
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;
}