55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
66 < title > Επικοινωνία - HellonaGR</ title >
77 < style >
8- : root {
9- --primary-color : # 4eff0b ;
10- --text-color : # 333 ;
11- --shadow-color : rgba (0 , 0 , 0 , 0.2 );
12- --white-transparent : rgba (255 , 255 , 255 , 0.8 );
13- --white-transparent-hover : rgba (255 , 255 , 255 , 0.95 );
14- }
15-
16- * {
17- box-sizing : border-box;
18- margin : 0 ;
19- padding : 0 ;
20- }
21-
22- @keyframes gradientShift {
23- 0% { background-position : 0% 50% ; }
24- 50% { background-position : 100% 50% ; }
25- 100% { background-position : 0% 50% ; }
26- }
27-
288 body {
299 text-align : center;
3010 background : linear-gradient (120deg , # 00f2fe, # 4facfe, # 43e97b );
3111 background-size : 200% 200% ;
3212 animation : gradientShift 10s ease-in-out infinite;
3313 background-attachment : fixed;
34- background-color : # 111 ;
3514 font-family : Arial, sans-serif;
3615 min-height : 100vh ;
37- color : var (--text-color );
16+ color : # 333 ;
17+ margin : 0 ;
3818 }
3919
40- h1 {
41- font-size : clamp (2.5rem , 8vw , 4.5rem );
42- color : # 000000 ;
43- text-shadow : 2px 2px 5px var (--shadow-color );
44- margin : 20px 0 ;
45- animation : fadeIn 1s ease-in-out;
20+ header {
21+ background : rgba (0 , 0 , 0 , 0.8 );
22+ padding : 1rem 2rem ;
23+ display : flex;
24+ justify-content : space-between;
25+ align-items : center;
26+ box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.3 );
4627 }
4728
48- . container {
29+ header . logo- container {
4930 display : flex;
50- flex-direction : column;
51- justify-content : center;
5231 align-items : center;
53- min-height : 100vh ;
54- padding : 20px ;
55- width : 100% ;
56- max-width : 1200px ;
57- margin : 0 auto;
32+ text-decoration : none;
33+ color : # fff ;
5834 }
5935
60- .contact-container {
61- display : flex;
62- flex-direction : column;
63- gap : 20px ;
64- max-width : 600px ;
65- width : 100% ;
66- animation : slideUp 0.8s ease-out;
36+ header .logo-img {
37+ width : 50px ;
38+ height : 50px ;
39+ border-radius : 50% ;
40+ margin-right : 10px ;
41+ }
42+
43+ header .nav-links a {
44+ color : # fff ;
45+ text-decoration : none;
46+ margin-left : 20px ;
47+ font-weight : bold;
48+ transition : color 0.3s ;
49+ }
50+
51+ header .nav-links a : hover {
52+ color : # 00c6ff ;
53+ }
54+
55+ .container {
56+ max-width : 800px ;
57+ margin : 2rem auto;
58+ padding : 1rem ;
59+ text-align : center;
6760 }
6861
6962 .contact-item {
7063 display : flex;
7164 align-items : center;
7265 justify-content : center;
73- background : var ( --white-transparent );
66+ background : rgba ( 255 , 255 , 255 , 0.8 );
7467 padding : 15px 20px ;
7568 border-radius : 10px ;
76- box-shadow : 0px 4px 8px var ( --shadow-color );
69+ box-shadow : 0px 4px 8px rgba ( 0 , 0 , 0 , 0.2 );
7770 transition : all 0.3s ease;
7871 text-decoration : none;
79- color : var ( --text-color ) ;
72+ color : # 333 ;
8073 width : 100% ;
74+ margin-bottom : 1rem ;
8175 }
8276
8377 .contact-item : hover {
8478 transform : translateY (-5px );
85- box-shadow : 0px 8px 16px var ( --shadow-color );
86- background : var ( --white-transparent-hover );
79+ box-shadow : 0px 8px 16px rgba ( 0 , 0 , 0 , 0.2 );
80+ background : rgba ( 255 , 255 , 255 , 0.95 );
8781 }
8882
8983 .contact-item img {
9690 transform : scale (1.1 );
9791 }
9892
99- .profile-img {
100- width : clamp (150px , 30vw , 200px );
101- height : clamp (150px , 30vw , 200px );
102- border-radius : 50% ;
103- object-fit : cover;
104- border : 5px solid var (--primary-color );
105- box-shadow : 0 4px 8px var (--shadow-color );
106- animation : pulse 2s infinite;
107- }
108-
109- @keyframes fadeIn {
110- from { opacity : 0 ; }
111- to { opacity : 1 ; }
112- }
113-
114- @keyframes slideUp {
115- from { opacity : 0 ; transform : translateY (30px ); }
116- to { opacity : 1 ; transform : translateY (0 ); }
117- }
118-
119- @keyframes pulse {
120- 0% { box-shadow : 0 0 0 0 rgba (78 , 255 , 11 , 0.7 ); }
121- 70% { box-shadow : 0 0 0 15px rgba (78 , 255 , 11 , 0 ); }
122- 100% { box-shadow : 0 0 0 0 rgba (78 , 255 , 11 , 0 ); }
123- }
124-
12593 .contact-text {
126- font-size : clamp (1rem , 4vw , 1.25rem );
127- font-weight : bold;
128- white-space : nowrap;
129- overflow : hidden;
130- text-overflow : ellipsis;
131- }
132-
133- .youtube-text , .planet-minecraft-text {
134- font-size : clamp (1.1rem , 4vw , 1.5rem );
94+ font-size : 1.2rem ;
13595 font-weight : bold;
136- color : # FF0000 ;
137- }
138-
139- .copy-container {
140- justify-content : space-between;
141- padding : 15px 20px ;
14296 }
14397
144- .copy-button {
145- background : var (--white-transparent );
98+ .copy-btn {
99+ background : # 00c6ff ;
100+ color : # fff ;
146101 border : none;
147- padding : 10px 16px ;
148- border-radius : 10px ;
149- font-weight : bold;
102+ padding : 10px 15px ;
103+ border-radius : 5px ;
150104 cursor : pointer;
151- box-shadow : 0 px 4 px 8 px var ( --shadow-color ) ;
152- transition : all 0.3 s ease ;
153- color : var ( --text-color ) ;
105+ font-size : 1 rem ;
106+ margin-left : 10 px ;
107+ transition : background 0.3 s ;
154108 }
155109
156- .copy-button : hover {
157- background : var (--white-transparent-hover );
158- transform : translateY (-3px );
159- box-shadow : 0px 8px 16px var (--shadow-color );
110+ .copy-btn : hover {
111+ background : # 0072ff ;
160112 }
161113
162- @media (max-width : 768px ) {
163- .contact-item {
164- flex-direction : column;
165- text-align : center;
166- padding : 15px ;
167- }
168-
169- .contact-item img {
170- margin-right : 0 ;
171- margin-bottom : 10px ;
172- }
173-
174- .contact-text , .youtube-text , .planet-minecraft-text {
175- white-space : normal;
176- }
177-
178- .copy-container {
179- flex-direction : column;
180- gap : 10px ;
181- }
182-
183- .copy-button {
184- width : 100% ;
185- }
114+ .copy-message {
115+ margin-top : 10px ;
116+ font-size : 1rem ;
117+ color : green;
118+ display : none;
186119 }
187120
188- @media (max-width : 480px ) {
189- .profile-img {
190- border-width : 3px ;
191- }
192-
193- .contact-item {
194- padding : 12px ;
195- }
196-
197- .contact-item img {
198- width : 30px ;
199- }
200-
201- .contact-item img [width = "100" ] {
202- width : 80px ;
203- }
121+ @keyframes gradientShift {
122+ 0% { background-position : 0% 50% ; }
123+ 50% { background-position : 100% 50% ; }
124+ 100% { background-position : 0% 50% ; }
204125 }
205126 </ style >
206127</ head >
207128< body >
129+ < header >
130+ < a href ="https://hellonagr.github.io/hellonagr/ " class ="logo-container ">
131+ < img src ="https://yt3.googleusercontent.com/zq_PJG5ZqWI5Y6ZEjkdkqqE8UdQxUNoY2vtSDM3bHWikqVejo0SMDFj04L0s3zcLGksbCkzS-Q=s160-c-k-c0x00ffffff-no-rj "
132+ alt ="HellonaGR Logo " class ="logo-img ">
133+ < span class ="logo-text "> HellonaGR</ span >
134+ </ a >
135+ < div class ="nav-links ">
136+ < a href ="https://hellonagr.github.io/hellonagr/ "> Αρχική</ a >
137+ < a href ="https://hellonagr.github.io/hellonagr/Blog "> Blog</ a >
138+ < a href ="https://hellonagr.github.io/hellonagr/epikinonia " style ="color: #00c6ff "> Επικοινωνία</ a >
139+ </ div >
140+ </ header >
141+
208142 < div class ="container ">
209- < h1 >
210- < img src ="https://yt3.googleusercontent.com/zq_PJG5ZqWI5Y6ZEjkdkqqE8UdQxUNoY2vtSDM3bHWikqVejo0SMDFj04L0s3zcLGksbCkzS-Q=s160-c-k-c0x00ffffff-no-rj "
211- alt ="Profile Picture "
212- class ="profile-img ">
213- < br >
214- HellonaGR
215- </ h1 >
216-
217- < div class ="contact-container ">
218- < a href ="
mailto:[email protected] "
class ="
contact-item "
> 219- < img src ="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/gmail.ico " alt ="Gmail " width ="40 ">
220- < span class ="
contact-text "
> [email protected] </ span > 221- </ a >
222-
223- <!-- Κουτί με Αντιγραφή -->
224- < div class ="contact-item copy-container ">
225- < span id ="
email-text "
class ="
contact-text "
> [email protected] </ span > 226- < button onclick ="copyEmail() " class ="copy-button "> Αντιγραφή</ button >
227- </ div >
143+ < h1 > HellonaGR</ h1 >
144+ < div class ="contact-item ">
145+ < img src ="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/gmail.ico " alt ="Gmail " width ="40 ">
146+ < span class ="
contact-text "
id ="
email-text "
> [email protected] </ span > 147+ < button class ="copy-btn " onclick ="copyEmail() "> Αντιγραφή</ button >
228148 </ div >
149+ < div class ="copy-message " id ="copy-message "> Το email αντιγράφηκε!</ div >
150+ < a href ="
mailto:[email protected] "
class ="
contact-item "
> Αποστολή Email
</ a > 229151 </ div >
230152
231153 < script >
232154 function copyEmail ( ) {
233- const email = document . getElementById ( " email-text" ) . textContent ;
234- navigator . clipboard . writeText ( email ) . then ( ( ) => {
235- const btn = document . querySelector ( ". copy-button" ) ;
236- btn . textContent = "✅ Αντιγράφηκε!" ;
155+ const emailText = document . getElementById ( ' email-text' ) . textContent ;
156+ navigator . clipboard . writeText ( emailText ) . then ( ( ) => {
157+ const copyMessage = document . getElementById ( ' copy-message' ) ;
158+ copyMessage . style . display = 'block' ;
237159 setTimeout ( ( ) => {
238- btn . textContent = "Αντιγραφή" ;
160+ copyMessage . style . display = 'none' ;
239161 } , 2000 ) ;
240162 } ) ;
241163 }
242164 </ script >
243165</ body >
244- </ html >
166+ </ html >
0 commit comments