:root {
    --cat-color: #333;
    --ear-color: #605353;
    --shadow-color: #242424;
    --eye-color: #ffd249;
    --nose-color: #6f6060;
    --eye-width: 9px;
    --menu-btn-text: #000;
    --type-text: #000;
    --menu-btn-options-bg: #f9f9f9;
    --menu-btn-options-text: #000;
    --menu-btn-sessions-bg: #f0eeee;
    --menu-btn-sessions-text: #000;
    --input-bg: rgba(255, 255, 255, .6);
    --input-text: #000;
    --credit-color: #232323;
    --credit-color-history: #232323;
    --h1-color: #03045e;
    --gradient-start: #3c6483;
    --gradient-end: #014a81;
    --start-text: #232323;
    --stop-text: #232323;
    --stop-bg: hsl(239 100% 84% / 1);
    --start-bg: hsl(239 100% 86% / 1);
    --display-bg: #fcfcfc;
    --display-text: hsl(0deg 0% 22.32%)
}
body {
    display: grid;
    place-content: center;
    font-family: Raleway,Arial,sans-serif;
    -webkit-font-feature-settings: "lnum";
    -moz-font-feature-settings: "lnum";
    -ms-font-feature-settings: "lnum";
    -o-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background: linear-gradient(53deg,var(--gradient-start),var(--gradient-end));
    background-attachment: fixed;
    font-feature-settings: "ss09" on
}

.div-miffy {
    display: inline-block;
    grid-template-columns: 60vw;
    grid-template-rows: 60vw 60vw;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10vh;
    margin-bottom: 10vh;

}

@media (min-width: 900px) {
    .div-miffy {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    
    }
}

.display {
    background: var(--display-bg);
    padding: 15px 50px;
    font-size: 70px;
    line-height: 1.1;
    text-align: center;
    border-radius: 10px 10px 0 0;
    color: var(--display-text);
    width: 450px;
    box-sizing: border-box
}
.miffy-timer {
     grid-area: 2 / 1 / 3 / 2;
     height: auto;
}
.miffy-gif{
}
.miffy-container{
    grid-area: 1 / 1 / 2 / 2;
    height: 100%;
}

.miffy-gif-container{
    width: 100%;
    max-width: 100vw;
    margin: 0 0;
}
main{
    display: block;
}


.wrap {
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
}

.miffy-gif-container{
    width: 100%;
    max-width: 80vw;
    margin: 0 0;
}

.miffy-gif{
    width: 100%;
    height: 100%;
    margin: 0 0;
}

.timer-label{
    font-size: 4em;
    font: bold;
}

.timer-time-display-label{
    font-size: 5em;
    font: bold;
    color: red;
    align-items: center;
}

.timer-container{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.time-input-container{
    width: max-content;
}

.time-input{
    font-size: 2em;
    font: bold;
}

.timer-display-section{
}



/* CSS */
.timer-button-pushable {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.timer-button-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition:
    transform
    600ms
    cubic-bezier(.3, .7, .4, 1);
}

.timer-button-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(
    to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%
  );
}

.timer-button-front {
  display: block;
  position: relative;
  padding: 12px 27px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: white;
  background: hsl(345deg 100% 47%);
  will-change: transform;
  transform: translateY(-4px);
  transition:
    transform
    600ms
    cubic-bezier(.3, .7, .4, 1);
}

@media (min-width: 768px) {
  .timer-button-front {
    font-size: 1.25rem;
    padding: 12px 42px;
  }
}

.timer-button-pushable:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}

.timer-button-pushable:hover .timer-button-front {
  transform: translateY(-6px);
  transition:
    transform
    250ms
    cubic-bezier(.3, .7, .4, 1.5);
}

.timer-button-pushable:active .timer-button-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.timer-button-pushable:hover .timer-button-shadow {
  transform: translateY(4px);
  transition:
    transform
    250ms
    cubic-bezier(.3, .7, .4, 1.5);
}

.timer-button-pushable:active .timer-button-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.timer-button-pushable:focus:not(:focus-visible) {
  outline: none;
}