/* COMMON ------------*/
:root{
    --header-hight:82px;
}

@font-face {
    font-family: calibri-regular;
    src: url(calibri-regular.ttf);
}
@font-face {
    font-family: "good times rg";
    src: url("good times rg.otf");
}

* {
    box-sizing: border-box;
	border-width: 0;
    margin: 0;
    background-color: transparent;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:var(--header-hight);
}

body {
    margin: 0;
    color: white;
    background-color: black;
    padding-top:var(--header-hight);
}
    body::after {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
        z-index: -1;
        content: url(f1.png) url(f2.png) url(f3.png) url(f4.png) url(f5.png) url(f6.png) url(f7.png) url(fb_logo_over.jpg) url(mail_logo_over.jpg) url(email_big_pict_over.jpg) url(whatsapp_big_pict_over.jpg) url(telegram_big_pict_over.jpg) url(viber_big_pict_over.jpg) url(skype_big_pict_over.jpg) url(inst_big_pict_over.jpg) url(fb_big_pict_over.jpg);
    }


div {
    background-color: transparent;
}

p {
    background-color: transparent;
    font-family: calibri-regular;
	
}

h1 {
	font-family: "good times rg";
    padding-top: 20px;
    padding-bottom: 10px;
}

input,
textarea{
    font-family: calibri-regular;
}

a:link {
    color:white;
    text-decoration: none;
}

a:visited {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #ccf381;
    text-decoration: none;
}

a:active {
    color: white;
    text-decoration: none;
}

/* MAIN ------------*/
#main {
    width: 100%;
    max-width: 1920px;
    margin: auto;
}

.middle_line {
    width: 62.5%;
    max-width: 1200px;
    margin: auto;
}

.row {
    text-align: center;
    margin: auto;
}
    .row img {
        margin: auto;
    }

.row::after {
    content: "";
    clear: both;
    display: table;
}

/* HEADER ------------*/
#header {
    display: flex;
    position: fixed;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    /*background-color: black;*/
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1),rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    color: white;
    height: var(--header-hight);
    font-size: 15px;
    z-index:20;
	/*
	padding-top:0px;
	*/
    top:0;
}
#burger {
    width:0;
    height:0;
    visibility:hidden;
    /*
    font-size:30px;
    cursor:pointer;
    */
}
.side {
    margin: auto;
    /*margin-top: 10px;*/
    /*padding-bottom: 15px;*/
    vertical-align:auto;
    overflow: hidden;
    text-align: center;
}
#fb_logo:hover { content: url(fb_logo_over.jpg);}
#mail_logo:hover { content: url(mail_logo_over.jpg);}

#menu {
    display: flex;
    padding: 0px;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    width:614px;
    height: 82px;
}
    #menu div {
        margin: 0 auto;
    }
    #menu a {
        text-align: center;
        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 30px;
        margin-left: 10px;
        margin-right: 10px;
        /*width: 16.66%;*/
        color: white;
        transition: transform 0.3s ease;
        float: left;
    }

    /*
    #menu a {
        color: white;
		transition: transform 0.3s ease;
    }
    */
	#menu a:hover {
        color: #ccf381;
    }
/* UNDER HEADER ------------*/
#under_header {
    display: flex;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    background-color: black;
    color: white;
    height: 82px;
}

/* VIDEO ------------*/
#video {
    position: relative;
}
    /*
    aspect-ratio: 1920 / 1080;
    background-image: url("ref.png");*/ /*url("video_placeholder.jpg");
    background-size: cover;
    background-repeat: no-repeat;
*/

    #video video {
        display: none;
        width: 0;
        /*height:0;*/
        /*width: 100%;*/
    }

    #video img {
        width: 100%;
        background-color: transparent;
        /*
        display: block;
        margin-left: auto;
        margin-right: auto;
        */
    }

#video_banner {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0px; /*20px;*/
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: 1200px;/*680px;*/ /*16%;*/
}
#banner {
    width: 100%;
    /*
        opacity: 0;
    transition: opacity 0.5s;*/
}
/*    
#video_banner img {
        width: 100%;
    }
*/

.banner_button {
    position: relative; /*absolute;*/
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0px; /*270px;*/ /*25%;*/
    /*width: 19.8%;*/
    padding: 5px;
    width: 380px;
    background-color: #ccf381;
    color: black;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    font-family: "good times rg";
}
    .banner_button:hover {
        background-color: #dbf5ac;
        transform: scale(1.1);
    }
    .banner_button a {
        color: black;
    }
        .banner_button a:hover {
            color: #2b2a00;
        }

#video_button {
    /*display:initial;*/
}
/*
#video_button:hover {
    background-color: #dbf5ac;
    transform: scale(1.1);
}

    #video_button a {
        color: black;
    }

        #video_button a:hover {
            color: #2b2a00;
        }
*/
#video_button_bottom{
    display:none;
}
/*    #video_button_bottom a {
        display: none;
    }
*/
/*
#button {
		padding: 5px;		
		width: 380px;
		display: block; margin-left: auto; margin-right: auto;
		margin-top: 10px;
        background-color: #ccf381; color: black;
		text-align: center;
		font-size: 20px;
		font-weight:bold;
		box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
		transition: transform 0.3s ease;
		font-family: "good times rg";
    }

#button:hover {
	background-color: #dbf5ac;
	transform: scale(1.1);
}
	
	 #button a {
		color: black;
    }
	
	 #button a:hover {
		color: #2b2a00;
    }
*/

/* WHAT WE DO ------------*/
#what_we_do {
    text-align: center;
}

    #what_we_do h1 {
        font-size: 40px;
        color: #ccf381;
    }

    #what_we_do p {
        font-size: 24px;
    }

    #what_we_do div.row div {
        width: 33.33%;
        float: left;
        margin-top: 20px;
    }
	

    #what_we_do div.row img {
        display: block;
        max-width: 100%;
        height: auto;
    }
    #what_we_do div.row p {
        font-size: 24px;
    }

/* WHY HIRE US ------------*/
#why_hire_us {
    width: 100%;
    height: auto;
    /*aspect-ratio: 960 / 205;*/
    background-image: url('why_bg.jpg');
    background-size: contain;
    background-position-x: right;
    /*background-size: cover;*/
    background-repeat: no-repeat;
    background-color: white;
    text-align: center;
}
    #why_hire_us h1 {
        background-color: white;
        font-size: 40px;
        color: slateblue;
    }

    #why_hire_us p {
        font-size: 24px;
        color: black;
    }
    #why_hire_us div.row div {
        width: 11.11%;
        float: left;
		margin-top: 20px;
    }

    #why_hire_us div.row img {
        display: block;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    #why_hire_us div.row p {
        font-size: 12px;
        text-align: center;
        color: slateblue;
    }
	
	

/* WHO WE ARE ------------*/
#who_we_are {
    aspect-ratio: 1920 / 662;
    background-image: url("who_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}
    #who_we_are h1 {
        background-color: transparent;
        font-size: 40px;
        color: #ccf381;
    }
    #who_we_are p {
        font-size: 24px;
        text-align: center;
    }
    #who_we_are div.row div {
        width: 33.33%;
        float: left;
		margin-top: 20px;
    }
    #who_we_are div.row img {

    }
    #who_we_are div.row h2 {
        background-color: transparent;
        font-size: 30px;
        color: #ccf381;
    }
    #who_we_are div.row p {
        font-size: 20px;
        text-align: center;
    }
	
	

/* SUAPLAY GAMES ------------*/
#suaplay_games {
    background-color: #ccf381;
    color: black;
    text-align: center;
}
    #suaplay_games h1 {
        background-color: transparent;
        font-size: 40px;
        color: black;
    }

#wrapper {
    aspect-ratio: 1920/1080;
    width: 100%;
    line-height: 0; /*css-property does the trick and keeps the container's height.*/
}
#pixi-content {
    /*position:relative;*/
    width: 100%;
    height: 100%;
}
#pixi-canvas {
    /*aspect-ratio: 1920/1080;*/
    width: 100%;
    height: auto;
    touch-action: inherit;
}

/* PARALAX ------------*/
#paralax img {
    width:100%;
    height:100%;
}


		
        .parallax {
            /* Parallax effect using background-attachment */
            background-image: url('paralax.jpg');
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 140px;
        }
        /*
		.parallax2 {
            background-image: url('paralax2.jpg');
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 140px;
        }
        */

/* SUAPLAY PROCESS ------------*/
#suaplay_process_h {
    background-color: #ccf381;
    color: black;
    text-align: center;
}
    #suaplay_process_h h1 {
        background-color: transparent;
        font-size: 40px;
        color: black;
    }

#suaplay_process {
    /*width: 100%;
    height: auto;*/
    aspect-ratio: 1920 / 662;
    background-image: url('process_bg.jpg');
    background-size: contain;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: white;
    text-align: center;
}
    #suaplay_process div.row div {
        width: 33.33%;
        float: left;
    }
        #suaplay_process div.row div h2 {
            background-color: transparent;
            font-size: 30px;
            color: #ccf381;
        }
        #suaplay_process div.row div ul {
            font-size: 20px;
            text-align: left;
            color: #ccf381;
        }
        #suaplay_process div.row div ul p {
            color: white;
        }

/* CONTACT US ------------*/
#contact_us_h {
    background-color: #ccf381;
    color: black;
    text-align: center;
}
    #contact_us_h h1 {
        background-color: transparent;
        font-size: 40px;
        color: black;
    }
#contact_us {
    text-align: center;
}
    #contact_us h2 {
        font-size: 30px;
        color: white;
        margin:15px;
    }

#f_name, #f_email {
    width:100%;
    background-color: white;
    font-size: 24px;
    color: black;
    margin-bottom: 15px;
    outline-color: #ccf381;
    outline-style: solid;
}
#f_message {
    width: 100%;
    height: 250px;
    background-color: white;
    font-size: 24px;
    color: black;
    margin-bottom: 15px;
    outline-color: #ccf381;
    outline-style: solid;
}
#f_submit {
    padding: 5px;
    width:100%;
    max-width: 380px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    background-color: #ccf381;
    color: black;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
	font-family: "good times rg";
}
    #f_submit:hover {
        background-color: #dbf5ac;
        transform: scale(1.1);
    }
#contact_us div.row div {
    width: 14.28%;
    float: left;
}
.contact_us_pict {
    width:100%;
    height:auto;
    padding:10px;
}

#email_pict:hover {content: url(email_big_pict_over.jpg);}
#whatsapp_pict:hover {content: url(whatsapp_big_pict_over.jpg);}
#telegram_pict:hover {content: url(telegram_big_pict_over.jpg);}
#viber_pict:hover {content: url(viber_big_pict_over.jpg);}
#skype_pict:hover {content: url(skype_big_pict_over.jpg);}
#inst_pict:hover {content: url(inst_big_pict_over.jpg);}
#fb_pict:hover {content: url(fb_big_pict_over.jpg);}

/* PHRASE ------------*/
#phrase {
    background-color: white;
}
    #phrase div.row {
    }
    #phrase div.row div {
        width: auto;
        float: left;
    }
    #phrase img {
        margin: 15px;
    }
    #phrase p {
        color: gray;
        font-size: 20px;
    }
    #phrase h3 {
        color: dimgray;
        background-color: white;
        text-align:right;
    }

/* FOOTER ------------*/
#footer {
    display: flex;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    color: white;
    height: 82px;
    font-size: 15px;
}
#copyright {
    width: 614px;
    height: 82px;
    padding: 0px;
    overflow: hidden;
    text-align: center;
    margin: auto;
    padding-top: 35px;
}

/* Layouts -----------*/
@media screen and (max-width:1200px) {
    #video_banner {
        width: 100%;
        top: 0px;
    }
}

@media screen and (max-width:1080px) {
    #video_button{
        display:none;
    }
    #video_button_bottom{
        display:inherit;
    }

    /*
    #video_button {
        position: relative;
        top: 0px;
    }
*/
    #suaplay_process h1 {
        height: 0px;
    }

    #suaplay_process div.row div {
        width: 100%;
        margin: 15px;
    }

    #why_hire_us_pictures {
        width: 0;
        padding: 0;
        visibility: hidden;
    }
    /*    
        #suaplay_process div.row div ul {
        margin-top:15px;
        }
        */
}

@media screen and (max-width:800px) {
    .middle_line {
        width: 80%;
        max-width: 1200px;
        margin: auto;
    }
    /* hide sides */
    .side {
        width: 0;
        height: 0;
        padding: 0;
        visibility: hidden;
    }

    /* VIDEO ------------*/
    /*
    #video img {
        width: 50.6%;
    }
    #button {
        font-size: 18px;
    }
    #video_banner {
        width: 60%;
        top: 5px;
    }
    */

    .banner_button {
        font-size: 18px;
    }
    /*
    #video_button {
        font-size: 18px;
    }
    */
    #what_we_do div.row div {
        width: 100%;
    }

    #who_we_are div.row div {
        width: 100%;
    }

    #contact_us div.row div {
        width: 33%;
    }

    /* switch aspect ratio for game*/
    #wrapper {
        aspect-ratio: 1080/1920;
    }
}

@media screen and (max-width:530px) {

    #menu {
        width: 100%;
        height: 82px;
        font-size: 12px;
    }

        #menu a {
            margin-top: 30px;
            margin-left: 5px;
            margin-right: 5px;
        }
    /*
    #button {
        width: 71.7%;
        font-size: 18px;
    }
    #video_banner {
        width: 60%;
        top: 5px;
    }
*/
    .banner_button {
        width: 71.7%;
        font-size: 18px;
    }
    /*
    #video_button {
        width: 71.7%;
        font-size: 18px;
    }
        */
}

@media screen and (max-width:400px) {
    #menu {
        width: 0%;
        height: fit-content;
        background-color: black;
        padding-bottom: 20px;
        /*
        width: 0;
        padding: 0;
        visibility: hidden;
        */
    }

        #menu div a {
            width: 100%;
        }

    #burger {
        font-size: 30px;
        width: 100%;
        height: fit-content;
        visibility: visible;
        margin-top: 19px;
    }

        #burger:hover {
            color: #ccf381;
            text-decoration: none;
        }
}

    /*
@media only screen and (orientation: portrait){
    #wrapper {
        aspect-ratio: 1080/1920;
    }
}
    @media (max-aspect-ratio: 0.7) {
        width: 100%;
        line-height: 0; 
    #pixi-content {
        width: 100%;
        height: 100%;
    }

    #pixi-canvas {
       aspect-ratio: 1080/1920;
        width: 100%;
        height: auto;
        touch-action: inherit;
    } */
