* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --orange-500: hsl(25, 97%, 53%);
    --white: hsl(0, 100%, 100%);
    --grey-500: hsl(217, 12%, 63%);
    --grey-900: hsl(213, 19%, 18%);
    --grey-950: hsl(216, 12%, 8%);
}

.fw-700{ font-weight: 700; }
.attribution { text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); text-decoration: none; color: var(--orange-500);}

.hidden {
    display: none;
}

body {
    font-family: 'Overpass', sans-serif;
    background-color: var(--grey-950);
    color: var(--grey-500);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

body p {
    font-size: 15px;
}

main {
    width: 400px;
    height: auto;
    background: linear-gradient(var(--grey-900), var(--grey-950)); 
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
}

.div-img {
    background-color: hsl(214, 17%, 24%);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 25px;
}

.div-img img {
    width: 20px;
    height: 20px;
}

h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.number-btns {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 32px 0;
}

.number-btns button {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-color: hsl(214, 17%, 24%);
    color: var(--grey-500);
}

.number-btns button:active {
    background-color: var(--orange-500);
    color: #000;
}

.btn.selected {
    background-color: var(--white);
    color: black;
}

.submit-btn {
    background-color: var(--orange-500);
    border: none;
    width: 100%;
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
}

@media screen and (max-width: 425px) {
    main {
        width: 380px;
    }
    footer p {
        font-size: 14px;
    }
}

@media screen and (max-width: 375px) {
    main {
        width: 320px;
    }
    footer p {
        font-size: 13px;
    }
}

@media screen and (max-width: 320px) {
    main {
        width: 280px;
    }
    footer p {
        font-size: 12px;
    }
}