body {
    margin: 0;
    padding: 0;
    display: grid;
    user-select: none;
}

.clicker {
    width: 100%;
    text-align: center;
}

.clicker img {
    position: relative;
    height: 175px;
    width: 175px;
    transition: transform 0.5s; /* Add a transition property for the transform with a duration of 1 second */
}

.clicker img:hover {
    transform: scale(1.2);
}

.clickingpower {
    float: right;
}

.redirect {
    display: block;
    background-color: lightgrey;
    text-align: center;
    margin: auto;
    width: 200px;
    border-radius: 20px;
}

.gamefunctions {
    float: right;
}

.Score {
    text-align: center;
    margin: auto;
    border-radius: 20px;
    display: block;
    background-color: lightgrey;
    width: 300px;
}

.clickersection {
    width: 60%;
    float: left;
}

.topsection {
    width: 100%;
    height: 350px;
}

.settings {
    width: 40%;
    margin: auto;
    text-align: center;
    display: flex;
    align-items: center;
}

.redirect h3 {
    font-size: 10;
    text-decoration: none;
}

.clickme {
    text-align: center;
    margin: auto;
    background-color: lightgrey;
    display: block;
    border-radius: 20px;
    width: 300px;    
}

.clickme a {
	color: black;
}

.shop {
    margin: auto;
    text-align: center;
}

.shop button {
    width: 350px;
    text-align: center;
    margin: auto;
}

.basicsection,
.normalsection,
.advancedsection,
.professionalsection,
.opsection,
.alien,
button { 
    border-radius: 20px;
}

.button:hover {
    background-color: dodgerblue; /* Darker blue shade on hover */
}

/* Apply these styles to your existing buttons in the HTML */
.basicsection button,
.normalsection button,
.advancedsection button,
.professionalsection button,
.opsection button,
.alien button {
    background-color: deepskyblue; /* Blue shade */
    color: white;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.basicsection button:hover,
.normalsection button:hover,
.advancedsection button:hover,
.professionalsection button:hover,
.opsection button:hover,
.alien button:hover {
    background-color: dodgerblue; /* Darker blue shade on hover */
}

.autoclick {
    display: block;
    text-align: center;
    background-color: lightgrey;
    border-radius: 20px;
    width: 200px;
    height: 175px;
    margin: auto;
    border: 2px solid black;
}

.achivements {
    display: block;
    text-align: center;
    background-color: lightgrey;
    border-radius: 20px;
    width: 200px;
    height: 175px;
    margin: auto;
    border: 2px solid black;
}

.rebirth {
    display: block;
    background-color: #ccc;
    width: 200px;
    height: 175px;
    margin: auto;
    border-radius: 20px;
    border: 2px solid black;
}

.redirect a {
    text-decoration: none;
}

.autoclick span {
    text-decoration: underline;
}

.autoclick button {
    width: 150px;
}

#adminOverlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    padding: 20px;
}

/* Style for the dimmed background */
#overlayBackground {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#contextMenu {
    position: absolute;
    background-color: white; /* Default background color */
    color: black; /* Default text color */
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 3;
    padding: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
}

#contextMenu button {
    width: 100px;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: deepskyblue;
    color: white; /* Default button text color */
    transition: background-color 0.3s;
    text-align: center;
}

#contextMenu button:hover {
    background-color: dodgerblue;
}

#contextMenu a {
    text-decoration: none;
    color: white; /* Default link color */
}

/* Add this rule for dark mode */
.dark-mode #contextMenu {
    background-color: black;
    color: white;
}

.dark-mode #contextMenu button {
    background-color: deepskyblue;
    color: white;
}

.dark-mode #contextMenu button:hover {
    background-color: dodgerblue;
}

.dark-mode #contextMenu a {
    color: white;
}

.fileButton {
    width: 100px;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: deepskyblue;
    color: white; /* Default button text color */
    transition: background-color 0.3s;
    text-align: center;
}

.fileButton:hover {
    background-color: dodgerblue;
}

/* Optional: Style the file input to be hidden */
#importFile {
    display: none;
}

#achievementModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background-color: #fff;
    border: 2px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 4;
    padding: 20px;
}

#achievementModalClose {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
}

#achievementModalContent {
    text-align: left;
}
