/* load font from file */
@font-face{
    font-family: 'Basteleur-Bold';
    src: url(/fonts/Basteleur-Bold.ttf) format("truetype");
}
@font-face{
    font-family: 'Basteleur-Moonlight';
    src: url(/fonts/Basteleur-Moonlight.ttf) format("truetype");
}

/* reset defaults to avoid browser styles etc */
/* star is shorthand for all elements */
* {
    box-sizing: border-box;
    margin: 0;
}

/* css variables */
:root {
    --desktop-text-color: #001433;
    
    --icon-default-width: 72px;
    --icon-default-height: 96px;
    
    --pane1-default-width: 1005px;
    --pane1-default-height: 535px;
    
    --pane2-default-height: 400px;
    --pane2-default-width: 400px;

    --biopane-default-height: 364px;
    --biopane-default-width: 450px;

    --welcome-default-height: 240px;
    --welcome-default-width: 600px;
}

body {
    font-family: 'Basteleur-Bold', fantasy;
    background-image: url("pictures/sky.gif");
    
    /* if outside of window, clip */
    height: 100vh;
    overflow: clip;
}

/* properties of any movable thing */
.dragger {
    position: absolute;
    
    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .welcome {
    cursor:grab;
    position: relative;
    width: var(--welcome-default-width);
    height: var(--welcome-default-height);
    z-index: 1;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .welcome img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;
    
    -webkit-user-drag: none;
    user-drag: none;
}

/* properties when the object is an icon */
.dragger .icon{
    cursor:grab;
    position: relative;
    width: var(--icon-default-width);
    height: var(--icon-default-height);

    -webkit-user-drag: none;
    user-drag: none;
}

/* properties of the icon in relation to the div */
.dragger .icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;
    
    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .pane1 {
    cursor: move;
    position: absolute;
    width: var(--pane1-default-width);
    height: var(--pane1-default-height);

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .pane1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .pane2 {
    cursor: move;
    position: absolute;
    width: var(--pane2-default-width);
    height: var(--pane2-default-height);

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .pane2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .biopane {
    cursor: move;
    position: absolute;
    width: var(--biopane-default-width);
    height: var(--biopane-default-height);

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .biopane img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    border: 0;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .biopane .text {
    color: #855395;
    position: absolute;
    text-align: left;
    letter-spacing: -1px;
    font-family: "Basteleur-Moonlight", fantasy;
    font-size: 20px;
    top: 30px;
    left: 15px;
    max-width: 420px;
    max-height: 320px;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .creditspane {
    cursor: move;
    position: absolute;
    width: 500px;
    height: 800px;

    -webkit-user-drag: none;
    user-drag: none;

}

.dragger .creditspane img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;

    -webkit-user-drag: none;
    user-drag: none;
}

.dragger .creditspane .text {
    color: #855395;
    position: absolute;
    text-align: center;
    letter-spacing: -1px;
    line-height: 150%;
    font-family: "Basteleur-Moonlight", fantasy;
    font-size: 25px;
    top: 40px;
    left: 15px;
    max-width: 470px;
    max-height: 700px;

    -webkit-user-drag: none;
    user-drag: none;
}


 .taskbar {
    background-color: #f5daa7;
    position: fixed;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 46px;
    z-index: 1000000000;
}

.taskbar img {
    position: relative;
    height: 40px;
    width: 40px;
    top: 3px;
    left: 10px;
    border-radius: 5px;
}

.taskbar img:hover {
    background-color:#4a4a4a61;
}

.taskbar img.active {
    background-color: #ff5dcc40 ;
}

.linktree {
    position: absolute;
    width: 250px;
    height: 400px;
    left: calc(50vw - 125px);
    top: calc(50vh - 200px);
}

.linktree .window{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.linktree .window img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.linktree .text {
    color: #855395;
    position: absolute;
    text-align: center;
    max-width: 230px;
    top: 20px;
    left: 10px;
}

.linktree .text h1 {
    font-size: 15px;
    font-family: "Basteleur-Bold";
}

.linktree .text p {
    font-size: 10px;
    font-family: "Basteleur-Moonlight";
}

.linktree .link-grid {
    position: relative;
    top: 120px;
    left: 39px;
    display: inline-grid;
    grid-template-columns: 54px 54px 54px;
    grid-template-rows: 72px 72px 72px;
    column-gap: 6px;
    row-gap: 10px;
    justify-content: center;
}
.linktree .link-grid img {
    width: 54px;
    height: 72px;
}

@media screen and (max-width: 600px) {
    .mobile-container{
        visibility: visible;
    }
    .desktop-container {
        visibility: hidden;
    }
}

@media only screen and (min-width: 601px) {
    .desktop-container {
        visibility: visible;
    }
    .mobile-container{
        visibility: hidden;
    }
}