-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
131 lines (113 loc) · 3.2 KB
/
style3.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
/* Navbar Styles */
.custhead{
font-family: 'Montserrat', sans-serif;
}
.custom-navbar {
width: 80%;
}
.custnav{
border-radius: 25px;
box-shadow: 2px 3px 8px 3px rgba(0, 0, 0, 0.449) inset;
padding: 10px 20px;
display: inline-flex;
align-items: center;
justify-content: space-around;
font-weight: 600;
}
.navalign{
width: 80%;
display: flex;
align-items: center;
justify-content: space-around;
}
.navbar-brand {
margin-right: 30px;
}
.navbar-nav .nav-link {
padding: 0 20px;
}
/* Button Styles */
.custom-button {
margin: 50px;
border-radius: 15px; /* Curved edges */
width: 400px; /* Custom width */
height: 400px; /* Custom height */
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions for transform and box-shadow */
cursor: pointer; /* Change cursor to pointer on hover */
overflow: hidden; /* Ensure the shadow is visible */
position: relative; /* Needed for the shadow effect */
border: none;
}
.custom-button:hover {
transform: scale(1.05); /* Scale up the button slightly on hover */
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Add a shadow on hover */
}
.custom-button:active {
transform: scale(0.95); /* Scale down the button slightly when clicked */
box-shadow: none; /* Remove shadow when clicked */
}
.button-1 {
background-image: url('images/PXL_20230402_090317750.jpg'); /* Background image for button 1 */
}
.button-2 {
background-image: url('images/PXL_20230402_120031175.jpg'); /* Background image for button 2 */
}
.button-title {
color: rgb(255, 255, 255);
font-weight: bold;
font-size: 2.5rem; /* Adjust font size as needed */
}
a:hover {
text-decoration: none;
}
.button-container {
display: flex;
justify-content: center;
flex-wrap: wrap; /* Allow the buttons to wrap to the next line if needed */
gap: 50px; /* Maintain a consistent gap between the buttons */
margin-top: 50px;
}
@media (max-width: 1200px) {
.custom-button {
width: 350px; /* Adjust width for large screens */
height: 350px; /* Adjust height for large screens */
}
}
@media (max-width: 992px) {
.custom-button {
width: 300px; /* Adjust width for tablets */
height: 300px; /* Adjust height for tablets */
margin: 30px;
}
}
@media (max-width: 768px) {
.button-container {
flex-direction: column; /* Stack buttons vertically on mobile */
align-items: center; /* Center-align buttons vertically */
}
.custom-button {
width: 300px; /* Adjusted width for mobile devices */
height: 300px; /* Adjusted height for mobile devices */
margin-bottom: 20px; /* Space between vertically stacked buttons */
}
.button-1 {
margin-top: 50px; /* Adjust margin for button 1 */
margin-left: 0; /* Reset margin for button 1 */
}
.button-2 {
margin-top: 20px; /* Adjust margin for button 2 */
margin-left: 0; /* Reset margin for button 2 */
}
}
@media (max-width: 576px) {
.custom-button {
width: 300px; /* Adjusted width for smaller devices */
height: 300px; /* Adjusted height for smaller devices */
}
}