body 
{
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

#background 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #25292a;
    background-image: url('../../assets/ui/menu_background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#menu 
{
    position: absolute;
    height: 50%;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: linear-gradient(135deg, rgba(156, 170, 176, 0.8), rgba(240, 240, 240, 0.7));

    border-radius: 25px;
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.4);
    padding: 50px;
    text-align: center;
    animation: fadeIn 3s ease-in-out, zoomIn 4.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 2;
    border: 3px solid #00617D;
}

#menu h1 
{
    font-size: 75px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0f0f0;
    font-weight: 800;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

#start 
{
    background-color: #90D432;
    border: none;
    padding: 20px 40px;
    font-size: 40px;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    margin-top: 40px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

#start:hover 
{
    background-color: #00617D;
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.6);
}

#start:active 
{
    transform: translateY(0);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

#next 
{
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    z-index: 3;
}

#button-container 
{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#next_button 
{
    background-color: #00617D;
    border: none;
    padding: 20px 40px;
    height: 60px;
    width: 170px;
    font-size: 22px;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    margin-right: -300px;
    text-align: center;
    display: inline-block;
}
#clear_button 
{
    background-color: #00617D;
    border: none;
    padding: 20px 40px;
    height: 60px;
    width: 170px;
    font-size: 22px;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    margin-left: -300px;
    text-align: center;
    display: inline-block;
}

#next_button:hover, 
#clear_button:hover 
{
    background-color: #90D432;
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.6);
}

#next_button:active, 
#clear_button:active 
{
    transform: translateY(0);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

#canvas 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#menu-subtitle {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: capitalize;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

#instructions-bar 
{
    margin-top: 20px;
}

#instructions-button 
{
    background-color: #00617D;
    border: none;
    padding: 10px 20px;
    font-size: 25px;
    width: 500px;
    color: #ffffff;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

#instructions-button:hover 
{
    background-color: #90D432;
}

#instructions-popup 
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    justify-content: center;
    align-items: center;
}

#popup-content 
{
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    font-size:30px;
    color: #000;
    position: relative;
    text-align: center;
}

#popup-content h2 
{
    background-color: #00617D;
    color: #ffffff;
    padding: 10px 0;
    font-size: 35px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
}

#close-popup 
{
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
}

#screenshot-pane 
{
    margin-top: 20px;
    text-align: center;
}

#screenshot-pane img 
{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@keyframes fadeIn 
{
    from 
    {
        opacity: 0;
    }
    to 
    {
        opacity: 1;
    }
}

@keyframes zoomIn 
{
    from 
    {
        transform: translate(-50%, -50%) scale(0.9);
    }
    to 
    {
        transform: translate(-50%, -50%) scale(1);
    }
}
