@font-face {
    font-family: "Alice";
    src: url(/Alice-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Seagram";
    src: url(/Seagram.ttf);
}

@media only screen and (max-width: 600px) {
    sidebar {
        width: 100vw!important;
        height: 200px;
        display: flex;
        flex-direction: row;
    }

    container {
        flex-direction: column!important;
    }

    main {
        height: 100vh!important;
    }

    #piggy {
        max-height: 100px;
    }
    linkcontainer {
        display: flex!important;
        flex-direction: column!Important;
        width: 100%;
        max-height: 180px;;
    }

    sidebar {
        margin-right: 0px;
    }

    .thumb:hover{
    border: none!important;

}
}

:root {
    --main: rgb(187, 209, 255);
    --secondary: pink;
    --tertiary:rgb(240, 241, 216);
    --det:rgb(255, 179, 198);

}

linkcontainer {
    list-style: none;
    overflow-y: scroll;
    display: block;
    height: 80vh;
}

sidebar {
    background: linear-gradient(to bottom,var(--main), var(--secondary));
    text-align: center;
    margin-right: 10px;
    width: 200px;
}

li {
    background-color: var(--tertiary);
    margin: 5px;
    padding: 5px;
    font-size: 25px;
    border: outset;
    border-color: var(--det);
    font-family: Seagram;
}

li.desc {
    background-color: rgb(255, 255, 255);
    margin: 5px;
    padding: 5px;
    font-size: 15px;
    border: dashed;
    border-color: var(--det);
    font-family: Alice;
}
.gallery {
    border: solid;
    border-color: var(--main);
}

.thumb:hover{
    border: solid;
    border-color: var(--tertiary);

}

.button:hover{
    border: inset;
    border-color: var(--det);
}

#caption {
    padding: 5px;
    margin: auto;
    background-color: rgba(194, 194, 194, 0.5) ;
    border: dashed;
    border-color: rgb(194, 194, 194);

}


main {
    background: rgb(192, 192, 192);
    border: dashed;
    border-color: rgb(194, 194, 194);
    width: 93%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    background-image:url(../../img/roughtile.gif) ;
    background-blend-mode: multiply;
    padding: 10px;
    text-align: center;
}

main img {
    display: block;
    max-height: 95%;
    max-width: 100%;
    margin: auto;
}

linkcontainer img {
    max-width: 150px;
    max-height: 200px;
    object-fit: fill;

}

container {
    display: flex;
    flex-direction: row;
    height: 98vh;
    padding: 0px 0px;

}

body {
    background-color: rgb(0, 0, 0);
    padding: 0px;
    font-family: Alice;
    margin: 0px;
    height: 100%;

}

html {
    margin: 0px;    
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(0, 0, 0, 0) ;
}

a {
    text-decoration: none;
    color:rgb(34, 34, 34);
}

a:visited {
    color: rgb(80, 80, 80);
}