/*
    Animate Teil
*/

#animation_container {
	position:absolute;
	margin:auto;
}

#dom_overlay_container {
    pointer-events: none;
    overflow: hidden;
    width: 1920px;
    height:1080px;
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
}

/*
    HTML Page
*/

* { 
    box-sizing: border-box; 
}

body {
    width: 100vw;
    height: 100vh;

    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;

    overflow: hidden;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr auto;
}

header {
    min-height: 50px;
    background-color: rgb(86, 103, 124);
}

main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 100%;

    overflow: hidden;
}

aside {
    width: 200px;
    background-color: rgba(255,0,0,0.2);
    background-color: rgba(255, 217, 0, 0.2);

    display: grid;
    transition: all 500ms;
}

aside.left {
    grid-template-columns: 1fr 20px;
}

aside.right {
    grid-template-columns: 20px 1fr;
}

aside div {
    align-self: center;
}

nav {
    width: 100%;
    height: 100%;

    display: grid;
    row-gap: 5px;
    align-content: baseline;
    justify-content: center;

    overflow: auto;
}

aside.left nav {
    padding: 10px 0px 10px 10px;
}

aside.right nav {
    padding: 10px 10px 10px 0px;
}

aside.closed nav {
    padding: 10px 0px 10px 0px;
}

section {
    width: 100%;
    height: 100%;
    /*background-color: rgba(0,0,255,0.2);*/

    display: grid;
    align-items: center;
    justify-items: center;
}

footer {
    min-height: 50px;
    background-color: rgb(86, 103, 124);
}

#btnCollapseLeft, #btnCollapseRight  {
    width: 20px;
    height: 100%;
    font-size: 3em;
    background-color: goldenrod;
    cursor: pointer;
}

#btnCollapseLeft::after {
    content: "🠼";
}

aside.closed #btnCollapseLeft::after {
    content: "🠾";
}

#btnCollapseRight::after {
    content: "🠾";
}

aside.closed #btnCollapseRight::after {
    content: "🠼";
}

.closed {
    width: 20px;
}

.btn {
    position: relative;
    width: 150px;
    height: 35px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    background-color: gold;

    display: grid;
    align-items: center;
    justify-items: center;

    transition: all 500ms;

    cursor: pointer;
    transition: all 100ms;
}

.btn:hover {
    background-color: goldenrod;
}

.btn:active {
    box-shadow: none;

}

aside.closed .btn {
    width: 0px;
    opacity: 0;
}

.btn.selected::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    background-color: red;
}

.left .btn.selected::after {
    right: 0px;
    border-radius: 0px 5px 5px 0px;
}

.right .btn.selected::after {
    left: 0px;
    border-radius: 5px 0px 0px 5px;
}


