@charset "UTF-8";

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Mulish', Arial, Helvetica, sans-serif;
}

header {
    background-color: black;
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
    align-items: center;
}



nav#menu {
    align-self: flex-end;
    padding-bottom: 10px;
}

img#logo-img:hover {
    cursor: pointer;
}

ul > li {
    display: inline;
}

ul > li > a {
    color: white;
    text-decoration: none;
    margin: 0px 5px;
    
}

ul > li > a:hover {
    text-decoration: underline;
    color: green;
}

/* Hero */

div#hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: -1;
    
   

}

div#black {
    z-index: 1;
    font-size: 3.2em;
    width: 100%;
    height: 100%;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.397);
    display: flex;
    align-items: center;

}

div#black h1 {
    color: white;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

#hero video {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -1;
}



/*Secção nossos jogos*/
h1.titulo {
    text-align: center;
    padding: 40px;
    font-size: 3em;
    font-weight: 700;
}
section#jogos {
    margin-top: 100px;
}
section#jogos > div#container {
    display: flex;
    flex-flow: row wrap ;
    
}

div.jogo {
    margin: 10px;
    padding: 10px;
    flex-basis: 450px;
    flex-grow: 2;
    
}

div.jogo:last-child {
    flex-grow: 0;
    flex-basis: 800px;
    text-align: left;
}

div.jogo:last-child > p {
    text-align: justify;
}


div.jogo:hover {
    outline: 1px solid black;
}

.img > img.pequena {
    width: 100%;
    display: block;
}

div.jogo > h2 {
    text-align: center;
}

div.jogo > p {
    text-align: center;
    line-height: 1.5em;

}

/*Secção consoles do XBOX*/
section#consoles-xbox {
    padding: 30px;
}
.console {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

div#c2 div.img {
    order: 1;
}

div#c4  div.img {
    order: 1;
}

.console > .details, .console > .img {
    flex: 0 1 500px;
}

.console > .details > p {
    text-align: left;
    line-height: 1.8em;
}

.console > .details > h3 {
    font-weight: 900;
    font-size: 2.5em;
    padding: 10px;
}

.console > .details {
    align-self: center;
}

img.pequena-c {
    display: block;
    width: 100%;
}

img.pequena-c:hover {
    transform: translate(0px, -20px);
    transition: transform .3s;

}

.details a {
    color: black;
    text-decoration: none;
    color: green;
}

.details a:hover {
    text-decoration: underline;
}

.details a:active {
    color: black;
}



/*Secção de nossos serviços*/

main >  #nossos-servicos {
    background-color: rgba(0, 0, 0, 0.158);
    display: flex;
    padding: 20px;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
    
}

div.servicos {
    width: 500px;
    align-self: center;

}



div.servicos > div.img > img {
    display: block;
    width: 100%;
    
}

/*Footer*/

footer  {
    padding: 20px;
}

footer > p {
    text-align: center;
}

@media screen and (max-width: 600px) {
    nav {
        display: none;
    }    

    header {
        justify-content: center;
    }

    div#c2 div.img, div#c4 div.img {
        order: 0;
    }

    img.pequena-c:hover {
        transform: none;
    }

    div.jogo p {
        text-align: left;
    }

    div.jogo:hover {
        outline: none;
    }
}
