body {
    /* fonts */
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
    font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    word-wrap:break-word
}
    
.shiverican-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.shiverican-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    width: 160px; /* set a fixed width */
    height: 120px; /* set a fixed height */
    cursor: pointer;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.gauntlet {
    color: rgb(191, 191, 191);
    background-color: #373737;
}

.single {
    background-color: #a6a6a6; 
}

.double {
    background-color: #737373;
}

.other {
    background-color: #ffffff;
}


#shiverican-details { 
    display: none; 
    margin-top: 15px; 
}

body {
    text-align: center;
    margin: 0;
    padding: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    position: relative;
    width: 60vh;
    max-width: 100%;
    height: auto;
}

img {
    width: 100%;
    height: auto;
    max-height: 100vh;
}

.buttons {
    position: absolute;
    top: 115%; /* Adjust this value */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    gap: 15px;
}


.buttons a button {
    font-size: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e0e0e0, #ffffff);
    border: 2px solid #000;
    border-radius: 10px;
    color: #000;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    min-width: 140px;
}

.buttons a button:hover {
    background: linear-gradient(135deg, #c9c9c9, #f0f0f0);
    transform: scale(1.03);
}

.buttons a button:active {
    transform: scale(0.97);
}

#capsule-img {
    width: 375px;
    height: auto;
    display: block;
    margin: 0 10;
    transition: opacity 0.3s ease;
}

#screen1 { top: 30%; left: 44%; }
#screen2 { top: 30%; left: 63%; }
#screen3 { top: 45%; left: 45%; }
#screen4 { top: 45%; left: 64%; }

.screen-button {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 70px;
    margin: 4px;
    text-decoration: none;
    font-weight: bold;
    z-index: 2;
}
.screen-button button {
    width: 100%;
    height: 100%;
    opacity: 0;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
.capsule-container {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
}
.capsule-container img {
    max-width: 100%;
}
xr
.buttons {
    margin: 10px 0;
    text-align: center;
}
img[alt="Switcheroo"] {
    margin-top: 10px;
    width: 110px;
    height: auto;
    cursor: pointer;
}

.extra-button {
    position: relative;
    top: 183px;
    left: 675px;
    transform: translateX(-50%);
    font-size: 20px;
    padding: 15px 25px;
    background-color: rgba(0, 0, 0, 1);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 0px;
    cursor: pointer;
}

/* Navbar container */
#nav-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px; /* Small gap between buttons */
    flex-wrap: wrap;
}

/* Navbar buttons */
#nav-buttons button {
    font-size: 18px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #74ebd5, #acb6e5); /* mint to soft purple */
    color: #333;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#nav-buttons button:hover {  /*hooooooooooover */
    background: linear-gradient(135deg, #4fd1c5, #8e9de5); /* deeper mint + purple on hover */
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

#nav-buttons button:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search-alt-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

input#search {
    padding: 12px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

input#search:focus {
    border-color: #4824f8;
    box-shadow: 0 0 8px rgba(46, 46, 46, 0.6);
    outline: none;
}

/* Alt button */
.Alt {
    position: relative;
    background: #333;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    border: 3px solid #00a2ff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.5s;
    z-index: 0;
}

.Alt:hover {
    letter-spacing: 0.2em;
    background: #555;
    border-color: #00ba32; /* Slightly brighter on hover */
}

.Alt::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: #1c1c1c;
    border-radius: 6px;
    z-index: -1;
}

.Alt span {
    position: relative;
    z-index: 1;
}