-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (86 loc) · 1.56 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
94
95
96
97
* {
margin: auto;
padding: 0;
box-sizing: border-box;
}
.Homepage{
text-align: center;
}
.Wrapper {
vertical-align: middle;
display: flex;
}
img {
width: 400px;
height: 400px;
border-radius: 20%;
padding: 0.5px 0.5px;
box-shadow: 0 0 40px 0px rgba(255, 170, 0, 0.3);
cursor: pointer;
transition: transform 0.5s;
display: table;
margin-top: 15%;
}
img:hover {
transform: translateX(-20px);
}
button {
background: brown;
box-sizing: content-box;
border: 2px solid #111;
font-size: 16px;
font-family: Inter,sans-serif;
color:white;
font-weight: 700;
padding: 18px 25px;
margin: 30px 0;
border-radius: 15px;
width: 8%;
height: 50%;
transition: background 0.5s;
float: right;
margin-right: 10%;
}
button:hover {
background:#af9a86;
}
p {
margin-left: 30%;
font-size: 150%;
margin-top: 1%;
}
#result{
text-align: center;
font-family: 'Courier New', Courier, monospace;
margin-top: 3%;
color: brown;
font-weight: 1000;
}
/* Slider container */
.slider {
width: 100%;
height: 500px; /* Adjust based on your image height */
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.slide-image {
position: absolute;
width: 50%;
object-fit: cover;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.active-image {
width: 40%;
opacity: 1;
transform: scale(1);
z-index: 10;
}
.opacity-50 {
opacity: 0.5;
z-index: 1;
}
.scale-75 {
transform: scale(0.75);
}