-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
94 lines (81 loc) · 1.3 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap');
* {
box-sizing:border-box;
}
body {
background-color: #cb021c;
font-family: "Roboto", sans-serif;
margin: 0;
}
a {
color: white;
text-decoration: none;
}
.hamburger{
position: fixed;
top: 2 rem;
left: 2 rem;
font-size:3 rem;
}
.phone{
position: fixed;
top: 2 rem;
right: 2rem;
font-size:3 rem;
}
.logo {
color: white;
font-size: 1.7 rem;
margin: 3 rem 0;
text-align: center;
}
.logo i{
font-size: 3rem;
}
.logo h2{
font-weight: normal;
margin: 0;
}
.logo p{
color: #1f1f1f;
margin: 0;
font-weight: bold;
}
.carousel-container {
overflow: hidden;
position: relative;
height: 50vh;
width:100vw;
margin-top: 10rem;
}
.carousel{
display: flex;
position: absolute;
top: 0;
left: 0;
transform: translateX(0);
transition:transform 0.5s ease-in-out;
}
.slide {
text-align: center;
width: 100vw;
}
.slide img{
object-fit: cover;
height: 400px;
width: 400px;
}
.arrow{
background-color: transparent;
border: none;
font-size: 3rem;
opacity: 0.5;
cursor:pointer;
position: absolute;
}
.right-arrow{
right: 2rem;
}
.left-arrow{
left: 2 rem;
}