:root {
  --font-family: "Rajdhani", Arial, sans-serif;
  --font-bold: "RajdhaniBold", Arial, sans-serif;
  --main-bg-black: #1E191A;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'RajdhaniBold';
  src: url('../fonts/Rajdhani/Rajdhani-Bold.ttf') format('truetype');
  font-weight: bold;
}

html, body {
  height: 100%;
  background: #ffc53e;
  background: -webkit-radial-gradient(circle, #ffc53e 0%, #424242 100%);
  background: radial-gradient(circle, #ffc53e 0%, #424242 100%);
}

html.returns, .returns body {
  background: #FCBD01;
}

.container {
  display: flex;
  font-family: "Rajdhani", Arial, Helvetica, sans-serif;
  letter-spacing: 0.05rem;
  height: 100%;
}

.container.actions {
  padding: 1rem;
  height: 4rem;
}

.center {
  justify-content: center;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.button, a.button {
  height: 3rem;
  width: 13rem;
  flex-grow: 1;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 1.15rem;
}

#body {
  display: flex;
  flex-direction: column;
}

a.button {
  text-decoration: none;
  color: black;
}

#video video, dialog video {
  width: 65rem;
  height: 35rem;
}

#create-vending {
  background-color: #feb813;
  text-align: center;
  color: white;
}

#create-vending:hover {
  background-color: #ffc53e;
}

#planogram-demo {
  background-color: #F29701;
  text-align: center;
}

#planogram-demo:hover {
  background-color: #dc8800;
}

#download-flyer a {
  color: white;
}

#download-flyer a:hover {
  color: #000000;
}

.returns #download-flyer a {
  color: black;
}

.space {
  flex-grow: 1;
}

#footer-section {
  flex-direction: column;
  width: 100%;
}

footer {
  width: 100%;
  background-color: #1E191A;
  color: white;
}

div#actions {
  gap: 1rem
}

dialog {
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none; /* Disable background events */
}

dialog h2 {
  margin-top: 0;
  color: #333;
}

dialog button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

dialog button:hover {
  background-color: #45a049;
}

#demo-dialog div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#demo-dialog #header {
  display: flex;
  flex-direction: row;
}

#demo-dialog #header div {
  flex-grow: 1;
}

#demo-dialog #header #close-button {
  justify-content: center;
  align-items: end;
  cursor: pointer;
  padding-left: 1rem;
}
