-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
85 lines (75 loc) · 1.29 KB
/
Copy pathindex.css
File metadata and controls
85 lines (75 loc) · 1.29 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
/* Write your code here. */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
}
.bg-container {
background-image: url('https://assets.ccbp.in/frontend/react-js/congrats-card-bg.png');
background-size: cover;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 24px;
}
.heading {
color: #0f172a;
font-size: 32px;
font-weight: bold;
margin-bottom: 24px;
}
.card-container {
background-color: #ffffff;
border-radius: 16px;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 450px;
width: 100%;
text-align: center;
}
.profile-img {
width: 120px;
height: 120px;
margin-bottom: 16px;
}
.name {
color: #0f172a;
font-size: 24px;
font-weight: 500;
margin-bottom: 12px;
}
.description {
color: #475569;
font-size: 16px;
margin-bottom: 24px;
line-height: 1.5;
}
.watch-img {
width: 180px;
height: 180px;
}
/* Responsive styles for smaller mobile screens */
@media (max-width: 576px) {
.heading {
font-size: 24px;
}
.card-container {
padding: 24px;
}
.profile-img {
width: 90px;
height: 90px;
}
.watch-img {
width: 140px;
height: 140px;
}
}