@import "color_font_size.css";

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--outerBackground);
    color: var(--lightFontColor);

    font-family: Roboto_Light, sans-serif;
    font-size: 15px;

    overflow: hidden;
}

button {
    border-radius: 8px;
    border: 1px solid var(--lightFontColor);
    background-color: var(--innerBackground);
    padding: 10px 15px;
    margin: 15px 10px;

    color: var(--lightFontColor);
    font-size: 17px;
    text-decoration: none;

    justify-content: center;
    align-items: center;
    align-content: center;

    display: flex;
    width: fit-content;
    min-width: 50px;
    transition: all 0.4s;
}

button:hover {
    transform: scale(1.05);
    cursor: pointer;
}

#erase_paint {
    position: absolute;
    left: 0;
    top: 0;
    margin: 5px;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 5px;
    width: 70px;

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

img {
    max-height:100%; 
    max-width:100%;
}

.example_image {
    margin: 20px;
    max-height: 30vh;
}

ol, p {
    margin: 10px 25px;
    padding: 10px;
}
li {
    padding: 6px;
}

h1 {
    cursor: pointer;
    font-family: Roboto_Bold, sans-serif;
}
h2 {
    align-self: center;
}

.row_container {
    display: flex;
    flex-direction: row;
}

.col_container {
    display: flex;
    flex-direction: column;
}

.content {
    max-width: 100vw;
    width: 100vw;
    height: 80vh;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
}
#canvas_container {
    align-items: center;
    position: relative;
    touch-action: none;
}

#image_container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    width: fit-content;
    max-height: calc(80vh - 70px);
    height: calc(80vh - 70px);
}

#submitted {
    position: absolute; 
    top: 35%; 
    color: var(--outerBackground);

    display: none;
    align-items: center;
}
 .msg h2 {
    padding: 0;
    margin: 0;
    font-family: Roboto_Bold, sans-serif;
 }
.msg {
    background-color: #ffffffee;
    padding: 0 15px;
    border-radius: 12px;
    margin: 0;
}

#image_info {
    display: none;
}

.placeholder {
    height: 70px;
}
.controls {
    height: 50px; 
    position: absolute; 
    bottom: 0; 
}

.controls button {
    margin: 0 10px 10px;
}

@media only screen and (min-width:800px) {
    #image_info {
        display: flex;
        height: 20px;
        padding-top: 3px;
        font-size: 17px;
        position: absolute;
        bottom: 60px;
    }
    #image_container {
        max-height: calc(80vh - 70px - 20px);
        height: calc(80vh - 70px - 20px);
    }
    .placeholder {
        height: 90px;
    }
}

@media only screen and (max-width:400px) {
    #example_container {
        flex-direction: column;
        overflow: auto;
        justify-content: start;
    }
}