@import url('https://fonts.googleapis.com/css2?family=Leckerli+One&display=swap');


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


body{
 width: 100%;
 height: 100vh;
 display: flex;
 align-items: center;
 justify-content: center;
 background-image: url(/assets/fondo.png);
   background-position:center;
     background-size:cover;
     color: rgb(0, 0, 0);
     font-size: 18px;
     font-weight: 400px;


 
}

.leckerli-one-regular {
  font-family: "Leckerli One", cursive;
  font-weight: 400;
  font-style: normal;
}

.form-group div{
    display: flex;
   align-items: center;
}


body h2{
    text-align: center;
    font-size: 34px;
    font-weight: 900;
    color: #000000;
}

.form-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 2px solid rgb(255, 255, 255);
    padding: 20px;
    border-radius: 50px;
    background-color: rgba(240, 96, 96, 0.301);
    backdrop-filter: blur(5px);


     animation: salirIzquierda 1s ease;
}

#formRegistro{
    display: flex;
    flex-direction: column;
    gap: 10px;
   
}




.form-group{
    display: flex;
    flex-direction: column;
}

#pregunta2 {
    height: 100px;
    margin-top: 8px;
    border-radius: 8px;
      background-color: rgba(14, 14, 14, 0.486);


  resize: none;
}

input{
    border-radius: 5px;
    height: 25px;
    padding:5px;
    color: #ffffff;
    margin-top: 9px;
    background-color: rgba(14, 14, 14, 0.486);
      transition:.25s;
}

input::placeholder{
  color: #ffffff;
}

textarea::placeholder{
  color: #ffffff;
}

.enviar{
    border-radius: 10px;
    background-color: #4ee955;
    padding: 10px;
        transition:.25s;
       

}

.enviar:hover{
    border-radius: 10px;
    background-color: #00ff0d;
    padding: 10px;
    color: #ffffff;
     transform: scale(1.03);
    

}


input:focus{
  border-color:#46e54e;
  box-shadow:0 0 15px rgba(79,70,229,.5);
   transform:scale(1.03);
}

/* Modal*/

.modal{
  display:none;

  position:fixed;
  z-index:1000;

  left:0;
  top:0;

  width:100%;
  height:100%;

  background:rgba(0,0,0,.5);

  justify-content:center;
  align-items:center;

     animation: salirIzquierda 1s ease;
}

.modal-content{
  background:rgb(255, 255, 255);

  padding:30px;

  width:400px;

  border-radius:15px;

  position:relative;

  animation:mostrar .3s ease;
}

#resultado{
    display: flex;
    flex-direction: column;
    gap:10px 0 ;
}

#resultado p{
    padding: 5px;
    border-top: 2px dotted  black;
    text-align: right;
}

#resultado a{
    text-align: center;
    text-decoration: none;
    background-color: #ff1e00;
    padding: 10px;
    border: 1px solid black;
    border-radius: 30px;
    color: #ffffff;
    
}

#resultado h2{
    margin-bottom: 15px;
    

}

.close{
  position:absolute;

  right:15px;
  top:10px;

  font-size:25px;

  cursor:pointer;
}

@keyframes mostrar{
  from{
    opacity:0;
    transform:scale(.8);
  }

  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes salirIzquierda{
  from{
    opacity:0;
    transform:scale(.7);
  }

  to{
    opacity:1;
    transform:scale(1);
  }
}