* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
}

:root {}

.bgi {
    display: none;
}

body {
    background: rgba(10, 10, 10, 0.9);
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    background: url("./assets/bg4.jpg");
    background-size: cover;
    background-position: right;
    /* backdrop-filter: blur(5px); */
    /* object-fit: fill; */
    flex-direction: column;
}

.search-container {
    position: relative;

}

.input-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    outline: none;
    border: none;
    /* font-family: ; */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 300px;
    border-radius: 10px;
    transition: background 0.3s ease-in-out;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    width: 600px;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
    transition: all 0.4s ease;
}

.card {
    background: rgba(109, 27, 27, 0.23);
    padding: 10px 20px;
    backdrop-filter: blur(10x);
    border-radius: 8px;
    /* color: black; */
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: background 0.3s ease-in-out;
}

.card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.show {

    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.clock {
    position: absolute;
    top: 20px;
    font-family: "Bitcount Grid Single", system-ui;
    right: 20px;
    font-weight: 400;
    font-size: 3rem;
    color: rgb(177, 99, 99);
    cursor: pointer;
}

/* smooth hover zoom in and zoom out */

.clock:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.clock:active {
    transform: scale(0.999);
    transition: transform 0.1s ease-in-out;
    user-select: none;
}

.clockoptions {
    position: absolute;
    top: 80px;
    right: 10px;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.clockoptions select {
    background: rgba(178, 225, 243, 0.9);
    border: none;
    padding: 5px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.clockoptions select:hover {
    background: rgba(178, 225, 243, 0.79);
}

/* color of range bar */

#weight {
    font-weight: 200;
    font-size: 1.2rem;
    color: white;
    margin-top: 10px;
    background-color: skyblue;
    border: none;
    accent-color: skyblue;
}


.pcolors {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* justify-content: center;
    align-items: center;    */
    padding: 10px;
}

.themePalette {
    display: flex;
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 160px;
    height: 30px;
    border-radius: 16px;
    background-color: rgba(184, 184, 184, 0.264);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Wallpaper Upload Controls */
.wallpaper-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wallpaper-controls label {
    color: rgb(0, 0, 0);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.wallpaper-btn {
    background: rgba(178, 225, 243, 0.9);
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.wallpaper-btn:hover {
    background: rgba(178, 225, 243, 1);
    transform: translateY(-1px);
}

.wallpaper-btn:active {
    transform: translateY(0);
}

.reset-btn {
    background: rgba(243, 178, 178, 0.9);
}

.reset-btn:hover {
    background: rgba(243, 178, 178, 1);
}

.url-input-group {
    display: flex;
    gap: 5px;
}

.url-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: background 0.3s ease-in-out;
}

.url-input:focus {
    background: rgba(255, 255, 255, 1);
}

.url-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}