@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin:0;
    padding:0;
}

body{
    font-family: "Poppins", sans-serif;
    background-image:url('bg.jpg');
    background-size:cover;
}

.container{
    width:40%;
    background-color:rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    margin:50px auto;
    padding:5px;
    box-shadow:0 0 60px 0 black;
    transition:all 0.3s ease;
}

.container:hover{
    box-shadow:0 0 10px 0 black;
    transition:all 0.3s ease;
    background-color:rgba(255,255,255,0.2);
}

.clock-con{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    margin-top:50px;
    gap:20px;
}

.clock-con #clock{
    width:55%;
    padding:25px;
    border-radius:20px;
    display:inline;
    background-color:rgba(0,0,0,0.6);
    text-align: center;
    color:white;
    box-shadow:0 0 40px 0 black;
    transition:all 0.3s ease;
}

.clock-con #clock:hover{
    box-shadow:0 0 10px 0 black;
    transition:all 0.3s ease;
}

.stop-watch{
    margin-top:30px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    gap:20px;
}

.stop-watch input{
        padding:20px;
        width:350px;
        border-radius:20px;
        border:none;
        text-align:center;
        font-size:45px;
        background-color:rgba(0,0,0,0.6);
        color:white;
        box-shadow:0 0 40px 0 black;
        transition:all 0.3s ease;
}

.stop-watch input:hover{
    box-shadow:0 0 10px 0 black;
    transition:all 0.3s ease;
}

.btns button{
    padding:18px;
    width:110px;
    border:none;
    border-radius: 20px;
    margin:12px;
    background-color:rgba(255,255,255,0.7);
    box-shadow:0 0 40px 0 black;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    transition:all 0.3s ease;
}

.btns button:hover{
    background-color:rgba(255,255,255,0.3);
    box-shadow:0 0 10px 0 black;
    transition:all 0.3s ease;
}

.btns button:active{
    background-color:rgba(0,0,0,0.5);
    color:white;
    transition:all 0.3s ease;
}

h1::selection,input::selection{
    background-color:black;
}

.footer{
    margin-top:90px;
    display:flex;
    height:70px;
    justify-content:space-evenly;
    background-color:rgba(0,0,0,0.5);
    backdrop-filter:blur(5px);
    align-items:center;
    color:white;
}

div::selection{
    background-color:black;
}

