header {
    position: relative;
    min-height: min(56.25vw, 100vh);
    max-height: 100vh;
    display: flex;
}

header>video, header>img {
    position: absolute;
    inset: 0;
    margin: 0;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.hero {
    display: block;
    color: #eee;
    position: relative;
    padding: 22vh 5vw 0;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0;
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    align-content: top;
    text-align: left;
    text-align-last: left;
    /* text-shadow: 0.1em 0.1em rgba(0, 0, 0, 0.3); */
    text-shadow: 0 0 0.4em rgba(0, 0, 0, 0.5);
    align-content: start;

	font-size: max(4vw, 30px);

	@media screen and (max-width: 600px) {
		padding-left: 0vw;
		padding-right: 0vw;
	}
}

.hero em {
	font: inherit;
    color: inherit;
	text-shadow: 0.1em 0.1em rgba(255, 128, 0, 0.5);
	transition: text-shadow 0.25s;
}

.hero span {
	font: inherit;
	color: inherit;
}

.hero del {
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
    color: inherit;
	text-decoration: none;
	opacity: 0.0;
}

.hero em:hover {
	text-shadow: 0.09em 0.09em rgba(255, 128, 0, 0.8);
}

.project-buttons {
    display: flex;
    flex-direction: row;
    font-size: 200%;

    @media screen and (max-width: 1000px) {
        flex-direction: column;
        height: 400px;
        font-size: 200%;
    }
}

.project-buttons>a {
    position: relative;
    flex-grow: 1;
    flex-basis: 0;
    margin-left: 4px;
    margin-right: 4px;
    height: 250px;
    /* z-index: -2; */
    border: 1px solid var(--border-color);
    text-decoration: none;
    text-align: center;
    align-content: center;
    color: var(--text-color);
    font-weight: var(--font-weight-bold);
    font-size: 100%;
    padding: 8px;
    text-shadow:
        0.16ch 0.16ch var(--tone-color-shadow),
        0 0 12px black;

    @media screen and (max-width: 1000px) {
        font-size: 120%;
        margin: 0;
        margin-top: 8px;
        height: 80px;
    }
}

.project-buttons>a::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: white;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    transition: opacity var(--anim-speed);
}

.project-buttons>a:hover::after {
    opacity: 0.2;
}

.project-buttons>a:first-child {
    margin-left: 0;
}

.project-buttons>a:last-child {
    margin-right: 0;
}

.project-buttons>a>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
}

.project-buttons>a>img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #fff;
    opacity: 0.5;
}