:root {
    --main-color: #cccccc;
    --text-color: black;
    --startbutton-color: yellow;
    --button-backgroud-color: #262626;
    --button-text-color: white;
    --overlay-color: rgba(125, 125, 125, 0.5);
}

.darkmode {
    --main-color: #262626;
    --text-color: white;
    --startbutton-color: rgb(147, 147, 50);
    --button-backgroud-color: white;
    --button-text-color: #262626;
    --overlay-color: rgba(0, 0, 0, 0.6);
}

body {
    background-color: var(--main-color);
}

.center {
    display: flex;
    justify-content: center;
}

.margin-top {
    margin-top: 100px;
}

.timer {
    font-size: 60px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.startbutton {
   background-color: var(--startbutton-color);
   color: var(--text-color);
   border: none;
   border-radius: 2em;
   width: 160px;
   height: 60px;
   font-size: 30px;
}

.startbutton:hover {
    color: yellow;
    background-color: black;
}

.form {
    margin: 0%;
}

.resetbutton {
   background-color: rgb(255, 0, 0);
   color: black;
   border: none;
   border-radius: 50%;
   margin-left: 50px;
   width: 5em;
   height: 5em;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1em;
   font-weight: bold;
}

.resetbutton:hover {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 30, 30);
}

.setings {
    width: 60%;
    height: 60%;
    background-color: rgba(102, 102, 102, 0.705);
    border-radius: 4px;
    padding-bottom: 100px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.text {
    color: white;
    justify-content: space-between;
    padding-left: 30px;
}

.overlay {
    background-color: var(--overlay-color);
    position: fixed;
    top: 0;
    bottom: 0px;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.xbutton {
    background-color: rgba(224, 224, 224, 0.863);
    color: rgb(58, 58, 58);
    justify-content: center;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    border: unset;
    height: 30px;
    margin: 30px;
}

.image {
    display: none;
} 

.setingcardheadline {
    display: flex;
    justify-content: space-between
}

.resetdiv {
    display: flex;
    align-items: end;
    justify-content: end;
    margin-right: 20px;
}

.colorChanger {
    color: white;
    margin-left: 30px;

}

.backgroundchanger {
    color: var(--button-text-color);
    background-color: var(--button-backgroud-color);
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    height: 30px;
    width: auto;
}

.backgroundchanger:hover {
    color: #262626;
    background-color: white;
    cursor: pointer;
}

.backbutton {
    color: rgb(212, 212, 255);
    text-decoration: none;
}

.divbackbutton {
    justify-content: end;
    display: flex;
    align-items: end;
    margin-right: 20px;
}

.backbutton:hover {
    color: white;
}

.darkmodebutton {
    color: var(--button-text-color);
    background-color: var(--button-backgroud-color);
    border: none;
    margin-left: 30px;
    height: 30px;
    width: auto;
    border-radius: 5px;
}

.darkmodebutton:hover {
    background-color: var(--button-text-color);
    color: var(--button-backgroud-color);
}