/* components import */
@import "links.css";
@import "scroll.css";
@import "lastfm.css";
@import "entries.css";
@import "guestbook.css";
@import "feeds.css";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #00239b;
    color: #d9d9d9;
    font-family: "Space Mono";
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main-layout-home {
    width: 100%;
    height: 100%;
    max-height: 1080px;
    padding: 100px 180px;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: 20fr 40fr 40fr;
    gap: 10px;
}

.main-layout {
    width: 100%;
    height: 100%;
    max-height: 1080px;
    padding: 100px 180px;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: 20fr 80fr;
    gap: 10px;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 0;
}

.col-left {
    justify-content: flex-start;
}

.col-left > :last-child {
    justify-content: flex-start;
}

.col-mid {
    justify-content: flex-start;
}

.col-right {
    justify-content: flex-start;
}

.col-right > :last-child {
    justify-content: flex-start;
}

.box {
    border: 1px solid #00239b;
    position: relative;
}

.box-grey {
    background-color: #d9d9d9;
    border: none;
}

.box-blue {
    background-color: transparent;
    border: 1px solid #d9d9d9;
}

.navbar {
    display: grid;
    flex-direction: column;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: auto;
    justify-content: flex-start;
}

.navbar-box {
    width: 100px;
    height: auto;
    aspect-ratio: 1/1;
    border: 1px solid #00239b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-frame {
    position: relative;
    width: 60%;
    height: 60%;
    padding: 10%;
    border: 1px solid #00239b;
    display: flex;
    transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-frame a {
    display: block;
    width: 100%;
    height: 100%;
}

.navbar-frame:hover {
    background-color: #00239b;
    cursor: pointer;
}

.navbar-icon {
    width: 100%;
    height: 100%;
    background-color: #00239b;
    -webkit-mask-image: var(--icon-url);
    mask-image: var(--icon-url);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-frame:hover .navbar-icon {
    background-color: #d9d9d9;
}

.thumbnail {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.thumbnail-box {
    width: 100%;
    aspect-ratio: 1/1;
    border: 5px solid #d9d9d9;
    background-color: #00239b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.thumbnail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-caption {
    font-size: 18px;
    font-style: italic;
}

.metadata-box {
    min-height: 50px;
    width: 100%;
    margin-top: auto;
}

.changelog {
    overflow-y: scroll;
    padding: 15px;
}
.changelog-list {
    font-size: 14px;
}

.short-bio {
    flex-shrink: 0;
}

.hello-text {
    position: relative;
    height: fit-content;
    width: auto;
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: 30px;
    margin-right: 20px;
    font-size: 28px;
}

.short-bio-text {
    position: relative;
    height: auto;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 20px;
    font-size: 15px;
    text-align: left;
}

.icon {
    width: 30%;
    height: auto;
    aspect-ratio: 1/1;
    border: 1px solid #d9d9d9;
    overflow: hidden;
    flex-shrink: 0;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guestbook-paint-selfbutton {
    flex-grow: 1;
    display: flex;
    gap: 10px;
}

.paint-selfbutton {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paint {
    flex-grow: 1;
    min-height: 400px;
    height: 100%;
    width: 100%;
}
.selfbutton {
    color: #00239b;
    font-size: 14px;
    height: 25%;
    padding: 10px;
}

.stolen-buttons {
    height: 35px;
    max-width: 35vw;
    overflow: auto;
    display: flex;
    gap: 2px;
    padding: 2px;
    align-content: center;
}

.stolen-buttons img {
    height: 31px;
    width: 88px;
}

.text-blue {
    color: #00239b;
}

.text-grey {
    color: #d9d9d9;
}

.footer {
    width: 100%;
    text-align: right;
    margin-bottom: 100px;
}

.copyleft {
    margin-right: 180px;
    margin-top: 5px;
}

.div-404 {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 100px 180px;
    line-height: 36px;
}

@media (max-width: 768px) {
    html,
    body {
        height: auto !important;
        min-height: 100vh;
        overflow-y: visible !important;
    }

    .main-layout,
    .main-layout-home {
        display: flex;
        flex-direction: column;
        height: auto !important;
        max-height: none !important;
        padding: 20px;
        gap: 20px;
        overflow: visible !important;
    }

    .col,
    .col-left,
    .col-mid,
    .col-right {
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0 !important;
        overflow: visible !important;
    }

    .col-left {
        order: 2;
        border-bottom: 2px solid #d9d9d9;
        padding-bottom: 20px;
        margin-bottom: 20px !important;
    }

    .col-mid {
        order: 1;
        margin-bottom: 20px !important;
    }

    .col-right {
        order: 3;
    }

    .navbar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-content: center;
        width: fit-content;
        gap: 5px;
    }

    .navbar-box {
        width: 90px;
        height: 90px;
    }

    .entries-prev-box,
    .entries-prev-box-full {
        height: 500px !important;
        overflow: scroll !important;
        flex-grow: 0;
    }

    .stolen-buttons {
        max-width: 100vh;
    }
}
