:root {
    --main-highlight: #6b551d;
    --second-highlight: #551d6b;
    --tertiary-highlight: #1d6b55;
    --theme-color: #99703c;
}

@keyframes slidein {
    from {filter: opacity(0); bottom: 100px;}
    to {filter: opacity(100); bottom: 0;}
}

@keyframes appear {
    from {filter: opacity(0);}
    to {filter: opacity(100);}
}

/* Page setup */

body {
  font-family: 'Arizonia';
  color: var(--theme-color);
  text-shadow: 0px 8px 10px #000000;
  width: 100vw;
  height: 100vh;
  background: #000000;
  overflow: hidden;
}

#gradient1, #gradient2 {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh; 
  overflow: hidden;
  filter: opacity(0);
  animation-name: appear;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
#gradient1 {
  background-image: radial-gradient(circle at bottom right, var(--main-highlight) 0%, #00000000 70%);
}
#gradient2 {
  background-image: radial-gradient(circle at top left, var(--second-highlight) 0%, #00000000 40%);
  animation-delay: 1.5s;
}

/* Main Page content */

.inputOutputContainer {
    width: 65%;
    height: 400px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin:auto;
    float: left;

    filter: opacity(0);
    animation-name: slidein;
    animation-duration: 4s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

/*left side items*/

h1 {
   margin-top: 10px;
   font-size: 50px;
}

.entry {
    width: 300px;
    height: 400px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#passLCD {
    background-color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 30px;
    color: #707070;
    width: 150px;
    padding: 15px;
    border: 9px solid;
    border-bottom-color: #ffffff03;
    border-top-color: #000000ba;
    border-right-color: #0000004f;
    border-left-color: #00000061;
    border-radius: 5px;
    background-image: linear-gradient(24deg, #0f0f0f 0%, #000 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow-y: auto; /* Adds a scrollbar when text overflows */
    box-shadow: inset -5px 0px 28px #000;
    margin: auto;
}

input[type="password"], input[type="text"] {
  color: var(--theme-color);
  font-family: 'Courier New', monospace;
  font-size: large;
  text-align: center;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 20px;
  background-image: linear-gradient(180deg, #000000, #0a0a0a),
   linear-gradient(135deg, var(--second-highlight) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, var(--main-highlight) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  margin: 10px;
  box-shadow: rgba(43, 43, 43, 0.3) 0px 0px 25px;
  cursor: pointer;
}

#buttonPad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 50px;
    width: 80%;
    margin: auto;
}

.digit {
  background-color: #0c0c0c;
  background-image:  linear-gradient(135deg, var(--second-highlight) 0%, rgba(0, 0, 0, 1) 35%, rgb(7, 7, 7) 65%, var(--main-highlight) 100%);
  color: var(--theme-color);
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  padding: 10px 10px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: rgba(59, 59, 59, 0.3) 0px 0px 25px;
}

button[type="submit"] {
  background-color: #0c0c0c;
  background-image:  linear-gradient(135deg, var(--second-highlight) 0%, rgba(0, 0, 0, 1) 35%, rgb(7, 7, 7) 65%, var(--main-highlight) 100%);
  text-align: center;
  padding: 17px 20px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  margin-top: 50px;
  box-shadow: rgba(59, 59, 59, 0.3) 0px 0px 25px;
}

button[type="submit"]:hover {
  background-image:  linear-gradient(315deg, var(--second-highlight) 0%, rgba(0, 0, 0, 1) 35%, rgb(7, 7, 7) 65%, var(--main-highlight) 100%);
  box-shadow: rgba(99, 99, 99, 0.3) 0px 0px 30px;
}

#tulip {
    width:30px; 
    height:30px;
    filter: brightness(2);
}

/* right side items */

.outputConsole {
    background-color: #000000;
    font-family: 'Courier New', monospace;
    font-size: small;
    color: var(--tertiary-highlight);
    width: 220px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 0;
    padding: 15px;
    border: 9px solid;
    border-bottom-color: #ffffff03;
    border-top-color: #000000ba;
    border-right-color: #0000004f;
    border-left-color: #00000061;
    border-radius: 5px;
    background-image: linear-gradient(204deg, #131313 0%, #000 58%, #0f0f0f 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow-y: auto; /* Adds a scrollbar when text overflows */
    box-shadow: inset 5px 6px 28px #000;
}

p {
    margin: 0;
}