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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 450px;
  margin: 300px auto;
}

header {
  background-color: #333;
  color: white;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  position: fixed;
  /* Fija el header en la parte superior */
  top: 0;
  /* Alinea el header en la parte superior */
  left: 0;
  width: 100%;
  /* Asegura que ocupe todo el ancho */
  z-index: 1000;
  /* Asegura que el header esté por encima de otros elementos */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Opcional: Agrega una sombra sutil */
}

header .logo h1 {
  margin-left: 20px;
  font-size: 24px;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #555;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #777;
}

input[type="file"] {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  background-color: #f9f9f9;
  font-size: 14px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

input[type="file"]:hover {
  border-color: #2580FF;
}

button {
  color: white;
  border: none;
  padding: 12px 30px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s ease;
  background-color: #2580FF;
}

button:hover {
  background-color: #1a65d1;
}

#downloadButton,
#downloadButtonPng {
  background: #44bd32;
  transition: background-color 0.3s ease;
}

#downloadButton:hover {
  background-color: #2f9c27;
}

#progress {
  margin-top: 15px;
  color: #888;
  font-size: 14px;
}

#downloadLinksContainer {
  margin-top: 20px;
}

#downloadLinksContainer a {
  color: #2580FF;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s ease;
}

#downloadLinksContainer a:hover {
  color: #1a65d1;
}


footer {
  margin-top: 20px;
}

#previewImage {
  max-width: 300px;
}

#svgOutput {
  background-size: cover;
}

#svgOutput svg{
  max-width: 300px;
  height: auto;
}

.preview svg{
  max-width: 300px;
  height: auto;
}