* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

body {
    background-color: white;
}

nav {
    display: flex;
    gap: 30px;
}

#contain {
    width: 80vw;
    margin: 20px auto auto auto;
}

body::-webkit-scrollbar {
    display: none;
}
nav h1 {

    margin: auto;
    letter-spacing: 2px;
    color: #402b5b;
    transform: translateY(-600%);
    transition: transform 0.9s ease;
}

#clickHere {
    width: 100%;
    height: 50vh;
    margin: 30px auto;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #9B4DFF;
    color: white;
    box-shadow: 0px 0px 40px 4px rgb(13, 132, 153);
    transform: translate(-120%, -40%);
    transition: transform 1s ease;

}

#clickHere:hover {
    transform: scale(1.05) !important;
}


#logo {
    height: 45px;
    margin: 11px;
    transform: translateX(-500%);
    transition: transform 1s ease;
}

#zbyva, #perSecond, #kliku {
    padding: 17px;
    flex: 1;
}

#zbyva {
    background-color: rgb(60, 229, 229);
}

#perSecond {
    background-color: #4dbbff;
}

#kliku {
    background-color: rgb(127, 148, 255);
}

#again {
    border: none;
    color: white;
    background-color: #9B4DFF;
    padding: 8px;
    border-radius: 50px 0 50px 0 ;
    font-size: 0.8em;
    width: 90px;
    transform: translateY(900%);
    

    transition: box-shadow 0.4s ease,
                transform 1s ease;


}

select, option  {
    width: 80px;
    color: white;
    background-color: #2192c7;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid rgb(75, 240, 240);
    
    outline: none;
    transform: translateY(900%);
    transition: transform 1s ease,
                box-shadow 0.4s ease;
}

select:hover, #again:hover
    {
         box-shadow: 0px 0px 10px 4px #5fbef2;
    }

#results {
    display: flex;
    margin: 30px auto;
    width: 600px;
    transition: box-shadow 0.4s ease;
    border-radius: 50px;
    overflow: hidden;
    opacity: 1;
    transform: translateX(-120%);
    transition: transform 1.4s ease,
                box-shadow 0.4s ease;

   
}

#results:hover {
    box-shadow: 0px 0px 4px 4px #5fbef2;
}


#tapToStart {
    font-size: 1.2em;
    font-family: "Roboto Mono", monospace;
}

footer {
    bottom: 0px;
    background-color: rgb(127, 148, 255);
    width: 100%;
    position: absolute;
    color: white;
    padding: 17px;
    text-align: center;

}



#toogleBtn {
    background-color: rgb(155, 77, 255);
    height: 35px;
    width: 63px;
    min-width: 63px;
    margin: 11px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

#toogleSlide {
    height: 28px;
    width: 28px;
    background-color: white;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(0px);
    transition: transform 0.45s ease;
  
}

#moon {
    display: none;
}

#sun {
    display: inline;
}

@media (max-width: 768px) {

    #contain {
    width: 90vw;
    margin: 10px auto 70px auto;
    }

    #clickHere {
    width: 92vw;
    margin: 20px auto;
    border-radius: 20px;
    height: 50vh;
    }

    #clickHere:hover {
    transform: none !important;
}

    nav h1 {
    letter-spacing: 1px;
    font-size: 1.4em;
    }

    #logo {
        height: 32px;
        margin: 5px;
    }

    nav {
    gap: 0px;
    margin-bottom: 0px;
}

    #results {
    display: block;
    width: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0px 0px 4px 4px #5fbef2;
    
   
}

    #zbyva, #perSecond, #kliku {
    padding: 10px;

}

#tapToStart {
    font-size: 1em;
}

#select, #again {
    box-shadow: 0px 0px 10px 4px #5fbef2;
}

#toogleBtn {
    height: 28px;
    width: 48px;
    margin: 5px;
    border-radius: 30px;
    min-width: 48px;
}

#toogleSlide {
    height: 20px;
    width: 20px;
}





}

