* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: white;
    font-family: "Playwrite GB S", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
}

body {
    background: linear-gradient(35deg, rgb(26, 3, 32) 0%, rgba(42, 5, 51, 1) 100%, rgba(255, 255, 255, 1) 255%);
}

h1 {
    animation: blink 3s infinite;
}

#main-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    min-height: 750px;
    height: 100%;
}

#sudoku-box {
    height: 360px;
    width: 360px;
    border-radius: 10px;
    box-shadow: 0 0 13px 1px white;
    margin: 35px;
    overflow: hidden;
}

/* Removing Arrows on number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
    height: 40px;
    width: 40px;
    background: none;
    border: 1px solid rgba(255,255,255, 0.13);
    border-radius: 0px;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing: border-box;
    text-align: center;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    appearance: textfield;
}

input[type=number]:nth-of-type(3n) {
    border-right: 1px solid white;
}

.buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#solve,
#reset {
    cursor: pointer;
    padding: 5px 20px;
    border: none;
    text-shadow: 0 0 5px white;
}

.buttons button {
    margin: 0px 30px;
    background-color: transparent;
    font-size: medium;
    transition: transform 200ms ease-in-out;
}

.buttons button:hover {
    transform: translateY(-5px);
}

#wrongInputMsg {
    color: red; 
    display: none; 
    font-size: 13px;
    text-align: center;
}

@keyframes blink {
    0% {
        text-shadow: 0 0 1px white;
    }

    25% {
        text-shadow: 0 0 3px white;
    }

    50% {
        text-shadow: 0 0 5px white;
    }

    75% {
        text-shadow: 0 0 3px white;
    }

    100% {
        text-shadow: 0 0 1px white;
    }
}

@media (max-width: 450px) {
    #sudoku-box {
        height: 315px;
        width: 315px;
    }

    input[type=number] {
        height: 35px;
        width: 35px;
    }
}
