﻿html {
  text-align: center;
}

#cursor { 
animation: blinker steps(1) 1s infinite;
-webkit-animation: blinker steps(1) 1s infinite;
-moz-animation: blinker steps(1) 1s infinite;
}

@-moz-keyframes blinker {  0% { visibility: visible; } 50% { visibility: hidden; } 100% { visibility: visible; }
}
@-webkit-keyframes blinker { 0% { visibility: visible; } 50% { visibility: hidden; } 100% { visibility: visible; }
}
@keyframes blinker {  0% { visibility: visible; } 50% { visibility: hidden; } 100% { visibility: visible; }
}


#ajuda{
	position:absolute;
	top:0;
	left:0;
	padding: 50px -200px 0px 200px;
	width:100%;
	height:100%;
	display:none;
	z-index: 1;
	background-color: white;
}


 @media only screen and (min-width: 1000px) {
	 
#cubs{
	position: absolute;
	top: 35px;
	left: 100px;
	width:60px;
	cursor: pointer;
}
#botoajuda{
	position: absolute;
	top: 35px;
	right: 100px;
	width:60px;
	font-size:50px;
	border: 5px solid #F5F5F5;
	border-radius:50px;
	background-color: white;
	cursor: pointer;
}
#tancaajuda{
	position: absolute;
	top: 35px;
	right: 105px;
	width:60px;
	font-weight:bold;
	font-size:60px;
	cursor: pointer;
}
.titolajuda{
	position:relative;
	margin-top:50px;
	font-size:30px;
	text-align:center;
}
.textajuda{
	margin-top:20px;
	font-size:20px;
	text-align:left;
	padding: 0px 400px;
}

#desxifra
{
text-align: center;
font-size:110px;
transform: scale(.6, 1);
}

#des
{
font-weight: bold;
vertical-align: 22px;
}

#i
{
color: red;
font-weight: bold;
font-style: italic;
}

#fra
{
font-weight: bold;
color: lightblue;
font-style: normal;
}
#x
{
font-weight: bold;
color: lightblue;
font-style: normal;
}

#data{
margin-top:-15px;
font-size:20px;
}

#container
{
position:relative;
text-align: center;
height:180px;
}

#aux,#aux2,#aux3
{
position:relative;
background-color: red;
}

#entrada
{
position:relative;
text-align: center;
margin: 40px 500px 20px 500px;
font-size:40px;
height:50px;
color: blue;
}

#resultat
{
position: relative;
text-align: center;
width: 80px;
height:65px;
margin: 0 auto;
padding-top: 15px;
font-size:40px;
font-weight: bold;
border:5px black solid;
border-radius:65px;
background: rgba(255, 255, 255,  0);
transition: background 0.5s ease-in-out;
-webkit-transition: background 0.5s ease-in-out;
-moz-transition: background 0.5s ease-in-out;
}


#botonsNombres,#suprimirIntroduir
{
position:relative;
text-align: center;
}

#botonsOperadors
{
left:50%;
transform: translateX(-50%);
display:flex;
margin-top:20px;
text-align:center;
align-items: center;
position:relative;
text-align: center;
width: 572px;
}
#botonsOperacions
{
	display:inline-block;
}
#botoObrir
{
	display:inline-block;
	margin-right: 0px;
	width:100px;
}
#botoTancar
{
	display:inline-block;
	margin-left:0px;
	width:100px;
}

button.botoNombre
{ 
position:relative;
text-align:center;
width:70px;
height:50px;
margin: 5px;
font-size:20px;
font-weight: bold;
background-color: lightblue;
cursor: pointer;
}
button.botoNombre:hover
{ 
background-color: SkyBlue;
}

button.botoOperador
{ 
position:relative;
text-align:center;
width:80px;
height:50px;
margin: 5px;
font-size:20px;
font-weight: bold;
border-radius:25px;
background-color: lightgray;
cursor: pointer;
}
button.botoOperador:hover
{ 
background-color: Silver;
}

button.suprIntro
{ 
width:100px;
position:relative;
margin:40px 25px 0 25px;
height:40px;
font-size:15px;
border-color: #F5F5F5;
border-radius:20px;
background-color: white;
cursor: pointer;
}
button.suprIntro:hover
{ 
background-color: WhiteSmoke;
}

#animal{
	margin-top: 30px;
	color: orange;
	font-size: 25px;
}
#puntuacio{
	margin-top: 5px;
	color: orange;
}

}

/* ---------------------------------------For tablet: ------------------------------------------------*/
/*@media only screen and (max-width: 768px) and (min-width: 500px) {
}

/* ------------------------------------For mobile phones: --------------------------------------------*/
@media only screen and (max-width: 1000px) {
		
#cubs{
	position: absolute;
	top: 35px;
	left: 10%;
	width:60px;
	cursor: pointer;
}
#ajuda{
	height: 1800px;
}
#botoajuda{
	position: absolute;
	top: 35px;
	right: 10%;
	width:60px;
	font-size:50px;
	border: 5px solid #F5F5F5;
	border-radius:50px;
	background-color: white;
	cursor: pointer;
}
#tancaajuda{
	position: absolute;
	top: 35px;
	right: 10.5%;
	width:60px;
	font-weight:bold;
	font-size:60px;
	cursor: pointer;
}
.titolajuda{
	position:relative;
	margin-top:50px;
	font-size:60px;
	text-align:center;
}
.textajuda{
	text-align: justify;
	text-justify: inter-word;
	margin-top:20px;
	font-size:40px;
	text-align:left;
	padding: 0px 15%;
}

#desxifra
{
text-align: center;
font-size:120px;
transform: scale(.6, 1);
}

#des
{
font-weight: bold;
}

#i
{
color: red;
font-weight: bold;
font-size:90px;
vertical-align: sub;
  font-style: italic;
}

#fra,#x
{
color: lightblue;
font-weight: bold;
}

#data{
	margin-top:-20px;
font-size:30px;
}

#container
{
position:relative;
text-align: center;
height:300px;
}

#aux,#aux2,#aux3
{
position:relative;
background-color: red;
}

#entrada
{
position:relative;
text-align: center;
margin: 40px 0px 30px 0px;
font-size:80px;
height:80px;
font-weight: bold;
color: blue;
}

#resultat
{
position: relative;
text-align: center;
width: 150px;
height:120px;
margin: 0 auto;
padding-top: 30px;
font-size:80px;
font-weight: bold;
border:10px black solid;
border-radius:90px;
background: rgba(255, 255, 255,  0);
transition: background 0.5s ease-in-out;
-webkit-transition: background 0.5s ease-in-out;
-moz-transition: background 0.5s ease-in-out;
}

#botonsNombres
{
position:relative;
text-align: center;
}
#suprimirIntroduir
{
position:relative;
text-align: center;
}

#botonsOperadors
{
left:50%;
transform: translateX(-50%);
display:flex;
text-align:center;
align-items: center;
position:relative;
text-align: center;
width: 830px;
}
#botonsOperacions
{
	display:inline-block;
}
#botoObrir
{
	display:inline-block;
	margin-right: -10px;
	width:200px;
}
#botoTancar
{
	display:inline-block;
	margin-left:-20px;
	width:200px;
}

button.botoNombre
{ 
position:relative;
text-align:center;
width:220px;
height:150px;
margin: 15px;
padding: 0;
font-size:80px;
font-weight: bold;
background-color: lightblue;
cursor: pointer;
}
button.botoNombre:hover
{ 
background-color: SkyBlue;
}

button.botoOperador
{ 
position:relative;
text-align:center;
width:190px;
height:160px;
margin: 10px;
padding: 0;
font-size:100px;
font-weight: bold;
border-radius:80px;
background-color: lightgray;
cursor: pointer;
}
button.botoOperador:hover
{ 
background-color: Silver;
}

button.suprIntro
{ 
width:240px;
position:relative;
margin:40px 90px 0 90px;
padding: 0;
height:100px;
font-size:40px;
border-color: #F5F5F5;
border-radius:50px;
background-color: white;
cursor: pointer;
}
button.suprIntro:hover
{ 
background-color: WhiteSmoke;
}

#animal{
	margin-top: 100px;
	color: orange;
	font-size: 80px;
}
#puntuacio{
	margin-top: 10px;
	color: orange;
	font-size: 50px;
}
}