#settingspage {
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  align-self: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-box-shadow: 0px 0px 50px 3px rgba(0, 0, 0, 0.52);
  -moz-box-shadow: 0px 0px 50px 3px rgba(0, 0, 0, 0.52);
  box-shadow: 0px 0px 50px 3px rgba(0, 0, 0, 0.52);
  background-color: rgba(90, 90, 90, 0.7);
  border-radius: 15px;
  color: white;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: auto;
  height: auto;
  transition: all 0.5s ease-in-out;
  transform-origin: center;
  z-index: 2147483646;
  overflow: auto;
  height: 65%;
}

#settingspage::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(120, 120, 120);
  border-radius: 15px;
  margin-left: 10px;
}

#settingspage::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0);
  border-radius: 5px;
  margin-left: 10px;
}

#settingspage::-webkit-scrollbar-thumb:hover {
  background-color: rgba(90, 90, 90, 1);
}



#settingspage>h1,
h2,
p {
    align-self: center;
}

#settingspage.show {
    display: block;
    animation: grow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

#settingspage.hide {
    animation: shrink 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    opacity: 0;
}

@keyframes grow {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes shrink {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

.wallpaperselect {
    background: none;
    padding: 0;
    border-radius: 15px;
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid;
    transition: transform 0.3s ease-out;
}

.wallpaperselect:hover {
    transform: scale(1.2);
}

.wallpaperselect.selected {
    border: 5px solid blue;
    box-shadow: inset 0 0 0 5px blue, inset 0 0 0 6px black;
}

.wallpaperbtn {
    width: 100px;
    height: auto;
    border: 1px solid;
    background: none;
    padding: 0;
    border-radius: 15px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.wallpaperbtn.selected {
    border: 5px solid blue;
}


.uploadwall {
  display: block;
  margin: 20px auto;
}

.uploadwall::file-selector-button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #6e776e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.uploadwall::file-selector-button:hover {
  scale: 1.1;
  border-radius: 10px;
}

.imgupload {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #6e776e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.imgupload:hover {
  scale: 1.1;
  border-radius: 10px;
}


.settingshr {
    border: 0;
    height: 0;
    box-shadow: 0 0 10px 1px white;
}

.settingshr:after {
    content: "\00a0";
}
.toggle-container {
  display: flex;
  justify-content: center; 
  align-items: center;
  margin-bottom: 10px;
  align-self: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
  align-self: center;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input[type="checkbox"]:checked + .toggle-slider {
  background-color: #2196F3;
}

input[type="checkbox"]:checked + .toggle-slider:before {
  transform: translateX(24px);
}

#toggleLabel {
  margin-left: 10px;
}
