﻿.menu-box {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    background-color: $box-bg;
    // padding: 20px;
    box-shadow: 10px 10px 0px 0 rgba(0, 0, 0, 0.5);

    .content {
        padding: 20px;
        flex-grow: 1;
        flex-basis: 100%;

        &.wrap {
            flex-wrap: wrap;
        }

        // text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);

        br {
            // display: none;
            flex-grow: 1;
            // width: 100%;
        }

        p {
            margin: 10px 0;

            &:last-child {
                margin-bottom: 0;
            }

            &:first-child {
                margin-top: 0;
            }
        }
    }

    h1 {
        font-size: 30px;
        padding: 5px 20px;
        margin: 0;
        background-color: darken($box-bg, 10%);
        
        align-content: center;
        align-items: center;
    }
}

.branding {
    position: absolute;
    bottom: 50px;
    right: 50px;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    transition: font-size 0.5s;
    &:hover {
        font-size: 40px;
    }
}

.settings {
    flex-grow: 1;
    height: 100%;
}

.settings-list {
    ul {
        flex-direction: column;
        gap: 10px;
    }
}

.close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon {
    // inherited
    &.spin {
        animation: spin 2s linear infinite;
    }    
}