@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Nunito+Sans:wght@600;700&display=swap');

@keyframes fadein {
	from {opacity: 0;}
	to {opacity: 1;}
}

:root {
    --c1: #074C34;
    --c2: #C4A29E;
    /* --c1: #13699B;
    --c2: #cc5500; */
}

hr {
    background-color: var(--c1);
    background-color: #006F48;
    height: 1px;
}

body {
	font-family: "Inter", "Raleway", Sans-serif;
	animation-name: fadein;
	animation-duration: 1s;
    font-weight: 500;
}

canvas {
	position: fixed;
    left:0;
    top:0;
	width:100%;
	height:100%;
    z-index: -1;
}

.header {
	width: 70%;
    text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10vh;
}

.header h1 {
    font-size: 2.5em;
    font-weight: normal;
    font-family: "Inter"
}

.main {
    display: flex;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 5vh;
}

.sidebar {
    display: flex;
    margin-right: 4%;
    flex-direction: column;
    align-items: center;
}

.sidebar ul {
	list-style-type: none;
    padding-inline-start: 0;
    display: inline-block;
}

.sidebar li {
    font-size: .8em;
	margin-top: .6em;
	margin-bottom: .6em;
    text-align: center;
}

.sidebar img {
	border-radius: 15px;
	max-width: 80%;
	height: auto;
}

a {
    position: relative;
	color: black;
	text-decoration: none;
    padding-bottom: .35em;
}

.blurb a {
    color: var(--c1);
    font-weight: 600;
    /* font-weight: bold; */
    /* text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px; */
}

a::before {
    content: "";
    position: absolute;
    background-color: var(--c2);
    width: 100%;
    left: 0;
    bottom: 0;
    height: 2px;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}

a:hover::before {
    visibility: visible;
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
}

/* .sidebar li:nth-child(1) a::before {
    background-color: saddlebrown;
}

.sidebar li:nth-child(2) a::before {
    background-color: orange;
}

.sidebar li:nth-child(3) a::before {
    background-color: green;
}

.sidebar li:nth-child(4) a::before {
    background-color: purple;
}

.sidebar li:nth-child(5) a::before {
    background-color: palevioletred;
}

.sidebar li:nth-child(6) a::before {
    background-color: navy;
} */

.blurb p {
    margin-left: 4%;
    font-size: .8em;
    word-spacing: 3px;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .main {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media (max-width: 560px) {
    .main {
        flex-direction: column;
    }
}
