body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Generell boks-stil */
.styled-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  max-width: 600px;
  border: 2px solid #ddd;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 15px; /* Gjør boksene rundere */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.styled-box p {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

/* Valutaomregner-stil */
.currency-converter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.currency-converter label {
  font-weight: bold;
}

.currency-converter input,
.currency-converter select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px; /* Gjør feltene rundere */
  outline: none;
  transition: border-color 0.3s ease;
}

.currency-converter input:focus,
.currency-converter select:focus {
  border-color: #007BFF;
}

.currency-converter button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px; /* Gjør knappen rundere */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.currency-converter button:hover {
  background-color: #0056b3;
}

/* Tabellstil */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th, table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

table th {
  background-color: #f4f4f4;
  font-weight: bold;
}
