:root{
    --primary-color: rgb(98, 126, 177);
    --primary-color-lighten: rgb(218, 116, 218);
    --primary-color-darken: rgb(167, 58, 167);
}

* {
    font-family: 'Open Sans', cursive;
    user-select: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    background: var(--primary-color);
    
    font-size: 1.3em;
    line-height: 1.5em;
}

.button{
    
    color: white;
    font-size: 34px;
    height: 50px;
}
.stop{
    background-color: red;
}

.restart{
    background-color: green;
}

.btnScore{
    background-color: mediumvioletred;
}

.start{
    background-color: rgb(14, 226, 14);
    height: 150px !important;
    font-size: 70px !important;
    width: 250px !important;
}

.start-p{
    min-height: 250px;
    margin: 360px 160px;
    text-align: center;
    font-family: 'Open Sans', cursive;
    padding: 10px;
    padding-top: 50px;
    color: white;
}

.start-screen{
    z-index: 7;
    position: absolute;
    top: 85px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: none !important;
}

#lives{
    color: red;
    font-size: 50px;
    padding-left: 500px;
    display: inline;
}

.final-score{
    min-height: 250px;
    margin: 360px 160px;
    text-align: center;
    font-family: 'Open Sans', cursive;
    padding: 10px;
    padding-top: 50px;
    font-size: 50px;
    background-color: black;
    color: white;
}

.container{
    background-image: url(../img/nuvens1.jpg);
    margin: 25px 50px 30px 50px;
    padding-top: 50px;
    border-radius: 10px;
    min-height: 1000px;
    max-height: 1000px;
    min-width: 1249px;
}

.buttons{
    margin: 10px 0 20px 53px;
}

.pizza{
    margin-left: 100px;
    position: absolute;
    width: fit-content;
    display: block;
    font-size: 100px;
    cursor: pointer;
    
}

@keyframes goingdown {
    100%{transform: translateY(870px);}
    
}

.pizza:focus{
    outline: none !important;
}

.over-screen{
    z-index: 7;
    position: absolute;
    margin: 0 !important;
    padding: 0 !important;
    background-color: rgba(0, 0, 0, 0.36);
    background-image: none !important;
}

/* ####################################################### */

.high-score{
    border: 3px solid white;
    text-align: center;
    align-items: center;
    color: white;
    background: black;
    margin-left: 50px !important;
    margin-right: 50px !important;
    border-radius: 10px;
}

.hi-score{
    
    color: white;
    margin-bottom: 50px;
}

form{
    transition: all .7s;
}

form input, form label, form button{
    display: inline;
    width: 30%;
}

form input {
    font-size: 24px;
    height: 53px;
    padding: 0 20px;
    text-transform: uppercase;
    margin-bottom: 1.9rem;
    padding-top: 3px;
    margin-right: 1rem;
    width: 40% !important;
    background-color: transparent;
    color: white;
}

form input:focus{
    outline: 1px solid #fff;
}

form button{
    border: none;
    background: black;
    color: white;
    font-size: 30px;
    height: 52px;
    cursor: pointer;
    outline: 0 !important;
    border: 2px solid white;
    transition: .3s ease-in;
}

form button:focus, form button:active{
    outline: 0 !important;
}

form button:hover{
    color: black;
    background-color: #fff;
    outline: rgb(34, 33, 33);
}


.rank{
    margin-right: 150px;
    text-align: left;
}

.name-score{
    margin-right: 40px;
    margin-left: 40px;
    padding-right: 10px;
    text-align: left;

}

.score-points{
    margin-left: 130px;
    text-align: left;

}

.name-score-head{
    margin-right: 50px;
    margin-left: 50px;
    text-align: left;
    font-weight: 700;
}

.score-points-head{
    margin-left: 100px;
    text-align: left;
    font-weight: 700;
}

.rank-head{
    margin-right: 100px;
    text-align: left;
    font-weight: 700;
}