
* {
    box-sizing: border-box;

}

body {
    margin: 0;
    padding: 0;
    /*    max-height: 100vh;*/
    /*    overflow: hidden;*/
}

a {
    color: white;
}

p {
    font-size: 30px;
}

main {
    position: relative;
    background: black;
    color: white;

    text-align: center;
    height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    @media screen and (max-width: 768px) {
        /*  padding: 2rem;*/
        gap: .5rem;
        height: 75dvh;
    }
}

button {
    margin: 1rem;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-size: 1.3rem;
    background: #fc6900;
    color: white;
}

/*button:hover {
    background: white;
    color: #fc6900;
}*/

button:disabled {
    background: grey;
    color: white;
}

input {
    font-size: 2em;
    text-align: center;
    width: 800px;

    @media screen and (max-width: 768px) {
        width: 80%;
    }

}

#progressBar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: lightseagreen;
}


#categories {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: black;
    color: white;
    height: 22vh;

    @media screen and (max-width: 768px) {
        height: 22dvh;
    }

}

.category{
    margin-right: 15px;
}

#categories > div {
    display: flex;
    flex-wrap: wrap;
    background: black;
    color: white;
}

#categories .star {
    cursor: pointer;
}

.star {
    font-size: 2rem;
}

.star.completed {
    color: gold;
}

.moving-star {
    position: absolute;
    font-size: 2rem;
    color: gold;
    transition: transform 1s ease-in-out;
}

.success {
    margin: auto;
    padding: 0.5rem;
    font-size: 3em;
    letter-spacing: 2rem;
    color: gold;

}


@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotation {
    animation: rotate360 5s linear infinite;
}