-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
133 lines (113 loc) · 2.51 KB
/
home.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
121
122
123
124
125
126
127
128
129
130
131
132
133
/* Base Styles */
body {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Roboto', sans-serif;
background-color: #f2f2f2; /* Light gray */
}
.container {
width: 100%;
max-width: 375px; /* Default width for smaller screens */
padding: 0.5px;
background-color: #ffffff; /* White */
display: flex;
flex-direction: column;
gap: 20px;
border-radius: 25px;
margin: 10px; /* Light gray margin */
}
/* Header Styles */
.header {
height: 44px;
background-color: #B61F43;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
}
/* Main Content Styles */
.main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
}
.image1 {
width: 264px;
height: 255px;
background-color: #ddd;
}
.image2 {
width: 195px;
height: 152px;
background-color: #ddd;
border-radius: 70px;
}
/* Button Styles */
.button {
padding: 10px 20px;
background-color: #B61F43;
color: #fff;
border: none;
cursor: pointer;
border-radius: 5px;
font-family: 'Roboto', sans-serif;
width: 167px;
height: 52px;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4);
transition: all 0.3s ease 0s;
}
.button:hover {
background-color: #a11937;
box-shadow: 0px 0px 0px 167px 52px rgba(161, 25, 55, 0.6);
color: #fff;
transform: translateY(-7px);
}
/* Footer Styles */
.footer {
height: 110px;
background-color: #B61F43;
display: flex;
justify-content: space-around;
align-items: center;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
.footer .button {
width: 100px;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
/* Tablets and smaller screens */
.button {
width: 100%; /* Make buttons full width */
}
}
@media (min-width: 400px) {
/* Small screens (landscape phones) */
.container {
width: 8rem; /* Adjust container width */
}
}
@media (min-width: 500px) {
/* Medium screens (portrait tablets) */
.container {
width: 12rem; /* Adjust container width */
}
}
@media (min-width: 600px) {
/* Larger screens (landscape tablets, small laptops) */
.container {
width: 15rem; /* Adjust container width */
}
}
@media (min-width: 800px) {
/* Larger screens (tablets, laptops) */
.container {
width: 26rem; /* Adjust container width */
}
}