@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
	font-family: 'Work Sans', sans-serif;
	margin: 0 auto;
}

.bg {
  background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
    position: fixed;
    overflow: hidden;
}

/* Set background color */
#bg-slide::before, body {
  background-color: darkcyan;
}

#bg-main {
	background-image: radial-gradient(black 25%, transparent 0%), radial-gradient(black 25%, transparent 0%);
    width: 100vw;
    height: 100vh;
    z-index: -99;
}

#bg-slide {
    background-image: radial-gradient(black 40%, transparent 0%), radial-gradient(black 40%, transparent 0%);
    left: 0px;
    top: 180px;
    width: 100%;
    height: calc(100vh - 180px);
    z-index: -100;
}

#bg-slide::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100vw;
    min-height: 150vh;
    left: 0;
    top: 180px;
    transform: rotate(-30deg);
    transform-origin: top left;
}

#nav-btn {
	margin: auto 1.5rem;
	padding: 0;
	fill: white;
	-webkit-tap-highlight-color: transparent;
}

body > header {
	background-color: black;
	color: white;
	position: fixed;
    width: 100%;
    height: 7rem;
    z-index: 100;
    user-select: none;
}

body > header > div {
	max-width: 1000px;
	padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

body > header h1 {
	font-weight: 500;
	padding: 1rem 1.5rem;
	margin: 0;
}

nav {
    margin: auto 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    text-transform: uppercase;
    font-style: italic;
    font-size: 1.5em;
}

nav a {
    padding: 1rem 1.5rem;
    display: block;
}

@media only screen and (min-width: 1000px) {
  
	  main {
        padding: 2rem;
	      top: 7rem;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
    }

    nav li {
        display: inline-block;
    }
}

@media only screen and (max-width: 999px) {
  
    body > header > div {
        padding: 0 1rem;
    }
  
    main {
        padding: 1rem;
	      top: 7rem;
    }

    nav {
        background-color: black;
        position: fixed;
        width: 100%;
        left: 0;
    }

    nav ul {
    	margin: 1.5rem 10rem 1.5rem 2.5rem;
    }
  
    nav a {
        padding: 0.5rem 0.5rem;
    }
}

main {
    position: relative;
}

section {
    max-width: 1000px;
	background-color: white;
    margin-bottom: 2rem;
}

section > header {
    padding: 1rem 0;
}

section > header {
    background-color: black;
    color: white;
}

section h2 {
	font-weight: 600;
    text-transform: uppercase;
}

article h3 {
    font-weight: 500;
    text-transform: uppercase;
    font-style: italic;
    font-size: 1.5em;
}

article > div > header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0 2rem;
    flex-wrap: wrap;
}

article > div > header > * {
    margin: 0;
}

article > div > header > p {
	font-family: 'Roboto Mono';
	color: grey;
	font-size: 0.8em;
}

section > header, article > div, blockquote .main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

article img {
	margin: 0 auto;
    width: 400px;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    display: inline-block;
    align-self: flex-start;
}

article {
    display: flex;
    flex-wrap: wrap;
    background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
    overflow: hidden;
	background-image: radial-gradient(lightgrey 20%, transparent 0%), radial-gradient(lightgrey 20%, transparent 0%);
}

article > div > div {
	font-weight: 400;
}

article > div > footer {
	margin-top: 1rem;
	color: darkcyan;
}

article .text {
	flex: 1 1 40%;
	padding: 1rem 1.5rem;
	background-color: white;
}

a {
	color: inherit;
}

a:hover {
    color: red;
}

header a {
    text-decoration: none;
}

header a:hover {
    color: inherit;
}

blockquote {
    padding: 0 1em;
}

blockquote header {
    font-style: italic;
    font-size: 1.5em;
    padding-bottom: 1em;
}

blockquote .main {
    font-style: italic;
}

blockquote footer {
    text-align: right;
    font-weight: 500;
}

p {
	padding-bottom: 1em;
}

@media (hover: hover) {

	#nav-btn:hover {
		fill: red;
		cursor: pointer;
	}

	nav a:hover {
		color: red;
	}
  
  a:hover article > div > footer {
    color: red;
  }

}

@media (hover: none) {

	#nav-btn:active {
		fill: red;
		cursor: pointer;
	}

	nav a:active {
		color: red;
	}
  
  a:active article > div > footer {
    color: red;
  }

}