@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

* {
    font-family: League Spartan;
    font-size: 32px;
}

body {
    background-color: hsl(222, 26%, 31%) !important;
}

header {
    display: flex;
    justify-content: space-around;
    margin-top: 100px;
    color: white;
    align-items: center;
    padding: 0 250px;
}

.theme-menu {
    display: flex;
    align-items: center;
}

.theme-menu h2 {
    margin-right: 40px;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 3px;
} 

.slider-container {
    width: 40%;
    margin-bottom: 10px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.slider-labels span {
    font-size: 20px;
}

.dot-slider {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

.dot-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: hsl(6, 70%, 34%); /* например, красный оттенок точки */
    cursor: pointer;
}

.dot-slider::-webkit-slider-thumb:hover {
    background-color: hsl(6, 63%, 50%);
}

.dot-slider::-webkit-slider-runnable-track {
    height: 17px;
    width: 100%;
    background-color: hsl(223, 31%, 20%);
    border-radius: 100px;
}

.dot-slider::-webkit-slider-runnable-track:hover {
    background-color: hsl(224, 36%, 15%);
}

main {
    padding: 0 350px !important;
    margin-top: 50px;
}

.result-block {
    width: 100%;
    height: 150px;
    background-color: hsl(224, 36%, 15%);
    border-radius: 10px;
    color: white;
    font-size: 65px;
    text-align: right;
    padding: 30px;
    overflow-x: auto;
    overflow-y: hidden;
}

.buttons-block {
    margin-top: 50px;
    text-align: center;
    background-color: hsl(223, 31%, 20%);
    padding: 30px;
    border-radius: 10px;
}

.button-block button {
    width: 80%;
    height: 60px;
    border: none;
    background-color:hsl(30, 25%, 89%);
    color: hsl(221, 14%, 31%);
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 6px 0 hsl(28, 16%, 65%);
}

.button-block button:hover {
    background-color: hsl(0, 0%, 100%)
}

.button-block .delete {
    background-color: hsl(225, 21%, 49%);
    box-shadow: 0 6px 0 hsl(224, 28%, 35%);
    color: hsl(0, 0%, 100%);
}

.button-block .delete:hover {
    background-color: hsl(225, 35%, 64%);
}

.bottom-row {
    margin-top: 30px !important;
}

.bottom-row button {
    width: 92% !important;
}

.bottom-row .reset {
    background-color: hsl(225, 21%, 49%);
    box-shadow: 0 6px 0 hsl(224, 28%, 35%);
    color: hsl(0, 0%, 100%);
}

.bottom-row .reset:hover {
    background-color: hsl(225, 35%, 64%);
}

.bottom-row .answer {
    background-color: hsl(6, 63%, 50%);
    box-shadow: 0 6px 0 hsl(6, 70%, 34%);
    color: hsl(0, 0%, 100%);
}

.bottom-row .answer:hover {
    background-color: hsl(6, 54%, 65%);
}

.attribution { 
    width: 90%;
    font-size: 18px; 
    text-align: center; 
}

.attribution a { 
    font-size: 18px;
    color: hsl(228, 45%, 44%); 
}

@media (max-width: 1250px) {
    * {
        font-size: 28px;
    }
    main {
        padding: 0 200px !important;
    }
    .result-block {
        font-size: 40px;
        padding: 40px 30px;
    }
}

@media (max-width: 840px) {
    * {
        font-size: 22px;
    }
    header {
        padding: 0 100px;
    }
    main {
        padding: 0 100px !important;
    }
    .result-block {
        font-size: 35px;
        padding: 50px 30px;
    }
    .button-block button {
        width: 95%;
    }
    .theme-menu h2 {
        margin-right: 0;
    }
    .theme-menu {
        flex-direction: column;
    }
}

@media (max-width: 550px) {
    * {
        font-size: 20px;
    }
    header {
        padding: 0 30px;
    }
    main {
        padding: 0 20px !important;
    }
    .buttons-block {
        padding: 10px;
    }
}