@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet-Book.woff2') format('woff2'),
         url('../fonts/Garet-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Title';
    src: url('../fonts/Unageo-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 0.65vmax;
}

/* Track */
::-webkit-scrollbar-track {
  background: #0a011f;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 5vmax;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #efcd33;
}

/* Semantic tags */
html {
    background-color: #110133;
}

body {
    border: 0;
    padding: 0;
    margin: 0;
    background-image: url("../images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 
    background-position: center;
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-auto-rows: minmax(0px, 4vmax);
    grid-template-columns: minmax(0,1fr) repeat(6, minmax(0,12vmax)) minmax(0,1fr);
    text-align: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

#planets {
    width: 100%;
    height: 100%;

    margin: 5vmax;
    padding: 0;
}

header {
    grid-column: 1 / -1;
    grid-row: 1 / 13;
    position: relative;
    overflow: hidden; 
    background-color: #110133;
    background-image: url("../images/planets.svg");
    background-repeat: no-repeat;
    background-size: contain;
}
header img {
    margin-top: 4vmax;
    position: relative;
    z-index: 1;
    width: 30vmax;
    height: 30vmax;
}

nav {
    grid-row: 1 / 2;
    grid-column: 3 / 7;
    margin-top: 1vmax;
    display: flex;
    justify-content: space-between;
    border-bottom: 0.2vmax solid white;
    z-index: 2;
}
a {
    text-decoration: none;
    color: white;
    font-family: "Garet";
    font-size: 1vmax;
    transition: 0.3s
}
nav a:hover {
    color: #efcd33;
    transform: scale(1.3);
    transition-duration: 0.25s;
}
nav a:active {
    transform: scale(0.8);
    color: #4bcc95;
}

h4 {
    font-family: "Title";
    color: #2e222f;
    font-size: 1vmax;
}
h1, h2, h3 {
    font-family: "Title";
    color: #e83b3b;
    font-size: 1.2vmax;
}
h1 {
    font-size: 2.2vmax;
}
p {
    font-family: "Garet";
    font-size: 1.2vmax;
}

footer {
    display: block;
    grid-column: 1 / -1;
    grid-row: 52 / 53;
    text-align: center;
    background-color: #110133;
    color: white;
}

input {
    font-family: "Garet";
    width: 20vmax;
    height: 2vmax;
    padding-left: 0.5vmax;
}

textarea {
    font-family: "Garet";
    height: 2vmax;
    width: 25vmax;
    padding-left: 0.5vmax;
}

svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Custom */

.wave {
    grid-row: 13 / 14;
    grid-column: 1 / -1;
    position: relative;
    height: 100%;
}
.wave2 {
    grid-row: 39 / 40;
    grid-column: 1 / -1;
    position: relative;
    height: 100%;
}
.wave3 {
    padding-top: 0.5vmax;
    grid-row: 32 / 33;
    grid-column: 1 / -1;
    position: relative;
    height: 100%;
}
.wave4 {
    padding-top: 0.5vmax;
    grid-row: 51 / 52;
    grid-column: 1 / -1;
    position: relative;
    height: 100%;
}

#full-screen {
    background-color: #110133;
    grid-row: 1 / 14;
    grid-column: 1 / -1;
}

#full-screen2 {
    background-color: #110133;
    grid-row: 1 / 19;
    grid-column: 1 / -1;
}

#full-screen3 {
    background-color: #110133;
    grid-row: 1 / 18;
    grid-column: 1 / -1;
}

#contact-holder {
    text-align: left;
    grid-column: 3 / -3;
    grid-row: 2 / 3;
    
}
#contact-holder h1 {
    margin-top: 5vmax;
    color:#efcd33;
    z-index: 1;
}

#games {
    padding-top: 1vmax;
    grid-column: 3 / -3;
    grid-row: 4 / 22;
    z-index: 1;
    background-color: rgb(213, 213, 213);
    border-radius: 2.5vmax;
    text-align: left;
    padding: 1vmax;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.game-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 2vmax;
    color: black;
    transition-duration: 0.2s;
}
.game-block div{
    text-align: left;
    padding: 1vmax;
}
.game-block img {
    width: 15vmax;
    height: 15vmax;
    border-top-left-radius: 2vmax;
    border-bottom-left-radius: 2vmax;
}
.game-block:hover {
    transition-duration: 0.2s;
    box-shadow: 0.2vmax 0.2vmax .1vmax .1vmax #2e222f51;
}
.game-block:active {
    transition-duration: 0.2s;
    box-shadow: 0.2vmax 0.2vmax .25vmax .25vmax #2e222f91;
}

#merch {
    padding-top: 1vmax;
    grid-column: 2 / -2;
    grid-row: 4 / 17;
    z-index: 1;
    background-color: rgb(213, 213, 213);
    border-radius: 2.5vmax;
    text-align: left;
    padding-left: 5vmax;
    
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#music {
    padding-top: 1vmax;
    grid-column: 3 / -3;
    grid-row: 4 / 9 ;
    z-index: 1;
    background-color: rgb(213, 213, 213);
    border-radius: 2.5vmax;
    text-align: left;
    padding-left: 2.5vmax;
    padding-right: 2.5vmax;
}

#all-songs {
    grid-column: 4 / -4;
    grid-row-start: 10;
    height: 100%;
    z-index: 1;
    background-color: rgb(213, 213, 213);
    border-radius: 2.5vmax;
    text-align: left;
    padding-left: 2.5vmax;
    padding-right: 2.5vmax;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#contact {
    padding-top: 1vmax;
    grid-column: 3 / -3;
    grid-row: 4 / 13;
    z-index: 1;
    background-color: rgb(213, 213, 213);
    border-radius: 2.5vmax;
    text-align: left;
    padding-left: 5vmax;
}
#contact h3 {
    height: 1vmax;
    margin: 0.5vmax;
    padding: 0;
    margin-left: 0;
}

.section {
    grid-column: 2 / -2;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10%;
    text-align: left;
}
.section div {
    width: 40%;
}

#showcase {
    background-image: url("../images/showcase-throwbro.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    grid-column: 6 / 8;
    grid-row-start: 3;
    height: 30vmax;
}

#merch-showcase {
    grid-column: 2 / -2;
    grid-row: 40 / 46;
    text-align: left;
}

#fishing-showcase {
    grid-column: 2 / -2;
    grid-row: 40 / 48;
    text-align: left;
}
#fishing-showcase div {
    display: flex;
    justify-content: center;
}

#game-container {
    width: 85%;
    height: 32vmax;
    border: 0.5vmax solid #2e222f;
    background-color: #0b8a8f;
}

#links {
    grid-column: 4 / 6;
    grid-row: 9 / 12;
    z-index: 2;
    color: white;
    font-family: "Garet";
    font-size: 1vmax;
    padding: 0;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;          
    justify-content: center;   
}

#links a div {
    width: 9vmax;
    border-radius: 3vmax;
    padding: 0.4vmax;
    height: 1.9vmax;
    transition: 0.3s;
    margin: 0.5vmax;
    margin-bottom: 0;

    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;

}
#links a {
    text-decoration: none;
    color: inherit;
}
#links a div img {
    width: 2vmax;
    height: 2vmax;
}

#discord {
    background-color: #484a77a1;
    border: 0.2vmax solid #484a77;
}
#discord:hover {
    background-color: #484a77;
    transform: scaleX(1.1);
}

#youtube {
    background-color: #e83b3b96;
    border: 0.2vmax solid #e83b3b;
}
#youtube:hover {
    background-color: #e83b3b;
    transform: scaleX(1.1);
}

#mail {
    border: 0.2vmax solid #4bcc95;
    background-color: #4bcc9498;
}
#mail:hover {
    background-color: #4bcc95;
    transform: scaleX(1.1);
}

.red-button {
    background-color: #e83b3b96;
    border: 0.2vmax solid #e83b3b;
    width: 9vmax;
    border-radius: 3vmax;
    padding: 0.4vmax;
    height: 1.9vmax;
    transition: 0.3s;
    margin: 0.5vmax;
    margin-bottom: 0;
    text-align: center;
    font-weight: bold;
}
.red-button:hover {
    background-color: #e83b3b;
    transform: scaleX(1.1);
}

.center {
    grid-column: 1 / -1;
    grid-row-start: 23;
    text-align: center;
}

#showcase-1 {
    grid-column: 2 / -2;
    grid-row-start: 18;
    display: flex;
    flex-direction: row;
    gap: 5vmax;
}
#showcase-2 {
    grid-column: 2 / -2;
    grid-row-start: 26;
    display: flex;
    flex-direction: row;
    gap: 5vmax;
}

#big-flex {
    padding-top: 2vmax;
    display: flex;
    flex-direction: row;
    background-color: #110133;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    grid-column: 1 / -1;
    grid-row: 33 / 39;
    text-align: left;
    color: white;
}

#border {
    border: 4px solid #2e222f;
    height: 100%;
}

#big-flex img {
    width: 12vmax;
    height: 12vmax;
}
#big-flex div {
    width: 20vmax;
    height: auto;
}
#big-flex h2 {
    color: #efcd33;
}

#title {
    grid-column: 2 / 7;
    grid-row: 14 / 16;
    text-align: left;
}
.video {
    background-color: #2e222f;
    width: 36vmax;
    height: 21vmax;
}
.video iframe {
    margin-left: 1vmax;
    margin-top: -1vmax;
    width: 36vmax;
    height: 21vmax;
}

#domo:hover {
    content: url('../images/domo-2.png');
    animation: smallbounce 0.15s ease-in-out;
    cursor: pointer;
}
#domo:active {
    animation: bounce 0.6s ease-in-out;
    transition-duration: 0.6s;
    content: url('../images/domo-3.png');
    cursor: pointer;
}

#stramp:hover {
    animation: smallbounce 0.15s ease-in-out;
    content: url('../images/stramp-2.png');
    cursor: pointer;
}
#stramp:active {
    animation: bounce 0.6s ease-in-out;
    transition-duration: 0.6s;
    content: url('../images/stramp-3.png');
    cursor: pointer;
}
@keyframes smallbounce {
    0% {transform: translateY(-10px);}
    100% {transform: translateY(0);}
}
@keyframes bounce {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-10px); }
    50%  { transform: translateY(0); }
    75%  { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@media only screen and (max-width: 1000px) { 
    html {
        overflow-x: hidden;
    }
    nav {
        grid-column: 1 / -1;
        justify-content: space-around;
    }
    main {
        grid-auto-rows: minmax(0px, 5vmax);
    }

    .wave {
        width: 130%;
        margin-top: -2px;
    }
    .wave2 {
        width: 130%;
        grid-row: 60 / 61;
        padding-bottom: 1vmax;
    }
    .wave3 {
        width: 130%;
        grid-row: 41 / 42;
    }
    .wave4 {
        width: 130%;
        grid-row: 70 / 71;
    }

    header {
        grid-row: 1 / 13;
        background-position: center;
    }

    #title {
        grid-column: 3 / -3
    }

    #showcase-1 {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        justify-self: center;
        grid-row: 19 / 28;
        grid-column: 3 / -3;
    }

    #showcase-2 {
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items: center;
        justify-self: center;
        grid-row: 30 / 40;
        grid-column: 3 / -3;
    }

    #big-flex {
        flex-direction: column;
        align-items: center;
        grid-row: 42 / 60;
        grid-column: 1 / -1;
    }
    #big-flex div {
        width: 60%;
    }

    #merch-showcase {
        grid-row: 61 / 68;
        grid-column: 3 / -3;
    }

    #fishing-showcase {
        grid-row: 61 / 68;
    } 
    #fishing-showcase h2 {
        padding-left: 2vmax;
    }

    footer {
        grid-row: 71 / 72;
    }

    #mail {
        margin-top: 0;
    }

    #games {
        grid-column: 2 / -2;
    }

    #contact {
        grid-row: 4 / 20;
    }
    #contact h3 {
        height: 2vmax;
        margin: 0.5vmax;
        padding-bottom: 0.5vmax;
        margin-left: 0;
    }

    h1 {
        font-size: 2.5vmax;
    }
    h2, h3 {
        font-size: 2vmax;
    }
    h4 {
        font-size: 1.2vmax;
    }
    p {
        font-size: 1.75vmax;
    }
    a {
        font-size: 1.5vmax;
    }

    #links a div {
        width: 12vmax;
        height: 2.2vmax;
    }

    .game-block {
        height: 18vmax;
    }
    .game-block img {
        width: auto;
        height: 100%;
    }

}