main {
    position: absolute;
}

.bg {
    position: relative;
    top: 0;
    left: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

#fullpage {
    width: 100vw;
    height: 90vh;
}

#title {
    position: absolute;
    text-transform: uppercase;
    left: 10vw;
    top: 55vh;
    font-size: 5em;
    padding: 0.2em;
    background-color: rgba(32, 48, 48, 0.8);
    margin: 0;
}

#nav-bar > ul {
    position: absolute;
    left: 0;
    top: calc(90vh - 3em);
    width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    height: 3em;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: var(--accent-dark);
    color: white;
    line-height: 3em;
    text-align: center;

    a {
	flex: 1;
	color: white;
	text-decoration: none;
	transition: 0.1s;

	&:hover {
	    background-color: var(--alt);
	}
    }
}

#fullpage li {
    display: inline;
}

#socials-content > ul {
    display: flex;
    z-index: 5;
    position: absolute;
    top: 1em;
    right: 1em;
    padding: 0.25em;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: var(--border-radius);
    flex-direction: column;

    img {
	width: 100%;
	filter: invert(100%);
    }

    > * {
	max-width: 2.5em;
	width: min(7vh, 7vw);
	padding: 0.5em;
    }
}

#bottom-container {
    padding-bottom: 5em;
    background-color: var(--bg);
    color: white;
    width: 100vw;
    overflow-x: hidden;
}

#filter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 48, 48, 0.9);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}

.box.picture {
    max-width: 80vw;
    max-height: 60vh;
    padding: 0;
    object-fit: cover;
}

#bio > div {
    margin-top: 1em;
    width: 40em;
    max-width: 80vw;
    right: min(5vw, 10em);
}

#bio-pic {
    width: 40em;
    height: 40em;
    left: min(35em, 14vw);
    z-index: 1;
    animation-duration: 5.4s;
}

#tech > div {
    width: 50em;
    right: 6vw;
    background-color: var(--less-dark); /*rgba(24, 37, 34, 0.9)*/
    animation-duration: 3.7s;
}

#scicom > div {
    width: 35em;
    left: 9vw;
    animation-duration: 6.2s;
}

#beanstem-pic {
    width: 20em;
    height: 30em;
    right: 10vw;
    animation-duration: 4.2s;
}
