* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    font-family: "Helvetica";
}
@font-face {
	font-family: 'Helvetica';
	src: url('./fonts/Helvetica.ttf') format('ttf');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Helvetica Bold';
	src: url('./fonts/Helvetica-Bold.ttf') format('ttf');
	font-weight: 700;
	font-style: normal;
}
html, body{
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
}
.overlay {
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

#title-overlay {
    font-size: 45px;
}

.bullets {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: black;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.2s ease-in;
}

header, footer {
    width: 100%;
    padding: 10px;
    border: 1px solid black;
    background-color: greenyellow;
    text-align: center;
}
header h1{
    font-size: 25px;
}

.wrap {
    width: 100%;
    margin: 30px 0 30px 0;
}

.wrap-pannel {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
}

.pannel-balls,
.wrap-pannel-choose {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    align-items: center;
    border: 2px solid yellowgreen;
    padding: 15px;
    background-color: yellow;
}

#main-description {
    margin-top: 10px;
    font-size: 25px;
    transition: all 0.4s ease-in;
    padding: 5px;
    opacity: 1;
    text-align: center;
}
#count, #count-footer{
    font-size: 13px;
    font-weight: 400;
}
#main-description span, #count-footer span{
    font-weight: 700 !important;
}

.isSorted {
    background-color: red !important;
    color: white !important;
    opacity: 1 !important;
}

.notSorted {
    background-color: yellowgreen !important;
    color: black !important;
    opacity: 1 !important;
}

.description,
.wrap-form {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.wrap-form {
    padding: 3px 0 3px 0;
}

.settings {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.wrap-form button {
    padding: 3px 5px 3px 3px;
    background-color: greenyellow;
    color: black;
    outline: none;
    cursor: pointer;
}

select {
    padding: 4px;
}

.wrap-form button:hover {
    background-color: #4f8a2b;
    color: white;
}

.ball {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: orange;
    border: 1px solid black;
    margin: 5px;
    cursor: pointer;
}


@media (max-width:500px) {
    header h1{
        font-size: 12px;
    }
    #title-overlay {
        font-size: 20px;
    }
    .bullets {
        display: inline-block;
        width: 6px;
        height: 6px;
        background-color: black;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.2s ease-in;
    }
    .settings {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .left-settings{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    select{
        width: 40%;
    }
    .left-settings button{
        width: 40%;
    }
    .right-settings button{
        width: 100%;
        margin-top:5px;
        padding:10px;
    }
}
@media (max-width:400px) {
    header h1{
        font-size: 12px;
    }
    .ball{
        width: 30px;
        height: 30px;
    }
}