*,.quadrant{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body{
    font-family: roboto;
}

header{
    height: 200px;
    width: 100vw;
    background-color: rgb(183, 221, 255);
    overflow: hidden;
}

h1{
    display: inline-block;
    position: relative;
    color: rgb(105, 105, 167);
    height: 100%;
    width: fit-content;
    left: 50vw;
    font-size: 32pt;
    /* background-color: black; */
    padding: 10px;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    transform: translate(-50%,0);
}

.QpTitle{
    padding: 20px;
    padding-top: 60px;
    display: block;
    height: 100%;
    width: 100%;
}

.QpTitle:hover{
    transform: scale(1.1);
    background-color: rgb(158, 199, 235);
}

.canvasSizeLink{
    position: absolute;
    height: 80px;
    width: fit-content;
    padding: 15px;
    padding-top: 28px;
    top: 60px;
    right: 5vw;
    color: rgb(105, 105, 167);
    border: 2px solid black;
    background-color: rgb(187, 218, 245);
    font-size: 16pt;
    text-decoration: none;
}

.canvasSizeLink:hover{
    background-color: rgb(171, 199, 224);
    transform: scale(1.1);

}

.canvas64{
    display: inline-block;
    color: rgb(105, 105, 167);
    height: 100%;
    width: fit-content;
    font-size: 32pt;
    /* background-color: black; */
    padding: 10px;
    padding-top: 70px;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.devLogContainer{
    display: block;
    position: relative;
    top: 0;
    left: 0;
    height: fit-content;
    min-height: 100vh;
    width: 50vw;
    margin: auto;
    padding: 20px;
    padding-top: 1px;
    background-color: rgb(239, 239, 245);
    padding-bottom: 20vh;
}

.devlogH1{
    font-size: 58pt;
    padding-top: 50px;
}

.devLogContainer h2{
    font-size: 24pt;
}

.devLogContainer h3{
    font-size: 18pt;
}

.devLogList li{
    font-size: 16pt;
    text-indent: 10px;
    list-style: none;
}

.devLogList li p{
    font-size: 14pt;
    text-indent: 20px;
}

.canvas{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: fit-content !important;
    width: 600px;
    transform: translate(-50%,-50%);
    box-shadow: 0px 0px 2px 1px black;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    /* background-color: whitesmoke; */
}


.quadrant{
    display:block;
    position: relative;
    float: left;
    background-color: whitesmoke;
    height: 50px;
    width: 50px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    margin: -0.001px;
}

.colorSelector{
    display: block;
    height: fit-content;
    width: 120px;
    background-color: gainsboro;
    position: relative;
    top: 10vh;
    left: 100px;
    padding: 5px;
    margin-top: 10px;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.colorSelector span{
    display: block;
    width: 100%;
    cursor: pointer;
}

.colorSelector input,.colorSelector button{
    cursor: pointer;
    width: 110px;
}

.colorSelector p{
    padding: 2px;
    font-family: roboto;
    font-size: 12pt;
    cursor: pointer;
}

.colorInput{
    height: 60px;
    margin-bottom: 5px;
}

.fillBtn{
    display: block;
    width: 100%;
}

.fillColorInput{
    height: 60px;
    margin-bottom: 5px;
}

.colorTxtInput{
    font-size: 8pt;
}

.savePopupBG{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(24, 23, 28, 0.342);
    z-index: 999;
}

.savePopup{
    display: none;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%,-50%);
    background-color: rgb(197, 200, 231);
    height: 90vh;
    width: 70vw;
    z-index: 1000;
    border: 10px rgb(142, 144, 165) solid;
    padding: 25px;
}

.canvasImg{

    border: 2px black solid;
    height: fit-content;
    width: fit-content;
    margin: auto;
    padding: 10px;
}

.canvasImg img{
        background-color: whitesmoke;
}

#canvas{
    display: none;
}

footer{
    position: relative;
    display: block;
    height: 100px;
    width: 100vw;
    background-color: rgb(83, 83, 126);
    margin-top: 25vh;
}

footer a{
    height: fit-content;
    width: fit-content;
    color: whitesmoke;
    text-decoration: none;
    float: right;
    position: relative;
    top: 50%;
    transform: translate(0,-50%);
    padding-right: 20px;
    font-size: 16pt;
}

footer a:hover{
    color: rgb(207, 207, 214);
}

.devlogQPLogo{
    display: block;
    height: 192px;
    width: fit-content;
    position: absolute;
    Left: 0px;
    top: 0px;
    font-size: 42pt;
    color: rgb(105, 105, 167);
    padding: 20px;
    padding-top: 70px;
    font-weight: 600;
    text-decoration: none;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.devlogQPLogo:hover{
    transform: scale(1.1);
    color: rgb(82, 82, 141);
    background-color: rgb(108, 108, 163);
}

.devLogContainer h2{
    margin-top: 50px;
}


@media only screen and (min-height: 1300px) {
    footer{
        position: absolute;
        bottom: 0;
    }
}

@media only screen and (max-height: 1230px) {
    footer{
        margin-top: 21vh;
    }
}

@media only screen and (max-height: 1130px) {
    footer{
        margin-top: 13vh;
    }
}

@media only screen and (max-width: 1100px) {
    .colorSelector{
        left: 5px;
    }
}

@media only screen and (max-height: 1080px) {
    .colorSelector{
        top: 40px;
    }
    footer{
        margin-top: 8.8vh;
    }
}

@media only screen and (max-height: 1010px) {
    header{
        height: 90px;
    }
    header h1{
        padding: 0;
    }
    .QpTitle{
        padding: 30px;
    }
    .colorSelector{
        top: 100px;
        margin-top: 2px;
    }
    footer{
        margin-top: 22vh;
    }
    .devlogHeader{
        height: 200px;
    }
    .canvasSizeLink{
        height: 45px;
        width: 150px;
        font-size: 14pt;
        padding: 10px;
        font-weight: 600;
        top: 30px;
        right: 15px;
    }
}

@media only screen and (max-width: 900px) {
    .devlogHeader h1{
        position: relative;
        left: 25vw;
        padding-top: 70px;
        font-size: 32pt;
    }
    .devlogHeader a{
        padding-top: 75px;
        font-size: 28pt;
    }
}

@media only screen and (max-height: 950px) {
    footer{
        margin-top: 17vh;
    }
}

@media only screen and (max-height: 850px) {
    footer{
        margin-top: 8vh;
    }
    .colorSelector{
        top: 15px;
        margin-top: 2px;
    }
}

@media only screen and (max-width: 850px) {
    .canvas{
        /* position: absolute; */
        left: 99%;
        transform: translate(-100%,-35%);
    }
}

@media only screen and (max-height: 790px) {
    header{
        height: 40px;
    }
    header h1 a{
        padding: 4px;
        font-size: 18pt;
    }
    .QpTitle{
        padding: 10px;
    }
    .colorSelector{
        top: 10px;
        margin-top: 2px;
    }
    .canvas{
        /* position: absolute; */
            left: 99%;
            transform: translate(-100%,0%);
            top: 50px;
    }
    footer{
        margin-top: 12vh;
        height: 70px;
    }
    .canvasSizeLink{
        height: 28px;
        width: 100px;
        font-size: 10pt;
        padding: 4px;
        font-weight: 600;
        top: 10px;
        right: 5px;
    }
}

@media only screen and (max-height: 735px) {
    footer{
        margin-top: 7vh;
        height: 60px;
    }
}

@media only screen and (max-height: 720px) {
    footer{
        margin-top: 4vh;
        height: 60px;
    }
}

@media only screen and (max-height: 710px) {
    footer{
        margin-top: 3vh;
        height: 50px;
    }
}
