@font-face {
  font-family: sans;
  src: url(assets/IBMPlexMono-SemiBold.ttf);
}

/* Dotted background configuration */
:root {
  --dot-size: 1px;           /* Change dot size here */
  --dot-spacing: 50px;       /* Change distance between dots here */
  --dot-color: #969696;      /* Change dot color here */
}

body {
color: rgb(121, 121, 121);
text-transform: uppercase;   
font-family: "sans";
    display: flex;
 font-weight: 700;
 justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  background-color: oklch(98.511% 0.00011 271.152);
  font-feature-settings: 'ss04' on, 'ss02' on;
  font-size: 12px;
  transition: background 1s ease;
  overflow: hidden;
}

/* Dotted background - only for index.html */
body.dotted {
  background-image: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent var(--dot-size));
  background-size: var(--dot-spacing) var(--dot-spacing);
}

@media (max-width: 770px) {
  body {
    font-size: 12px;
  }
}

#gradient {
  position: absolute; /* Positioned absolutely to not interfere with other content */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Offset to ensure perfect centering */
  width: 300px; /* Size of the circle */
  height: 300px; /* Size of the circle */
  border-radius: 50%; /* Makes it a circle */

  background: radial-gradient(circle, #FFD194, #70E1F5); /* Default gradient */
  z-index: -1; /* Makes sure the gradient stays in the background */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease, background 1s ease;
}

body.breathing-active #gradient {
  opacity: 0;
}


.weather {
  position: absolute;
  top: 22px;
  left: middle;
  margin: 0; /* Remove any default margin */
  padding: 0; /* Optional: remove padding */
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.breathing-active .weather {
  opacity: 0;
}

.weather .grid-container {

  display: grid;
  grid-template-columns: auto auto;
  gap: 0px; /* Add small spacing between grid items */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */

}

.weather .label {
  text-align: left;
}

.weather .value {
  text-align: left;
  padding-left: 40px;
}

a:link {
  color: rgb(0, 0, 0);
  text-decoration: none;

}

a:visited {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

a:hover {
  color: #fafafa;
}

#countdown-button {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: rgb(107, 107, 107);
  font-family: "sans";
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 30px;
  cursor: pointer;
  mix-blend-mode: exclusion;
  z-index: 10;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#countdown-button:focus,
#countdown-button:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

