:root {
  --go-to-grey: #dddddd;
  --highlight-orange: #ff8c28;
}

/* https://github.com/garrettboatman/ForTheWolf/blob/master/fonts/Futura-Medium.woff */
@font-face { 
  font-family: Inconsolata-Light;
  src: url('/Fonts/Inconsolata/Inconsolata-Light.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: Inconsolata-Medium;
  src: url('/Fonts/Inconsolata/Inconsolata-Medium.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: IBM-Plex-Mono-Regular;
  src: url('/Fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: IBM-Plex-Mono-SemiBold;
  src: url('/Fonts/IBM_Plex_Mono/IBMPlexMono-SemiBold.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: IBM-Plex-Mono-Bold;
  src: url('/Fonts/IBM_Plex_Mono/IBMPlexMono-Bold.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: Jost-Regular;
  src: url('/Fonts/Jost/Jost-Regular.ttf');
  font-weight: normal;
}

@font-face { 
  font-family: Jost-SemiBold;
  src: url('/Fonts/Jost/Jost-SemiBold.ttf');
  font-weight: normal;
}



/* UTILITIES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8da6d;
    font-family: IBM-Plex-Mono-SemiBold;
}

main {
  flex-grow: 1;
}

/* Back button styling: */
.back-button {
    background-color: rgb(255, 255, 255);
    font-family: IBM-Plex-Mono-SemiBold;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 4px 6px 6px 6px;
    margin: 4px 0 0 4px;
    border-radius: 10px;
    border: 2px solid white;
    width: 100px;
    float: left;
    transition-duration: 0.2s;
    cursor: pointer;
}

.back-button:hover {
    background-color: rgb(173, 173, 173);
    border: 2px solid rgb(173, 173, 173);
}


/* Dutch time button styling: */
.dutch-time-button {
    background-color: rgb(255, 255, 255);
    font-family: IBM-Plex-Mono-SemiBold;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 4px 6px 6px 6px;
    margin: 4px 0 0 40px;
    border-radius: 10px;
    border: 2px solid black;
    width: 100px;
    float: left;
    transition-duration: 0.2s;
    cursor: pointer;
}

.dutch-time-button:hover {
    background-color: rgb(134, 54, 54);
    color: white;
}

/* Dutch math button styling: */
.dutch-numbers-button {
    background-color: rgb(255, 255, 255);
    font-family: IBM-Plex-Mono-SemiBold;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 4px 6px 6px 6px;
    margin: 4px 0 0 4px;
    border-radius: 10px;
    border: 2px solid black;
    width: 100px;
    float: left;
    transition-duration: 0.2s;
    cursor: pointer;
}

.dutch-numbers-button:hover {
    background-color: rgb(134, 54, 54);
    color: white;
}

/* Dutch button styling: */
.dutch-button {
    background-color: rgb(255, 255, 255);
    font-family: IBM-Plex-Mono-SemiBold;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 4px 6px 6px 6px;
    margin: 10px auto auto auto;
    border-radius: 10px;
    border: 2px solid black;
    width: 200px;
    height: 60px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.dutch-button:hover {
    background-color: rgb(134, 54, 54);
    color: white;
}


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px auto auto auto;
}

.label-text {
    color: white;
    font-size: 18px;
}

textarea.input-text {
    width: 40vh;
    height: 8vh;
    font-size: 2vh;
    padding: 10px 20px;
    margin: 30px 0 30px 0;
    border-radius: 8px;
}

.answer-container {
  display: block;
  text-align: center;
}

.submit-button {
    background-color: white;
    font-family: IBM-Plex-Mono-SemiBold;
    font-size: 18px;
    color: black;
    padding: 10px 32px;
    border-radius: 14px;
    border-style: none;
    transition-duration: 0.2s;
    cursor: pointer;
}

.submit-button:hover {
    background-color: rgb(134, 54, 54);
    color: white;
}

#timeCanvas {
    padding-left: 0;
    padding-right: 0;
    margin: 120px auto auto auto;
    display: block;
    /* width: 60vh; */
    /* border: 1px solid white; */
}

#numbersCanvas {
    padding-left: 0;
    padding-right: 0;
    margin: 120px auto auto auto;
    display: block;
    /* width: 60vh; */
    /* border: 1px solid white; */
}

#answerCanvas {
    padding-left: 0;
    padding-right: 0;
    margin: 10px auto auto auto;
    display: block;
    /* width: 60vh;
    height: 30vh; */
    /* border: 1px solid white; */
}


/* Fading text in and out continuously */
.fade-text p {
  font-family: Arial, sans-serif;
  font-size: 2em;
  color: white;
  text-align: center;
  animation: fadeInOut 4s infinite alternate; /* 4s duration, infinite loop, alternates direction */
}

@keyframes fadeInOut {
  0% {
    opacity: 0; /* Start invisible */
  }
  50% {
    opacity: 1; /* Fade in to fully visible */
  }
  100% {
    opacity: 0; /* Fade out to invisible */
  }
}