@font-face {
  font-family:'Floral';
  src: url('Retro Floral.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family:'PT Sans';
  src: url('PTSansNarrow-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.hidden {
 display: none !important;
}

.loggerdiv {
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  border-radius: 25px;
  background-color: whitesmoke;
  border-width: 3px;
  border-style: solid;
  border-color: #c5c5c5;
  width: clamp(0px,50%,400px);
}

.checktext {
  font-family: sans-serif; 
  color: black;
  margin: auto;
  font-size: 0.7em;
  text-align: left;
  display: flex;
  margin-top: 5px
}

input[type="checkbox"] {
  accent-color: #4CAF50; /* Green color when checked */
}

.clip-wrapper {
  margin: auto;
  position: relative;
  width: clamp(150px, 40vw, 375px);
}

#Kettle .clip-wrapper{
  width: clamp(250px, 40vw, 375px);
}

#literRange {
  width: 100%;
  height: 67%;
  background: #fff0;
  appearance: none;
  position: absolute;
  bottom:0;
  left:50%;
  writing-mode: vertical-lr;
  transform: translateX(-50%) rotate(180deg) translateY(+6.5%);
}

#literRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}
#literRange::-moz-range-thumb {
    width: 0;
    height: 0;
    background: transparent;
    border: none;
}
#literRange::-ms-thumb {
    width: 0;
    height: 0;
    background: transparent;
    border: none;
}
#betingelser {
  margin-bottom:5px;
  margin: auto;
}

.subtext {
  font-family: sans-serif; 
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin: auto;
  max-width: 60vw;
}

#spline-container {
  width: clamp(300px, 30vw, 500px);
  height: clamp(300px, 30vw, 500px);
  margin: auto;
  margin-top: -6vh;
}

@media (max-aspect-ratio: 1/1) {
  #spline-container {
    margin-top: 2vh;
  }

  .loggerdiv {
    width: 80%;
  }
}

#passform {
  margin: 30px;
  color: black;
}

.kodetekst {
  font-size: 1.5em;
}

.titletext {
  font-size: 1.5em;
  color:black;
}

.subtitletext {
  font-size: 1em;
  color: #777777;
}

#logcounter {
  user-select: none;
  pointer-events: none;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-40%);
  font-size: 3em;
}

.kodesubtekst {
  font-size: 1em;
  color: #666666;
}

.vidrebtn {
  font-family:'Floral', sans-serif;
  border-radius: 50px;
  padding: 12px;
  background: linear-gradient(45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  border-style: solid;
  cursor: pointer;
  border-width: 3px;
  border-color: white;
  color: white;
  font-size: clamp(1em, 3vw, 1.5em);
}

.buttonflex {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}

.inputfield {
  margin-bottom: 10px;
  margin-top: 7px;
  font-size: 1.5em;
  border-radius: 7px;
  border-color: black;
  border-style: solid;
  width: 90%;
}

#logbtn {
  font-size: clamp(30px, 3vw, 50px);
  font-family:'Floral', sans-serif;
  border-radius: 50px;
  padding: 20px;
  background: linear-gradient(45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  border-style: solid;
  border-color: white;
  cursor: pointer;
  border-width: 3px;
  color: white;
}

#instabtn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;
  bottom: 10px;
  left: 15px;
}

.center {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#dateInput {
  margin-bottom: 10px;
  margin-top: 7px;
  font-size: 1.5em;
  border-radius: 7px;
  border-color: black;
  border-style: solid;
  width: fit-content;
  text-align: center;
}

#editBtn {
  font-family:'PT Sans';
  position:fixed;
  bottom: 14px;
  right: 14px;
  font-size:1.5em;
  color:white;
}

body {
  font-family: 'Floral', sans-serif;
  color: white;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  height: 100vh;
  text-align: center;
}

h1 {
  font-size: clamp(16px, 30vw, 200px);
  margin: 0;
  margin-bottom: -0.2em;
  margin-top: -0.1em;
}

h2 {
  margin: 0;
  font-size: clamp(16px, 10vw, 75px);
}

h3 {
 margin: 0;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#timeline {
  width:clamp(50px,80vw,500px);
  margin:auto;
  margin-top:50px;
  text-align:left;
  display:inline-block;
  font-family:'PT Sans';
  transform: translateX(5%)
}

.timeLog {
  border-left-style: solid;
  border-left-color: white;
  border-left-width: 3px;
  padding-left:20px;
  margin-bottom: 100px;
}

.timeLogCook {
  font-size:5em;
  margin-bottom: -15px;
}

.timeLogPlace {
  font-size:clamp(30px,4vw,45px);
}

.timeLogTime {
  font-size:1.2em;
}

#backbtn {
  z-index: 10;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;
  top: 10px;
  left: 10px;
}

#timelinebtn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;
  bottom: 10px;
  right: 15px;
}

.instaLink {
  color: white;
  font-size: 1.5em;
}

.sletBtn {
  color: red;
  font-size: 1.7em;
  cursor: pointer;
}
