/* Copyright (c) 2017 MIT 6.813/6.831 course staff, all rights reserved.
 * Redistribution of original or derived work requires permission of course staff.
 */

/* REMOVE ME - dashed lines and height for debugging */
/*
#mainColumn {
  outline: 1px dashed orange;
  height: 200px;
}
*/
/* Your css code here! */

html,
body {
  overscroll-behavior: contain;
}

div {
	/*border: 1px solid green;*/
}

body {
	margin: auto;
	vertical-align: middle;
	font-weight: bold;
	text-align: center;
	overflow: hidden;
}

img {
	/*position: absolute;*/
}

.btn {
	margin: 5px;
	border: 1px solid #666666;
	box-shadow: 1px 1px 5px gray;
}

.btn:hover {
	background-color: #8c8c8c;
}

.arrow {
	margin: 0;
	color: white;
}

.arrow:disabled {
	background-color: grey;
}

.arrow:enabled {
	background-color: #4889f0;
}

#firstColumn, #mainColumn, #lastColumn {
	margin: auto;
}

#firstColumn {
	z-index: 3;
	margin-bottom: 2rem;
}

#gameTitle {
	font-weight: bold;
	color: red;
}

#gameBoard {
	margin: auto;
	width: 320px;
    height: 320px;
	table-layout: fixed;
	position: relative;
	/*zoom: 130%;*/
}

#moveInput {
	width: 50px;
}

#moveInput:hover, #moveInput:focus {
	box-shadow: 0 0 5px blue;
}

#arrowContainer {
	margin: 20px auto;
}

#canvas {
	z-index: 1;
    position: absolute;
    top: 0px;
    left: calc(50% - 160px);
    opacity: 0.7;
    
}

#scoreLabel {
	color: white;
}

#cover {
	z-index: 2;
	position: absolute;
	top: -500px;
	left: calc(50% - 160px);
	background-color: white;
	width: 320px;
	height: 320px;
}

#newGame, #showMove {
	width: 10em;
}

#DEBUG {
	z-index: 100;
	position: fixed;
	top: 50px;
	left: 25px;
	background-color: #ff4d4d;
	opacity: 0.85;
}

div#mainColumn {
    /*background: url(./graphics/luz.png);*/
    background-repeat: no-repeat;
    background-size: 130% 120%;
    background-position: 60% 52%;
    padding: 0;
    margin: 0 20px;
}

div#gameBoard {
    box-shadow: 0px 0px 10px 4px navajowhite;
	background: url('./graphics/luz.png');
    background-size: cover;
}
body {
	background: url('./graphics/fondo.png');
    background-size: cover;
}

.objetos {
    border: solid 1px;
    box-shadow: 0px 0px 6px 0px darkblue;
	position: absolute;
	object-fit: contain;
}

.score{
	background: url('./graphics/Recurso 6.png');
    background-size: cover;	
	color: #fff;
	font-size: 1.2rem;
}

.objPoints img {
    height: 40px;
    width: 40px;
	background: url('./graphics/Recurso 4.png');
    background-size: cover;
    padding: 0px;
	filter: drop-shadow(2px 4px 6px black);
	transform: rotate(-25deg);
	object-fit: contain;
	margin-left: -5px !important;
}
.kleenex{
	width: 75px;
}
.logoKleenex {
	filter: drop-shadow(2px 4px 6px black);
}
#lastColumn {
    z-index: 99;
	display: flex;
	margin-top: 1rem;
}
.tagline {
    color: #fff;
    text-align: right;
    font-size: 1.5rem;
    width: 70%;
    padding: 1rem;
}
.boxPoint{
	background-color: #0000002b;
    border-radius: 10px;
}
.boxLogo{
	padding: 5px 20px 5px 5px;
}
.max {
	border-top: solid;
}

.text-red{
	color: #ff4d4d;
}
.modal-body{
	font-size: 5rem;
    text-align: center;
    line-height: 1;
	text-shadow: 2px 4px 6px #00599c;
	padding-top: 5rem;
}
.modal-content {
    background: url("./graphics/fondo-avisos.png");
    background-size: contain;
    color: white;
    min-height: 28rem;
    background-position: center;
    background-repeat: no-repeat;
	filter: drop-shadow(2px 4px 6px darkblue);
}
.btn-primary {
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 15px;
    border: solid;
    background-color: #0076bb;
    box-shadow: 0px 4px 4px 4px darkblue;
}
.modal-footer {
    border-color: transparent;
}
.modal-footer .btn{
	margin-bottom: -2.5rem !important;
}
.winner{
	background: url("./graphics/fondo aleluyas.gif");
    background-position-x: center;
}

.bailando {
    display: none;
    margin: auto;
	width: 80%;
    margin-top: 1rem;
}

.instrucciones {
    position: absolute;
    z-index: 999;
    margin: 0;
    background: #0000005e;
	height: 100vh;
	filter: drop-shadow(2px 4px 6px darkblue);
}

img.img-instrucciones {
    width: 90%;
    display: block;
    margin: auto;
    margin-top: 3rem;
    z-index: 3;
}

img.btn-cerrar {
    width: 3rem;
    margin-top: 5rem;
    margin-bottom: -8rem;
    right: -19rem;
    display: block;
    z-index: 3;
    position: relative;
}

img.btn-iniciar {
    width: 6rem;
    margin-top: -2.5rem;
}

img.btn-iniciar:hover {
    cursor: pointer;
    filter: drop-shadow(2px 4px 6px darkblue);
}