@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
    --background-color: #121212;
    --primary-color: rgb(255, 234, 69);
    --primary-color-hover: rgba(230, 210, 62, 0.66);
    --secondary-color: #333;
    --border-color: #757575;
    --hover-color: #333;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--background-color);
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    padding: 0;
}

/* Typography */
.heading,
h1,
.big_number {
    width: 100vw;
    text-align: center;
    margin: 0;
}

h1 {
    font-size: 15vw;
    text-transform: uppercase;
}

.big_number {
    font-size: 30vw;
}

.error-code {
    font-size: 7rem;
    font-weight: bold;
}

.error-name {
    font-size: 4rem;
    margin-top: -2rem;
    margin-bottom: 5rem;
}

.error-desc {
    font-size: 1.2rem;
    text-align: center;
}

p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 2px;
}

/* Input Styles */
.wide-input-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 1em;
}

.input {
    border: solid 1.75px var(--border-color);
    border-radius: 1rem;
    background: none;
    padding: 1rem;
    width: 100%;
    font-size: 1rem;
    transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.input:focus,
.input:valid {
    outline: none;
    border-color: #4dabf7;
}

.user-label {
    position: absolute;
    left: 15px;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
}

.input:focus~.user-label,
.input:valid~.user-label {
    transform: translateY(-50%) scale(0.8);
    padding: 0 .2em;
    background-color: var(--background-color);
}

/* Command Container */
#cmd-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

#cmd,
#cmd_info {
    font-family: 'Courier New', Courier, monospace;
    color: white;
}

#cmd {
    border: solid;
    border-color: #7db4b4;
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 0.75rem;
    overflow: auto;
}

#cmd_info {
    font-size: 70%;
    text-align: left;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-color);
}

aa:hover {
    font-weight: 600;
}

/* Footer */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    font-weight: 100;
}

/* Buttons */
.button {
    color: white;
    background-color: #222;
    font-weight: 500;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 2rem;
    padding: 0.7rem 2rem;
    cursor: pointer;
    text-align: center;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    border: none;
}

.button:hover {
    background-color: var(--hover-color);
}

/* Arrowbutton */
.arrowButton {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.arrowButton:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 7px;
    border: 4px solid var(--primary-color);
}

.arrowButton-box {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}

.arrowButton-elem {
    width: 20px;
    height: 20px;
    margin: 18px 18px 0;
    fill: var(--primary-color);
}

.active {
    font-weight: bold;
}

#dlicon {
    width: 20px;
    height: 20px;
    vertical-align: middle;  /* Align icons with text */
    filter: invert(50%);
    float: right;
    padding-left: 5px;
    filter: brightness(200%);
}

#sonomaDownloadButton {
    background: linear-gradient(135deg, #1a9d43, #d54e4e, #4377e5);
    color: whitesmoke;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

#sequoiaDownloadButton {
    background: linear-gradient(135deg, #0B1A7E, #517AC1, #EA9160, #d3b98b);
    color: whitesmoke;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

#fixedToTop {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    padding: 1rem;
    height: 3.5rem; /* Adjust this to match the height of the buttons */
}

#date-display {
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
    text-align: center;
    line-height: 3.5rem; /* Adjust this to match the height of the buttons */
    padding: 0;
}

.date-navigation {
    display: flex;
    align-items: center;
}

.outlet {
    /*font*/
    font-size: 2rem;
    color: var(--primary-color-hover);
}

.underline-effect {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: var(--primary-color-hover);
}
  
.underline-effect::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px; /* Adjust distance from text */
    width: 0;
    height: 2px; /* Adjust thickness */
    background-color: var(--primary-color-hover); /* Adjust underline color */
    transition: width 0.3s ease, left 0.3s ease;
}
  
.underline-effect:hover::after {
    width: 100%;
    left: 0;
}