header{
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}
a.button-design {
    background-color: #fab9f2;
    border: 3px solid rgb(252, 161, 130);
    color: rgb(255, 140, 69);
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    align-items: center;
    align-content: center;
    font-family: 'Arial', sans-serif;
}
.iframe-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.iframe-wrapper iframe {
    width: 100px;
    height: 100px;
    display: block;
    border: solid 3px;
    border-color:#ebaf6b
}
.outside-wrapper iframe {
    width: 300%;
    height: 500px;
    border: solid 5px;
    border-color: #fab9f2;
    display: block;
}
.inside-wrapper iframe {
    width: 100%;
    height: 320px;
    background-color: #decdcd
}
h1 {
    color: #ff69b4;
    text-align: center;
    font-family: 'Arial', sans-serif;
}
p {
    font-size: 18px;
    line-height: 1.6;
    color: #ce8989;
    margin: 20px;
    font-family: 'Arial', sans-serif;
}
.button-design.active {
    background-color: #e7c6a1; 
    color: #ffffff; 
    border: 3px solid #f89d35;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#site-title {
    font-size: 19px;
    font-weight: bold;
    color: #f89d35;
    text-align: center;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
}
.pick-a-topping {
  display: grid;
  grid-template-columns: repeat(2); 
  grid-auto-flow: column;               
  gap: 1rem
}
.pick-a-topping img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.pick-a-topping p {
  text-align: center;
  margin: 0.5rem 0 0;
}
.pick-a-base {
  display: grid;
  grid-template-columns: repeat(2); 
  grid-auto-flow: column;                
  gap: 1rem
}
.pick-a-base img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.pick-a-base p {
  text-align: center;
  margin: 0.5rem 0 0;
}
.pick-a-flavor {
  display: grid;
  grid-template-columns: repeat(2); 
  grid-auto-flow: column;               
  gap: 1rem
}
.pick-a-flavor img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.pick-a-flavor p {
  text-align: center;
  margin: 0.5rem 0 0;
}
.pick-a-mixin {
  display: grid;
  grid-template-columns: repeat(2); 
  grid-auto-flow: column;              
  gap: 1rem
}
.pick-a-mixin img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.pick-a-mixin p {
  text-align: center;
  margin: 0.5rem 0 0;
}
.pick-a-sauce {
  display: grid;
  grid-template-columns: repeat(2); 
  grid-auto-flow: column;                
  gap: 1rem
}
.pick-a-sauce img {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.pick-a-sauce p {
  text-align: center;
  margin: 0.5rem 0 0;
}

/* Screen layering: container and layered images */
.screen-container {
  position: relative;
  width: 300px;
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
}
.screen-container .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* clicks handled by controls, not the image */
}
.layer img {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, 0);
  width: 60%;
  height: auto;
  pointer-events: none;
}
/* layer-specific tweaks and stacking order */
.layer-base-img { z-index: 1; top: 30%; width: 70%; }
.layer-flavor-img { z-index: 2; top: 5%; width: 50%; }
.layer-mixins-img { z-index: 3; top: 10%; width: 40%; }
.layer-sauces-img { z-index: 4; top: 5%; width: 80%; }
.layer-toppings-img { z-index: 5; top: 5%; width: 25%; }
