/*-------- CSS -------------*/
/* ------------------Reset--------------------- */
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top;}ol, ul {list-style:none;}blockquote, q {quotes:none;}table, table td {padding:0;border:none;border-collapse:collapse;}img {vertical-align:top;}embed {vertical-align:top;}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block;}
mark, rp, rt, ruby, summary, time {display:inline;}
input, textarea {border:0; padding:0; margin:0; outline: 0;}
iframe {border:0; margin:0; padding:0;}
input, textarea, select {margin:0; padding:0px;}

/*----------------- global ------------------------*/

body {
	margin: auto;
	vertical-align: top;
	background-image: url("https://i.imgur.com/YH3etpT.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: arial;
	cursor: default;
}

.body {
	width: 70%;
	display: block;
	margin: auto;
	padding:25px;
	color:white;
	background: rgba(0,0,0,0.45);
}

.menu {
	width: 100%;
	display: block;
	text-align: center;
	margin: auto;
	background-color: #971220;
	margin-top:5px;
	margin-bottom:5px;
}

.menu a {
	display: inline-block;
	width: 24%;
	margin: auto;
	vertical-align:middle;
	text-align: center;
	font-size: 22px;
	padding-top: 10px;
	padding-bottom: 10px;
	color: white;
	text-decoration: none;
	font-weight: normal;
}

.menu a:hover {
	color: gold;
}

#catala {
	width: 10%;
	text-align: right;
}

#eng {
	width: 10%;
	text-align: justify;
}

.logo {
	display: block;
	width: 100%;
	text-align: center;
	margin: auto;
	padding-top: 25px;
	padding-bottom: 25px;
	background-image: url(https://i.imgur.com/NdjtsSB.png);
    background-size: 100% 100%;
    height: 250px;



}

.logo img {
	width: 25%;
	display:block;
	margin: auto;
}

.logo p {
	color:white;
	margin:auto;
	font-size:22px;
	text-align:left;
}

.logo a {
	color:white;
	font-size:22px;
	text-decoration:none;
}

.logo a:hover {
	color:red;
}

.title {
	width: 100%;
	background: #2622d1;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 28px;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #f9d61b;
	vertical-align: middle;
}

.contain {
	width: 100%;
	display: block;
	text-align: center;
	margin: auto;
	vertical-align: middle;
}

.winnum {
	width: 45%;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
}

.result {
	width: 100%;
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 20px;
	padding-left: 5px;
	padding-right: 5px;
}

.result th {
	color:blue;
	font-size: 36px;
	padding-top: 10px;
	background: #ffdf00;
}

.result td {
	color: white;
	margin-bottom: 10px;
	height:55px;
	line-height:55px;
	vertical-align:top;
	text-align: center;
	letter-spacing: 10px;
	text-shadow: 3px 3px 3px black;
	font-size: 36px;
	background: #ffdf00;
}

.desc {
	width: 54%;
	display: inline-block;
	text-align: center;
}

.desc img {
	width: 100%;
	height: 360px;
}

.bg-white {
	background: rgba(255,255,255,0.3);
}

.prize {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	background: rgba(0,0,0,0.25);
}

.prize th {
	color:gold;
	font-size: 24px;
	padding: 10px;
}

.prize td {
	color: white;
	width: 33%;
	vertical-align:center;
	text-align: center;
	font-size: 32px;
	padding: 3px;
}

.history {
	width: 100%;
	text-align: center;
	margin: auto;
}

.history th {
	background: black;
	color: white;
	font-size: 24px;
	padding-top: 8px;
	padding-bottom: 8px;
	border: 3px solid #0309ff;
}

.history td {
	background: gold;
	color: black;
	font-size: 20px;
	padding-top: 8px;
	padding-bottom: 5px;
	border: 3px solid #0309ff;
}

.footer {
	width: 100%;
	text-align:center;
	margin: auto;
	padding-top: 20px;
}

.footer img {
	width: 100%;
}

.footer p {
	font-size:18px;
}

.bla2 {
	color:white;
	text-align: justify;
	font-size: 18px;
}

/*---------mobile version---------*/
@media only screen and (max-device-width: 1000px) {

.body {
	width: 100%;
	padding:0px;
}

.menu {
	width: 100%;
}

.menu a {
	font-size: 32px;
	width: 100%;
	font-weight: bold;
	padding-top: 20px;
	padding-bottom: 20px;
	border: 1px solid white;
}

.logo {
	padding-top: 111px;
        padding-bottom: 190px;
}

.logo img {
	width: center center;
}

.logo p {
	font-size:32px;
	font-weight: bold;
}

.logo a {
	font-size:32px;
	font-weight: bold;
}

.contain {
	width: 100%;
}

.winnum {
	width: 100%;
	height: 400px;
}

.result {
	width: 95%;
	
}

.result th {
	font-size: 48px;
}

.result td {
	height:50px;
	line-height:50px;
	font-size: 48px;
}

.desc {

	width: 89%;

}

.prize th {
	font-size: 42px;
}

.prize td {
	font-size: 48px;
}

.history th {
	font-size: 36px;
}

.history td {
	font-size: 28px;
}

.bla2 {
	width: 100%;
	font-size: 16px;
}

}