html {
  font-family: 'Press Start 2P', cursive; 
  font-size: 20px;
  letter-spacing: 0.8px;
  min-height: 100vh;
  color: #d8e9ef;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('bg-normal.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
  
  margin: 0px;
  padding:0px;
}

a.h1 {
  color: rgb(84, 73, 73);
  margin: 20px 0 20px 0;
  text-align: center;
  font-size: 55px;
  text-decoration: none;
}

a.h1:hover {
  text-decoration: wavy underline;
  color: rgb(57, 49, 49);
}

p {
  color: rgb(84, 73, 73);
  margin: 0;
}

.app-message {
  color: rgb(84, 73, 73);
  height: 20px;
  margin: 10px auto 20px auto;
}

.app-container {
  color: rgb(84, 73, 73);
  background: rgb(231, 227, 227, 0.5);
  border: 2px solid #dcdee7;
  border-radius: 15px;
  width: 400px;
  height: 365px;
  margin: 0;
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
  margin-right: 40px;
  box-shadow: #585151 2px 4px 8px 2px;
}

.app-circle {
  position: relative;
  margin: 40px auto 0 auto;
  width: 200px;
  height: 200px;
}

.circle-shape {
  pointer-events: none;
}

.semi-circle {
  position: absolute;
  width: 100px;
  height: 200px;
  box-sizing: border-box;
  border: solid 6px;
}

.left-side {
  top: 0;
  left: 0;
  transform-origin: right center;
  transform: rotate(0deg);
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  border-right: none;
  z-index: 1;
}

 .right-side {
  top: 0;
  left: 100px;
  transform-origin: left center;
  transform: rotate(0deg);
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  border-left: none;
}

.circle {
  border-color: #ffffff;
}

.circle-mask {
  border-color: #ffffff;
}

.app-counter-box {
  font-family: 'Share Tech Mono', monospace;
  font-size: 250%;
  position: relative;
  top: 50px;
  color: #d8e9ef;
}

button {
  position: relative;
  top: 50px;
  font-size: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  background: none;
  outline: none;
  color: rgb(84, 73, 73);
  font-family: 'Share Tech Mono', monospace;
}

button:hover {
  cursor: pointer;
  text-decoration: wavy underline;
}

.quote-container {
  color: rgb(84, 73, 73);
  background: rgb(231, 227, 227, 0.5);
  border: 2px solid #dcdee7;
  border-radius: 15px;
  width: 400px;
  height: 190px;
  margin: 0;
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: #585151 2px 4px 8px 2px;
  h2 {
    font-size: 26px;
    margin-left: -150px;
  }
  #reset {
    margin: 0 auto;
    margin-top: -35px;
    padding-bottom: 2px;
    float: right;
    cursor: pointer;
    background: rgb(231, 227, 227, 0.5);
    border: 1px solid #dcdee7;
    text-decoration: none;
    box-shadow: #585151 0px 4px 8px 0px;
    &:hover {
      text-decoration: none;
      background: rgba(211, 207, 207, 0.5);
    }
  }
  .quote {
    font-family: 'Share Tech Mono', monospace;
    font-size: 24px;
    margin: 0 auto;
    padding: 10px;
    width: 300px;
    text-align: center;
  }
}

.todolist-container {
  color: rgb(84, 73, 73);
  background: rgb(231, 227, 227, 0.5);
  border: 2px solid #dcdee7;
  border-radius: 15px;
  width: 400px;
  height: 120px;
  margin: 0;
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: #585151 2px 4px 8px 2px;
  a {
    text-decoration: none;
    color: rgb(84, 73, 73);
    margin-top: 20px;
    &:hover {
      text-decoration: wavy underline;
      color: rgb(57, 49, 49);
    }
  }
}

.link-container {
  margin-top: 0px;
}

.link-container a {
  display: inline-block;
}

.link-container a:hover {
  text-decoration: wavy underline;
  color: rgb(57, 49, 49);
}

.right-side-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-shrink: 0;
  margin-left: 40px;
}

.containers-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 54, 54, 0.5);
  display: flex;
  justify-content: center;
  align-items: center; 
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 10;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-box {
  background: #aea5a5;
  border-radius: 10px;
  padding: 25px 35px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s ease;
  height: 170px;
}

@keyframes popIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

hr {
    margin: 0;
  }
  h2 {
    font-size: 26px;
    }
  #yes-btn {
    margin: 0 auto;
    margin-top: -35px;
    margin-left: 40px;
    padding-bottom: 2px;
    float: left;
    cursor: pointer;
    background: rgb(231, 227, 227, 0.5);
    border: 1px solid #dcdee7;
    &:hover {
      cursor: pointer;
      box-shadow: #585151 2px 4px 8px 2px;
    }
  }
  #no-btn {
    margin: 0 auto;
    margin-top: -35px;
    margin-right: 50px;
    padding-bottom: 2px;
    float: right;
    cursor: pointer;
    background: rgb(231, 227, 227, 0.5);
    border: 1px solid #ffffff;
    &:hover {
      cursor: pointer;
      box-shadow: #585151 2px 4px 8px 2px;
    }
  }