/* Reset default styles for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #3b3b4f;
    color: #0a0a23;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

h1 {
    color: white;
    width: 100%;
    max-width: 500px;
}

.phone-background {
    background-color: black;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 250px;
    height: 460px;
    background-color: #dfdfe2;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 15px solid black;
    border-radius: 15px;
}

.phone-camera {
    background-color: white;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

label {
    color: black;
    font-size: 1rem;
    margin: 10px;
}

#user-input {
    display: block;
    margin: 10px auto;
    padding: 5px;
    border: 1px solid black;
    border-radius: 10px;
    width: 90%;
    height: 50px;
    font-size: 16px;
}

#results-div {
    overflow-y: auto;
    height: 265px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.buttons-div {
    background-color: black;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    cursor: pointer;
    width: 100px;
    margin: 10px;
    color: #0a0a23;
    font-size: 20px;
    background-color: #ffffff;
    background-image: linear-gradient(#ffffff, #928d86);
    border: 3px solid #ffffff;
}

.valid-number {
    color: #00471b;
}

.invalid-number {
    color: #4d3800;
}