109 lines
2.6 KiB
CSS
109 lines
2.6 KiB
CSS
html,
|
|
body {
|
|
height: 100%; /* Makes html and body elements cover the full viewport height */
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.image {
|
|
background-image: url("https://i.pinimg.com/originals/74/51/5a/74515a5a0b625529e9dd0635ecc8bfcf.jpg"); /* Set your image path here */
|
|
background-size: cover; /* Cover the entire container */
|
|
background-position: center; /* Center the image */
|
|
width: 100vw; /* Full width of the viewport */
|
|
height: 100vh; /* Full height of the viewport */
|
|
margin-top: 8%;
|
|
position: absolute;
|
|
text-align: left;
|
|
}
|
|
|
|
#navbar {
|
|
overflow: hidden;
|
|
background-color: #f1f1f1;
|
|
padding: 90px 10px; /* Large padding which will shrink on scroll (using JS) */
|
|
transition: 0.4s; /* Adds a transition effect when the padding is decreased */
|
|
position: fixed; /* Sticky/fixed navbar */
|
|
width: 100%;
|
|
top: 0; /* At the top */
|
|
z-index: 99;
|
|
}
|
|
|
|
/* Style the navbar links */
|
|
#navbar a {
|
|
float: left;
|
|
color: black;
|
|
text-align: center;
|
|
padding: 12px;
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Style the logo */
|
|
#navbar #logo {
|
|
font-size: 35px;
|
|
font-weight: bold;
|
|
transition: 0.4s;
|
|
}
|
|
|
|
#navbar a.submenu {
|
|
font-size: 2rem;
|
|
margin: 0 10px;
|
|
transition: 0.4s;
|
|
}
|
|
|
|
/* Links on mouse-over */
|
|
#navbar a:hover {
|
|
background-color: #ddd;
|
|
color: black;
|
|
}
|
|
|
|
/* Display some links to the right */
|
|
#navbar-right {
|
|
float: right;
|
|
margin-right: 3%;
|
|
}
|
|
|
|
/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */
|
|
@media screen and (max-width: 580px) {
|
|
#navbar {
|
|
padding: 20px 10px !important; /* Use !important to make sure that JavaScript doesn't override the padding on small screens */
|
|
}
|
|
#navbar a {
|
|
float: none;
|
|
display: block;
|
|
text-align: left;
|
|
}
|
|
#navbar-right {
|
|
float: none;
|
|
}
|
|
}
|
|
|
|
/* .typing-message { */
|
|
/* text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1); */
|
|
/* color: #fff; */
|
|
/* text-align: left; */
|
|
/* font-size: 7em; */
|
|
/* font-weight: bold; */
|
|
/* text-align: center; */
|
|
/* margin-top: 40%; */
|
|
/* margin-left: -20rem; */
|
|
/* /* margin-left: 10px; */
|
|
/* } */
|
|
|
|
.text-container {
|
|
position: absolute;
|
|
font-family: "Cookie";
|
|
font-size: 8rem;
|
|
bottom: 30%; /* Adjust vertical position */
|
|
left: 20%; /* Adjust horizontal position */
|
|
/* transform: translateX(-50%); /* Center horizontally */ */
|
|
/* font-size: 2em; */
|
|
color: ffffff;
|
|
white-space: nowrap;
|
|
/* font-family: "Courier New", Courier, monospace; /* Handwritten-like font */ */
|
|
/* font-weight: bold; */
|
|
/* opacity: 1; /* Start with text hidden */ */
|
|
}
|