*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --primary-color: #e0e1e2;
  --secondary-color: rgb(10,10,10);
  --info-icon-color: rgb(40,40,40);
  --accent-color: rgb(10,10,10);
  --link-text-color: #e0e1e2;
  --background-color: #ecf0f1;
  --transition-speed: 0.3s;
  --border-radius: 0.5rem;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border-radius: var(--border-radius);
}

form select,
form input[type="date"],
form input[type="time"] {
  background-color: #e4dfd9;
  color: #303030;
  border-radius: .5rem;
}

.pizza-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0 auto;
}
.image-container {
  width: 100%;
  height: auto;
  max-width: 600px;
  justify-self: center;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-container {
  width: 100%;
  height: auto;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  background-color: rgb(10,10,10);
  padding: 1rem 2rem 2rem 2rem;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-container {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 600px;
  justify-self: center;
  margin: 0 auto;
  background-color: rgb(207,199,189);
  padding: 1rem 2rem 2rem 2rem;
  border-radius: 0 0 .5rem .5rem;
  z-index: 3;
  overflow: visible;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-transform: none;
  text-align: center;
  margin: 1rem 0rem 1.5rem 0rem;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 2rem;
  font-size: clamp(2rem, -7.6rem + 48vw, 3.5rem);
  color: var(--primary-color);  
}

.introtext {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0rem;
  color: var(--primary-color);
}

.infotext {
  text-align: center;
  font-style: italic;
  font-size: .9rem;
  margin-bottom: 2.5rem;
  margin-top: -6rem;
  color: var(--primary-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px dashed var(--accent-color);
  background-color: rgb(40,40,40);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.black-text {
  color: var(--secondary-color);
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: normal;
}

ol {
  padding: 0 0 0 1rem;
}

input,
select,
button {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.row {
  display: flex;
  gap: 0.5rem;
}
.row select,
.row input {
  flex: 1;
}

button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
}

button:hover {
  background-color: rgb(40,40,40);
}

.btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: rgb(40,40,40);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.info-icon {
  margin-left: 5px;
  cursor: pointer;
  font-size: 1rem;
  vertical-align: middle;
  color: var(--info-icon-color);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  z-index: 1000;
}

.close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.5rem;
  cursor: pointer;
}


footer {
  padding: 1rem;
  text-align: center;
}
.footer .footer-bottom p,
.footer .footer-bottom a {
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.7rem;
  font-size: clamp(0.7rem, 0.6214285714285714rem + 0.3928571428571429vw, 1.25rem);
  font-weight: 400;
  text-align: center;
}

.footer-bottom a {
  color: var(--link-text-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom img.icon-chef {
  display: inline-block;
  height: 24px;
  vertical-align: middle;
  margin: 0 0.2em;
}

.icon-heart {
  color: var(--primary-color);
}

#resultat {
  display: none;
  margin-top: 2rem;
  background-color: transparent;
  padding: 1.5rem 0 0 0;
  border-radius: none;
}

#resultat.visible {
  display: block;
}

#resultat h2 {
  margin-top: 0;
  color: var(--secondary-color)
}

#resultat h3 {
  color: var(--secondary-color)
}

#resultat p {
  margin-bottom: 1rem;
  color: var(--secondary-color)
}

#resultat ul {
  padding-left: 1.2em;
  color: var(--secondary-color)
}

#resultat li {
  margin-bottom: .5rem;
  line-height: 1.6;
  color: var(--secondary-color)
}

#resultat ol li {
  margin-bottom: 1.5rem;
  color: var(--secondary-color)
}

#saveAlarm {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: rgb(40,40,40);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
}

select,
input[type="date"],
input[type="time"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background-color: #fff8dc;
  color: #222;
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 4px;
}

select option {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

select:focus,
input:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

@media (max-width: 768px) {
  #saveAlarm {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
}
