
:root {
    --tool-height: 50px;
}

body {
    margin: 0;
}

* {
    color: var(--text-main-color);
}

#background {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    gap: 10px;
}

#main-content {
    flex: 1 1 0;
}

@media (width < 700px) {
    #main-content, #tool-div {
        margin: 20px;
    }

    #background {
        align-items: stretch;
    }
}

@media (width >= 700px) {
    #main-content, #tool-div {
        width: 80%;
    }

    #background {
        align-items: center;
    }
}

.main-box {
    border: 5px solid var(--main-color);
    border-radius: 10px;
    background-color: var(--box-background-color);
}

#tool-div {
    height: var(--tool-height);
    display: flex;
    flex-direction: row;
    margin-top: 30px;
}

.nav-button {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: black;

    width: 100px;
}

/* class names that are set in the svg files */
.menu-icon {
    width: 100%;
    height: 100%;
}

.icon-path {
    fill: var(--main-color)!important;
}

#style-picker-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
}

#style-picker {
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

#style-picker-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;

    background-color: var(--background-color);
    border: 1px solid var(--main-color);
}

#style-picker-border {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
}

#style-picker-button::before {
    content: "";
    display: block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    clip-path: circle(46%);
}


#style-picker-button > img {
    width: var(--tool-height);
    height: 100%;
    position: relative;
    top: -100%;
    clip-path: circle(40%);
}

#style-picker-button {
    position: relative;
    top: 0%;
    height: 100%;
    padding: 2px;
}

#style-selector {
    visibility: hidden;
    height: var(--tool-height);
    border: 1px solid black;
    background-color: white;
    z-index: 1;
}

.style-select {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-top: 0;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    background-color: var(--background-color);
}

.style-picker-show {
    margin-left: auto;
}

.style-picker-show, .style-picker-show > img {
    height: 100%;
}

.style-name-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
}

#style-picker-wrapper:hover~#style-selector, #style-selector:hover {
    visibility: visible;
}
