/* Reset margin and padding of all elements*/
* {
    margin: 0;
    padding: 0;
  }

body {
    background-color: #54626F;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center;
}

/* Language Configuration */
#lang-config {
    position: relative;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    padding: 10px 10px 10px 10px;
    margin: 20px;
}

#lang-config input{
    margin: 10px 10px 10px 10px;
}

/* Phone screen styles */
#phone-home-screen {
    position: relative;
    display: inline-block;
    z-index: 0;
    height: 800px;
    width: 375px ;
    background-image: url(resources/img/home-screen.png);
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    vertical-align: bottom;
}

#phone-border{
    z-index: 1;
    position: absolute;
    height: 800px;
    width: 375px ;
    background-image: url(resources/img/screen-border.png);
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    vertical-align: bottom;
}

#phone-lock-screen {
    z-index: 2;
    position: absolute;
    transform: translateY(0px);
    height: 800px;
    width: 375px;
    background-image: url(resources/img/lock-screen.png);
    background-size: cover;
    background-repeat: no-repeat;
}

/* User feedback styles */
#incorrect {
    display: none;
    position: absolute;
    height: 200px;
    width: 200px;
    left: 90px;
    top: 350px;
    background-image: url(resources/img/incorrect.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#correct {
    display: none;
    position: absolute;
    height: 200px;
    width: 200px;
    left: 90px;
    top: 350px;
    background-image: url(resources/img/correct.png);
    background-size: cover;
    background-repeat: no-repeat;
}


/* Canvas container */
.canvas-button {
    grid-area: footer;
    height: 50px;
    width: 100px;
    transform: scale(1.0);
    background-image: url(resources/img/submit-button.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#canvas-container {
    display: grid;
    grid-template-columns: 1/3 1/3 1/3;
    grid-template-rows: auto;
    grid-template-areas:
      "header header header"
      "canvas canvas canvas"
      "button1 button2 button3";
    justify-content: center;
    margin-top: 250px;
    grid-gap: 5px;
}

#prompt {
    grid-area: header;
    margin: 10px 0px;
}

#canvas {    
    grid-area: canvas;
    background-color:white;
    border: 2px solid; 
    border-color: black; 
    cursor: crosshair;
}

/* Buttons */
#reset-button {
    grid-area: button1;
    background-image: url(resources/img/reset-button.png);
}

#erase-button {
    grid-area: button2;
    background-image: url(resources/img/erase-button.png);
}

#submit-button {
    grid-area: button3;
    background-image: url(resources/img/submit-button.png);
}