.diagonal-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.diagonal-row {
    flex: 1;
    display: flex;
}
.diagonal-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out; */
}
.diagonal-section:hover {
    flex-grow: 2;
}
.left
{
    transition: clip-path 0.3s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
}
.left.remove{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.right
{
    transition: clip-path 0.3s ease-in-out;
    clip-path: polygon(40% 0, 100% 0%, 100% 100%, 15% 100%);
}
.right.remove{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cap {
    transform: scaleX(5);
    z-index: 1;
    transition: transform 0s, flex 0.3s ease-in-out;
}
.cap.remove {
    /* transition: all 0.3s ease-in-out; */
    transform: scaleX(1.5);
    /* pointer-events: auto; */
    user-select: auto;
    cursor: default;
}
.uncap
{
    transform: scaleX(calc(1/5));
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    height: 100%;
    display: flex;
    transition: transform 0s, flex 0.3s ease-in-out;
}
.uncap.remove{
    /* transition: flex 0.3s; */
    transform: scaleX(calc(1/1.5));
    /* pointer-events: auto; */
    user-select: auto;
    cursor: default;
}

.mid {
    transform: skewX(-10deg) scaleX(1.01);
    z-index: 2;
    transition: flex 0.3s transform 0.3s ease-in-out;
}
.mid.remove {
    transform: skewX(0deg) scaleX(1);
    user-select: auto;
    cursor: default;
}
.unmid
{
    transform: skewX(10deg) scaleX(calc(1/1.01));
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    height: 100%;
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.unmid.remove {
    transform: skewX(0deg) scaleX(1);
}

.diagonal-content {
    object-fit: cover;
    /* position: absolute; */
    pointer-events: none;
    user-select: none;
    /* -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out; */
}
@media (orientation: landscape)
{
    .angle_text {
        writing-mode: vertical-lr;
        top: 10%;
        left: 50%;
        margin: 10px;
        text-orientation: upright;
        position: absolute;
        color: rgb(49, 49, 49);
        white-space: nowrap;
        font-size: 3.5vw;
        font-weight: bold;
        /* pointer-events: none; */
        user-select: none;
        font-family: 'Courier New', Courier, monospace;
    }
    #DataVisualization {
        font-size: 2vw;
    }
    #AdditionalProjects {
        font-size: 2vw;
    }
    #Kallin_Text {
        left: 0%;
        display: flex;
        justify-content: center;
        align-items: center;
        writing-mode: vertical-lr;
        top: 0%;
        text-orientation: upright;
    }
}
@media (orientation: portrait)
{
    .angle_text {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        writing-mode: vertical-lr;
        top: 33vh;
        left: 50%;
        text-orientation: upright;
        position: absolute;
        color: rgb(49, 49, 49);
        white-space: nowrap;
        font-size: 5vw;
        font-weight: bold;
        /* pointer-events: none; */
        user-select: none;
        font-family: 'Courier New', Courier, monospace;
    }
    #DataVisualization {
        font-size: 2vh;
    }
    #AdditionalProjects {
        font-size: 2vh;
    }
    #Kallin_Text {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        writing-mode: vertical-lr;
        top: 33vh;
        left: 0%;
    }
}
.angle_text.enable {
    left: 0%;
    transition: left 0.3s ease-in-out;
}
.back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 5vw;
    height: 5vw;
    cursor: pointer;
    z-index: 11;
    clip-path: circle(50%);
    -webkit-user-drag: none;
}
.body-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0);
    z-index: 10;
    overflow: visible;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.body-content.enable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0);
    z-index: 10;
    visibility: visible;
    opacity: 1;
}

#mnistCanvas {
    position: static;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* z-index: 10; */
    background-color: black;
    align-self: stretch;
}