/*-------------
 	General
-------------*/
@import url('https://fonts.googleapis.com/css?family=Amatic+SC');
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #31373b;
    font-family: 'Amatic SC', cursive;
    font-size: 62.5%;
    color: #fff;
}
ul,
nav {
    list-style: none;
}

li {
    font-size: 2rem;
}

a {
    font-size: 3rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

a:hover {
    opacity: 1;
}
.lang {
    font-size: 3.2rem;
    border: 1px solid;
    padding: 6px 10px;
}
a.btn {
    color: #fff;
    border-radius: 0.4rem;
    text-transform: uppercase;
    background-color: #18504c;
    font-size: 4rem;
    text-align: center;
    transition: all 0.5s;
    text-shadow: none;
}

a.btn:hover {
    background-color: #509586;
}

hr {
    width: 15rem;
    height: 2px;
    background-color: #4f9586;
    border: 0;
    margin-bottom: 8rem;
}

section {
    min-width: 32rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12.5rem 10rem;
}
p
{
    font-family: 'Roboto', sans-serif;
}
.rowFlex {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 2rem;
}

.col-md-3 {
    min-width: 30%;
    flex-grow: 1;
}

.boxes
{
    text-align: center;
    width:250px;
    padding:10px;
}

@media (max-width: 100rem) {
    section {
        padding: 10rem 0rem;
    }
}

@media (max-width: 60rem) {
    section {
        padding: 8rem 0rem;
    }
}
@media (max-width: 50rem) {
    a {
        font-size: 1.8rem;
    }
}
@media (max-width: 40rem) {
    a.btn {
        font-size: 3rem;
    }
    a {
        font-size: 1.5rem;
    }
}
section h3.title {
    color: #fff;
    font-size: 5rem;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 3.5rem;
    text-align: center;
}

section p {
    font-size:1.5rem;
    max-width: 80rem;
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 0 2rem;
    line-height: 2;
    margin: 0 auto;
}

ul.grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*-------------
 	Header
-------------*/

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 3.5rem 10rem 0;
}

header h2 {
    font-family: 'Quicksand', sans-serif;
}

header nav {
    display: flex;
}

header nav li {
    margin: 0 1.5rem;
}

header nav li:first-child {
    margin-left: 0;
}

header nav li:last-child {
    margin-right: 0;
}

@media (max-width: 100rem) {
    header {
        padding: 2rem 5rem;
    }
}

@media (max-width: 70rem) {
    header {
        flex-direction: column;
    }

    header h2 {
        margin-bottom: 1.5rem;
    }
}

/*----------------
 	Hero Section
----------------*/

.hero {
    position: relative;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    text-align: center;
}

.logo
{
    display:block;
    width:522px;
    height:300px;
}
.flags {
    max-width: 50px;
}
.hero .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/hero.jpg);
    background-size: cover;
    background-position: center bottom;
    background-color: #18504c;
    z-index: -1;
}

.hero .background-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #414a4f;
    opacity: 0.75;
}
.hero h1 {
    font-size: 12rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.hero h3 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 4rem;
}

.hero a.btn {
    padding: 2rem 46px;
}

@media (max-width: 80rem) {

    .hero {
        min-height: 60rem;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h3 {
        font-size: 2.4rem;
    }

    .hero a.btn {
        padding: 1.5rem 4rem;
    }
}
/*----------------------
 	About Section
----------------------*/

.about {
    background-color: #31373b;
}

.about .grid li {
    padding: 0 3rem;
    flex-basis: 33%;
    text-align: center;
}

.about .grid li i {
    font-size: 5rem;
    color: #509586;
    margin-bottom: 2.5rem;
}

.about .grid li h4 {
    color: #666;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.about .grid li p {
    margin: 0 auto;
}

@media (max-width: 100rem) {
    .about .grid li {
        margin-bottom: 6.5rem;
    }

    .about .grid li:last-child {
        margin-bottom: 0;
    }
}
@media (max-width: 55rem) {
    .about .grid li {
        flex-basis: 100%;
    }
}
/*--------------------
 	Games Section
---------------------*/
.games {
    background-color: #d2d1c0;
    color: #666;
}
.games .title {
    color: #32373b;
    text-shadow: none;
}
.games .grid li {
    display: block;
    margin:.5rem;
}

.games .grid li.small {
    flex-basis: 24%;
}
.small
{
    border-radius:15px;
    overflow:hidden;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, .75);
    -moz-box-shadow:    0px 0px 8px 0px rgba(0, 0, 0, .75);
    box-shadow:         0px 0px 8px 0px rgba(0, 0, 0, .75);
    transform:scale(.97);
    transition:all .5s;
}
.small:hover
{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 1);
    box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 1);
    transform:scale(1);
}
.small img { display: block; }

@media (max-width: 1000px)
{
    .games .grid li.small
    {
        flex-basis: 23%;
    }
}
@media (max-width: 750px)
{
    .games .grid li.small
    {
        flex-basis: 45%;
    }
}
/*--------------------
 	Reviews Section
--------------------*/
.terms {
    background-color: #509586;
}
.terms .quote {
    text-align: center;
    width: 80%;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0;
}
@media (max-width: 100rem) {
    .terms .quote {
        font-size: 2rem;
    }
}
/*---------------------
 	Contact Section
---------------------*/

.contact {
    background-color: #f7f7f7;
    color: #666;
}
.contact .title {
    color: #32373b;
}
.contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    max-width: 80rem;
    width: 80%;
}

.contact form input {
    padding: 1.5rem;
    flex: 1;
    margin-right: 3rem;
    font-size: 18px;
    color: #555;
}

.contact form .btn {
    padding: 18px 42px;
}

@media (max-width: 80rem) {
    .contact form input {
        flex-basis: 100%;
        margin: 0 0 2rem 0;
    }
}

/*-------------
 	Footer
-------------*/

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: #414a4f;
    padding: 6rem 0;
}

footer ul {
    display: flex;
    margin-bottom: 2.5rem;
    font-size: 32px;
}

footer ul li {
    margin: 0 8px;
}

footer ul li:first-child {
    margin-left: 0;
}

footer ul li:last-child {
    margin-right: 0;
}

footer p {
    text-transform: uppercase;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

footer p a {
    color: #fff;
}

@media (max-width: 70rem) {
    footer {
        padding: 8rem 1.5rem;
    }
}

/* -- Demo ads -- */

@media (max-width: 120rem) {
    #bsaHolder {
        display: none;
    }
}

/* CUSTOM */
h1,
h2,
h3 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.heroMain {
    min-height: 60vh;
}
@media screen and (max-width: 1000px)
{
    .boxes
    {
        width:200px;
    }
}
@media screen and (max-width: 900px)
{
    .boxes
    {
        width:180px;
        padding:5px;
    }
}
@media screen and (max-width: 730px)
{
    .boxes
    {
        width:150px;
        padding:2px;
    }
}
@media (max-width: 700px)
{
    .logo
    {
        display:block;
        width:400px;
        height:230px;
    }
}
@media screen and (max-width: 600px)
{
    .games
    {
        padding: 0rem;
    }
    .heroMain
    {
        min-height:40vh;
    }
    #flagSection
    {
        padding: 4rem 1.5rem;
        flex-direction:row;
        vertical-align:top;
        align-items: flex-start;
    }
    .rowFlex
    {
        display: flex;
        justify-content: space-between;
        width:50%;
        flex-direction: column;
        padding:10px;
    }
    .boxes
    {
        display:inline-block;
        width:100%;
        padding:2px;
        font-size:2.6rem;
    }
}
@media (max-width: 500px)
{
    .logo
    {
        display:block;
        width:261px;
        height:150px;
    }
}
@media (max-width: 350px)
{
    .logo
    {
        display:block;
        width:200px;
        height:115px;
    }
}
.popup
{
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:block;
    width:100%;
    max-width: 400px;
    background-color:#fff;
    border-radius:15px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 1);
    box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 1);
    font-family:sans-serif;
    color:#000;
    padding:20px;
    padding-top:10px; 
    text-align:center;
    z-index:1000000;
    font-size:1.5rem;
    line-height:1.5;
}
.popup a
{
    font-size: 1.5rem !important;
    text-shadow:  none;
    text-decoration:underline;
}
.popupCloseBut
{
    color:#f00;
    text-align:right;
    width:100%;
    cursor:pointer;
}