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

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.bottom-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-icons button {
    margin: 0 -13px;
    border: none;
    background: none;
    padding: 10px;
    cursor: pointer;
    transition: transorm .3s, box-shadow .3s;
}

.icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.icons button {
    margin: 0 30px;
    border: none;
    background: none;
    cursor: pointer;
    transition: transorm .3s, box-shadow .3s;
}

.bottom-icons img {
    width: 50px;
    height: 125px
}


.bottom-icons button:hover, .icons button:hover, .button-active {
    transform: scale(1.1);
    box-shadow: 0.4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.icon-button button {
    border: none;
    background: none;
    padding: 10px;
    cursor: pointer;
    transition: transorm .3s, box-shadow .3s;
}

.icons button img,
.bottom-icons .icon-button img {
    width: 62px;
    height: 80px
}

.eraser-icon img,
.fill-icon img {
    width: 62px;
    height: 95px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 70%;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#drawingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.button-row {
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-top: 1px solid #ccc;
}

button {
    margin: 0 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* styles for the selected size picker button */
.size-picker.selected {
    border: 2px solid #000;
    border-radius: 50%;
}

@media only screen and (min-width: 1025px) {
    #zoom_out {
        position: absolute;
        right: 0%;
        bottom: 70%;
    }

    /* #redo{
    position: absolute;
    bottom: 3%;
    left: 11%;
} */

    /* #undo{
    position: absolute;
    bottom: 3%;
    left: 5%;
} */
}

/* Tablet view (iPad Mini)*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .icons button {
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .bottom-icons button {
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .icons button img {
        width: 62px;
        height: 85px;
    }

    /*.eraser-icon
    {
        display: flex;
        width: 110px;
        height: 125px;
    }
    .fill-icon{
        display: flex;
        width: 110px;
        height: 125px;
    }*/


    .zoom_out-icon img {
        display: flex;
    }

    .zoom_in-icon img {
        display: flex;
    }

    #home {
        display: flex;
        width: 90px;
        height: 90px;
    }

    /* #redo{
        position: fixed;
        top: -77%;
        right: 0%;
    } */

    #zoom_in {
        padding: 0;
        width: 62px;
        height: 80px;
    }

    #zoom_out {
        padding: 0;
        width: 62px;
        height: 80px;
    }
}

/* styles for mobile devices 
@media only screen and (max-width: 767px) {
    body {
      font-size: 12px;
      width: 100%;
      margin: 0;
    }
  }*/