* {
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: url('https://cdn.tazl.cc/images/pug/background.png') no-repeat bottom;
    background-size: cover;
    overflow: hidden;
    cursor: url('https://cdn.tazl.cc/images/pug/cursor.png'), auto;
}

p{
    font-family: "Pixelify Sans", sans-serif;
}
h2{
    font-family: "Pixelify Sans", sans-serif;
}
a{
    font-family: "Pixelify Sans", sans-serif;
}

#desktop {
    position: relative;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    user-select: none;
}

.icon {
    position: absolute;
    left: 17%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
    text-align: center;
}

.icon img {
    width: 64px;
    height:auto;
}

.icon:hover {
    background-color: rgba(0, 120, 215, 0.3);
    border: 2px solid #0078d7;
    border-radius: 5px;
}

.icon-caption {
    margin-top: 5px;
    font-family: "Pixelify Sans", sans-serif;
    text-align: center;
}


#icon-1 { top: 10vh; }
#icon-2 { top: 20vh; }
#icon-3 { top: 30vh; }
#icon-4 { top: 40vh; }
#icon-5 { top: 50vh; }
#icon-6 { top: 60vh; }



.window {
    position: absolute;
    width: 300px;
    height: 200px;
    background-color: white;
    border: 2px solid #000;
    display: none;
    z-index: 1000;
    overflow: hidden;
    cursor: url('https://cdn.tazl.cc/images/pug/cursor.png'), pointer;
}

.window-header {
    background-color: #0078d7;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: url('https://cdn.tazl.cc/images/pug/grabcursor.png'), grab;
}

.window-header span {
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
    font-size: 20px;
    transition:  0.1s ease;
    background-color: #ea0d0d;
}

.close-btn:hover {
    background-color: #b80f0f;
}

.window-content {
    padding: 15px;
    height: auto;
    overflow: auto;
    max-height: 100%;
    cursor: url('https://cdn.tazl.cc/images/pug/cursor.png'), pointer;
}

.window-content::-webkit-scrollbar {
    width: 8px;
}

.window-content::-webkit-scrollbar-thumb {
    background-color: #0078d7;
    border-radius: 10px;
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
}


#window-1{
    height: 150px;
}
#window-2{
    height: 300px;
    width: 500px;
}

#window-4{
    width: 350px;
    height: 700px;
}

#window-5{
    height: 500px;
    width: 400px;
}

#window-6{
    height: 500px;
    width: 500px;
}

#window-6 img{
    height: 100%;
    width: 100%;
}

#window-7 {
    position: absolute;
    overflow: hidden;
    max-width: 700px;
    max-height: 900px;
    align-items: center;
    justify-content: center;
}

#window-7 .art-item img {
    width: 90%; 
    height: 90%;
    object-fit: contain;
}

#window-9{
    height: 500px;
    width: 500px;
}

#window-8{
    height: 500px;
    width: 500px;
}

#window-10{
    height: 500px;
    width: 500px;
}

#window-11{
    height: 500px;
    width: 500px;
}

#selection-box {
    position: absolute;
    border: 2px dashed #0078d7;
    background-color: rgba(0, 120, 215, 0.2);
    display: none;
    pointer-events: none;
}

.icon.selected {
    background-color: rgba(0, 120, 215, 0.2);
    border: 2px solid #0078d7;
    border-radius: 5px;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    z-index: 2000;
    cursor:none;
    transition: fadeInOut 1s;
}

#loading-text {
    animation: fadeInOut 1s infinite alternate;
    pointer-events: none;
    user-select: none;
}

@keyframes fadeInOut {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.icon {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.icon.show {
    opacity: 1;
    transform: translateY(0); 
}

a{
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
}


.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.art-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: url('https://cdn.tazl.cc/images/pug/cursor.png'), pointer;
}

.art-item img {
    width: 50%;
    height: auto;
    margin-bottom: 5px;
}

.art-caption {
    color: #333;
    margin-top: 5px;
    font-family: "Pixelify Sans", sans-serif;
    margin-bottom: 10px;
}

.about-div p{
 font-size: 24px;
}

#youtube { left: 50%; }

.comm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comm-item img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

#comlast{
    padding-bottom: 30px;
}

.creation-item {
    display: flex;
    flex-direction: column;

}

.creation-item img {
    width: 50%;
    height: auto;
    margin-bottom: 5px;
}

.icon-stuff-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.icon-stuff {
    text-align: center;
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
}

.icon-stuff img {
    width: 120px;
    height: 120px;
}

.icon-stuff:hover {
    background-color: rgba(0, 120, 215, 0.2);
    border: 2px solid #0078d7;
    border-radius: 5px;
}

.icon-social {
    text-align: center;
    cursor: url('https://cdn.tazl.cc/images/pug/pointcursor.png'), pointer;
}

.icon-social img {
    width: 64px;
    height: 64px;
}

.icon-social:hover {
    background-color: rgba(0, 120, 215, 0.2);
    border: 2px solid #0078d7;
    border-radius: 5px;
}

@media (max-width: 600px) {
    #desktop {
        padding: 0;
    }

    .icon img {
        width: 36px;
        height: 36px;
    }

    .window {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 1024px) {
    .icon img {
        width: 48px;
        height: 48px;
    }
    .icon {
        margin-bottom: 10px;
    }

    .icon:hover {
        background-color: rgba(0, 120, 215, 0.35);
        border: 2px solid #005a9e; 
    }
}