:root {
  --primary: #53bf9d;
  --accent: #820000;
  --text-dark: #1f2933;
  --glass: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: "Inter", sans-serif;
  background-image: url("https://images.unsplash.com/photo-1514890547357-a9ee288728e0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8MTN8aFFlVG9uVFJzeE18fGVufDB8fHx8&auto=format&fit=crop&w=600&q=60");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  color: var(--text-dark);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

#header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

h1 {
  font-family: "Dancing Script", cursive;
  color: white;
  font-size: 48px;
  margin-top: 20px;
  text-align: center;
}

#italy {
  font-size: 22px;
}

#allContainers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 30px;
  margin-top: 100px;
}

#container1,
#container2,
#spentTogether,
#spentEach {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.data {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

p {
  font-family: "Dancing Script", cursive;
  font-size: 18px;
  margin-bottom: 5px;
  color: white;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

input:focus {
  box-shadow: 0 0 0 3px rgba(83, 191, 157, 0.4);
}

#btn {
  margin-top: 15px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}


#btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#btn:activorm: scale(0.97);
}

#spentTogether,
#spentEach {e {
  transf
  align-items: center;
  text-align: center;
}

.price-data {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-top: 10px;
}

#price {
  font-size: 16px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }

  #allContainers {
    padding: 15px;
    gap: 15px;
  }
}
