/* Estilo geral */
@font-face {
    font-family: PixCon;
    src: url(fonts/PixCon.ttf)
}

@font-face {
    font-family: Termina-Regular;
    src: url(fonts/Termina-Regular.otf)
}

@font-face {
    font-family: Termina-Bold;
    src: url(fonts/Termina-Bold.otf)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-image: url(images/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.interface {
    max-width: 1490px;
    margin: 0 auto;
}

.overlay-menu {
    background-color: #00000094;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}

/* ESTILO CABEÇALHO */
header {
    padding: 40px auto;
}

header .menu-mobile {
    display: none;
}

header .btn-abrir-menu {
    display: none;
}

header>.interface {
    margin-top: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-family: Termina-Bold;
    font-weight: bold;
}

header a {
    color: #eaf9fe;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: #fff;
    transform: scale(1.05);
    transition: .2s;
}

header nav ul {
    margin-left: 100px;
    list-style-type: none;
}

header nav ul li {
    font-size: 1.4rem;
    display: inline-block;
    padding: 0 22px;
}

header ul li {
    font-size: 3rem;
    display: inline-block;
    padding: 0 10px;
}

.contatos {
    padding: 10px 18px;
    border-radius: 40px;
    background: linear-gradient(to right, #766eaf, #7fbacd);
}

.logo img {
    margin-top: 20px;
}


/* MEIO DO SITE */
/* ABOUT US */
.top {
    max-width: 1490px;
    margin: 0 auto;
}

main>.top {
    padding: 0 20px;
    font-family: Termina-Bold;
    font-weight: bold;
}

.text {
    margin: 240px 0;
}

.text h1 {
    color: #eaf9fe;
    font-family: PixCon;
    font-size: 2.5rem;
}

.text h1 span {
    color: #7fbacd;
    font-size: 4.8rem;
}

.about-us {
    scroll-margin-top: 50px;
    margin: 300px 0;
    margin-left: -40px;
    max-width: 1000px;
    background-color: #4e4b75a8;
    border-radius: 50px;
    transition: .2s;
}

.about-us:hover {
    transform: scale(1.05);
    transition: .2s;
}

.about-us .text-about {
    padding: 60px;
}

.text-about h1 {
    font-family: Termina-Bold;
    font-size: 2.3rem;
    font-weight: 700;
    color: #7fbacd;
}

.text-about p {
    font-family: Termina-Regular;
    text-align: justify;
    font-weight: lighter;
    font-size: 1.6rem;
    line-height: 35px;
    color: #eaf9fe;

}

.text-about span {
    font-family: Termina-Bold;
}

/* GAMES */
.games {
    margin: 500px 0;
    display: flex;
    align-items: center;
}

.games h1 {
    font-family: Termina-Bold;
    font-size: 3.8rem;
    color: #7fbacd;
}

.games .blocks ul {
    display: flex;
}

.games .blocks ul li {
    text-decoration: none;
    list-style-type: none;
}

.quad1 {
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    position: relative;
    border: #7fbacd solid;
    background-color: #766eaf42;
    margin-left: 100px;
    border-radius: 13%;
    transition: .2s;
}

.blocks ul li .quad1 img {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 340px;
    height: auto;
    z-index: 1;
}

.quad1:hover {
    transform: scale(1.05);
    transition: .2s;
}

/* PARTNERS */
.partners {
    display: flex;
    align-items: center;
    margin-bottom: 300px;
}

.partners .blocks {
    margin-left: 200px;
}

.partners .blocks ul {
    display: flex;
    align-items: center;
}

.partners .blocks ul li {
    list-style-type: none;
}

.partners .blocks ul li a {
    text-decoration: none;
}

.partners h1 {
    font-family: Termina-Bold;
    font-size: 2.8rem;
    color: #7fbacd;
}

.gogogames .gogologo {
    margin-bottom: 20px;
}

.blocks .vetor11 {
    margin-left: 100px;
}

.blocks .joinus {
    margin-left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocks h1 {
    font-family: Termina-Bold;
    font-size: 1.8rem;
    color: #eaf9fe;
}

/* RODAPE DO SITE */
footer {
    max-width: 1490px;
    margin: 0 auto;
}

.content {
    margin-top: 400px;
    padding-bottom: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content h1 {
    font-family: Termina-Bold;
    font-size: 2rem;
    color: #7fbacd;
    margin-bottom: 20px;
}

.content p {
    font-family: Termina-Regular;
    font-size: 1.8rem;
    line-height: 60px;
}

.content a {
    color: #eaf9fe;
    text-decoration: none;
}

.content a i {
    font-size: 2.7rem;
    color: #7fbacd;
}

.links h1 {
    font-family: Termina-Bold;
    font-size: 2rem;
    color: #7fbacd;
    margin-bottom: 20px;
}

.links ul {
    display: flex;
}

.links ul li {
    list-style-type: none;
    font-size: 1.4rem;
    padding: 0 15px;
}

.links ul li a {
    color: #eaf9fe;
    text-decoration: none;
    transition: .2s;
    font-size: 3rem;
}

.links ul li a i {
    color: #eaf9fe;
    transition: .2s;
}

.links ul li a i:hover {
    color: #fff;
    transform: scale(1.05);
    transition: .2s;
}

.form {
    padding: 12px 13px;
    border-radius: 40px;
    background-color: #7fbacd;
}

/* ESTILIZAÇAO DO SCROLL */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #403c5f;
    /* Cor de fundo */
}

::-webkit-scrollbar-thumb {
    background-color: #766eaf;
    /* Cor da barra */
    border-radius: 5px;
    /* Borda arredondada */
}

@media screen and (max-width: 1020px) {

    body {
        background-image: url(images/background.png);
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 100%;
    }

    /* HEADER */
    header .interface {
        justify-content: left;
        align-items: center;
    }

    header .logo img {
        width: 260px;
    }

    .menu-desktop,
    .contatos {
        display: none;
    }

    header .btn-abrir-menu {
        margin-top: 17px;
        padding: 10px 10px;
        display: inline;
        position: absolute;
        display: block;
        right: 0;
        font-size: 40px;
        color: #7fbacd;
    }

    header .menu-mobile {
        background-color: #403c5f;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        width: 0%;
        overflow: hidden;
        transition: .3s;
        display: block;
    }

    header .menu-mobile.abrir-menu {
        width: 70%;
    }

    .menu-mobile.abrir-menu~.overlay-menu {
        display: block;
    }

    header .menu-mobile .btn-fechar {
        padding: 20px 8%;
    }

    header .menu-mobile .btn-fechar i {
        color: #7fbacd;
        font-size: 40px;
    }

    header .menu-mobile nav ul {
        text-align: right;
        margin-left: 0px;
    }

    header .menu-mobile nav ul li {
        padding: 15px 4%;
        margin: 0px 0px;
        display: block;
        width: 100%;
    }

    header .menu-mobile nav ul li a {
        font-family: Termina-Bold;
        color: #eaf9fe;
        font-size: 20px;
        font-weight: 300;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    header .menu-mobile nav ul li:hover {

        background-color: #766eaf;
    }

    header .menu-mobile .contatos-lateral {
        text-align: center;
        margin-top: 30px;
    }

    header .menu-mobile .contatos-lateral ul li a {
        font-size: 3rem;
    }

    header .contatos-lateral {
        margin: 10px;
        padding: 10px 10px;
        border-radius: 40px;
        background: linear-gradient(to right, #766eaf, #7fbacd);
    }

    /* MEIO */
    main .top .text {
        margin-top: 70px;
        margin-bottom: 0px;
    }

    main .top .text h1 {
        margin: 30px 0px;
        font-size: 1.2rem;
    }

    main .top .text h1 span {
        line-height: 60px;
        font-size: 3.5rem;
    }

    /* ABOUT-US */
    main .top .about-us {
        margin: 100px 0px;
        margin-bottom: 0px;
    }

    main .top .about-us .text-about {
        padding: 10px 30px;
    }

    main .top .about-us .text-about h1 {
        margin-top: 20px;
        font-size: 1.5rem;
    }

    main .top .about-us .text-about p {
        margin-bottom: 20px;
        font-size: 0.9rem;
        word-spacing: -1px;
        line-height: 25px;
    }

    main .top .about-us .text-about p span {
        word-spacing: -1px;
    }

    /* GAMES */
    main .games {
        margin-top: 100px;
        margin-bottom: 200px;
        flex-direction: column;
    }

    main .games h1 {
        font-size: 2rem;
    }

    main .games .carrossel .blocks .quad1 {
        margin: 0px 0px;
        margin-top: 20px;
        width: 185px;
        height: 185px;
    }

    main .games .carrossel .blocks .quad1 img {
        margin: 5px 5px;
        width: 210px;
    }

    /* PARTNERS */
    main .partners {
        margin: 0px 0px;
        margin-top: 100px;
        flex-direction: column;
    }

    main .partners h1 {
        font-size: 2rem;
    }

    main .partners .blocks {
        margin: 0px 0px;
    }

    main .partners .blocks ul {
        flex-direction: column;
    }

    main .partners .gogogames {
        margin-top: 20px;
        display: flex;
    }

    main .partners .gogogames img {
        margin-bottom: 0px;
        width: 200px;
        height: 100px;
    }

    main .partners .gogogames .vetor1,
    main .partners .gogogames .vetor2 {
        width: 50px;
    }


    main .partners .blocks .joinus {
        margin-top: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main .partners .blocks .joinus h1 {
        font-size: 1.3rem;
    }

    main .partners .blocks .joinus img,
    main .partners img {
        margin: 0px 0px;
    }

    main .partners .blocks .joinus .vetor11 {
        margin: 0px;
    }

    /* CONTACT */

    footer .content .img-logo,
    .links {
        display: none;
    }

    footer .content {
        margin-top: 200px;
        flex-direction: column;
    }

    footer .content h1 {
        font-size: 2rem;
    }

    footer .content .contact p {
        font-size: 1rem;
    }

}