@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

.content-dialog {
  max-height: 400px !important;
}

:root {
  --ratio: 3.74;
  --cta-color: #0067B1;
  --light-color-bg: rgb(238, 241, 247);
  --dark-color-bg: rgb(55, 65, 81);
  --grey-color: rgb(24, 28, 34);
  --leading: 0.025em;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2 {
  margin: 0;
}

main {
  width: 700px;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 2rem;
}

button {
  display: block;
  margin-top: 2rem;
  width: calc(44px * var(--ratio));
  height: 44px;
  border-radius: 50px;
  /* Hace que los botones sean más redondeados */
  border: none;
  letter-spacing: calc(3 * var(--leading, 0.025em));
  font-family: inherit;
  font-size: large;
  font-weight: 700;
}


button.cta2 {
  background-color: white;
  color: var(--cta-color) white;
}

button.cta {
  background-color: var(--cta-color);
  ;
  color: white;
}

/* Estilos para el botón "No Acepto" */
button#close_dialog {
  background-color: white !important;
  /* Fondo blanco */
  color: var(--cta-color) !important;
  /* Color de texto azul */
  border: 2px solid var(--cta-color) !important;
  /* Borde azul */
  border-radius: 50px;
  /* Hace que el botón sea más redondeado */
  font-weight: 700;
  /* Ajusta el peso de la fuente */
}

#dialog_description {
  margin: 0 auto;
}

button#close_dialog:focus {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.2rem var(--cta-color);
}

/* Estilos para el botón "Aceptar todo" */
button#confirm_dialog {
  background-color: var(--cta-color);
  color: white;
  border-radius: 50px;
}

.close-button {
  background-color: white;
  /* Fondo blanco */
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  /* Ancho del botón */
  height: 30px;
  /* Altura del botón */
  border-radius: 50%;
  /* Hace que el botón sea circular */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 5px #0067B1;
  /* Borde azul */
}

.close-button span {
  color: #0067B1;
  /* Color del icono (la "x") */
  font-size: 20px;
  /* Tamaño del icono */
  font-weight: bold;
  line-height: 1;
}

button#confirm_dialog:focus {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.2rem var(--cta-color);
}

#open_dialog {
  margin: 0 auto;
}

dialog {
  border: none !important;
  border-radius: calc(5px * var(--ratio));
  box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.6rem;
  max-width: 650px;
}

dialog img {
  display: block;
  max-width: 75%;
  margin: 1rem 0 auto 2rem;
}

.h1 {
  margin: 2rem 0 1rem;
  font-weight: 900;
}

.h2 {
  margin: 2rem 0 1rem;
  font-weight: 800;
}

p {
  color: var(--grey-color);
  letter-spacing: var(--leading, 0.025em);
  line-height: 1.625;
}

.flex {
  display: flex;
}

.flex.flex-space-between {
  justify-content: center;
}

@media (max-width: 767px) {

  /* Cambiar el estilo de los botones para que se muestren uno debajo del otro */
  .mobile-buttons {
    flex-direction: column;
    /* Muestra los botones uno sobre el otro */
  }

  .mobile-buttons button {
    width: 100%;
    /* Ocupa todo el ancho disponible */
    margin-top: 1rem;
    /* Espacio entre los botones en la versión móvil */
  }
}