html {
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    background: url('img/bg.png');
}

h1 {
    font-size: 60px;
    line-height: 1.3333333333;
}

h2 {
    font-size: 40px;
    line-height: 1.3380952381;
}

h3 {
    font-size: 36px;
    line-height: 1.3833333333;
}

h4 {
    font-size: 30px;
    line-height: 1.3380952381;
}

@font-face {
    font-family: 'Komikax';
    src: url('fonts/KOMIKAX_.ttf');
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    12.5% {
        transform: rotate(-2deg);

    }

    25% {
        transform: rotate(0deg);
    }

    37.5% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(0deg);
    }

    62.5% {
        transform: rotate(-2deg);
    }

    75% {
        transform: rotate(0deg);
    }

    87.5% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.navRow {
    background-color: #003366;
    margin-bottom: 2em;
    padding: 0.5em 0;
}

.mainPageNavLinkText {
    font-family: 'Times New Roman', Times, serif;
    font-size: 36px;
    color: #ffffff;
    text-decoration: none;
}

.mainPageNavLinkText:hover {
    color: #0099cc;
}

.headerImage {
    margin-top: 1em;
}

.headerImg {
    width: 100%;
}

.sleighImage {
    margin: 5em 0;
    overflow: hidden;
}

.sleighImg {
    width: 200%;
    height: 200%;
    transition: all;
}

.sleighImg:hover {
    transform: rotate(180deg);
}

.titleText {
    padding: 5px;
    text-align: center;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #003366;
    width: 100%;
    /* -webkit-text-stroke: 1px black; */
    /* text-shadow: 0px 0px 10px #000000; */
    transition: all .2s ease-in-out;
    display: block;
}

.titleText:hover {
    transform: scale(1.1);
}

.contentRow {
    padding-top: 60px;
    padding-bottom: 30px;
    height: 100%;
}

.smallContentRow {
    padding: 40px 0;
    height: 100%;
}

.contentRowVisControl {
    display: block;
}

.smallContentRowVisControl {
    display: none;
}

.ulsaCover {
    padding: 5px;
    text-align: right;
}

.ulsaCoverImg {
    width: 90%;
    height: 90%;
    transform: rotate(-10deg);
    transition: all .2s ease-in-out;
}

.ulsaCoverImg:hover {
    transform: scale(1.1);
}

.ulsaBlurb {
    text-align: left;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #006633;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.ulsaBlurb:hover {
    transform: scale(1.1);
}

.ulsaCoverSubPage {
    text-align: center;
}

.ulsaCoverImgSubPage {
    width: 40%;
    height: 40%;
    transition: all .2s ease-in-out;
}

.ulsaCoverImgSubPage:hover {
    transform: rotate(-180deg);
    ;
}

.ulsaBlurbSubPage {
    text-align: center;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #006633;
    text-decoration: none;
}

.storeCover {
    padding: 5px;
    text-align: right;
}

.storeCoverImg {
    width: 90%;
    height: 90%;
    transform: rotate(-10deg);
    transition: all .2s ease-in-out;
}

.storeCoverImg:hover {
    transform: scale(1.1);
}

.storeBlurb {
    text-align: left;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #003366;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.storeBlurb:hover {
    transform: scale(1.1);
}

.storeCoverSubPage {
    text-align: center;
}

.storeCoverImgSubPage {
    width: 40%;
    height: 40%;
    transition: all .2s ease-in-out;
}

.storeCoverImgSubPage:hover {
    transform: rotate(-180deg);
    ;
}

.storeBlurbSubPage {
    text-align: center;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #003366;
    text-decoration: none;
}

.baseballCover {
    padding: 5px;
    text-align: left;
}

.baseballCoverImg {
    width: 60%;
    height: 60%;
    transform: rotate(10deg);
    transition: all .2s ease-in-out;
}

.baseballCoverImg:hover {
    transform: scale(2);
}

.baseballBlurb {
    text-align: right;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #663300;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.baseballCoverSubPage {
    text-align: center;
}

.baseballCoverImgSubPage {
    width: 40%;
    height: 40%;
    transition: all .2s ease-in-out;
}

.baseballCoverImgSubPage:hover {
    transform: scale(2);
}

.baseballBlurbSubPage {
    text-align: center;
    font-size: 80px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #663300;
    text-decoration: none;
}

.baseballBlurb:hover {
    transform: scale(1.1);
}

.gameFrame {
    margin-top: 2em;
    transition: all .2s ease-in-out;
}

.gameFrame:hover {
    animation: wiggle 0.5s ease-in-out;
}

.subheadText {
    padding: 5px;
    text-align: center;
    vertical-align: center;
    font-size: 70px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #663300;
    width: 100%;
}

.subheadTextGreen {
    padding: 5px;
    text-align: center;
    vertical-align: center;
    font-size: 60px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #006633;
    width: 100%;
}

.subheadTextBlue {
    padding: 5px;
    text-align: center;
    vertical-align: center;
    font-size: 70px;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    color: #003366;
    width: 100%;
}

.videoRow {
    padding: 25px 0;
    height: 100%;
    margin: 1em 0;
}

.videoDiv {
    padding: 5px;
    text-align: center;
    vertical-align: center;
    height: 100%;
}

.video {
    width: 560px;
    height: 315px;
}

.videoDescText {
    padding: 5px;
    text-align: center;
    vertical-align: center;
    font-family: 'Times New Roman', Times, serif;
    color: #663300;
}

.disclaimerText {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #003366;
    margin: 5px 0;
    line-height: 1.3;
    padding: 0 20px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.disclaimerText:hover {
    transform: scale(1.05);
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
}

.invisiRow {
    height: 10px;
    position: relative;
    z-index: 1;
}

.flyingLink {
    position: absolute;
    bottom: 50px;
    left: 60px;
    width: 100px;
    height: 100px;
    z-index: 2;
}

.flyingImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.johnnyConsumeSandwich {
    position: relative;
    display: inline-block;
    max-width: 200px;
    margin-top: -20px;
}

.johnnyConsumeBack {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.johnnyConsumeFront {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
}

.changeStyleImage {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.px8Border {
    border-radius: 8px;
}

#filterInput,
#sortSelect {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ced4da;
    transition: box-shadow 0.3s ease;
}

#filterInput:focus,
#sortSelect:focus {
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

label[for="filterInput"],
label[for="sortSelect"] {
    color: navy !important;
}

#reshuffleBtn {
    background-color: white;
    color: navy;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 6px 15px;
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    margin-left: 10px;
}

#reshuffleBtn:hover {
    transform: translateY(-2px);
    background-color: #f8f9fa;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    border-color: #b0b5bb;
}

.zoom-btn {
    background: white;
    border: 1px solid #ced4da;
    border-radius: 5px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    color: navy;
}

.zoom-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    background-color: #f8f9fa;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.zoom-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e9ecef;
    box-shadow: none;
    transform: none;
}

.zoom-btn svg {
    width: 20px;
    height: 20px;
    fill: navy;
}

/* Custom 5-column layout helper for Bootstrap 5 */
@media (min-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Grid Styling */
.content-grid {
    margin-top: 10px;
    margin-bottom: 10px;
}

.grid-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.content-backdrop {
    background-color: rgba(255, 255, 255, 0.35);

    border-radius: 50px;
    padding: 15px 15px;
    margin-bottom: 20px;

    box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.35);
}

.corner-customization-link {
    position: fixed;
    top: 100px;
    right: 20px;
    left: auto;
    z-index: 2000;

    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);

    color: navy;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.corner-customization-link:hover {
    transform: scale(1.05);
    background-color: #fff;
    color: #0d6efd;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* NEW: Animation Sequence for Flying Merchandise */
@keyframes flySequence {

    /* 0% - 20%: Scale up from 0 to 2.0 at origin */
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
    }

    20% {
        transform: translate(0, 0) scale(2.0) rotate(0deg);
    }

    /* 20% - 40%: Spin counter-clockwise once */
    40% {
        transform: translate(0, 0) scale(2.0) rotate(-360deg);
    }

    /* 40% - 100%: Move to destination and shrink */
    100% {
        transform: translate(1089px, 30px) scale(0.9) rotate(-360deg);
    }
}

.flying-animation {
    animation-name: flySequence;
    animation-duration: 5s;
    /* Total time increased to fit all steps */
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.footer {
    text-align: center;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bolder;
    color: #003366;
    width: 100%;
    /* -webkit-text-stroke: 1px black;
    text-shadow: 0px 0px 10px #000000; */
    margin-bottom: 1em;
    padding: 20px;
}

@media only screen and (max-width: 1200px) and (min-width: 992px) {

    .titleText {
        font-size: 60px;
    }

    .mainPageNavLinkText {
        font-size: 30px;
    }

    .contentRowVisControl {
        display: block;
    }

    .smallContentRowVisControl {
        display: none;
    }

    .ulsaCover {
        text-align: right;
    }

    .ulsaCoverImg {
        width: 80%;
        height: 80%;
        transform: rotate(-10deg);
    }

    .ulsaCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .ulsaBlurb {
        text-align: left;
        font-size: 60px;
    }

    .ulsaBlurbSubPage {
        font-size: 60px;
    }

    .storeCover {
        text-align: right;
    }

    .storeCoverImg {
        width: 80%;
        height: 80%;
        transform: rotate(-10deg);
    }

    .storeCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .storeBlurb {
        text-align: left;
        font-size: 60px;
    }

    .storeBlurbSubPage {
        font-size: 60px;
    }

    .baseballCover {
        text-align: left;
    }

    .baseballCoverImg {
        width: 50%;
        height: 50%;
        transform: rotate(10deg);
    }

    .baseballBlurb {
        text-align: right;
        font-size: 60px;
    }

    .subheadText {
        font-size: 50px;
    }

    .subheadTextGreen {
        font-size: 40px;
    }

    .subheadTextBlue {
        font-size: 50px;
    }

    .video {
        width: 480px;
        height: 270px;
    }

    .corner-customization-link {
        top: 84px;
        right: 17px;
    }

}

@media only screen and (max-width: 991px) and (min-width: 768px) {

    .titleText {
        font-size: 60px;
    }

    .mainPageNavLinkText {
        font-size: 24px;
    }

    .contentRowVisControl {
        display: none;
    }

    .smallContentRowVisControl {
        display: block;
    }

    .ulsaCover {
        text-align: center;
    }

    .ulsaCoverImg {
        width: 75%;
        height: 75%;
        transform: rotate(0deg);
    }

    .ulsaCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .ulsaBlurb {
        text-align: center;
        font-size: 60px;
    }

    .ulsaBlurbSubPage {
        font-size: 60px;
    }

    .storeCover {
        text-align: center;
    }

    .storeCoverImg {
        width: 75%;
        height: 75%;
        transform: rotate(0deg);
    }

    .storeCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .storeBlurb {
        text-align: center;
        font-size: 60px;
    }

    .storeBlurbSubPage {
        font-size: 60px;
    }

    .baseballCover {
        text-align: center;
    }

    .baseballCoverImg {
        width: 50%;
        height: 50%;
        transform: rotate(0deg);
    }

    .baseballBlurb {
        text-align: center;
        font-size: 60px;
    }

    .subheadText {
        font-size: 50px;
    }

    .subheadTextGreen {
        font-size: 40px;
    }

    .subheadTextBlue {
        font-size: 50px;
    }

    .video {
        width: 560px;
        height: 315px;
    }

    .corner-customization-link {
        top: 67px;
        right: 13px;
    }

}

@media only screen and (max-width: 767px) and (min-width: 0px) {

    .titleText {
        font-size: 50px;
    }

    .mainPageNavLinkText {
        font-size: 18px;
    }

    .contentRowVisControl {
        display: none;
    }

    .smallContentRowVisControl {
        display: block;
    }

    .ulsaCover {
        text-align: center;
    }

    .ulsaCoverImg {
        width: 65%;
        height: 65%;
        transform: rotate(0deg);
    }

    .ulsaCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .ulsaBlurb {
        text-align: center;
        font-size: 50px;
    }

    .ulsaBlurbSubPage {
        font-size: 50px;
    }

    .storeCover {
        text-align: center;
    }

    .storeCoverImg {
        width: 65%;
        height: 65%;
        transform: rotate(0deg);
    }

    .storeCoverImgSubPage {
        width: 40%;
        height: 40%;
    }

    .storeBlurb {
        text-align: center;
        font-size: 50px;
    }

    .storeBlurbSubPage {
        font-size: 50px;
    }

    .baseballCover {
        text-align: center;
    }

    .baseballCoverImg {
        width: 50%;
        height: 50%;
        transform: rotate(0deg);
    }

    .baseballBlurb {
        text-align: center;
        font-size: 50px;
    }

    .subheadText {
        font-size: 40px;
    }

    .subheadTextGreen {
        font-size: 35px;
    }

    .subheadTextBlue {
        font-size: 40px;
    }

    .video {
        width: 360px;
        height: 202px;
    }

    .corner-customization-link {
        top: 50px;
        right: 10px;
    }

}