:root {
    --head-foot-color: #eeeeee;
    --hover-color: #dddddd;
}

body {
    width: min(40rem, 80vw);
    margin: 0 auto;
}

p {
    text-indent: 1em;
}

.banner {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

.banner a {
    background-color: var(--head-foot-color);
    font-size: 1rem;
    padding: 1rem;
    border: none;
    cursor: pointer;
    flex: 1;
	text-align: center;
	color: inherit;
	text-decoration: none;
}

.banner a:hover {
    background-color: var(--hover-color);
}

.cv-row {
    margin-bottom: 1rem;
    background-color: #fafafa;
    width:100%;
    overflow: hidden;
}

.cv-proj {
    padding: 1em;
    width: auto;
}

.cv-proj a {
    color: #000050;
    text-decoration: none;
}

.cv-img-proj {
    height: 10rem;
    width: 10rem;
    float: right;
    margin-left: 1em;
}

.cv-img-proj img {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
}

.cv-flushleftright {
    display: flex;
    justify-content: space-between;
    # margin-bottom: 1em;
}

.cv-flushleft {
    text-align: left;
}

.cv-flushright {
    text-align: right;
    min-width: 5em;
}

.cv-links {
    display: flex;
    float: bottom;
}

.cv-link {
    background-color: var(--head-foot-color);
    font-size: 1rem;
    margin: 0 0.3em;
    padding: 0.5em;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
    align-items: center;
    font-weight: 5px;
}
.cv-link:hover {
    background-color: var(--hover-color);
}

footer {
    text-align: center;
    background-color: var(--head-foot-color);
}

iframe {
    width: 100%;
    aspect-ratio: 4/3;
}
