body {
    background: linear-gradient(45deg, red, black);
    color: yellow;
    font-family: "Comic Sans MS", cursive;
    text-align: center;
}

h1 {
    font-size: 50px;
    text-transform: uppercase;
    text-shadow: 5px 5px 10px red;
    animation: blink 0.8s infinite alternate;
}

@keyframes blink {
    from { color: yellow; }
    to { color: red; }
}

form {
    background: black;
    border: 5px dashed red;
    padding: 20px;
    width: 60%;
    margin: auto;
    box-shadow: 0px 0px 20px red;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product {
    background: yellow;
    color: red;
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border: 5px dashed black;
    width: 30%;
    text-align: center;
    box-shadow: 0px 0px 10px red;
}

img {
    width: 80%;
    border: 3px solid red;
}


input[type="number"] {
    display: block;
    margin: 10px auto;
    width: 50%;
    padding: 10px;
    border: 3px solid red;
    background: yellow;
    color: black;
    font-size: 18px;
    text-align: center;
}

input[type="text"],
input[type="email"] {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 10px;
    border: 3px solid red;
    background: yellow;
    color: black;
    font-size: 18px;
}

button {
    background: red;
    color: yellow;
    font-size: 22px;
    padding: 15px;
    border: 3px solid yellow;
    cursor: pointer;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

button:hover {
    background: yellow;
    color: red;
    border: 3px solid black;
}

#total-price {
    font-size: 30px;
    color: yellow;
    text-shadow: 2px 2px 5px red;
    font-weight: bold;
}

#ad-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.ad {
    width: 20%;
    background: yellow;
    color: red;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px dashed black;
    box-shadow: 0px 0px 10px red;
}




#ad-popup {
    position: fixed;
    bottom: 10px;
    right: 70px;
    width: 300px;
    height: 150px;
    background: yellow;
    color: red;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border: 5px solid red;
    padding: 10px;
    box-shadow: 0px 0px 20px red;
}
#pop {
    z-index: 999;
    position: fixed;
    width: 75%;
    right: 12.5%;
    top: 50px;
    border: 5px dashed black;
}

#x-button {
    z-index: 9999;
    color: red;
    position: fixed;
    right: 13%;
    top: 10px;
    font-size: 100px;
    font-family: sans-serif;
    background-color: black;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: top 0.1s, right 0.1s;
}
#receipt {
    background-color: white;
    color: black;
    border: 5px dashed black;
    width: 25%;
    margin: auto;
    margin-top: 50px;
}