diff --git a/assets/logo1cp.png b/assets/logo1cp.png new file mode 100644 index 0000000..2eeb2cb Binary files /dev/null and b/assets/logo1cp.png differ diff --git a/assets/etoiles.png b/etoiles.png similarity index 100% rename from assets/etoiles.png rename to etoiles.png diff --git a/assets/fond.png b/fond.png similarity index 100% rename from assets/fond.png rename to fond.png diff --git a/assets/full.pdn b/full.pdn similarity index 100% rename from assets/full.pdn rename to full.pdn diff --git a/index.html b/index.html index 6dcd150..c19d7b8 100644 --- a/index.html +++ b/index.html @@ -14,20 +14,16 @@
-
- X - IG - YT -
+
diff --git a/assets/personnage1.png b/personnage1.png similarity index 100% rename from assets/personnage1.png rename to personnage1.png diff --git a/assets/personnage2.png b/personnage2.png similarity index 100% rename from assets/personnage2.png rename to personnage2.png diff --git a/assets/personnage3.png b/personnage3.png similarity index 100% rename from assets/personnage3.png rename to personnage3.png diff --git a/assets/personnages.png b/personnages.png similarity index 100% rename from assets/personnages.png rename to personnages.png diff --git a/assets/photo.png b/photo.png similarity index 100% rename from assets/photo.png rename to photo.png diff --git a/public/assets/Logo.webp b/public/assets/Logo.webp new file mode 100644 index 0000000..b41191e Binary files /dev/null and b/public/assets/Logo.webp differ diff --git a/public/assets/bg.jpg b/public/assets/bg.jpg new file mode 100644 index 0000000..2881970 Binary files /dev/null and b/public/assets/bg.jpg differ diff --git a/public/assets/dust.webp b/public/assets/dust.webp new file mode 100644 index 0000000..993f01e Binary files /dev/null and b/public/assets/dust.webp differ diff --git a/public/assets/foreground-back.webp b/public/assets/foreground-back.webp new file mode 100644 index 0000000..2349c19 Binary files /dev/null and b/public/assets/foreground-back.webp differ diff --git a/public/assets/foreground-front.webp b/public/assets/foreground-front.webp new file mode 100644 index 0000000..d17a9b3 Binary files /dev/null and b/public/assets/foreground-front.webp differ diff --git a/public/assets/jax.webp b/public/assets/jax.webp new file mode 100644 index 0000000..679763b Binary files /dev/null and b/public/assets/jax.webp differ diff --git a/public/assets/luna.webp b/public/assets/luna.webp new file mode 100644 index 0000000..61a164d Binary files /dev/null and b/public/assets/luna.webp differ diff --git a/public/assets/manny.webp b/public/assets/manny.webp new file mode 100644 index 0000000..c4e6a97 Binary files /dev/null and b/public/assets/manny.webp differ diff --git a/public/assets/rays.webp b/public/assets/rays.webp new file mode 100644 index 0000000..0e345ae Binary files /dev/null and b/public/assets/rays.webp differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..9698403 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/style.css b/style.css index 75d740e..4a7f90b 100644 --- a/style.css +++ b/style.css @@ -167,11 +167,11 @@ img { } .hero__title { - font-size: 6rem; - max-width: 10ch; + font-size: 2rem; + max-width: 3ch; line-height: 1; font-style: italic; - font-weight: 900; + font-weight: 300; position: relative; > span { diff --git a/styles copy.css b/styles copy.css new file mode 100644 index 0000000..dbdb209 --- /dev/null +++ b/styles copy.css @@ -0,0 +1,171 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} + +html, +body { + width: 100%; + height: 100%; + color: black; + background-color: #FFEDE5; + font-family: Arial, Helvetica, sans-serif; + font-weight: 700; + overflow-x: hidden; + /* Empêche le scroll horizontal */ +} + +.navbar { + position: fixed; + top: 0; + left: 0; + width: 100%; + background-color: white; + height: 4rem; + z-index: 1000; +} + +nav { + float: right; + background-color: transparent; + height: 100%; +} + +nav a { + display: inline-block; + color: rgb(227, 195, 14); + padding: 18px 12px; + text-decoration: none; + transition: ease-in .3s; +} + +nav a:hover { + color: white; + background: #6aa9e895; + cursor: pointer; +} + +.wrapper { + padding-top: 12rem; + height: 100vh; + overflow-x: hidden; + overflow-y: auto; + perspective: 300px; + width: 100vw; + /* Force la largeur du viewport */ + overflow-x: hidden; +} + +.parallax__group { + position: relative; + height: 100vh; + width: 100vw; + transform-style: preserve-3d; +} + +.parallax__layer { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +.sky { + background-color: white; + background: url('fond.png') no-repeat; + background-size: contain; + transform: translateZ(-600px) scale(3); + z-index: 1; +} + +.bushes { + background: url('etoiles.png') no-repeat; + background-size: contain; + transform: translateZ(-525px) scale(2.75); + z-index: 2; +} + +.water { + background: url('texte.png') no-repeat; + background-size: contain; + transform: translateZ(-400px) scale(2.33333333); + z-index: 3; +} + +.people1 { + background: url("personnages.png") no-repeat; + background-size: contain; + transform: translateZ(-250px) scale(1.833333333); + z-index: 4; +} + +.info-container { + background-color: #FFEDE5; +} + +/* Style du menu hamburger */ +.menu-icon { + display: none; + /* Caché par défaut */ + flex-direction: column; + cursor: pointer; + position: absolute; + right: 1rem; + top: 1rem; + z-index: 1001; +} + +.menu-icon span { + background: rgb(227, 195, 14); + display: block; + height: 3px; + width: 25px; + margin: 5px 0; + transition: 0.3s; +} + +/* Masquer la case à cocher */ +#menu-toggle { + display: none; +} + + +@media screen and (min-width:760px) { + .sky, + .bushes, + .water, + .people1 { + background-size: contain; + /* Remplit toute la largeur */ + /*background-position: center; Centre les images */ + } +} + +@media screen and (max-width: 760px) { + .menu-icon { + display: flex; + } + + nav { + display: none; + flex-direction: column; + position: absolute; + top: 4rem; + left: 0; + width: 100%; + background: white; + text-align: center; + } + + /* Quand la case est cochée, afficher le menu */ + #menu-toggle:checked+.menu-icon+nav { + display: flex; + } + + nav a { + padding: 15px; + display: block; + } +} diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..dbdb209 --- /dev/null +++ b/styles.css @@ -0,0 +1,171 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} + +html, +body { + width: 100%; + height: 100%; + color: black; + background-color: #FFEDE5; + font-family: Arial, Helvetica, sans-serif; + font-weight: 700; + overflow-x: hidden; + /* Empêche le scroll horizontal */ +} + +.navbar { + position: fixed; + top: 0; + left: 0; + width: 100%; + background-color: white; + height: 4rem; + z-index: 1000; +} + +nav { + float: right; + background-color: transparent; + height: 100%; +} + +nav a { + display: inline-block; + color: rgb(227, 195, 14); + padding: 18px 12px; + text-decoration: none; + transition: ease-in .3s; +} + +nav a:hover { + color: white; + background: #6aa9e895; + cursor: pointer; +} + +.wrapper { + padding-top: 12rem; + height: 100vh; + overflow-x: hidden; + overflow-y: auto; + perspective: 300px; + width: 100vw; + /* Force la largeur du viewport */ + overflow-x: hidden; +} + +.parallax__group { + position: relative; + height: 100vh; + width: 100vw; + transform-style: preserve-3d; +} + +.parallax__layer { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +.sky { + background-color: white; + background: url('fond.png') no-repeat; + background-size: contain; + transform: translateZ(-600px) scale(3); + z-index: 1; +} + +.bushes { + background: url('etoiles.png') no-repeat; + background-size: contain; + transform: translateZ(-525px) scale(2.75); + z-index: 2; +} + +.water { + background: url('texte.png') no-repeat; + background-size: contain; + transform: translateZ(-400px) scale(2.33333333); + z-index: 3; +} + +.people1 { + background: url("personnages.png") no-repeat; + background-size: contain; + transform: translateZ(-250px) scale(1.833333333); + z-index: 4; +} + +.info-container { + background-color: #FFEDE5; +} + +/* Style du menu hamburger */ +.menu-icon { + display: none; + /* Caché par défaut */ + flex-direction: column; + cursor: pointer; + position: absolute; + right: 1rem; + top: 1rem; + z-index: 1001; +} + +.menu-icon span { + background: rgb(227, 195, 14); + display: block; + height: 3px; + width: 25px; + margin: 5px 0; + transition: 0.3s; +} + +/* Masquer la case à cocher */ +#menu-toggle { + display: none; +} + + +@media screen and (min-width:760px) { + .sky, + .bushes, + .water, + .people1 { + background-size: contain; + /* Remplit toute la largeur */ + /*background-position: center; Centre les images */ + } +} + +@media screen and (max-width: 760px) { + .menu-icon { + display: flex; + } + + nav { + display: none; + flex-direction: column; + position: absolute; + top: 4rem; + left: 0; + width: 100%; + background: white; + text-align: center; + } + + /* Quand la case est cochée, afficher le menu */ + #menu-toggle:checked+.menu-icon+nav { + display: flex; + } + + nav a { + padding: 15px; + display: block; + } +} diff --git a/assets/texte.png b/texte.png similarity index 100% rename from assets/texte.png rename to texte.png