/* LAYOUT */

@media (max-width: 768px) {
  /* styles for tablets/phones */
  .header-title{
    font-size: max(7vw,7vh);
  }
}

@keyframes scroll_diagonal {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 100% 150%;
    }
}

html,
body {
    height: 100%;
    margin: 0;
    /* background-color: black; */
    background-image: url('img/shovel_noise_dark.gif');
    background-position: 1000;
    background-size: min(15vh,15vw);
    background-attachment: fixed;

    animation:scroll_diagonal 150s linear infinite;

    color: white;
    font-family: "Instrument Serif", serif;
}

.container {
    display: flex;
    justify-content: center;
}

.content {
    min-height: 100vh;
    width: 70%;
    max-width: 100rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: #02081b;
}

.tagline
{
    font-size: 3vw;
}

header {
    text-align: center;
    margin-bottom: min(1vh,1vw);
}

main {
    flex: 1;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 1rem;
    padding-top: 4rem;
    margin-top: auto;
}

/* GENERAL STYLE */

p {
    font-size: 2rem;

    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;

    text-align: center;
    font-size: 4rem;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
}

h2 {
    font-size: 3rem;
}

/* SPECIFIC STYLE */

.header-title {
    text-transform: none;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    height: min(20vh,20vw);
    background: linear-gradient(to bottom, #0d38bc, #02081b);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: max(4vw,4vh);
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;

    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 0.05vw;
    -webkit-text-stroke-color: black;
    text-shadow: 0.1vw 0.1vw 0 black;
}

main h1 {
    margin-top: min(12vh,12vw);
    font-size: min(3vw, 3rem);
    margin-bottom: 0;
    text-shadow: 3px 3px 0 black;
}

.spacer {
    margin-top: min(1vh,1vw);
    margin-bottom: min(5vh,5vw);
    margin-left: min(25vw,25vh);
    margin-right: min(25vw,25vh);
}

.showcase {
    margin-bottom: 0vh;
    margin-left: min(5vw,5vh);
    margin-right: min(5vw,5vh);
    margin-top: 0.5vh;
    max-width: 50%;
    justify-content: center;
}

.video-container {
    position: relative;
    max-width: 100%;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.game-container{
    max-width: 100%;
    display: flex;
    flex-direction: row;
    /* margin-top: min(2vw,2vh);
    margin-bottom: min(2vw,2vh); */
    flex-grow: 0
}

.game-link {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background-size: cover;
    /* or contain */
    background-repeat: no-repeat;
    background-position: center; 

    transition: outline-width 0.25s, transform 0.25s;

    margin: min(0.5vw,0.5vh)
}

.game-link:hover {
    outline: solid;
    outline-color: #0d38bc;
    outline-width: min(0.3vw,0.3vh);
    transform: scale(101%);
}

.game-link h2 {
    margin-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    text-transform: uppercase;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-size: 2vw;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;

    color: #e2c91e;
    text-shadow: 3px 3px 0 #363008;
    background-color: #02081baa;
}

.game-link p {
    margin-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1vw;
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 0 black;
    background-color: #02081baa;
}

footer p {
    font-size: min(2.5vw,2.5vh);
    color: #666666;
}

/* FONTS */

.nunito-sans {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

.instrument-serif-regular {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.instrument-serif-regular-italic {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
}