@font-face  {
    font-family: 'Oswald';
    src: url('Oswald.ttf') format('truetype'); 
}
@font-face  {
    font-family: 'Exo2-SemiBold';
    src: url('Exo2-SemiBold.ttf') format('truetype'); 
}
@font-face  {
    font-family: 'Exo2-ExtraBoldItalic';
    src: url('Exo2-ExtraBoldItalic.ttf') format('truetype'); 
}

body {
    bottom: 0;
    font-family: Oswald,Arial,Helvetica,sans-serif !important;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: normal !important;
    background-size: cover;
}

button {
    font-size: 18px;
    text-transform: uppercase;
    background-color: #fff;
    border: none;
    color: #000;
    cursor: pointer;
    font-family: Oswald,Arial,Helvetica,sans-serif;
    margin: 10px;
    outline: none;
    padding: 10px 18px;
}

a {
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
}

.navbar {
    display: flex;
    background-color: black;
    padding: 0 60px 0 60px;
}

.links {
    margin: 25px 0;
    margin-left: auto;
}

.links a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-size: 30px;
}

.banner {
    align-items: center;
    background-image: url('../img/banner.png');
    background-size: cover;
    color: #fff;
    display: flex;
    height: 30%;
    justify-content: center;
    padding: 6% 0;
    text-align: center;
    width: 100%;
}

.banner h1, h2 {
    margin: 10px;
    font-weight: 400;
}

.banner h1 {
    font-size: 70px;
}

.banner h2 {
    font-size: 35px;
}

.gcont {
    color: white !important;
    background-image: url(../img/bgjb2.png);
    background-size: cover;
}

.gcont h1 {
    color: white !important;
}

.contant {
    padding: 0 300px;
}

.contant h1 {
    color: #3d4246;
    font-size: 40px;
    text-align: center;
    text-transform: uppercase;
}

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

.projects a {
    margin-right: 20px;
}

.projects img {
    border-radius: 10px;
    width: 250px;
}

.projects p {
    font-family: Oswald,Arial,Helvetica,sans-serif;
    font-size: 20px;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}


.exit h1 {
    text-align: left;
}

.project {
    display: flex;
}

.project img {
    border-radius: 10px;
    height: 200px;
}

#download {
    border: #000 1px solid;
}

.project h2 {
    margin-top: 0;
}

.project h2, p, button {
    margin-left: 0;
}

.project div {
    margin-left: 20px;
}

.game {
    display: flex;
}

.game h2 {
    margin-left: 0;
}
.games img {
    width: 280px;
    height: fit-content;
}

#news {
    width: 700px;
    margin: 0;
    display: inline-block;
}

#new {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 0px rgb(0 0 0 / 24%);
    margin-bottom: 10px;
}

#new h2 {
    text-align: left;
}

#new img {
    width: 100%;
    height: fit-content;
    border-radius: 10px;
}

@media (max-width: 950px) {
    .projects {
        display: inline-block;
    }

    #news {
        width: 90%;
    }

    #new h2 {
        font-size: 20px;
    }
    
    iframe {
        width: 100%;
    }

    .game {
        text-align: center;
        display: block;
    }

    .contant {
        padding: 0 30px 0 30px;
    }

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

    .banner h2 {
        font-size: 25px;
    }

    .navbar {
        width: 100%;
        display: inline-block;
        text-align: center;
        padding: 0;
    }
    .links {
        margin: 10px 0 10px 0;
    }
    .project {
        display: block !important;
        text-align: center;
    }

    .project img {
        width: 50%;
        height: auto;
    }

    .games img {
        width: 90% !important;
        height: auto;
    }
}