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

138 lines
2.3 KiB
Sass

// colors
$dark: #131313
$light: #d4d4d4
// fonts
@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')
$hero-stack: 'Astro', sans-serif
$title-stack: 'Poppins', sans-serif
$subtitle-stack: 'Open Sans', sans-serif
$body-stack: 'Poppins', sans-serif
*
margin: 0px
padding: 0px
box-sizing: border-box
overflow-x: hidden
background-color: $dark
.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: $dark
font-family: $title-stack
.logo
color: $light
text-transform: uppercase
letter-spacing: 3px
font-size: 1.75em
span
padding-left: 20px
ul
display: flex
justify-content: space-around
width: 30%
li
list-style: none
a
font-family: $subtitle-stack
color: $light
text-decoration: none
font-weight: bold
font-size: 1.1em
&:hover
color: white
.hero
color: $light
position: relative
width: 100%
height: 100%
#hero
position: absolute
left: 10%
top: 20%
background-color: transparent
z-index: 1
h1
font-family: $hero-stack
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
h3
font-family: "Open Sans", serif
text-align: left
font-size: 2em
background-color: transparent
canvas
z-index: 999
#about
color: $light
position: absolute
overflow: hidden
height: 100%
background-color: transparent
text-align: center
h1
font-size: 4em
font-family: $subtitle-stack
h4
font-size: 1em
font-family: $subtitle-stack
margin-left: 20%
width: 60%
button
padding: 10px 20px
border: 3px solid $light
text-transform: uppercase
margin-top: 30px
border-radius: 20px
font-family: $hero-stack
a
color: $light
text-decoration: none
div canvas
margin-top: -20%
z-index: -1