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

/* Her styler jeg hele siden, så den får en rolig baggrund og en læsbar skrifttype */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #222;
  padding: 20px;
}

/* Her styler jeg containeren, som indeholder alle udstillingerne */
#exhibition-container, #favorites-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  gap: 1.5rem;
}

#exhibition-container article {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 330px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Her styler jeg overskriften på udstillingsnavnet */
#exhibition-container h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #2c3e50;
}

/* Her styler jeg placeringen */
#exhibition-container h3 {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
  margin-bottom: 10px;
}

/* Her styler jeg brødteksten */
#exhibition-container p {
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Her styler jeg datoerne lidt diskret */
#exhibition-container time {
  font-weight: bold;
  color: #8b5e3c;
}

/* Her laver jeg en lille effekt, når musen holdes over kortet */
#exhibition-container article:hover {
  transform: translateY(-3px);
  transition: 0.2s;
}

/* Her styler jeg sidens hovedoverskrift */
h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
}

#periode,
#placering,
#beskrivelse,
#start-date,
#end-date {
    font-weight: 900;
}

#favorites-container article {
    width: 330px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    position: relative;
    background-color: lightblue;
}

#favorites-container img {
    width: 100%;
    height: auto;
    display: block;
}

.favorite-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

h2, h3, p {
    margin-bottom: 3%;
}