-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
93 lines (89 loc) · 1.58 KB
/
style.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: url("./Images/background.png");
background-size: cover;
background-position: center;
height: 100vh;
}
header {
background:#FFD84C;
padding: 15px;
display: flex;
align-items: center;
justify-content: space-between;
color: #622906;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 80px;
margin-right: 10px;
}
#refreshBtn {
background: none;
border: none;
cursor: pointer;
padding: 10px;
}
#refreshBtn img {
width: 30px;
height: 30px;
transition: transform 0.3s ease-in-out;
}
#refreshBtn:hover img {
transform: rotate(180deg);
}
.reviews {
text-align: center;
padding: 20px;
}
h2 {
font-size: 24px;
margin-bottom: 20px;
color: black;
}
#reviewsContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
gap: 15px;
}
.review-card {
background: #FFD84C;
padding: 15px;
border-radius: 10px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
width: 300px;
text-align: center;
transition: transform 0.3s ease-in-out;
}
.review-card:hover {
transform: scale(1.05);
}
.review-card h3 {
font-size: 18px;
margin-bottom: 5px;
}
.review-card p {
font-size: 14px;
color: #555;
}
.phone {
color: #000;
font-weight: bold;
}
@media (max-width: 768px) {
#reviewsContainer {
flex-direction: column;
align-items: center;
}
.review-card {
width: 90%;
max-width: 400px;
}
}