neurosecure/css/index.css
2021-08-09 00:53:20 -04:00

134 lines
2.3 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Lora&family=Poppins:wght@400700&display=swap");
@font-face {
font-family: "Poppins";
src: url("fonts/Poppins/Poppins-Regular.ttf");
}
@font-face {
font-family: "Open Sans";
src: url("fonts/Open_Sans/OpenSans-Regular.ttf");
}
@font-face {
font-family: "Astro";
src: url("fonts/astro.ttf");
}
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
overflow-x: hidden;
background-color: #131313;
}
.nav-wrapper {
position: fixed;
width: 100%;
top: 0;
z-index: 999;
}
nav {
display: flex;
justify-content: space-around;
align-items: center;
min-height: 8vh;
background-color: #131313;
font-family: "Poppins", sans-serif;
}
nav .logo {
color: #d4d4d4;
text-transform: uppercase;
letter-spacing: 3px;
font-size: 1.75em;
}
nav .logo span {
padding-left: 20px;
}
nav ul {
display: flex;
justify-content: space-around;
width: 30%;
}
nav ul li {
list-style: none;
}
nav ul a {
font-family: "Open Sans", sans-serif;
color: #d4d4d4;
text-decoration: none;
font-weight: bold;
font-size: 1.1em;
}
nav ul a:hover {
color: white;
}
.hero {
color: #d4d4d4;
position: relative;
width: 100%;
height: 100%;
}
#hero {
position: absolute;
left: 10%;
top: 20%;
background-color: transparent;
z-index: 1;
}
#hero h1 {
font-family: "Astro", sans-serif;
text-align: left;
font-size: 8em;
padding: 0.5em;
background: -webkit-linear-gradient(#eee 70%, #333 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#hero h3 {
font-family: "Open Sans", serif;
text-align: left;
font-size: 2em;
background-color: transparent;
}
#hero canvas {
z-index: 999;
}
#about {
color: #d4d4d4;
position: absolute;
overflow: hidden;
height: 100%;
background-color: transparent;
text-align: center;
}
#about h1 {
font-size: 4em;
font-family: "Open Sans", sans-serif;
}
#about h4 {
font-size: 1em;
font-family: "Open Sans", sans-serif;
margin-left: 20%;
width: 60%;
}
#about button {
padding: 10px 20px;
border: 3px solid #d4d4d4;
text-transform: uppercase;
margin-top: 30px;
border-radius: 20px;
font-family: "Astro", sans-serif;
}
#about button a {
color: #d4d4d4;
text-decoration: none;
}
#about div canvas {
margin-top: -20%;
z-index: -1;
}
/*# sourceMappingURL=index.css.map */