@charset "UTF-8";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body,
html {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    max-width: 100%;
    background: black;
    overflow-x: hidden;
}

/* Scrollbar */

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

::-webkit-scrollbar-track {
    background: #101010;
}

::-webkit-scrollbar-thumb {
    background: #ec0404;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b10505;
}

/* Navbar */

nav {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    width: 100%;
    padding-top: 10px;
    height: 50px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    top: 0px;
}

nav a {
    text-decoration: none;
}

nav #list {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 0;
    padding: 0;
}

nav #list li a {
    color: white;
    list-style-type: none;
    border-radius: 20px;
    font-size: 1em;
    transition: 1s;
}

nav #list li a:hover {
    color: #b10505;
    list-style-type: none;
    border-radius: 20px;
    font-size: 1em;
    transition: 1s;
}

nav #list li {
    text-align: left;
}

nav li:nth-child(1) {
    margin-right: 15px;
}

nav li:nth-child(2) {
    margin-right: 15px;
}

nav li:nth-child(3) {
    margin-right: 15px;
}

nav li:nth-child(4) {
    margin-right: 15px;
}

nav li:nth-child(5) {
    margin-right: 15px;
}

nav li:nth-child(6) {
    margin-right: 15px;
}

ul {
    list-style: none;
    margin: 0;
}

a,
a:link,
a:visited,
a:hover {
    text-decoration: none;
}

/* Welcome */

.welcome {
    padding-top: 13%;
    padding-bottom: 13%;
    background-image: linear-gradient(to top, #111111, rgba(0, 0, 0, 0)), url(/img/background.gif);
}

.welcome img {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: swing 2s ease-in-out infinite;
}

/* Informations */

#informations {
    background-color: #111111;
}

.infos {
    padding-top: 5%;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 5%;
}

.infos h1 {
    color: white;
    font-size: 60px;
    font-weight: 900;
}

.text-game {
    text-decoration: underline #ec0404;
}

.infos img {
    width: 30%;
    border-radius: 5%;
    margin-left: 15px;
}

.infos h2 {
    color: grey;
    font-size: 25px;
}

/* Trailer */

#trailer {
    background-color: #090909;
}

.trailer {
    padding-top: 5%;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 5%;
}

.trailer iframe {
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: auto;
}

.trailer h1 {
    color: white;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
}

.trailer h2 {
    color: grey;
    font-size: 15px;
    text-align: center;
}

.trailer a {
    color: white;
    transition: 0.5s;
}

.trailer a:hover {
    color: #1c60e9;
    transition: 0.5s;
    font-size: 20px;
}

/* News */

#news {
    background-color: #111111;
    padding: 5%;
}

#news h1 {
    color: white;
    font-weight: 900;
    font-size: 60px;
    margin-left: 5.90%;
    margin-bottom: 1%;
    text-align: left;
}

#news h2 {
    color: grey;
    font-weight: 500;
    font-size: 15px;
    margin-left: 5.90%;
    text-align: left;
}

.news {
    padding: 5%;
    padding-top: 3%;
    padding-bottom: 0%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.news a {
    margin: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: auto;
    padding: auto;
    padding-bottom: 10%;
}

.news h3 {
    color: white;
    font-size: 20px;
    margin-top: 5%;
    text-shadow: 5px 5px 10px black;
    transition: 0.5s;
}

.news h3:hover {
    font-size: 25px;
    transition: 0.5s;
}

.news h4 {
    color: white;
    font-size: 15px;
    margin: 1% 0%;
    text-shadow: 5px 5px 10px black;
}

.card_news {
    height: 275px;
    width: 450px;
    display: flex;

    background: #000000;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.09);
    border-radius: 6px;
    background-size: 150%;
    background-repeat: no-repeat;
    background-position-x: -80px;

    transition: 1s;
}

a:hover .card_news {
    transition: 1s;
    text-decoration: none;
    box-shadow: 5px 10px 10px #1a1a1a;
    transform: scale3d(1.050, 1.050, 1);
}

.card_summary {
    margin-top: 47%;
    padding: 0 4%;
    flex: 1;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

a:nth-child(1) .card_news {
    background-image: url("/img/game-6.png");
}

a:nth-child(2) .card_news {
    background-image: url("/img/game-7.png");
}

a:nth-of-type(3) .card_news {
    background-image: url("/img/game-8.png");
}

/* Discord */

#discord {
    background-color: #090909;
    padding: 10%;
}

.discord {
    text-align: center;
    background-image: url(/img/game-5.png);
    background-position: center;
    background-size: cover;
    padding: 10%;
    color: #fff;
    border-radius: 25px;
}

.discord h1 {
    text-align: center;
    font-size: 35px;
    color: white;

    text-shadow: 5px 5px black;
    font-weight: 900;
}

.discord h2 {
    text-align: center;
    font-size: 15px;
    color: white;
    text-shadow: 5px 5px 15px black;
    font-weight: 900;
    margin-bottom: 2%;
}

.discord a {
    text-align: center;
    color: white;
    transition: 0.5s;
    background-color: #1c60e9;
    padding: 10px 30px 10px 30px;
    border-radius: 30px;
    animation-name: zoom;
    animation-duration: 2s;
    animation-delay: 1200ms;
    animation-fill-mode: forwards;
    filter: opacity(0);
}

.discord a:hover {
    transition: 0.5s;
    color: white;
    background-color: #5865f2;
    box-shadow: 4px 4px 4px black;
}

/* Footer */

.footerChild {
    text-align: center;
    color: #fff;
    padding: 2%;
}

.footerChild a {
    text-align: center;
    color: #fff;
    transition: 0.5s;
}

.footerChild a:hover {
    text-align: center;
    color: rgb(107, 107, 107);
    transition: 0.5s;
}

.footer-game {
    color: white;
    transition: 0.5s;
}

.footer-game:hover {
    color: #ec0404;
    transition: 0.5s;
}

/* Responsive Web */

@media (max-width : 435px) {

    .welcome {
        padding-top: 60%;
        padding-bottom: 60%;
        background-size: cover;
        background-position-x: center;
    }

    .welcome img {
        width: 90%;
        animation-duration: 3s;
    }

    .infos h1 {
        font-size: 45px;
    }

    .infos img {
        width: 100%;
        margin-left: 0%;
        margin-top: 5%;
    }

    .infos h2 {
        margin-top: 5%;
    }

    #trailer {
        background-image: none;
        padding-top: 30%;
        padding-bottom: 30%;
    }

    .trailer iframe {
        width: 100%;
        height: 100%;
        margin-bottom: 10%;
    }

    #news {
        padding-bottom: 25%;
    }

    .news {
        display: inline;
    }

    #news h1 {
        font-size: 45px;
    }

    .card_news {
        width: 350px;
        height: 150px;
        margin-top: 20%;
        margin-bottom: 0%;
    }

    .news h3 {
        margin: 0%;
    }

    .news h4 {
        margin: 0%;
    }

    #discord {
        padding-top: 30%;
        padding-bottom: 30%;
    }

    footer {
        padding-top: 15%;
        padding-bottom: 15%;
    }
}

/* Animations */

@keyframes swing {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes zoom {
    0% {
        filter: opacity(0%);
        transform: scale(0%);
        transform: translate(0px, 0px);
    }

    50% {
        filter: opacity(100%);
        transform: scale(100%);
        transform: translate(0px, -50px);
    }

    100% {
        filter: opacity(100%);
        transform: translate(0px, -50px);
    }
}