 .content-div {
            display: none;
            margin-top: 0px;
            min-width: 180px;
            padding: 10px;
            border: 0px solid #ccc;
            background: url(''),radial-gradient(circle at center, #000 0%,#382e2e 50%, #000 100%);
            color:#fff;
        }

        .content-div.active {
            display: block;
            
        }
        .content-div1 {
            display: none;
            margin-top: 10px;
            max-width: 200px;
            padding: 10px;
            border: 1px solid #ccc;
        }

        .content-div1.active {
            display: block;
        }

        #defaultDiv {
            display: block;
            min-width: 180px;
            background-color: #f0f0f0;
            padding: 20px;
        }

        .active {
            display: block;
        }

        .dropdown {
            position: fixed;
            top: 10px;
            right: 10px;
        }

        .dropbtn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
        }

        .menu-icon {
            width: 40px;
            height: 40px;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 50px;
            
            
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .dropdown-content a {
            color: black;
            padding: 5px 5px;
            text-decoration: none;
            display: block;
            z-index: 1000;
        }

        .dropdown-content a:hover {
            
            z-index: 1000;
        }

        .dropdown:hover .dropdown-content {
            display: block;
            z-index: 1000;
        }

        

        .tooltip {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 220px;
            background-color: #fff;
            color: #000;
            text-align: center;
            border-style: solid;
             border-width: 2px; 
//   border-radius: 5px;
            padding: 5px;
            position: absolute;
            z-index: 99;
            top: 125%; /* Position the tooltip above the image */
            left: 400%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        .login-button {
        display: inline-block;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: bold;
        color: #000;
        background-color:white;
        border: none;
        border-radius: 50px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
    }

    .login-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    }

    login-button:active {
        transform: translateY(0);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .login-dropdown {
    position: fixed;
    top: 15px;
    right:120px;
    z-index: 1000;
}

.login-dropbtn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.login -icon {
    width: 40px;
    height: 40px;
}
img:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease 0s;
}

img:active {
    transform: translateY(0px);
}
    
    
    

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 300px;
    text-align: center;
}
#lockScaleSwitch {
    display: none;
}

.slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider:before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

#lockScaleSwitch:checked + .slider {
    background-color: #2196F3;
}

#lockScaleSwitch:checked + .slider:before {
    transform: translateX(26px);
}

label[for="lockScaleSwitch"] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
/* -------- MOBILE FRIENDLY STYLES -------- */
@media screen and (max-width: 768px) {

  .main-container,
  .controls_pane,
  .left_pane,
  .right-pane,
  .center-pane,
  .imageThumbnails {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    box-sizing: border-box;
  }

  .left_pane > *,
  .controls_pane > * {
    transform: scale(1) !important;
    width: 100% !important;
  }

  .center-pane {
    border: none;
    margin: 0 auto;
    padding: 5px;
  }

  .canvas-page {
    width: 100% !important;
    padding: 5px;
    border-width: 2px;
  }

  .modal-content {
    width: 90% !important;
    margin: 30% auto;
  }

  .dropdown,
  .login-dropdown {
    top: 5px;
    right: 5px;
    z-index: 1000;
  }

  .dropdown-content {
    right: 0;
    width: 100% !important;
  }

  .tooltip .tooltiptext {
    left: 50% !important;
    top: 130% !important;
    transform: translateX(-50%) !important;
  }

  #canvasContainer {
    padding: 10px;
    overflow-x: auto;
    width: 100% !important;
  }

  canvas {
    width: 100% !important;
    height: auto !important;
  }
}
