-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
120 lines (104 loc) · 1.72 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body {
margin: 0;
padding: 0;
font-family: "Arial", sans-serif;
background: url("mountains-background.jpg") center/cover no-repeat;
color: #000;
height: 100vh; /* Make sure the body covers the whole viewport height */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.container {
max-width: 800px;
margin: 50px auto;
text-align: center;
}
.header h1 {
font-size: 2.5em;
margin: 10px 0;
}
.header p {
font-size: 1.2em;
margin: 0;
}
.countdown {
margin: 40px 0;
}
#timer {
display: flex;
justify-content: space-around;
}
#timer div {
text-align: center;
}
#timer span {
font-size: 2em;
}
.smalltext {
font-size: 0.8em;
}
.subscribe {
margin: 40px 0;
}
form {
display: flex;
justify-content: center;
align-items: center;
}
input[type="email"] {
padding: 10px;
font-size: 1em;
}
button {
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
}
.social-icons {
margin-top: 40px;
}
.social-icons a {
margin: 0 10px;
}
.social-icons img {
width: 40px;
height: 40px;
}
.modal-container {
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
}
.modal {
/* top: 50%;
left: 50%;
transform: translateX(-50%) translateY((-50%)); */
background-color: white;
width: 400px;
max-width: 90%;
height: fit-content;
border: 1px solid white;
border-radius: 10px;
padding: 18px;
display: flex;
flex-direction: column;
gap: 18px;
text-align: center;
}
.modal-title {
font-size: 1.25rem;
text-align: center;
}
.modal-button {
background-color: rgb(50, 153, 50);
color: white;
border: 0;
}