﻿@media only screen and (max-width: 680px) {

    main {
        height: fit-content;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
        align-self: first baseline;
        align-items: center;
        max-width: unset;
        max-height: unset;
        padding-left: 0;
    }



    header {
        position: sticky;
        z-index: 10;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        top: 0px;
        width: 100%;
        
    }

        header nav {
            display: flex;
            flex-direction: row;
            margin: 0;
        }

        header > nav:first-child {
            margin-bottom: 0px;
            flex-direction: row-reverse;
            height: 31px;
            border-radius: 0;
        }
            header > nav:first-child p {
                position: fixed;
                top: 0;
                left: 0;
                margin: 0;
                margin-left: 0px;
                font-family: Poppins;
                text-align: center;
                display: flex;
                align-content: center;
                align-items: center;
                font-weight: 500;
                font-size: 15px;
                height: 31px;
                margin-left: 9px;
            }

        header > nav:first-child div {
            width: 36px;
        }

        header > nav:last-child {
            border-radius: 0 0 5px 5px;
            justify-content: space-around;
        }

            header > nav:last-child a {
                border-image: linear-gradient(to top, var(--color_border_right), rgba(0, 0, 0, 0)) 1;
                border-right: 1px solid;
                border-bottom: 1px solid;
            }
            header > nav:last-child a:last-child {
                border-right: none;
            }

            header > nav:last-child p {
                height: 0px;
                
            }

            header > nav:last-child .selected p {
                height: auto;
            }



    .card-main {
        min-width: calc(100% - 40px);
    }



    .card-content {
        min-width: calc(100% - 40px);
        width: 0;
    }
}
