body {
    font-family: 'Roboto Flex', Arial, sans-serif;
    color: black;
}

h1,
h2,
h3,
h4,
h5,
h6,
nav {
    font-family: 'Tourney', Arial, sans-serif;
}

h1 {
    font-size: 48px;
    text-align: center;
    color: #C61408;
}

h2 {
    font-size: 30px;
    text-align: center;
    color: black;
}

h3,
h4 {
    font-size: 18px;
    text-align: center;
    color: black;
}

h4 {
    color: #C61408;
}

nav {
    font-size: 24px;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
}

nav a {
    color: black;
    text-decoration: underline;
}

.bottom-nav {
    clear: both;
    position: relative;
    text-align: center;
    z-index: 2;
}

.intro-text {
    margin: 0 10% 0;
}

.bottom {
    margin-bottom: 0;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin: 10%;
}

.home-gallery {
    margin: 1% 10% 10%;
}

.page-menu {
    display: block;
    margin: 0 10% 32px;
    text-align: center;
}

.page-menu>p {
    text-align: left;
}

.page-menu>a {
    display: inline-block;
    margin: 0 8px;
}

.page-menu>a h3 {
    margin: 8px 0;
}

.image-hover {
    position: relative;
}

.image-link {
    flex: 1 1 280px;
    max-width: 400px;
    color: inherit;
    text-decoration: none;
}

.image-hover img {
    display: block;
    width: 100%;
    margin: 0;
    transition: filter 0.3s ease;
}

.image-hover span {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    font-family: 'Tourney', Arial, sans-serif;
    font-size: 24px;
    left: 50%;
    opacity: 0;
    padding: 12px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    width: 70%;
}

.image-hover:hover img {
    filter: blur(4px) grayscale(100%);
}

.image-hover:hover span {
    opacity: 1;
}

.two {
    width: 48%;
    margin-right: auto;
    padding-left: 32px;
    box-sizing: border-box;
}

.three {
    width: 48%;
    margin-left: auto;
    padding-right: 32px;
    box-sizing: border-box;
}

.left {
    width: 46%;
    margin: 20px 20px auto 20px;
}

.right {
    width: 46%;
    margin: 20px 20px 20px auto;
}

img {
    flex: 1 1 280px;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 400 / 585;
    height: auto;
    object-fit: cover;
    object-position: center;
    padding: 0;
    margin: 0 0 30px 30px;
    border: 4px solid #C61408;
    box-sizing: border-box;
}

.gear {
    aspect-ratio: 800 / 1170;
    width: 48%;
    max-width: 800px;
    margin: 32px 32px 32px 32px;
    float: right;
    box-sizing: border-box;
    position: sticky;
    top: 32px;
    bottom: 160px;
}

.gear-photo {
    width: 48%;
    max-width: 800px;
    margin: 32px;
    float: right;
    position: sticky;
    top: 32px;
    bottom: 160px;
    box-sizing: border-box;
}

.gear-photo img {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.culture {
    aspect-ratio: 800 / 1170;
    width: 48%;
    max-width: 800px;
    margin: 32px 32px 32px 32px;
    float: left;
    box-sizing: border-box;
    position: sticky;
    top: 32px;
}

.culture-photo {
    width: 48%;
    max-width: 800px;
    margin: 32px;
    float: left;
    position: sticky;
    top: 32px;
    bottom: 160px;
    box-sizing: border-box;
}

.culture-photo img {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

figcaption {
    margin-top: 8px;
    text-align: center;
    color: #C61408;
    font-size: 12px;
    text-decoration: none;
}

.culture-content::after {
    clear: both;
    content: "";
    display: block;
}

.gear-content::after {
    clear: both;
    content: "";
    display: block;
}

@keyframes tiltleft {
    0% {
        transform: rotateZ(-5deg);
    }

    50% {
        transform: rotateZ(5deg);
    }

    100% {
        transform: rotateZ(-5deg);
    }
}

@keyframes tiltright {
    0% {
        transform: rotateZ(5deg);
    }

    50% {
        transform: rotateZ(-5deg);
    }

    100% {
        transform: rotateZ(5deg);
    }
}

#jerseyleft {
    width: 204px;
    height: 150px;
    animation: tiltleft 2s ease-in-out infinite;
    position: static;
    top: 48px;
    left: 256px;
    z-index: 10;
    border: none;
    margin: 24px 0 0 128px;
    padding: 0;
    ;
    float: left;
}

#jerseyright {
    width: 204px;
    height: 150px;
    animation: tiltright 2s ease-in-out infinite;
    position: static;
    top: 48px;
    right: 256px;
    z-index: 10;
    border: none;
    margin: 24px 128px 0 0;
    padding: 0;
    float: right;
}

.boxmodel-head {
    margin: 48px auto 16px auto;
    border: black 4px solid;
    border-radius: 8px;
    color: white;
    padding: 16px;
    background-color: #C61408;
    width: 600px;
    justify-content: center;
}

.boxmodel-subhead {
    margin: 16px auto 32px auto;
    border: #C61408 4px solid;
    border-radius: 8px;
    color: white;
    padding: 16px;
    background-color: black;
    width: 500px;
    justify-content: center;
}

.boxmodel-subheadgear {
    margin: 16px auto 32px auto;
    border: #C61408 4px solid;
    border-radius: 8px;
    color: white;
    padding: 16px;
    background-color: black;
    width: 500px;
    justify-content: center;
    font-size: 22px;
}

.square {
    list-style: square;
}

.three>.square {
    padding-left: 64px;
}

.circle {
    list-style: circle;
}

.alignright {
    text-align: right;
}

.alignleft {
    text-align: left;
}

a:link {
    color: black;
    text-decoration: underline;
    font-weight: 500;
    padding: 4px;
}

a.image-link {
    text-decoration: none;
}

a:hover {
    color: #C61408;
    text-decoration: underline;
    font-weight: 500;
    padding: 4px;
}

a.image-link:hover {
    text-decoration: none;
}

a:visited {
    color: maroon;
    text-decoration: underline;
    font-weight: 500;
    padding: none;
}

a.image-link:visited {
    text-decoration: none;
}

a:visited:hover {
    color: #C61408;
    text-decoration: underline;
    font-weight: 500;
    padding: 4px;
}

a.image-link:visited:hover {
    text-decoration: none;
}