-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpage1.css
103 lines (90 loc) · 2.78 KB
/
page1.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
html,body{
margin: 0;
padding: 0;
height: 100%;
}
.background-section {
position: relative; /* Position relative for absolute positioning of the overlay */
height: 100vh; /* Full viewport height */
background-image: url('./bg.png');
background-size: cover; /* Cover the entire area */
background-position: center -60%; /* Center the image */
background-repeat: no-repeat; /* Prevent tiling */
}
.logo img{
width: 130px;
}
.header-content {
display: flex; /* Create a flex container */
justify-content: space-between; /* Space between logo and navigation */
align-items: center; /* Vertically center content */
}
header {
background-color: rgba(0, 134, 60, 1);
padding: 10px 10px;
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
position: relative;
z-index: 2; /* Ensure header appears above overlay */
padding: 10px 20px;
color: white; /* Change color as needed */
}
.nav-options {
display: flex; /* Align links in a row */
margin-left: auto; /* Pushes the links to the right */
}
.nav-options a {
margin-left: 150px; /* Spacing between the links */
color: white; /* Link text color */
text-decoration: none; /* Remove underline */
font-size: 20px;
font-weight: bold;
transition: transform 0.3s ease;
padding:30px;
font-family: "Afacad", sans-serif;
}
.nav-options a:hover {
text-decoration: underline; /* Underline when hovered */
transform: scale(1.1);
}
.main-heading {
position: relative; /* Keep it in the normal flow */
z-index: 0; /* Ensure the heading appears above the overlay */
color: white; /* Change color to fit your design */
text-align: center; /* Center the heading */
font-size: 500px; /* Adjust size as needed */
margin-top: 20px; /* Add spacing above the heading */
font-family: Arial, sans-serif; /* Change font as needed */
}
.quote-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* height: 100%; Full height of the section */
padding: 20px; /* Padding around the quote */
background-color: rgba(0, 134, 60, 1);
}
.quote-heading {
font-size: 2em;
color: black;
margin-bottom: 30px; /* Space below the heading */
}
.quote-box {
background-color: rgba(200, 200, 200, 0.7); /* Light gray with transparency */
border-radius: 15px;
padding: 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
max-width: 600px; /* Limit the width */
text-align: center;
transition: transform 0.3s ease; /* Add transition for hover effect */
}
.quote-box:hover {
transform: scale(1.05); /* Scale effect on hover */
}
.quote {
font-size: 1.5em;
color: black;
line-height: 1.6;
margin-top: -10px; /* Space above the quote */
}