
@font-face {
    font-family: JosefinSlab;
    src: url(/fonts/JosefinSlab-VariableFont_wght.ttf);
}
@font-face {
    font-family: Playwrite;
    src: url(/fonts/PlaywriteGBS-Regular.ttf);
}

body {
    font-family: 'JosefinSlab', sans-serif;
    font-size: 20px;
    margin: 0 0 0 0;
}
@media only screen and (min-width:768px) {
    body {
        font-size: 22px;
    }
}

.container {
    max-width: 1280px;
    margin: auto;
}

.menu-container {
    display: inline-block;
    width: 100%
}

.menu {
    font-size: 28px;
    font-family: "Playwrite", cursive;
font-optical-sizing: auto;
  font-weight: 1;
  font-style: normal;
    overflow: hidden;
    background: rgb(246, 244, 240);
    box-shadow: rgba(0, 0, 0, 0.7) 0px 2px 3px 0px;
}

.menu-logo {
    float: left;
    max-width: 100px;
}

.menu a {
    float: left;
    display: block;
    text-align: center;
    padding: 12px 18px;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 28px;
}

.menu a.active {
    background: rgb(198, 32, 35);

}

@media only screen and (min-width:768px) and (max-width:1024px){
    .menu a {
        font-size: 32px;
        padding: 12px 8px;
    }
}

@media only screen and (min-width: 768px){
    .menu a:hover {
        background-color: #000000;
        color: #FFFFFF;
    }
    .menu a {
        font-size: 36px;
    }
}

.menu a i {
    margin-right: 8px;
}


/* Responsive menu */
.menu a:not(:first-of-type) {display: none;}

.menu .hamburger {
    font-family: "Font Awesome";
    float: right;
    display: block;
    color: #555555;
    text-align: center;
    padding-top: 26px;
    padding-right:22px;
    background-color: transparent;
    border: none;
    box-sizing: content-box;
    font-size: 25px;
    cursor: pointer;
}


.menu.responsive {
    position: relative;
}
.menu.responsive .hamburger {
    position: absolute;
    right: 0;
    top: 0;
}
.menu.responsive a {
    float: none;
    display: block;
    text-align: left;
}


/* disable for big screen*/
@media only screen and (min-width:768px){
    .menu a:not(:first-child) {
        display: block;
    }
    .menu .hamburger {
        display:none;
    }
    .menu-logo {
        display: block;
        max-width: 100%
    }
    .menu {
        margin-top: 128px;
        margin-right: 5px;
        display: flex;
        justify-content: space-around;
    }

}

.footer {
    background-color: rgb(196, 22, 24);
    padding: 10px 0 0 0;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 2px 3px 0px;
    margin-top: 50px;
}

.footer img {
    display: block;
    margin: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-bottom: -40px;
    background-color: #FFF;
    border-radius: 0 0 5px 5px;
    margin-top: -70px;
    height: 200px;

}

.footer .container {
    background-color: #FFFFFF;
}

.footer .flex-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.footer .separator {
    width: 80%;
    margin: auto;
    border-bottom: 12px dotted;
    padding-top: 30px;
}

/* For big screen all of the 3 boxes on the same line*/
@media only screen and (min-width:768px) {
    .footer .flex-container > * {
        flex: 1;
    }
}

.footer-item {
    width: 100%;
    margin: 0 20px 25px 20px;
}

.footer {
    text-align: center;
}

.footer h3 {
   font-family: "Playwrite", cursive;
    margin-top: 0;
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 34px;
}

.footer a {
    color: black;
    text-decoration: none;
    font-family: 'JosefinSlab', sans-serif;
    font-size: 22px;
    line-height: 1.3em;
}

.footer a i {
    font-size: 28px;
}

/* General purpose rules */
#content {
    margin : 0.5em;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    padding-bottom: 15px;
}


a {
    color:darkblue
}

h1 {
    font-family: "Playwrite", cursive;
    font-size: 72px;
    color: rgb(198, 32, 35);
    text-align: center;
}

h2 {
    font-family: "Playwrite", cursive;
    font-size: 48px;
}


label {
    font-weight: bold;
}

input, textarea {
    background-color: rgb(255, 213, 187);
    box-shadow: -4px 4px rgb(255, 140, 107);
    border: none;
    padding: 10px;
    margin-bottom: 15px;
}

textarea:focus, input:focus{
    outline: none;
}

.button {
    box-shadow: -4px 4px rgb(255, 140, 107);
    border: 3px rgb(255, 140, 107) solid;
    padding: 10px;
    font-family: 'JosefinSlab', sans-serif;
    font-weight: bold;
    font-size: 22px;
    background-color : #FFFFFF;
}

.dotted {
    display: inline-block;
    border-top: 10px dotted;
    border-bottom: 10px dotted;
    text-align: center;
    margin: auto;
    padding: 20px;
}

/* Index */

.homeBlogItem {
    text-align: left;
    margin: 10px;
    /*border: 1px solid rgba(15, 15, 15, 0.05);
    border-radius: 25px;
    box-shadow: rgba(237, 75, 64, 0.1) 7px 7px 10px 0px;*/
}
@media only screen and (min-width:768px) {
    .homeBlogItem {
        margin: 15px;
        padding: 35px;
    }
}

.homeBlogItem h2 {
    margin: 0;
    text-align: center;
}


/* Contact */

.contactFlex {
    display: flex;
    flex-wrap: wrap;
}

.contactFlex div {
    display: block;
    width: 100%;
    margin: 20px;
    text-align: left;
}

.contactMessage {
    display: block;
    margin: 20px;
    text-align: left;
}

@media only screen and (min-width:768px) {
    .contactFlex .contactItem {
        flex: 1;
    }
    .contactMessage {
        width: 65%;
        margin: auto;
    }
}


.contactForm div > * {
    width: 100%;
}


/* Blog */
.blogItem {
    text-align: left;
    margin: 15px;
    padding: 35px;
    border: 1px solid rgba(15, 15, 15, 0.05);
    border-radius: 25px;
    box-shadow: rgba(237, 75, 64, 0.1) 7px 7px 10px 0px;
}

.blogItem h2 {
    margin: 0;
    text-align: center;
}

.ql-align-center {
    text-align: center;
}

.ql-video {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin: auto;
}

@media only screen and (min-width:768px) {
    .ql-video {
        width: 75%;
    }
}

/* Games */
.gameList {
    display: flex;
}

.gameItem {
    position: relative;
    height: 500px;
    width: 500px;
    border: 1px solid rgba(15, 15, 15, 0.05);
    border-radius: 10px;
    box-shadow: rgba(237, 75, 64, 0.1) 7px 7px 10px 0px;
}
/*
.gameInfo {
    position: absolute;
    bottom: 5px;
    left:50%;
    transform: translateX(-50%);
    color: black;
    font-size: 22px
}

.gameInfo h2 {
    line-height: 1em;
    font-size: 32px;
}
*/
.gameImg {
    max-height: 500px;
    max-width: 500px;
    position: absolute;
    top:0;
    left:50%;
    transform: translateX(-50%);
}

.gameDetailsContainer {
    display: flex;
    flex-wrap: wrap;
}

.gameDetailsContainer > * {
    flex: 1;
    margin: 10px;
}
.gameDetailsContainer > img {
    max-width: 95%;
}

.buyButton {
     display: inline-block;
     margin-top: 20px;
     padding: 15px 25px;
     font-size: 24px;
     cursor: pointer;
     text-align: center;
     text-decoration: none;
     outline: none;
     color: #fff;
     background-color: rgb(196, 22, 24);
     border: none;
     border-radius: 15px;
     box-shadow: rgba(0, 0, 0, 0.7) 0px 4px 5px 0px;
}

.buyButton:hover{
    background-color: rgb(216, 42, 44);
}

.buyButton:active {
    background-color: rgb(216, 42, 44);
    box-shadow: rgba(0, 0, 0, 0.7) 0px 2px 3px 0px;
    transform: translateY(4px);
}