body{
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    text-align: center;
    background-color: black;
    flex-direction: row;
    flex-wrap: wrap;
}
article{
    flex: 1 1 300px;
    display: flex;
    justify-content: space-around;
    gap: 30vh;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    min-height: fit-content;
}
article *, aside *{
    margin: 0;
}
#headingDiv{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
#headingDiv h1{
    font-family: 'Silkscreen', monospace;
    font-size: 7rem;
    font-weight: 400;
    background: linear-gradient(135deg, #3887ff, #11ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#headingDiv h4{
    font-family: 'Pixelify Sans', monospace;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff00bb, #b651ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#linkDiv{
    width: 100%;
    display: flex;
    height: fit-content;
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: space-around;
    align-items: center;
}
#linkDiv a{
    flex: 0 0 200px;
    border: none;
    border-radius: 8px;
    font-family: 'Pixelify Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px;
    text-decoration: none;
}
#linkDiv a:hover{
    transform: scale(1.05);
}

#discordLink{
    background-color: #5865f2;
    color: var(--textColor2);
}
#discordLink:hover{
    background-color: #091270;
    box-shadow: 0 0 6px 1px var(--fishColor);
}
#homepageLink{
    background-color: var(--textColor2);
    color: var(--textColor1);
}
#homepageLink:hover{
    background-color: #9e9d9d;
    box-shadow: 0 0 6px 1px var(--textColor2);
}








aside{
    flex: 1 1 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/fishing-bckgnd-extended-1.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1/1 !important;
    height: 100vh;
    min-height: fit-content;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#startGameButton{
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    background-color: var(--greyColor4);
    color: var(--purpleColor1);
    font-weight: 400;
    border-radius: 5px;
    border: 2px solid var(--greyColor3);
    position: absolute;
    bottom: 60px;
    padding: 15px;
    cursor: pointer;
}
#startGameButton:hover{
    box-shadow: 0 0 10px 2px var(--purpleColor1);
    border-color: var(--textColor2);
    animation: vibrate 0.05s linear 0s infinite forwards;
}
aside h2{
    font-family: 'Silkscreen', monospace;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--purpleColor1);
    text-shadow: 1px 2px 3px var(--purpleColor1);
    position: absolute;
    top: 10px;
    right: 40px;
}





#sliderContainer{
    position: absolute;
    top: 10%;
    width: 300px;
    height: 24px;
    background-color: var(--greyColor3);
    border: 3px solid var(--purpleColor1);
    margin: 30px auto;
    display: none;
}
#centreTarget{
    position: absolute;
    left: 40%;
    width: 20%;
    height: 100%;
    background-color: var(--greenColor3);
}
#pointer{
    position: absolute;
    bottom: -22px;
    left: 0%;
    transform: translateX(-50%);
    color: var(--purpleColor1);
    font-size: 18px;
    user-select: none;
}
.fishModal{
    width: 80%;
    height: 80vh;
    min-height: fit-content;
    background-color: var(--greyColor4);
    border-radius: 8px;
    border: none;
    padding: 10px;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
.fishModal > div{
    position: relative;
    width: 100%;
    height: 0;
}
.modalBackButton{
    position: absolute;
    font-family: 'Silkscreen', monospace;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--purpleColor1);
    border: none;
    cursor: pointer;
    top: -5px;
    left: 9px;
}
.fishModal section{
    border-radius: 8px;
    width: 100%;
    height: 45%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.fishModal section h6{
    font-family: 'Pixelify Sans', monospace;
    font-size: 1rem;
    font-weight: 400;
    color: var(--fishColor);
}
.fishModal section h3{
    font-family: 'Pixelify Sans', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #a301de, #3887ff, #11ff88, #a301de, #3887ff, #11ff88, #a301de);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fishColorShift 4s linear infinite;
    width: fit-content;
}
.statsDisplay, .tryAgain{
    font-family: 'Silkscreen', monospace;
    font-size: 1rem;
    font-weight: 400;
    background: linear-gradient(90deg, #a301de 33.3%, #3887ff, #11ff88 66.6%);
    background-size: 120% 100%;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-top: 20px;
}
.fishModal img{
    height: 40%;
    aspect-ratio: initial !important;
    max-width: 90%;
}

.flashBright{
    animation: flashBright 1s linear 3 forwards;
}
@keyframes flashBright{
    0%{background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url('../images/fishing-bckgnd-extended-1.webp');}
    49.9%{background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url('../images/fishing-bckgnd-extended-1.webp');}
    50%{background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/fishing-bckgnd-extended-1.webp');}
    100%{background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/fishing-bckgnd-extended-1.webp');}
}
@keyframes vibrate{
    0% {
        transform: translate(0, 0);
        transform: scale(1.01);
    }
    20% {transform: translate(-1px, 1px);}
    40% {transform: translate(-1px, -1px);}
    60% {transform: translate(1px, 1px);}
    80% {transform: translate(1px, -1px);}
    100% {
        transform: translate(0, 0);
        transform: scale(1.01);
    }
}


@keyframes fishColorShift{
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}
