* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    min-height: 100%;
    position: relative;
  }
  
  body {
    margin: 0;
    margin-bottom: 40px;
    background-image: url('images/fondo2.jpeg');
    background-color: #f0f0f0;

  }
  button {
    font: 700 1em Tahoma, Arial, Verdana, sans-serif;
    color: #fff; background-color: #A61C31;
    border: 2px solid #fff;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    cursor: pointer;
  }
  button {
    width: auto; /* ie */
    overflow: visible; /* ie */
    padding: 3px 8px 2px 6px; /* ie */
  }
  button[type] {
    padding: 4px 8px 4px 6px; /* firefox */
  }
  h1 {
    font-family:verdana;
    font-size:50px;
    color:white;
  }
  .form-register {
    display: flex;
    justify-content: center; /* Centra el contenido total */
    gap: 30px; /* Espacio entre globo y botones */
    align-items: flex-start;
    flex-wrap: wrap;
    width: 600px;
    background: #A61C31;
    padding: 30px;
    margin: auto;
    margin-top: 70px;
    margin-bottom: 150px;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
  }
  
  .form-register h4 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .controls {
    width: 100%;
    background: #A61C31;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid #A61C31;
    font-family: 'calibri';
    font-size: 18px;
    color: white;
  }
  
  .form-register p {
    height: 40px;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
  }
  
  .form-register a {
    color: #A61C31;
    text-decoration: none;
  }
  
  .form-register a:hover {
    color: #A61C31;
    text-decoration: underline;
  }
  
  .form-register .botons {
    width: 100%;
    background: #A61C31;
    border: none;
    padding: 12px;
    color: #A61C31;
    margin: 16px 0;
    font-size: 16px;
  }
.main-card-container .card {
  width: 100px;
  margin: 40px auto; /* Posición centrada para PC por defecto */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent; /* Esto quitará el fondo blanco */
  border: none;
}

p.bubble {
	position: relative;
	width: 300px;
	text-align: center;
	line-height: 1.0em;
	margin: 40px auto;
	background-color: #ffee00;
	border: 6px solid transparent;
  border-image: repeating-linear-gradient(45deg,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00
  ) 1;
	border-radius: 30px;
	font-family: "DynaPuff";
	padding: 20px;
	font-size: small;
}

p.thought {
	width: 300px;
	border-radius: 200px;
	padding: 30px;	
}

p.bubble:before,
p.bubble:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
}

p.speech:before {
	left: 30px;
	bottom: -50px;
	border: 25px solid;
	border-color: #000 transparent transparent #000;
}

p.speech:after {
	left: 38px;
	bottom: -30px;
	border: 15px solid;
	border-color: #ffee00 transparent transparent #ffee00;
}

p.thought:before,
p.thought:after {
	left: 10px;
	bottom: -30px;
	width: 40px;
	height: 40px;
	background-color: #fff;
	border: 8px solid #333;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
}

p.thought:after {
	width: 20px;
	height: 20px;
	left: 5px;
	bottom: -40px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
}

.imagen {
  width: 100px;
  margin-bottom: 40px;
}

/* Media query para pantallas más pequeñas (celulares) */
@media (max-width: 600px) {
  .card {
    /*margin: 1000px 10px; /* Ajusta los márgenes para celulares (top/bottom left/right) */
    /* O puedes usar propiedades de posición si lo necesitas en un lugar específico */
    position: absolute; 
    top: 300px; 
    left: 20px; 
  }

  .imagen {
    width: 80px;
    margin-bottom: 20px;
  }

  p.bubble {
	position: relative;
	width: 300px;
	text-align: center;
	line-height: 1.0em;
	margin: 40px auto;
	background-color: #ffee00 ;
	border: 6px solid transparent;
  border-image: repeating-linear-gradient(45deg,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00,
    #000000,
    #ffee00
  ) 1;
	border-radius: 30px;
	font-family: "DynaPuff";
	padding: 20px;
	font-size: small;
}

p.thought {
	width: 300px;
	border-radius: 200px;
	padding: 30px;	
}

p.bubble:before,
p.bubble:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
}

p.speech:before {
	left: 30px;
	bottom: -50px;
	border: 25px solid;
	border-color: #000 transparent transparent #000;
}

p.speech:after {
	left: 38px;
	bottom: -30px;
	border: 15px solid;
	border-color:  #ffee00 transparent transparent #ffee00;
}

p.thought:before,
p.thought:after {
	left: 10px;
	bottom: -30px;
	width: 40px;
	height: 40px;
	background-color: #fff;
	border: 8px solid #333;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
}

p.thought:after {
	width: 20px;
	height: 20px;
	left: 5px;
	bottom: -40px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
}
}