@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 100%;
    border: 10px solid #000;
    min-height: 100vh;
    line-height: 1.6;
    color: #000;
    align-items: center;
    flex-wrap: wrap;
    background-image: url('back.gf.gif');
    background-position: center;
    background-repeat: repeat;
}

.explorer {
    position: absolute;
    top: 50px;
    width: 90%;
    height: 400px;
    border: 3px solid #fff;
    max-width: 800px;
    margin: auto;
    margin-top: 60px;
    padding: 20px;
    min-height: calc(100vh - 170px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.head {
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    font-family: "Pixelify Sans", sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.welcome-text {
    font-size: 0.5rem;
    color: #333;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
    padding: 0 20px;
}

.welcomedance {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    height: auto;
    display: block;
    cursor: pointer;
}

.hidden{
    display: none;
}

.left_sidebar {
    position: relative;
    gap: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    background-color: #482a44;
    border-bottom: 2px solid #000000;
    padding: 10px;
}

.right_sidebar {
    padding: 10px;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Icon styles */
.sidebar svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    fill: #000;
}

.sidebar .icon {
    width: 52px;
    height: 32px;
    background-color: #ff6b6b;
    border: 2px solid #040100;
    border-radius: 2px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.icon svg {
    width: 50px;
    height: 50px;
    image-rendering: pixelated;
}

.icon:hover {
    background-color: #ffffff;
    /* Hover switches to peach tone */
    transform: scale(1.05);
}

.icon:hover svg {
    fill: #fff;
}

.icon:hover a {
    color: #000000;
}

.icon p {
    padding: 5px;
    margin: 0;
    font-size: 10px;
    width: auto;
}

.icon a {
    text-decoration: none;
    color: #ffffff;
}

.welcome-iframe {
    width: 100%;
    height: 300px; 
    border: none; 
    margin-top: 4px; 
}

/* Retro button styles */
.retro-btn {
    background-color: #f0f0f0;
    border: 2px solid #457B9D;
    box-shadow: 4px 4px 0 #000, 8px 8px 0 #555;
    text-transform: uppercase;
    padding: 10px 20px;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.retro-btn:hover {
    background: #ef9a9a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}
.window{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: 80%;
    max-height: 400px;
    background: #F8EDD7;
    border: 4px solid #000;
    border-radius: 8px;
    box-shadow: 4px 4px 0px #000, 8px 8px 0px #555;
    z-index: 1200;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.cutemessage {
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFF;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-family: "Pixelify Sans", sans-serif;
    position: absolute;
    top: 50%; /* Adjust as needed */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center vertically */
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.cutemessage:not(.hidden) {
    opacity: 1;
    visibility: visible;
}
@media screen and (min-width: 1024px) {
    body {
        height: 60vh;
        overflow: hidden;
    }

    .explorer {
        flex-direction: column;
        display: flex;
        top: 50px;
        left: 250px;
        margin: auto;
        width: 90vw;
        height: 80%;
        max-width: 800px;
        color: #000;
        border: 2px solid #F4CBB2;
        
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: #f8edd785;
    }

    .head {
        font-size: 2.5rem;
        border-bottom: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
    }

    .welcome-text {
        font-size: 1.3rem;
        
    }
    .welcomedance {
        bottom: 0;
        max-width: 50%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .left_sidebar {
        flex-direction: column;
        width: 15%;
        height: 100vh;
        gap: 0.1px;
        background-color: transparent;
    }

    .retro-btn {
        border: 4px solid #000;
        box-shadow: 4px 4px 0 #000, 8px 8px 0 #555;
        padding: 10px 20px;
        font-size: 1.5rem;
    }

    .sidebar .icon {
        width: 100px;
        height: 100px;
        margin: 1px;
    }
    .icon a {
        font-size: 1rem;
    }
}
@media screen and (min-height: 900px) {
    .welcomedance{
        max-width: 100%;
    }
}
