@font-face {
    font-family: headline;
    src: url('./ballinest.otf');
}

body {
    font-family: monospace;
    background-color: #eee;
}
h1 {
    font-size: 4rem;
}
h2 {
    font-size: 3rem;
}
h3 {
    font-size: 2.5rem;
}
h4 {
    font-size: 2rem;
}
h5 {
    font-size: 1.7rem;
}
p {
    font-size: 1.5rem;
    line-height: 1.5;
}
img {
    max-width: 100%;
}
.title {
    font-family: headline;
    font-size: 10rem;
    padding: 2rem;
    width: 125%;
    border-radius: 200px;
    border: 1px solid black;
    background: rgba(255,255,200,0.5);
    position: relative;
    z-index: 10;
    left: -8rem;
    box-shadow: 0px 5px 5px 10px rgba(0,0,0,0.5);
    margin-bottom: 10rem;
}
#table-of-contents {
    position: fixed;
    right: 2em;
    top: 3rem;
    border: 1px solid black;
    border-radius: 5px;
    padding: 1em;
    background-color: lightgrey;
    opacity: 0.3;
    max-width: 23%;
}
#table-of-contents:hover {
    opacity:1;
    box-shadow: 5px 5px 0px black;
}
#table-of-contents h2 {
    font-size: 1.5rem;
}

.caption {
    font-size: 2em;
    font-style: italic;
}

.caption label {
    text-align: center;
}

.figure {
    border: 1px solid black;
    border-radius: 10px;
    background: white;
}
.figure:hover {
    box-shadow: 1px 1px 5px 5px lightgrey;
}

.figure img:hover{
    box-shadow: 0px 0px 5px 5px #aaa;
}

@media only screen and (max-width:950px) {
    #table-of-contents {
	position: relative;
	max-width: 100%;
	right: 0rem;
	margin-bottom: 4rem;
	opacity: 1;
    }
    .title {
	font-size: 4rem;
	left: 0rem;
	padding: 0rem !important;
	margin-bottom: 4rem;
	max-width: 100%;
    }
}

@media only screen and (max-width:750px) {
    #table-of-contents {
	position: relative;
	max-width: 100%;
	right: 0rem;
	margin-bottom: 4rem;
	opacity: 1;
    }
    .title {
	font-size: 4rem;
	left: 0rem;
	padding: 0rem !important;
	max-width: 100%;
	margin-bottom: 4rem;
    }
    h1 {
	font-size: 2.5rem;
    }
    h2 {
	font-size: 2rem;
    }
}
