-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (97 loc) · 1.78 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi&display=swap');
/* Disable Horizontal Scroll */
html, body {
max-width: 100%;
overflow-x: hidden;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
height: 100%;
min-height: 100%;
background-image: linear-gradient(135deg, #23a6d5, #23d5ab, #e73c7e, #ee7752);
background-size: 400% 400%;
animation: shiftGradient 15s ease infinite;
}
@keyframes shiftGradient {
0%, 100% {
background-position: 0% 0%;
}
50% {
background-position: 100% 100%;
}
}
section {
padding: 50px;
}
/* Header */
header {
position: fixed;
top: 0;
width: 100%;
box-sizing: border-box;
display: flex;
justify-content: space-between;
background-color: #333;
color: white;
padding: 15px;
}
header ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 10px;
overflow: hidden;
}
header a {
font-family: 'Reem Kufi';
text-decoration: none;
color: white;
position: relative;
transition: color 0.3s;
}
header a::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background-color: white;
transition: width 0.3s ease-in-out;
}
header a:hover::after {
width: 100%;
}
/* Home */
#home {
padding: 50px;
background-color: #f0f0f0;
}
/* Contact */
#contact ul {
list-style-type: none;
padding-left: 0;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 30px;
}
#contact img {
max-width: 100px;
}
.zoom img {
transition: transform .2s;
}
.zoom:hover img {
transform: scale(1.3);
}
/* Footer */
footer {
background-color: #333;
color: white;
text-align: center;
}