/* Font */
@font-face {
    font-family: 'Aubrey';  
    src: url('../assets/fonts/Aubrey-Regular.ttf') format('truetype');  
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background-color: #e6f2ff;
    margin: 0;
    padding: 0;
    font-family: 'Aubrey', sans-serif; 
    height: auto; 
    overflow-y: scroll; 
    padding-top: 10px; 
}

/* Center */
.container {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    width: 100%;
    max-height: 100%; 
    overflow-y: auto; 
    color: #252424;
    font-size: 30px;
    text-shadow: 2px 2px #cfcaca;
}

/* Vending Machine  */
.vending-wrapper {
    position: relative;
    width: 600px; 
    height: auto; 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

.vending-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* Slots */
.slot {
    position: absolute;
    width: 25%;
    height: 12%; 
    background: transparent; /* No background */
    transition: transform 0.3s ease, border 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slot images with hover effect */
.slot img {
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for slot images */
.slot:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
    
}

/* Left side slots */
.left-slot {
    left: 15%;
}

/* Right side slots */
.right-slot {
    left: 49%;
}

/* Hover */
.slot:hover {
    border: 0px solid #00f;
}

/* Top Tooltip Section */
.top-tooltip-section {
    background-color: transparent;
    width: 100%;
    text-align: center;
    position: relative; 
    top: 0; 
    z-index: 1001; 
    font-size: 14px;
    visibility: hidden;  
    height: 0;
    overflow: hidden;
    text-shadow: 2px 2px #cfcaca;
    transition: visibility 0s, height 0.3s ease-in-out;
}

#top-tooltip-text {
    font-weight: bolder;
    font-size: 40px;
    color: #252424;
}

/* Tooltip Mouse-following */
.tooltip-section {
    position: absolute;
    visibility: hidden;  
    height: 0;  
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    pointer-events: none; 
    z-index: 1000; 
    transition: visibility 2s, height 0.3s ease-in-out;
    text-shadow: 2px 2px #cfcaca;
}

#tooltip-text {
    font-weight: bolder;
    font-size: 40px;
    color: #252424;  
}

/* Show tooltip hovering  */
.slot:hover ~ .tooltip-section {
    visibility: visible;
    height: auto;
    font-size: 18px; 
}

/* Under Construction */
.under-construction {
    text-align: center;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
}

.under-construction h1 {
    font-size: 36px;
    font-family: 'Aubrey', sans-serif;
    color: #333;
}

.under-construction p {
    font-size: 20px;
    font-family: 'Aubrey', sans-serif;
    color: #666;
}

/* Sitemap */
.sitemap-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.sitemap-list li {
    margin: 10px 0;
}

.sitemap-list a {
    text-decoration: none;
    color: #333;
    font-family: 'Aubrey', sans-serif;
    font-size: 18px;
}

.sitemap-list a:hover {
    color: #00f;
}
.vending-wrapper {
    width: 100%;
    max-width: 600px;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: flex-start; 
        width: 100%;
        max-height: 100%; 
        overflow-y: auto; 
        color: #333;
        font-size: 15px;
        text-shadow: 3px 3px #969696;
    }
    .vending-wrapper {
        width: 95%;
    }

    .slot {
        width: 25%;
        height: 10%;
    }

    #tooltip-text {
        font-size: 24px;
    }

    .update-section {
        width: 90%;
        font-size: 14px;
    }
    
    .tooltip-section {
        visibility: hidden;  
        height: 0;
    }

    .slot:hover ~ .tooltip-section {
        visibility: visible;
        height: auto;
        font-size: 18px; 
    }
}


@media (max-width: 480px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: flex-start; 
        width: 100%;
        max-height: 100%; 
        overflow-y: auto; 
        color: #333;
        font-size: 15px;
        text-shadow: 3px 3px #969696;
    }
    .slot {
        width: 25%;
        height: 12%;
    }

    .update-section {
        font-size: 13px;
    }

    #tooltip-text {
        font-size: 15px;
    }

    .tooltip-section {
        visibility: hidden; 
        height: 0;
    }

    .slot:hover ~ .tooltip-section {
        visibility: visible;
        height: auto;
        font-size: 18px; 
    }
}

/* Garden */
.Garden {
    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    height: 100vh;            
    background-color: #eaeaea;
}

/* Inner content box */
.Garden2 {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100vh;
    height: 100vh
}