/* Medium only */

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.hide-for-medium-only {
		display: none;
	}
}

/* Medium and down */

@media screen and (max-width: 63.9375em) {
	.grid-x.grid-padding-x .cell {
		padding: 0 !important;
	}

	.grid-x.grid-padding-x {
		padding: 5px !important;
	}

	.hide-for-medium-down {
		display: none !important;
	}

	.txt-xxlarge {
		font-size: 30px;
	}

	.pages-master {
		height: 100%;
		min-height: 100%;
		max-height: 100%;
		margin-top: 0;
	}

	.overflow-members {
		padding-right: 0 !important;
	}

	.header {
		width: 100vw;
		position: fixed;
		left: 0;
		top: 0;
		transform: translateX(0);
		-moz-transform: translateX(0);
		height: 50px;
		display: block;
		background-color: rgba(0, 0, 0, 0.95);
	}

	.logo {
		height: 60px;
		margin-top: 10px;
	}

	.header .home-btn {
		position: absolute;
		top: 5px;
		left: 20px;
	}

	.nav-btn .icon {
		width: 25px;
		height: 25px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		border-radius: 100%;
		margin-top: 7px;
	}

	.header .home-btn .txt {
		line-height: 16px;
	}

	.header .colors-btn {
		position: absolute;
		top: 5px;
		right: 20px;
	}

	.header .colors-btn .txt {
		line-height: 16px;
	}

	.nav-btn .icon svg, .footer-btn .icon svg {
		width: 100%;
		height: 100%;
		opacity: 0.5;
	}

	.nav-btn:active .icon svg {
		transform: scale(1.2);
		opacity: 1;
	}

	.footer {
		position: fixed;
		bottom: 0;
		width: 100vw;
		text-align: center;
		font-weight: 100;
		z-index: 3;
		overflow: visible;
	}

	.footer .cell {
		height: 55px;
		font-size: 10px;
		position: relative;
		font-weight: 300;
		background-color: rgba(0, 0, 0, 1);
		padding-top: 5px;
		border-right: 1px solid rgba(255, 255, 255, 0.15);
	}

	.footer .cell:last-child {
		border-right: none;
	}

	.footer .cell.active {
		background-color: rgba(24, 24, 24, 1);
	}

	.footer .cell.active .icon svg {
		transform: scale(1.1);
		opacity: 1;
	}

	.footer .cell .icon {
		width: 25px;
		height: 25px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		border-radius: 100%;
		margin-bottom: 3px;
	}

	.footer .cell .txt {
		line-height: 16px;
	}

	.menu-top {
		display: none;
	}

	.swiper-wrapper {
		display: block;
	}

	.swiper-container {
		overflow: visible;
		overflow-x: hidden;
		max-height: 100%;
		height: 100%;
		width: 100%;
	}

	.swiper-slide {
		background-color: transparent;
		overflow: visible;
		width: 100vw;
		position: relative;
		height: auto;
		padding-bottom: 150px;
		padding-top: 80px;
		clear: both;
		padding-left: 10px;
		padding-right: 10px;
		display: none;
	}

	.swiper-slide.home {
		margin-top: 0;
		display: block;
	}

	.swiper-slide.solutions {
		text-align: center;
	}

	.overflow-members {
		overflow-y: auto;
	}

	.txt-small {
		text-align: justify;
	}

	.small-query {
		text-align: center;
		width: 100%;
		padding: 10%;
	}

	.gfx-table {
		background-size: 90%;
		background-image: url("../img/red-table.png");
		background-repeat: no-repeat;
		background-position: center center;
		transition: 0.5s;
		height: 100vw;
		width: 100vw;
		position: absolute;
		top: 35vw;
		left: 0;
	}

	.cards-container {
		height: 125vw;
		width: 125vw;
		position: absolute;
		top: 5vw;
		left: 20vw;
	}

	.gfx-cards {
		left: -100px;
	}

	.overflow-members {
		max-height: 100%;
		text-align: center;
	}

	.divider-100, .overflow-members p {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.clients .client, .news .post {
		margin-top: 50px;
	}

	.slot-bg {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
		background-image: url("../img/slot.png");
		width: 100%;
		height: 550px;
		-webkit-filter: drop-shadow(0 0 25px #000);
		filter: drop-shadow(0 0 25px #000);
		margin-top: 50px;
	}

	.all-reels {
		width: 190px;
		height: 185px;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-95px, -130px);
	}

	.solutions .btn-solutions {
		display: inline-block;
		margin-right: 5px;
	}

	.solutions .float-right {
		float: none;
	}

	.btn-solutions.active {
		transform: translate(0);
	}

	#cube-viewport {
		-webkit-perspective: 1500px;
		-moz-perspective: 1500px;
		-o-perspective: 1500px;
	}

	#cube-container {
		display: inline-block;
	}

	#rubik {
		clear: both;
		height: 350px;
		transform: scale(0.5);
		margin-top: -20px;
		float: none;
		margin-right: auto;
		margin-left: auto;

	}

	.solutions-info {
		margin-top: 50px;
		padding: 0px;
	}

	.clients .float-right {
		float: none;
	}

	.clients .btn-solutions {
		display: inline-block;
		margin-right: 5px;
	}

	.news .float-right {
		float: none;
	}

	.news .btn-solutions {
		display: inline-block;
		margin-right: 10px;
	}

	.btn-red-border {
		float: none;
		text-align: center;
		max-width: 150px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.contact .ml20 {
		text-align: center;
	}

	.contact .maxw-200 {
		max-width: 100%;
	}

	.text-center-small-medium {
		text-align: center;
	}

	.popup {
		top: -120px;
		bottom: initial;
		max-width: 100vw;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 0;
		padding-bottom: 150px;
		margin-top: 100px;
		height: auto;
	}

	.popup-content {
		padding: 10px;
	}

	.popup-content h4, .popup-content h5 {
		color: rgba(255, 255, 255, 0.85);
		font-size: 20px;
		text-align: left;
	}

	.popup-content p {
		color: rgba(255, 255, 255, 0.5);
		font-size: 14px;
		text-align: justify;
	}

	.close-btn {
		left: 10px;
		top: 20px;
	}

	.popup .ml20 {
		margin-left: 0;
	}

	.solutions-info-container .solutions-info {
		width: 100%;
		margin-left: 0;
		padding-left: 0;
	}

	.solutions-info-container {
		/*height: 200px;*/
	}

	.mt0-small {
		margin-top: 0 !important;
	}
}

/* Small only */

@media screen and (max-width: 39.9375em) {
	.hide-for-small-only {
		display: none !important;
	}

	#rubik {
		margin-top: -100px;
	}

	#cube-container {
		left: 25px;
	}

	.gfx-cards {
		height: 75%;
		top: 140px;
	}
}

@media screen and (max-width: 400px) {
	#rubik {
		margin-top: -80px;
	}

	.gfx-table {
		top: 47.5vw;
	}
}

/* Medium and up */

@media screen and (min-width: 63.9375em) {
	.hide-for-medium-up {
		display: none !important;
	}

	html {
		min-height: 820px !important;
		overflow-y: auto !important;
	}

	.colors-btn.theme-btn {
		position: absolute;
		top: 50%;
		width: 50px;
		height: 50px;
		left: -50px;
		z-index: 3;
		margin-top: -25px;
		cursor: pointer;
		transition: 0.2s;
	}

	.colors-btn.theme-btn:hover {
		transform: scale(1.1) rotate(-35deg);
	}

	.colors-btn.theme-btn:active {
		transition: 0.1s;
		transform: scale(0.9) rotate(-35deg);
	}

	.cubie:hover {
		cursor: pointer;
	}

	.red .cubie:hover {
		background: var(--red);
		-webkit-box-shadow: 0px 0px 40px 0px rgba(255, 0, 0, 1);
		-moz-box-shadow: 0px 0px 40px 0px rgba(255, 0, 0, 1);
		box-shadow: 0px 0px 40px 0px rgba(255, 0, 0, 1);
	}

	.blue .cubie:hover {
		background: var(--blue);
		-webkit-box-shadow: 0px 0px 40px 0px rgba(0, 174, 255, 1);
		-moz-box-shadow: 0px 0px 40px 0px rgba(0, 174, 255, 1);
		box-shadow: 0px 0px 40px 0px rgba(0, 174, 255, 1);
	}

	.orange .cubie:hover {
		background: var(--orange);
		-webkit-box-shadow: 0px 0px 40px 0px rgba(255, 130, 0, 1);
		-moz-box-shadow: 0px 0px 40px 0px rgba(255, 130, 0, 1);
		box-shadow: 0px 0px 40px 0px rgba(255, 130, 0, 1);
	}
}

/* Large only */

@media screen and (min-width: 64em) and (max-width: 74.9375em) {
	.hide-for-large-only {
		display: none !important;;
	}
}

/* Large and up */

@media screen and (min-width: 860px) {
	.hide-for-large-up {
		display: none !important;;
	}

	.gfx-cards {
		height: 95%;
		top: 70px;
		left: 27.5%;
	}
}



@media screen and (min-width: 860px)  and (max-width: 1023px){
    .cards-container{
        height: 82vw;
        width: 87vw;
    }
    .gfx-cards {
        height: 95%;
        top: 200px;
        left: 0%;
    }
}