*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#0f172a;
    background-image: url(numero.gif);
}

.background{
    position:absolute;
    width:100%;
    height:100%;
    
    
  
    
}

.container{
    position:relative;
    z-index:10;
    width:700px;
    padding:30px;
    border-radius:25px;
    backdrop-filter:blur(15px);
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    box-shadow:0 0 50px rgba(0,255,255,.2);
    text-align:center;
}

h1{
    color:white;
    margin-bottom:25px;
    letter-spacing:3px;
}

.timer{
    color:#f4fafa;
    font-size:5rem;
    font-weight:bold;
    text-shadow:0 0 20px #73adaf;
    margin-bottom:30px;
}

.buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

button{
    padding:12px 22px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

#start{
    background:#b1c0b9;
}

#pause{
    background:#6e6549;
}

#reset{
    background:#491a1a;
    color:white;
}

#lap{
    background:#27383b;
}

button:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 0 20px rgba(255,255,255,.4);
}

.history-box{
    margin-top:30px;
    text-align:left;
}

.history-box h2{
    color:white;
    margin-bottom:15px;
}

#history{
    max-height:220px;
    overflow-y:auto;
    list-style:none;
}

#history li{
    background:rgba(255,255,255,0.08);
    color:white;
    margin:8px 0;
    padding:10px;
    border-radius:10px;
    border-left:4px solid #00f5ff;
    animation:slide .3s ease;
}

@keyframes slide{
    from{
        opacity:0;
        transform:translateX(-20px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#00f5ff;
    border-radius:10px;
}