-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
66 lines (59 loc) · 1.44 KB
/
styles.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
body {
background-color: #D5E1EF;
padding: 148px 0;
margin: 0;
display: flex;
justify-content: center;
/* Centering content horizontally */
align-items: center;
/* Centering content vertically */
height: 100vh;
/* Setting the height of the body to fill the viewport */
}
main {
background-color: white;
display: flex;
flex-direction: column;
/* Stacking child elements vertically */
justify-content: center;
/* Centering child elements vertically */
align-items: center;
/* Centering child elements horizontally */
text-align: center;
/* Centering text content horizontally */
border-radius: 20px;
/* Adding rounded corners to the main */
max-width: 320px;
/* Setting the maximum width of the main */
height: 485px;
/* Setting the height of the main */
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
/* Adding a box shadow to the main */
}
body main img {
width: 288px;
height: 288px;
border-radius: 20px;
margin: 0px 16.5px 0;
}
h1 {
color: #1F314F;
font-family: Outfit;
font-size: 22px;
font-weight: bolder;
padding: 30px 36px 22px;
margin: 0;
}
p {
color: #7D889E;
margin: 0;
padding: 0 37px;
}
@media screen and (max-width: 375px) {
body main img {
margin: 0px 16px 0;
}
body {
padding: 85px 0;
}
}