@font-face {
    font-family: bubbleClub;
    src: url(../font-family/bubble_club.TTF);
}

body {
    background-image: url("../assets/background.webp");
    background-repeat: repeat;
    margin: 0;
    padding: 0;

    --content-width: 1400px;
}

div {
    display: block;
}

a {
    /* Link colour not set to default blue */
    color: inherit;
    text-decoration: inherit;
}

p {
    font-family: bubbleClub;
}

#main-image {
    margin: auto;
    width: 100%;
    max-width: var(--content-width);
    min-width: 300px;
    overflow:hidden;

    pointer-events: none;
}

.content-box {
    min-height: calc(100dvh - var(--total-banner-height));
    margin: auto;
    min-width: 690px;
    max-width: var(--content-width);
}

.center-imgs {
    display: block;
    text-align: center;
    margin: auto;
}

.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.center-container > * {
    flex-shrink: 1;
    min-height: 0;
    max-height: 70vh;
    max-width: 80vw;
}


/* Everything to do with text and images on top of main image */
.image-overlay-container {
    position: relative;
    display: inline-flex;
    margin: auto;
}

.overlay {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.overlay-text {
    position: absolute;
    overflow: hidden;
}

.overlay-text:hover {
    color: #DB5F48; /* medium/pastel red/orange */
}

.img-text {
    font-family: bubbleClub;
    color: white;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.scaling-text-medium {
    font-size: 15px;
}

.scaling-text-large {
    font-size: 20px;
}

/* Responsive CSS */
@media screen and (max-width: 500px) {
    .scaling-text-medium {
        font-size: 3vw;
    }
}

@media screen and (min-width: 690px) {
    .scaling-text-medium {
        font-size: 2.2vw;
    }
    .scaling-text-large {
        font-size: 2.8vw;
    }
}

@media screen and (min-width: 1200px) {
    .scaling-text-medium {
        font-size: 162%;
    }
}

@media screen and (min-width: 1390px) {
    .scaling-text-large {
        font-size: 240%;
    }
}

/* Credit box */
.credits-box {
    background-image: url("../assets/creditspopup.webp");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    width: 90vw;
    height: 90vw;
    max-width: 500px;
    max-height: 500px;
    aspect-ratio: 1;
}

/* Text in credit box */
.credits-words {
    position: absolute;
    top: 18%;
    text-align: left;
}

.credits-words a {
    color: #5C8DE6; !important /* medium/pastel blue */
}

.credits-words a:hover {
    color: #DB5F48; !important /* medium/pastel red/orange */
}

/* Coming Soon Return Home */

p.home {
    color: #5C8DE6 !important; /* medium/pastel blue */
    -webkit-text-fill-color: #5C8DE6; /* iOS colour */
}

p.home:hover {
    color: #DB5F48 !important; /* medium/pastel red/orange */
    -webkit-text-fill-color: #DB5F48; /* iOS colour */
}
