-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
104 lines (91 loc) · 2.18 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
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
:root {
--background-color: #2C3E50;
--card-background: #1b233d;
--primary-color: #3498DB;
--primary-hover-color: #2980B9;
--text-color: #ECF0F1;
--card-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px;
--gradient-bg: linear-gradient(45deg, rgb(4, 159, 187) 0%, rgb(80, 246, 255) 100%);
}
body {
font-family: 'Times New Roman', Times, serif;
text-align: center;
background-color: var(--background-color);
color: var(--text-color);
margin: 0;
padding: 0;
}
.card {
width: 230px;
border-radius: 20px;
background: var(--card-background);
padding: 20px;
margin: 50px auto;
overflow: hidden;
box-shadow: var(--card-shadow);
transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card .top-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: var(--gradient-bg);
border-radius: 15px;
width: 100%;
padding: 20px;
}
.card .top-section h2,
.card .top-section #moon-phase {
margin: 10px 0;
color: var(--text-color);
}
.card .top-section h2 {
font-size: 18px;
}
.card .top-section #moon-phase {
font-size: 24px;
}
.card .bottom-section {
margin-top: 15px;
padding: 10px 5px;
width: 100%;
}
.card .bottom-section .title {
font-size: 17px;
font-weight: bold;
color: var(--text-color);
text-align: center;
letter-spacing: 2px;
}
.card .bottom-section .form-group {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 10px;
}
.card .bottom-section .form-group input[type="text"],
.card .bottom-section .form-group button {
width: 100%;
max-width: 200px;
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
border: none;
}
.card .bottom-section .form-group button {
background-color: var(--primary-color);
color: var(--text-color);
cursor: pointer;
transition: background-color 0.3s ease;
}
.card .bottom-section .form-group button:hover {
background-color: var(--primary-hover-color);
}
.getbtn:hover {
transform: scale(1.05);
}