/*** PUZZLE ***/
#gameCanvasCanvas {
    width: 100%;
    margin-top: 3rem;
}

@media (min-width: 800px) {
    #gameCanvasCanvas {
        margin-top: 0;
    }
}

.game__container {
	transition: all 0.6s ease-in-out;
}

.game {
    position: relative;
	opacity: 1;
	transition: opacity 0.6s ease-in-out;
}

.puzzle__container {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 800px) {
    .puzzle__container {
        display: block;
    }
}

.puzzle__content {
    position: relative;
    display: flex;
	flex-direction: column;
	justify-content: center;

	width: 100%;
	height: 100%;
    margin: 0 auto 5rem;
}

.puzzle__content p {
    text-align: center;
}

@media (min-width: 800px) {
    .puzzle__content {
        width: 90%;
    }

    .puzzle__content p {
        max-width: 90rem;
    }
}

@media (min-width: 800px) {
    span.background__h2 {
        bottom: 9rem;
        left: 2.3rem;
    }

    span.background__h2_puzzle {
        top: 11rem;
        max-width: 75rem;
        width: 100%;
        z-index: 1;
    }

    .background__puzzle {
        width: 100% !important;
    }
}

.puzzle__play {
    max-width: 400px;
	width: 100%;
	padding: 2rem 0 2rem 0;
	margin: 0 auto;
    text-align: center;
}

@media (min-width: 800px) {
    .puzzle__play {
        max-width: 550px;
    }
}

@media (min-width: 1600px) {
    .puzzle__play {
        max-width: 80%;
    }
}

.puzzle_button {
    padding: 1.5rem 4rem;
    margin: 1rem 1rem 1rem 0;
    border: none;
    background: var(--yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    transition: all .3s;
	cursor: pointer;
}

.puzzle_button:hover {
    background: var(--black);
    color: var(--yellow);
    transition: all .3s;
}

.puzzle__preview {
	display: flex;
	flex-direction: column;
	justify-content: space-around;

    margin: 0 auto;
	padding: 1rem;
}

.puzzle__preview img {
    margin: 3rem auto 0;
}

@media (min-width: 800px) {
    .puzzle__preview img {
        display: block;
        width: 100%;
        max-width: 50rem;
    }
}

.puzzle__timer {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 800px) {
    .puzzle__timer {
        justify-content: center;
        width: 100%;
        margin: 9rem auto;
    }
}

#time,
.puzzle__new_game {
    position: relative;
    width: 7rem;
    height: 7rem;
    margin-right: 1rem;
    border: none;
    background: var(--yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    transition: all .3s;
}

@media (max-width: 799px) {
	.puzzle__new_game {
		padding-top: 2rem;
        font-size: 0.8rem;
	}
}

.puzzle__new_game a {
    position: absolute;
    top: 30%;
    left: 30%;
}

.puzzle__time_result {
    color: var(--red);
    font-weight: bold;
}

.result__container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	padding-top: 4rem;

	transform: translateY(-100%);
	transition: all 0.4s linear;
}

.puzzle__send_holder {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0 4rem;
}

#send {
    max-width: 25.5rem;
    padding: 1.5rem 4rem;
    border: none;
    background: var(--yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    transition: all .3s;
    cursor: pointer;
}

.column {
	flex-direction: column;
}

.row {
    flex-direction: column;
}

@media (min-width: 768px) {
    .row {
        flex-direction: row;
        justify-content: center;
    }
}

.slide__in {
    opacity: 1;
    transform: translateX(0);
}

.slide__out {
    opacity: 0;
    transform: translateX(-100%);
}

.slide__in_top {
    transform: translateY(0);
}

.invisible {
    display: none;
    opacity: 0;
}



/*** FORMA ***/
.puzzle__form {
	max-width: 56rem;
    width: 80%;
	margin: 0 auto;
}

.puzzle__form__input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 1rem;
    margin-bottom: 0.2rem;

    border-radius: 15px;
    border: 1px solid var(--black);
    color: #000;
    outline: none;
}

.puzzle__form_label {
	display: block;
	padding: 1rem;

	font-size: 0.7rem;
	font-weight: bold;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
}

.puzzle__consent {
	padding: 1rem 0 1rem 1.5rem;
    color: var(--dark);
    font-size: 1rem;
}

p.error {
    padding: 0;
	color: var(--red);
}

input[type='checkbox'] {
	display: block;
	margin-top: .2rem;
	transform: scale(2);
}

.puzzle__form_checker {
	display: flex;
	align-items: center;
	border-radius: 1.5rem;
}

.puzzle__form_title {
    color: var(--red);
    font-family: "adage-script-jf", sans-serif;
    font-weight: 400;
    font-size: 8rem;
    letter-spacing: 0;
    text-align: center;
}

.puzzle__form_lead {
    max-width: 26rem;
    width: 100%;
    padding: 0.4rem;
    margin: 1rem;
    text-align: center;
}

.puzzle__time_title {
    font-size: 0.9rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}
