:root {
  --background-color: rgb(255, 255, 255);
  --text-color: #000000;
  --card-border-color: #333;
  --button-border-color: #333;
  --button-hover-bg: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --background-color: #000000;
  --text-color: #ffffff;
  --card-border-color: #ffffff;
  --button-border-color: #ffffff;
  --button-hover-bg: rgba(255, 176, 176, 0.5);
}

body{
    background: var(--background-color);
    color: white;
    text-align: center;
    font-size: 36px;
    margin-top: 60px;
}

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

#btn{
    background: none;
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    margin-left: auto;
    margin-right: auto;
    padding: 8px 16px 8px 16px;
    
}

.card{
    border: 0.1px solid white;
    border-radius: 18px;
    width: 630px;
    height: 760px;
    margin: 10px auto 10px auto;
    padding: 20px;
    background-image: url("/images/giphy1.gif");
    background-size: cover;
}

.count{
   font-size: 58px;
   margin-bottom: 0;
}

#number{
    margin-top: 0;
    text-decoration: underline white;
}

button{
    border-radius: 18px;
    margin-top: 5px;
    font-size: 38px;
    display:block;
    margin-bottom: 60px;
    color: aliceblue;
    border: none;
    gap: 122px;
    padding: 6px;
}
button:hover{
    background-color: rgba(255, 176, 176, 0.5);
}

.inc, .dec{
    display: inline-block;
    width: 220px;
}

.inc{
    background: blue;
}

.dec{
    background: tomato;
    margin-left: 16px;
}
.sv, .rt{
    display: inline-block;
    width: 220px;
}
.sv{
    background: green;
}

.rt{
    border: 1px solid white;
    background: transparent;
    margin-left: 16px;
    background-color: rgba(0, 0, 0, 0.2);
}

.history{
    margin: auto;
    width: 300px;
    display:inline-block;
}

#history{
    width: 300px;
    height: inherit;
    display:inline-block; 
    margin: auto;
    border: 1px solid white;
    padding: 8px;
    margin-bottom: 0;
    font-size: large;
   font-family: fantasy;
}