body {
    margin: 0;
    font-family: "seravek-web", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #537db5; /* Solid background color */
    background-image: url('images/background.png');
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    max-width: 80%;
    max-height: 160px;
    height: auto;
    margin-bottom: 50px;
    margin-top: 10vh; /* Reduced space above the logo */
    align-self: auto;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button {
    display: inline-block;
    position: relative;
    width: 300px;
    height: 60px;
    background-image: url('images/button.png');
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #5d7cb0; /* Default text color */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Prevent text from breaking onto a new line */
}

.button span {
    position: absolute;
    top: calc(50% - 5px); /* Move 5px down */
    left: calc(50% - 2px); /* Move 2px right */
    transform: translate(-50%, -50%);
    white-space: nowrap; /* Prevent text from breaking onto a new line */
}

.button:hover {
    background-image: url('images/button_hover.png');
    color: white; /* Text color on hover */
}

.button:active {
    background-image: url('images/button_click.png');
    color: white; /* Text turns white on click */
}

.button:active span {
    top: calc(50% + 5px); /* Move 5px down */
    left: calc(50% + 2px); /* Move 2px right */
    transform: translate(-50%, -50%);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background_image.png');
    background-size: cover;
    background-position: center;
}

/* General Styling */
.items {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    right: 50%;
    width: 90px;
    user-select: none;  /* Disable text selection */
    pointer-events: none; /* Disable mouse events on the div itself */
}

/* Specific Positioning for Each Ingredient */
#bagel {
    transform: translate(270px,140px);
}

#bagel:hover {
    transform: translate(270px,140px) rotate(20deg); /* Rotate the image by 20 degrees on hover */
}

#pencil {
    width: 120px;
    transform: translate(280px,-80px);
}

#pencil:hover {
    transform: translate(280px,-80px) rotate(-13deg);
}

#cheese {
    transform: translate(-180px,160px);
}

#cheese:hover {
    transform: translate(-180px,160px) rotate(-18deg);
}

#croissant {
    width: 120px;
    transform: translate(-220px,-120px);
}

#croissant:hover {
    transform: translate(-220px,-120px) rotate(-14deg);
}

/* Rotation Effect */
.ingredient {
    pointer-events: auto;
    position: absolute;
    transition: transform 0.2s ease-in-out; /* Smooth transition for rotation */
}

.ingredient:hover {
    transform: rotate(20deg); /* Rotate the image by 20 degrees on hover */
}
