@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=Poppins:wght@100;300;400&family=Quicksand&family=Roboto:ital,wght@0,300;0,400;1,300&family=Ubuntu:wght@300;400&display=swap');

html, body{
    background: black;
    overflow-x: hidden;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main{
    font-family: "Quicksand", sans-serif;
    color: white;
    text-align: center;
}

#title_img{
    user-select: none;
    -webkit-user-drag: none;
    padding: 1rem;
}


#trailer{
    user-select: none;
    z-index: -5;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    width:100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#the_rest{
    position: absolute;
    top: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}


#platform{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}


#platforms{
    user-select: none;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background: rgb(224,64,0);
    background: -moz-linear-gradient(135deg, rgba(224,64,0,1) 0%, rgba(177,0,0,1) 100%);
    background: -webkit-linear-gradient(135deg, rgba(224,64,0,1) 0%, rgba(177,0,0,1) 100%);
    background: linear-gradient(135deg, rgba(224,64,0,1) 0%, rgba(177,0,0,1) 100%);
    border: none;
    min-width: 400px;
    max-width: 400px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

#steam{
    margin: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    border: 2px dashed rgb(79, 0, 0);
    border-radius: 10px;
    transition: 0.2s all ease-in-out;
}

#platforms h3{
    margin-right: 0.5rem;
    padding-left: 2rem;
}

#platforms img{
    margin-left: 0.5rem;
    padding-right: 2rem;
}

#steam:hover{
    background-color: rgb(154, 3, 1);
}

#smth_a, #smth_b{
    position: absolute;
    width: 3rem;
    height: 2.5rem;
    border: none;
    background-color: black;
    top: 50%;
}

#smth_a{
    left: 0%;
    transform:translate(-50%,-50%);
}

#smth_b{
    right: 0%;
    transform:translate(50%,-50%);
}

#social {
    user-select: none;
    margin-top: 4rem;
    margin-bottom: 6rem;
    width: 25%;
    padding: 0.5rem;
    background: rgb(15,0,224);
    background: -moz-linear-gradient(135deg, rgba(15,0,224,1) 0%, rgba(76,0,182,1) 100%);
    background: -webkit-linear-gradient(135deg, rgba(15,0,224,1) 0%, rgba(76,0,182,1) 100%);
    background: linear-gradient(135deg, rgba(15,0,224,1) 0%, rgba(76,0,182,1) 100%);
}

#social img{
    margin-top: 1rem;
}

#discord{
    display: block;
    padding: 0.5rem;
    border-radius: 10px;
    color: white;
    user-select: none;
    text-decoration: none;
    padding: 1rem;
    transition: 0.2s all ease-in-out;
}

#discord:hover{
    cursor: pointer;
    background-color: rgb(39, 0, 132);
}

#discord h3{
    margin-bottom: 0.5rem;
}

#support{
    width: 100%;
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 10rem;
    background-color: rgb(20, 20, 20);
    line-height: 1.5rem;
}

#support a, #support a:visited{
    color: gold;
}

footer{
    width: 100%;
}

#footer{
    user-select: none;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    padding: 1.5rem;
    background-color: rgb(20, 20, 20);
}

#footer, #footer a{
    color: rgb(99, 99, 99);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

#footer a:hover{
    color: white;
}

.pixel-corners {
    clip-path: polygon(
      0px calc(100% - 8px),
      4px calc(100% - 8px),
      4px calc(100% - 4px),
      8px calc(100% - 4px),
      8px 100%,
      calc(100% - 8px) 100%,
      calc(100% - 8px) calc(100% - 4px),
      calc(100% - 4px) calc(100% - 4px),
      calc(100% - 4px) calc(100% - 8px),
      100% calc(100% - 8px),
      100% 8px,
      calc(100% - 4px) 8px,
      calc(100% - 4px) 4px,
      calc(100% - 8px) 4px,
      calc(100% - 8px) 0px,
      8px 0px,
      8px 4px,
      4px 4px,
      4px 8px,
      0px 8px
    );
  }

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: black;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #333;
}


@media only screen and (max-width: 600px) {
    #title_img{
        width: 100%;
        height: 100%;
    }

    #platforms{
        min-width: 0;
        max-width: 90vw;
    }

    #platforms h3{
        padding-left: 8px;
    }

    #platforms img{
        padding-right: 8px;
    }

    #social{
        width: 60%;
    }
}