body {
    padding-top: 0px;
    margin: 0px;
    background-color: var(--body-background-color);
}

:root {
    --input-primary-color: #1887e8;
    --hover-color: #aab4bd48;
}


/******* ここからメインエリアのスタイル ********/
main {
    text-align: center;
}

#header {
    background-color: transparent;
    box-shadow: none;
    outline: 2px solid #eeeeee;

    .app-title {
        img {
            width: 45px;
            height: 45px;
        }
    }
}

.action-menu {
    background-color: #f0f3fa;
    position: fixed;
    width: 280px;
    height: calc(100vh - 60px);
    backdrop-filter: none;
    box-sizing: border-box;
    top: 60px;
    left: 0;
    display: flex;
    justify-content: start;
    flex-direction: column;
    padding-top: 30px;
    overflow: auto;

    >p {
        padding-left: 20px;
        user-select: none;
    }

    .folders {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: start;
        align-items: center;

        p {
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }



}

.main-view {
    background-color: white;
    position: fixed;
    width: calc(100vw - 280px);
    height: calc(100vh - 60px);
    backdrop-filter: none;
    box-sizing: border-box;
    top: 60px;
    left: 280px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    overflow: auto;

}

.hidden {
    display: none !important;
}

.tab.left {
    background-color: transparent;
    width: 90%;
    height: 50px;
    border-radius: 25px 25px 25px 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    color: black;

    span.left {
        margin-right: 10px;
    }

    span.right,
    svg.right {
        margin-left: 10px;
    }

    p {

        padding-left: 10px;
        margin: 0px;
    }
}

.tab.left:hover {
    text-decoration: none;
}

.tab.left:hover {
    background-color: var(--hover-color);
}

.tab.left.selected {
    background-color: var(--primary-color);
    color: white;
}

.tab.left.selected:hover {
    background-color: var(--primary-color);
}


.upload {
    height: 0px;
    visibility: hidden;
}

.progress {
    width: 100%;
}

.progress.hidden-progress {
    background-color: transparent;

    div {
        display: none;
    }
}

@keyframes move {
    0% {
        left: 0;
        width: 20%;
    }

    50% {
        width: 50%;
    }

    100% {
        left: 80%;
        width: 20%;
    }
}

.comment {
    color: #676767;
}

.over {
    z-index: 6000;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #00000070;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .dialog {
        width: 400px;
        background-color: white;
        border-radius: 10px;
        padding: 25px;
        display: flex;
        flex-direction: column;
        overflow: auto;

        .header {
            height: 60px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;

            .icon-button>span {

                color: black;
            }

            .title {
                font-size: x-large;
                margin: 0px;
            }
        }

        .body {
            flex-grow: 1;
            width: 100%;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;

            img {
                width: 60px;
                margin-right: 10px;
                margin-top: 20px;
            }
        }

        .footer {
            height: 60px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: end;
        }
    }
}

.setting-header {
    width: calc(100% - 100px);
    height: 300px;
    background-color: #0000003e;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
    overflow: hidden;


    .parallax {
        width: calc(100%);
        height: 300px;
        position: absolute;
        bottom: 0px;
        left: 0px;
        z-index: -999;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        .bottom {
            opacity: 0.8;
            font-size: small;
            position: absolute;
            bottom: 00px;
            right: 30px;
        }
    }

    .top-link {
        position: absolute;
        right: 20px;
        bottom: 10px;

        a {
            color: #ffffff80;
        }
    }
}



.settings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;

    .setting-group {
        width: calc(100% - 20px);
        border-radius: 10px;
        padding: 10px;
        padding-left: 20px;
        background-color: white;
        outline: 1px solid #dddddd;

        >p {
            margin: 15px;
        }

        .title {
            font-size: x-large;
        }


    }
}

.home-greeting {
    display: flex;
    flex-direction: column;
    align-items: center;

    .icon {
        width: 120px;
        height: 120px;
        border-radius: 50%;
    }

    .name {
        font-size: x-large;
    }

    .message {
        margin-top: 0px;
        font-size: medium;
    }
}

.note {
    outline: solid 3px rgb(225, 242, 253);
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin: 20px;

    p {
        margin: 0px;
    }
}

.setting-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    max-height: 60px;

    p {
        flex-grow: 1;
        margin-left: 20px;
        font-size: large;
    }

    span {
        vertical-align: middle;
        margin-right: 20px;
        font-size: xx-large;
        color: var(--sub-font-color);
    }
}

.setting-menu:hover {
    background-color: var(--hover-color);
}

@media (max-width: 820px) {

    .action-menu {
        width: 56px;

        .folders a {
            display: flex;
            justify-content: center;
            align-items: center;

            span.right {
                margin: 0px;
            }

            svg.right {
                margin: 0px;
            }

            p {
                display: none;
            }
        }
    }

    .main-view {
        width: calc(100vw - 56px);
        left: 56px;
    }
}

@media (max-width: 550px) {

    .action-menu {
        z-index: 99;
        width: 100vw;
        height: 70px;
        padding-top: 0px;
        top: auto;
        bottom: 0px;
        border-right: none;
        justify-content: start;
        align-items: center;
        background-color: transparent;

        .folders {
            backdrop-filter: blur(10px);
            background-color: #f0f3fab6;
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;
            width: auto;
            border-radius: 30px;
            box-shadow: 0px 2px 6px 0px #00000041;
            margin-top: 6px;
            padding: 4px;
            gap: 5px;

            .tab {
                height: 45px;
                width: 45px;

                span.right {
                    margin: 0px;
                }

                svg.right {
                    margin: 0px;
                }

                p {
                    display: none;
                }
            }
        }
    }

    .main-view {
        width: 100vw;
        height: calc(100vh - 60px);
        left: 0px;

        .settings {
            margin-bottom: 80px;
        }
    }
}