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

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.layout {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: lightgrey;
    display: grid;
    grid-template-areas:
        "title title"
        "sidebar body";
    grid-template-rows: min-content 1fr; 
    grid-template-columns: 240px 1fr;
    height: 100vh;
    width: 100vw;
}

.title { 
    grid-area: title; 
    background-color: #202020;
    color: #ffffff;
    padding: 15px 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar { 
    grid-area: sidebar;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    height: 100%;
    z-index: 2;
    border-right: 1px solid #2d2d2d;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.body { 
    grid-area: body;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 1;
    color: white;
}

.body iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
    background-image: url('Andrewdevbackground.png');
    background-repeat: no-repeat !important;
    background-size: auto 100%;
    background-position: center !important;
    background-color: #060037;
    color: white;
}

details::details-content {
    transition: opacity 0.5s ease-out, content-visibility 0.5s allow-discrete;
    opacity: 0;
}

details[open]::details-content {
    opacity: 1;
}

.nodecorlink {
    text-decoration: none !important;
    border-radius: 6px;
    padding: 12px 16px;
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #3d3d3d;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, filter 0.2s ease;
    height: auto;
}

.nodecorlink:hover {
    filter: brightness(1.2);
}

.nodecorlink button {
    background: transparent;
    border: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.logo {
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.minecraft {
    background-image: url('https://art.pixilart.com/sr20689747e11a3.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    color: #FFFFFF99 !important;
}

.steam {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSYZwRVPfmowEFqgNugmCuSt0RRlRwCruKlqA&s') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    color: grey !important;
}

.uptime {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0CRBpa_Gfh4zJOO9Os42EXWbVoNdSig59ow&s') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    color: #FFFFFF99 !important;
}

.backgroundfix {
    background-color: #00000040;
}
