personal website (jaspermayone.com)
1.container {
2 position: relative;
3 min-height: 100vh; /* Full viewport height */
4 width: 100vw; /* Full viewport width */
5 max-width: 100%; /* Prevent overflow */
6 overflow-x: hidden; /* Prevent horizontal scroll */
7 display: flex;
8 flex-direction: column; /* Stack elements vertically */
9 justify-content: space-between; /* Space header and footer */
10 align-items: center; /* Center content horizontally */
11 padding: 0;
12 margin: 0;
13 background: rgba(255, 255, 255, 0.2); /* Slight white background */
14 backdrop-filter: blur(10px);
15}
16
17.contentBox {
18 flex-grow: 1; /* Allow content to grow and fill available space */
19 display: flex;
20 flex-direction: column;
21 align-items: flex-start; /* Align content to the left */
22 margin-left: 4vw;
23 margin-right: 4vw;
24 border-radius: 10px; /* Rounded corners */
25 padding: 20px;
26}
27
28.top {
29 width: 100vw; /* Full width */
30 text-align: center; /* Center the header text */
31 padding-top: 5px;
32 margin-bottom: 20px; /* Add space below the header */
33}
34
35.footer {
36 width: 100%; /* Full width footer */
37 text-align: center;
38 padding: 1rem;
39 background-color: rgba(255, 255, 255, 0.8);
40 box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
41}
42
43.title {
44 margin: 0; /* Remove default margin */
45 font-size: 3.5em;
46 font-family: "Cute Notes", sans-serif;
47}
48
49.menu {
50 display: flex;
51 justify-content: center;
52 gap: 1vw; /* Space between menu items */
53 font-size: 0.8em;
54 font-style: italic;
55}
56
57.menu p {
58 position: relative;
59 cursor: pointer;
60 padding-bottom: 1vh; /* Add space for the underline */
61 transition:
62 color 0.3s ease,
63 text-decoration 0.3s ease;
64}
65
66.menu p:hover {
67 color: #78cbf2; /* Change text color when hovered (adjust to desired color) */
68}
69
70.menu p.selected {
71 text-decoration: underline wavy;
72 text-decoration-color: #78cbf2; /* Wavy underline for selected items */
73}
74
75.profilePhoto {
76 border-radius: 50%;
77}
78
79.overlay {
80 border: 1px solid rgba(255, 255, 255, 0.2);
81 border-radius: 10px;
82}
83
84.title {
85 font-size: 3.5em;
86 font-family: "Cute Notes", sans-serif;
87}
88
89.hidden {
90 display: none;
91}
92
93.menuContainer {
94 display: flex;
95 justify-content: center; /* Center both menus horizontally */
96 align-items: center; /* Align menus vertically */
97 gap: 1.5vw; /* Space between the main menu and menu2 */
98}
99
100.menu2 {
101 display: flex;
102 gap: 0.5rem;
103 margin-top: -1vh;
104 align-items: center; /* Add this line */
105}
106
107.footerLink {
108 color: #78cbf2; /* Link color */
109 text-decoration: underline wavy; /* Add an underline */
110 transition: color 0.3s ease; /* Smooth color transition on hover */
111}
112
113.lnk {
114 color: #78cbf2; /* Link color */
115 text-decoration: underline wavy; /* Add an underline */
116 transition: color 0.3s ease; /* Smooth color transition on hover */
117}
118
119.lnk:hover {
120 color: #408da3; /* Change color on hover */
121}
122
123.footerLink:hover {
124 color: #408da3; /* Change color on hover */
125}