*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Montserrat,sans-serif;
    background:#000;
    color:white;
}

.background{
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top right,#00ff9950,transparent 35%),
        radial-gradient(circle at bottom left,#00ff9950,transparent 35%),
        #000;
	background-image: url('img/back_web.png');
	background-size: cover;
	background-position: center; 
	background-repeat: no-repeat; 
	min-height: 100vh; 
}

.page{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:50px;
    opacity:0;
    pointer-events:none;
    transition:.45s;
}
.subpage{
    display:flex;
    align-items:center;
    justify-content:space-between;
	width: 90%;
	max-width: 1280px;
	
}
.pageTopBottom{
	flex-direction: column !important;
}

.page.active{
    opacity:1;
    pointer-events:auto;
}

.left{
    width:60%;
}

.right{
    width:30%;
}

.leftTop{
    width:30% !important;
}

.rightTop{
    width:50% !important;
}


.results-left{
    width:40%;
}
.results-center{
    width:30%;
    display:flex;
    flex-direction:column;
    align-items:center;
	min-width: 320px;
	margin-bottom: 30px;
}
.results-right{
    width:28%;
	padding-left: 2%;
}

.tituloVerde{
	color:#00ff8c;
	font-size: 2cqw; /* 10% of the parent div's width */
	white-space: nowrap;
	font-weight: bold;
}


.logo{
    width:170px;
    margin-bottom:40px;
}
.bienvenido{
    width:100%;
	margin: 0 0 0 auto;
	display: block;
}
.hero{
    width:100%;
	max-width:638px;
    animation:float 4s ease infinite;
	margin: 0 auto;
	display: block;
}

h1{
    font-size:68px;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
}

h1 span{
    color:#00ff8c;
    text-shadow:
    0 0 10px #00ff8c,
    0 0 30px #00ff8c;
}

p{
    margin:30px 0;
    line-height:1.6;
}

input.idu{
    width:100%;
    padding:18px;
    background:transparent;
    border:2px solid white;
    border-radius:18px;
    color:white;
    font-size:18px;
}

.buttonSubmit{
    margin-top:30px;
    padding:16px 45px;
    border:none;
    border-radius:30px;
    background-color:#000000; 
	border: 1px solid #00ff8c;
    color:white;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.buttonSubmit:hover{
    transform:translateY(-1px);
    box-shadow:0 0 25px #00ff8c;
}
.error{
	color:#00ff8c;
	padding: 5px 0 0 15px;
}
/******** CARD ********/

.resultados{
	width: 90%;
	padding: 0 5%;
	display: block;
}

.flip-card{
    width:320px;
    height:560px;
    perspective:1200px;
    cursor:pointer;
	/*
	background-color: #000;
	background-image: url('img/tarjeta_back_ladoA.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	*/
}

.flip-inner{
    width:100%;
    height:100%;
    position:relative;
    transform-style:preserve-3d;
    transition:.8s;
}

.flip-card.flipped .flip-inner{
    transform:rotateY(180deg);
}

.flip-front{
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    overflow:hidden;

	background-image: url('img/tarjeta_back_ladoA.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	/*
	background-image: url('img/tarjeta_front_ladoA.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	*/
}

.flip-front .overFoto{
	position:absolute;
	top: 0;
	left: 0;
    width:100%;
    height:100%;
	overflow:hidden;
	background-image: url('img/tarjeta_front_ladoA.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.flip-back{
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    overflow:hidden;
	
	background-image: url('img/tarjeta_back_ladoB.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	/*
	background-image: url('img/tarjeta_front_ladoB.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	*/
}

.flip-back .overFoto{
	position:absolute;
    width:100%;
    height:100%;
	top: 0;
	left: 0;
	overflow:hidden;
	background-image: url('img/tarjeta_front_ladoB.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/*
.flip-front img,
.flip-back img{
    width:100%;
    height:100%;
    object-fit:cover;
}
*/

.flip-back{
    transform:rotateY(180deg);
}

.dots{
    margin-top:30px;
}

.dot{
    width:12px;
    height:12px;
    background:#444;
    display:inline-block;
    border-radius:50%;
    margin:0 6px;
    transition:.3s;
}

.dot.active{
    background:#00ff8c;
}

.socials{
    margin-top:35px;
    display:flex;
    font-size:42px;
}

.socials a{
    cursor:pointer;
	width: 25%;
	max-width: 61px;
}
.socials img{
    width: 100%;
}

.socials span:hover{
    color:#00ff8c;
    transform:scale(1.2);
}

@keyframes float{
	0%{transform:translateY(0);}
	50%{transform:translateY(-15px);}
	100%{transform:translateY(0);}
}

.logoInfo1{
	display: block;
}
.logoInfo2{
	display: none;
}

/*-----------------------TARJETA*/

.miFoto{
	width: 88%;
    min-height: 270px;
	margin: 6%;
	border-top-left-radius: 80px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 80px;
	border-bottom-right-radius: 80px;
	border: 2px solid #00ff8c;
	overflow: hidden;
	position: absolute;
	top:60px;
	box-shadow: 0 0 15px #00ff80;
}
.miFoto img{
	width: 100%;
	display: block;
}
.flip-front .nombre{
	width: 100%;
	display: block;
	height: 80px;
	background-image: url('img/tarjeta_pleca_lado_A.png');
	background-size: 281px auto;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	top: 310px;
	left: 0;
	text-align: center;
	padding-top: 30px;
	font-weight: bold;
	font-style: italic;
	font-size: 18px;
	
}
.flip-front .puntos{
	width: 100%;
	display: block;
	height: 80px;
	position: absolute;
	top: 360px;
	left: 0;
    overflow:hidden;
}
.flip-front .puntos img{
	display:block;
    width:30%;
    float:left;
}
.flip-front .pts{
	width: 100%;
	display: block;
	height: 80px;
	font-weight: bold;
	font-size: 28px;
    float:left;
	color:#00f482;
    width:70%;
    padding-top:30px;
    text-align:left;
}
.flip-front .categorias{
	width: 100%;
	display: block;
	height: 120px;
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
.flip-front .categorias img{
	float: left;
	width: 50%;
}

.flip-back .categorias{
    width: 80%;
	margin: 0 10%;
    display: block;
    height: 280px;
    position: absolute;
    top: 120px;
    left: 0;
    overflow: hidden;
}
.flip-back .categorias img{
	float: left;
	width: 33%;
	display: block;
	margin-bottom: 20px;
	padding: 0 2%;
}


@media(max-width:900px){

	.page{
		padding:20px;
		display: block;
		position: relative;
	}
	
	.subpage{
		padding:0px;
		display: block;
		width: calc(100%);
	}
	
	.logoInfo1{
		display: none;
	}
	.logoInfo2{
		display: block;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}
	
	.left{
	
		display:none;
	}
	
	.right,
	.results-left,
	.results-center,
	.results-right{
	
		width:100%;
		text-align:center;
	}
	
	.results-center{
		margin-bottom: 10px;
	}
	
	.tituloVerde{
		font-size: 4cqw;
	}
	.socials{
		justify-content: space-evenly;
	}
	h1{
	
		font-size:48px;
	}
	
	.flip-card{
	
		width:260px;
		height:455px;
		margin:30px auto 0px auto;
	}
    
    .miFoto{
        top:70px;
        min-height: 224px;
    }
    .flip-front .nombre{
        top: 270px;
    }
    .flip-front .puntos{
        top: 320px;
    }
    .flip-front .puntos img{
        display:block;
        width:30%;
        float:left;
    }
    .flip-front .pts{
        font-size: 24px;
        padding-top:25px;
    }
    .flip-front .categorias{
        height: 80px;
    }

}