@font-face {
    font-family: mtsr_black;
    src: url(./fonts/Montserrat-Black.ttf);
}

@font-face {
    font-family: mtsr_bold;
    src: url(./fonts/Montserrat-Bold.ttf);
}

@font-face {
    font-family: mtsr_regular;
    src: url(./fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: mtsr_medium;
    src: url(./fonts/Montserrat-Medium.ttf);
}

@font-face {
    font-family: mtsr_thin;
    src: url(./fonts/Montserrat-Thin.ttf);
}

@font-face {
    font-family: mtsr_light;
    src: url(./fonts/Montserrat-Light.ttf);
}

@font-face {
    font-family: mspace_bold;
    src: url(./fonts/SpaceMono-Bold.ttf);
}

@font-face {
    font-family: mspace_regular;
    src: url(./fonts/SpaceMono-Regular.ttf);
}

html {
    overflow-x: hidden;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

body {
    background-color: #000000;
    overflow: hidden;
    margin: 0 auto;
    height: 100%;
}

.displayLeft {
    float: left;
    position: relative;
    width: calc(100% - 500px);
    height: 100%;
    background-color: #000000;

    display: flex;
    justify-content: center;
    align-items: center;
}

.displayRight {
    float: right;
    position: relative;
    width: 450px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.toolbar {
    display: flex;
    position: absolute;
    top: 25px;


    font-family: mtsr_bold;
    font-size: 12.5pt;
    color: #FFFFFF;
    background-color: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 12.5px;
    padding-left: 12.5px;
    border-radius: 50px;
}

.toolbar img {
    width: 25px;
    height: auto;

    margin: 0;
}

.toolbar a {
    color: #FFFFFF;
    cursor: pointer;  
}

#tool {
    display: grid;
    
    border: 1px #646464 solid;
    border-radius: 8.5px;
    padding: 12.5px;
    background-color: #181818;

    margin-right: 12.5px;
    margin-left: 12.5px;
}

#tool2 {
    display: flex;
    
    border: 1px #646464 solid;
    border-radius: 8.5px;
    padding: 12.5px;
    background-color: #181818;

    margin-right: 12.5px;
    margin-left: 12.5px;
}

button#decrement {
    padding: 0px;
    background-color: #181818;
    border: none;
    padding-right: 12.5px;
    cursor: pointer;
}

button#decrement img {
    width: 20px;
    height: auto;
}

button#increment {
    padding: 0px;
    background-color: #181818;
    border: none;
    padding-left: 12.5px;
    cursor: pointer;
}

button#increment img {
    width: 20px;
    height: auto;
}

.password {
    font-family: mtsr_light;
    font-size: 25pt;
    color: #FFFFFF;
    letter-spacing: 1.5px; 
    margin: auto;
    text-align: center;
    position: absolute;
}

#lengthCounter {
    padding-top: 1px;
    width: 25px;
    text-align: center;
}

.passwordDisplay {
    font-family: mspace_bold;
    font-size: 25pt;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 25px;
}

.strengthContainer {
    margin-top: 200px;
    display: flex;
    gap: 5px;
    position: absolute;
}

.strengthPoint {
    flex: 1;
    height: 15px;
    width: 75px;
    background-color: #ccc;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.strengthPoint.red { 
    background-color: #F00000;
}

.strengthPoint.orange { 
    background-color: #FF8C00;
}

.strengthPoint.yellow { 
    background-color: #F0D000;
}

.strengthPoint.lightgreen { 
    background-color: #2E8B20;
}

.strengthPoint.green {
    background-color: #185527;
}

#settings-page {
    visibility: visible;
    display: flex;
    background-color: #181818;
    height: 100%;
    width: 450px;
    right: 0;
    position: absolute;
    padding: 25px;
}

.settings {
    display: grid;
    height: auto;
    width: 450px;
    right: 0;
    background-color: #181818;
    position: inherit;
    padding: none;
}

.settings h1 {
    font-family: mtsr_bold;
    font-size: 22.5pt;
    color: #FFFFFF;
    text-align: left;
    margin-bottom: 25px;
    margin-top: 12.5px;
    letter-spacing: 2px;
}

.settings p {
    font-family: mtsr_thin;
    font-size: 8pt;
    color: #FFFFFF;
    text-align: left;
    margin-top: 0;
    line-height: 25px;
    text-align: justify;
    margin-right: 50px;
}

.settings-links {
    display: grid;

    font-family: mtsr_thin;
    font-size: 12.5pt;
    color: #FFFFFF;
}

.settings-links img {
    margin-right: 25px;
}

.settings-links a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    margin-bottom: 25px;
}

.share-links {
    font-family: mtsr_thin;
    font-size: 12.5pt;
    color: #FFFFFF;
    line-height: 30px;
}

.share-links img {
    padding: 12.5px;
    background-color: #000000;
    border-radius: 25px;
    filter: invert(0);
}

.share-links img:hover {
    filter: invert(1);
}

.share-links a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    margin-bottom: 25px;
    top: 5px;
}

/* Container-Styling */
.toggle-container {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 30px;
}

/* Verstecktes Checkbox-Element */
.toggle-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Label-Styling (Switch-Hintergrund) */
.toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #312D2D;
  border-radius: 34px;
  transition: background-color 0.3s;
}

#toggle-display-name {  
    font-family: mtsr_thin;
    font-size: 12.5pt;
    color: #FFFFFF;
    text-align: center;
    margin-left: 75px;
    margin-top: -12px;
    width: auto;
    white-space: nowrap;
}

/* Toggle-Knopf */
.toggle-label::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* Checkbox aktiviert: Hintergrund und Knopf verschieben */
.toggle-checkbox:checked + .toggle-label {
  background-color: #229A40;
}

.toggle-checkbox:checked + .toggle-label::before {
  transform: translateX(30px);
}
