-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles1.css
79 lines (75 loc) · 1.44 KB
/
styles1.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
*{
margin: 0;
padding: 0;
}
html{
font-size: 12px;
}
body{
background-image: linear-gradient(-225deg, #231557 0%, #44107A 25%, #FF1361 67%, #FFF800 100%);
}
.main{
text-align: center;
display: flex;
flex-direction: column;
max-width: 40vw;
gap: 30px;
justify-content: center;
align-items: center;
margin: auto;
padding: 30px;
}
h1{
color: #ffffff;
font-family: 'Rowdies', sans-serif;
font-size: 4.2rem;
font-weight: 900;
text-shadow: 0 7px #000000;
margin: 1.5rem;
}
button{
border-radius: 10px;
box-shadow: 0 0 10px black;
font-family: Poppins;
font-weight: 900;
color: #6e00b2;
border: none;
font-size: 1.4rem;
width:20vw;
padding: 10px;
cursor: pointer;
transition: 0.9s;
overflow-wrap: break-word;
word-break: break-word;
margin-bottom: 16px;
border: none;
background-color: #FFF3F3;
transition: transform .2s;
}
button:hover{
transform: scale(1.3);
}
@media screen and (max-width: 768px) {
.main {
max-width: 80vw;
}
button {
width: 40vw;
font-size: 1.2rem;
}
h1 {
font-size: 1.9rem;
}
}
@media screen and (max-width: 480px) {
.main {
padding: 15px;
}
button {
width: 50vw;
font-size: 0.9rem;
}
h1 {
font-size: 1.4rem;
}
}