html, body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
color: white;
background-color: black;
}
canvas#background {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
section {
margin: 15px;
padding: 10px;
}
section h2 {
text-align: center;
opacity: 1;
}
section img {
display: inline-block;
margin-left: auto;
margin-right: auto;
}
section ul {
margin: 0;
padding: 0;
}
article {
padding: 8px;
margin: 15px;
/*border-radius: 4px;*/
/*color: black;*/
border: 4px solid rgba(255, 255, 255, 1);
background-color: rgba(255, 255, 255, 0.1);
display: flex;
flex-flow: row wrap;
}
article h3 {
text-align: center;
margin: 6px;
}
article ul {
margin-left: 20px;
}
article a {
color: white;
text-decoration: none;
}
article a:hover {
text-decoration: underline;
}
header {
flex: 0 0 100%;
}
header h1 {
text-align: center;
}
nav {
flex: 0 0 100%;
}
nav a {
color: white;
text-decoration: none;
}
nav a:hover {
color: white;
text-decoration: underline;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
nav li {
display: inline;
}
content {
display: flex;
flex-flow: row wrap;
}
aside {
padding: 5px;
flex: 1;
}
main {
z-index: 10;
flex: 6;
display: flex;
flex-flow: row wrap;
}
footer {
padding: 5px;
}
footer p {
text-align: center;
}
.project {
position: relative;
border: 1px solid white;
width: 300px;
min-height: 200px;
text-align: center;
}
.project img {
width: 45%;
min-width: 300px;
}
.project .image-carousel {
display: none;
}
.project:hover .image-carousel {
display: block;
}
#starfield-container {
margin: 5px;
margin-left: auto;
margin-right: auto;
height: 400px;
}
#boxes-container {
width: 300px;
height: 200px;
}
@media all and (max-width: 768px) {
content {
flex-flow: column wrap;
}
aside {
flex: 1;
order: 2;
}
main {
flex: 1;
order: 1;
}
img {
width: 100%;
}
}