-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
95 lines (81 loc) · 1.4 KB
/
Copy pathmain.css
File metadata and controls
95 lines (81 loc) · 1.4 KB
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
@import url(https://fonts.googleapis.com/css2?family=Lora);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
border: none;
outline: none;
font-family: "Outfit", sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #f5f5f5;
}
.container {
display: flex;
align-items: center;
gap: 3vw;
max-width: 90vw;
padding: 2rem;
}
img {
width: 50vh;
height: 50vh;
object-fit: cover;
clip-path: circle(40%);
border-radius: 10%;
flex-shrink: 0;
}
.text-content {
display: flex;
flex-direction: column;
gap: 1rem;
flex: 1;
}
h1 {
text-align: left;
font-size: 2.5rem;
margin-bottom: 0.5rem;
line-height: 1.2;
}
p {
font-size: 1.1rem;
line-height: 1.4;
color: #333;
}
.links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.links a {
color: #007bff;
font-weight: 500;
transition: color 0.3s ease;
}
.links a:hover {
color: #0056b3;
}
/* Responsive design */
@media (max-width: 768px) {
.container {
flex-direction: column;
text-align: center;
gap: 2rem;
}
img {
width: 40vh;
height: 40vh;
}
h1 {
text-align: center;
font-size: 2rem;
}
.text-content {
align-items: center;
}
}