66 < title > Visuals | Coral Fustero-Torre</ title >
77 < link rel ="preconnect " href ="https://fonts.googleapis.com ">
88 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
9- < link href ="
https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Pixelify+Sans:[email protected] & display=swap "
rel ="
stylesheet "
> 9+ < link href ="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap " rel ="stylesheet ">
1010 < style >
1111 : root {
1212 --text-color : # 1a1a1a ;
2121 padding : 0 ;
2222 background-color : var (--bg-color );
2323 color : var (--text-color );
24+ -webkit-font-smoothing : antialiased;
2425 }
2526
2627 header {
27- padding : 3 rem 2rem ;
28+ padding : 4 rem 2 rem 1 rem 2rem ;
2829 max-width : 1400px ;
2930 margin : 0 auto;
3031 display : flex;
3536 .logo {
3637 text-decoration : none;
3738 color : # 000 ;
38- font-family : 'Pixelify Sans' , sans-serif;
39- font-size : 1.2rem ;
39+ font-weight : 700 ;
40+ font-size : 1.2rem ;
41+ letter-spacing : -0.5px ;
4042 }
4143
4244 nav a {
4345 text-decoration : none;
44- color : var (--light-grey );
45- font-size : 0.9rem ;
46+ color : var (--text-color );
47+ font-size : 0.95rem ;
48+ font-weight : 400 ;
4649 }
4750
48- main { padding : 0 2rem 5rem 2rem ; max-width : 1400px ; margin : 0 auto; }
51+ nav a : hover { opacity : 0.5 ; }
52+
53+ main { padding : 2rem 2rem 5rem 2rem ; max-width : 1400px ; margin : 0 auto; }
4954
5055 .section-title {
51- font-family : 'Pixelify Sans' , sans-serif ;
52- font-size : 1 rem ;
56+ font-size : 1.1 rem ;
57+ font-weight : 700 ;
5358 text-transform : uppercase;
54- letter-spacing : 2px ;
5559 color : var (--text-color );
5660 margin : 4rem 0 2rem 0 ;
5761 border-bottom : 1px solid var (--border );
58- padding-bottom : 10 px ;
62+ padding-bottom : 5 px ;
5963 }
6064
65+ /* Masonry Layout */
6166 .masonry-gallery {
6267 column-count : 4 ;
6368 column-gap : 20px ;
6772 break-inside : avoid;
6873 margin-bottom : 20px ;
6974 cursor : pointer;
75+ overflow : hidden;
7076 border : 1px solid var (--border );
7177 }
7278
7682 transition : opacity 0.3s ease;
7783 }
7884
79- .gallery-item : hover img { opacity : 0.7 ; }
85+ .gallery-item : hover img {
86+ opacity : 0.7 ;
87+ }
8088
89+ /* Lightbox */
8190 .lightbox {
8291 position : fixed;
8392 top : 0 ; left : 0 ;
96105 box-shadow : 0 5px 25px rgba (0 , 0 , 0 , 0.05 );
97106 }
98107
108+ /* Responsive */
99109 @media (max-width : 1100px ) { .masonry-gallery { column-count : 3 ; } }
100110 @media (max-width : 800px ) { .masonry-gallery { column-count : 2 ; } }
101111 @media (max-width : 500px ) { .masonry-gallery { column-count : 1 ; } }
109119 </ header >
110120
111121 < main >
122+
112123 < h2 class ="section-title "> 01. Photography</ h2 >
113124 < div class ="masonry-gallery ">
114125 < div class ="gallery-item "> < img src ="img/photography/R1-04013-0007.jpg " alt =""> </ div >
115- </ div >
126+ < div class ="gallery-item "> < img src ="img/photography/R1-04013-0010.jpg " alt =""> </ div >
127+ < div class ="gallery-item "> < img src ="img/photography/R1-04013-0012.jpg " alt =""> </ div >
128+ < div class ="gallery-item "> < img src ="img/photography/R1-04415-002A.jpg " alt =""> </ div >
129+ < div class ="gallery-item "> < img src ="img/photography/R1-04415-023A.jpg " alt =""> </ div >
130+ < div class ="gallery-item "> < img src ="img/photography/R1-04415-024A.jpg " alt =""> </ div >
131+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0003.jpg " alt =""> </ div >
132+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0008.jpg " alt =""> </ div >
133+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0014.jpg " alt =""> </ div >
134+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0016.jpg " alt =""> </ div >
135+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0026.jpg " alt =""> </ div >
136+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0005.jpg " alt =""> </ div >
137+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0008.jpg " alt =""> </ div >
138+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0012.jpg " alt =""> </ div >
139+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0023.jpg " alt =""> </ div >
140+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0024.jpg " alt =""> </ div >
141+ < div class ="gallery-item "> < img src ="img/photography/R1-04874-0026.jpg " alt =""> </ div >
142+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-0004.jpg " alt =""> </ div >
143+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-0027.jpg " alt =""> </ div >
144+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-0028.jpg " alt =""> </ div >
145+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-0036.jpg " alt =""> </ div >
146+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-0037.jpg " alt =""> </ div >
147+ < div class ="gallery-item "> < img src ="img/photography/R1-05190-0009.jpg " alt =""> </ div >
148+ < div class ="gallery-item "> < img src ="img/photography/R1-05190-0015.jpg " alt =""> </ div >
149+ < div class ="gallery-item "> < img src ="img/photography/R1-04415-243A.jpg " alt =""> </ div >
150+ < div class ="gallery-item "> < img src ="img/photography/R1-05053-3387.jpg " alt =""> </ div >
151+ < div class ="gallery-item "> < img src ="img/photography/R1-04723-0004.jpg " alt =""> </ div >
152+ < div class ="gallery-item "> < img src ="img/photography/R1-04724-0024.jpg " alt =""> </ div >
153+ < div class ="gallery-item "> < img src ="img/photography/R1-05190-0004.jpg " alt =""> </ div >
154+ < div class ="gallery-item "> < img src ="img/photography/R1-05190-0008.jpg " alt =""> </ div >
155+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0024.jpg " alt =""> </ div >
156+ < div class ="gallery-item "> < img src ="img/photography/R1-04726-0028.jpg " alt =""> </ div >
157+ </ div >
116158
117159 < h2 class ="section-title "> 02. Collage</ h2 >
118160 < div class ="masonry-gallery ">
119161 < div class ="gallery-item "> < img src ="img/collage/1.png " alt =""> </ div >
120- </ div >
162+ < div class ="gallery-item "> < img src ="img/collage/2.png " alt =""> </ div >
163+ < div class ="gallery-item "> < img src ="img/collage/3.png " alt =""> </ div >
164+ < div class ="gallery-item "> < img src ="img/collage/4.png " alt =""> </ div >
165+ < div class ="gallery-item "> < img src ="img/collage/5.png " alt =""> </ div >
166+ < div class ="gallery-item "> < img src ="img/collage/6.png " alt =""> </ div >
167+ < div class ="gallery-item "> < img src ="img/collage/7.png " alt =""> </ div >
168+ < div class ="gallery-item "> < img src ="img/collage/8.png " alt =""> </ div >
169+ < div class ="gallery-item "> < img src ="img/collage/9.png " alt =""> </ div >
170+ < div class ="gallery-item "> < img src ="img/collage/10.png " alt =""> </ div >
171+ < div class ="gallery-item "> < img src ="img/collage/11.png " alt =""> </ div >
172+ < div class ="gallery-item "> < img src ="img/collage/12.png " alt =""> </ div >
173+ < div class ="gallery-item "> < img src ="img/collage/13.png " alt =""> </ div >
174+ < div class ="gallery-item "> < img src ="img/collage/14.png " alt =""> </ div >
175+ </ div >
176+
177+ < h2 class ="section-title "> 03. Memory</ h2 >
178+ < div class ="masonry-gallery ">
179+ </ div >
180+
121181 </ main >
122182
123183 < div id ="lightbox " class ="lightbox " onclick ="this.style.display='none' ">
@@ -127,6 +187,7 @@ <h2 class="section-title">02. Collage</h2>
127187 < script >
128188 const lightbox = document . getElementById ( 'lightbox' ) ;
129189 const lightboxImg = document . getElementById ( 'lightbox-img' ) ;
190+
130191 document . querySelectorAll ( '.gallery-item img' ) . forEach ( img => {
131192 img . onclick = ( e ) => {
132193 e . stopPropagation ( ) ;
@@ -135,5 +196,6 @@ <h2 class="section-title">02. Collage</h2>
135196 } ;
136197 } ) ;
137198 </ script >
199+
138200</ body >
139201</ html >
0 commit comments