@import url("https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Ms+Madi&display=swap");

:root {
  --text: rgb(239, 229, 234);
  --background: rgb(11, 5, 8);
  --primary: rgb(216, 158, 179);
  --secondary: rgb(101, 165, 176);
  --accent: rgb(114, 166, 144);
  --mainFont: "Gowun Dodum", sans-serif;
  --titleFont: "Ms Madi", cursive;
}
body {
  display: flex;
  height: 100vh;
  background: var(--background);
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  font-family: var(--mainFont);
}

#title {
  font-size: 1.2rem;
  font-family: var(--mainFont);
  color: var(--text);

  position: fixed;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
}
h1{
  text-align: center;
  color: var(--text);
  font-family: 'Ms Madi', cursive;
  font-size: 5rem;
  animation-duration: 1s;
  margin: 0;
  position: absolute;
  top: 7%;
}
#instructions {
  font-size: 18px;
  margin-top: 10px;
  line-height: 1.5;
  font-family: "Dancing Script", cursive;
  color: #ffe6e1;
}
#controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: absolute;
  color: var(--text);
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 5rem;
}

#cycle-input {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 5px;
}

#cycle-input #breath-remaining label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

#cycles {
  width: 60px;
  padding: 5px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #fefefe;
  text-align: center;
}

#breath-remaining {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.2rem;
}

#canvas {
  display: block;
  margin: 0 auto -500px;

  filter: url("#blur") blur(1.5px);
  opacity: 0.9;

  &::before {
    content: "text";
  }
}

#candleStartButton {
  position: absolute;
  top: 0;
}

#candle {
  display: block;
  margin: 0 auto 30px;
  width: 550px;
  height: auto;
}

#filter {
  position: fixed;
}
#instructions {
  position: absolute;
  top: 20%;
  left: 50%;
  font-family: var(--mainFont);
  transform: translateX(-50%);
  font-size: 18px; 
  z-index: 10; 
}


#candleStartButton {
  background-color: #e1ecf4;
  border-radius: 3px;
  border: 1px solid var(--secondary);
  box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: black;
  cursor: pointer;
  display: block;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15385;
  margin: 0;
  outline: none;
  padding: 8px .8em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
  margin: 0 auto;
}

#star-button :hover,
#candleStartButton :focus {
  background-color: black;
  color: var(--background);
}

#candleStartButton :focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

#candleStartButton:active {
  background-color: var(--secondary);
  box-shadow: none;
  color: #2c5777;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black with transparency */
  align-items: center;
  justify-content: center;
}
h2{
  text-align: center;
}

.modal-content {
  background-color: rgb(101, 165, 176);
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  /* text-align: center; */
  color: #000000;
  font-family: "Gowun Dodum", sans-serif;
}


.close-button {
  color: #000000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #d4d4d4;
  text-decoration: none;
}

li{
  text-align: left;
}



#start-button {
  background-color: #fff;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  box-sizing: border-box;
  color: #0f1111;
  cursor: pointer;
  display: inline-block;
  font-family: "Amazon Ember",sans-serif;
  font-size: 13px;
  line-height: 29px;
  padding: 0 10px 0 11px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  width: fit-content;
}

#start-button:hover {
  background-color: #f7fafa;
}

#start-button:focus {
  border-color: #008296;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  outline: 0;
}