/* Styles for the Sudoku.js demo page
*/

@font-face {
    font-family: 'Apercu Pro';
    /* Provide a name for your font */
    src: url("/hn_apercu_2024-03-05_1621/Apercu/Apercu_Pro_Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

#title,
#win-screen,
#blocker {
    z-index: 1;
}

#blocker,
#win-screen {
    position: fixed;
    width: 1020px;
    height: 330px;
}

*{
    -webkit-appearance: none;
}

#win-screen {
    background-color: #007fbff8;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: -330px;
    transition: transform 1s ease-out;
}

#win-screen h2 {
    text-align: center;
    font-family: "Domaine Display";
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 50px;
    color: white;
    margin-top: 76px;
    margin-bottom: 0;
    width: 592px;
    height: 141px;
    flex-shrink: 0;
    /* 100% */
}

#win-screen a {
    display: flex;
    width: 95px;
    height: 21px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    font-family: "Apercu Pro";
    font-size: 13.167px;
    font-style: normal;
    font-weight: 600;
    line-height: 22.141px;
    /* 168.162% */
    letter-spacing: 0.026px;
    border-radius: 6.583px;
    background: #BD9C69;
    text-decoration: none;
    color: white;
}

.slide-in-y {
    transform: translateY(330px);
}

.slide-out-y {
    transform: translateY(-330px);
}

.slide-out {
    transform: translateX(-100%);
}

#title {
    position: fixed;
    top: 50px;
    transition: transform 1s ease-out;
    /* Specify the animation properties */
}

#play {
    display: flex;
    width: 96px;
    height: 22px;
    padding: 0.587px 0.556px 0.413px 0.444px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 6.583px;
    border-color: transparent;
    background-color: #007EBF;
    color: white;
    text-align: center;
    font-family: "Apercu Pro";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 168.162% */
    letter-spacing: 0.026px;
}

#penninn-logo {
    width: 200px;
}

#footer {
    width: 1008px;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    align-items: center;
    padding-top: 10px;
}

body {
    width: 1018px;
    height: 360px;
    overflow: hidden;
}

.container-narrow {
    /* Custom, narrow container */
    margin: 0 auto;
    max-width: 600px;
}


#app-wrap {
    width: 1018px;
    height: 320px;
}

.wrong-input{
    color: #BD0000 !important;
}

.board-won input.square{
    color: #1C404D !important;
}

.matrix-item input.square {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    width: 32px;
    height: 32px;
    padding: 0px;
    color: #47646F;
    /* border: #47646F solid 1px; */
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    text-align: center;
    font-family: "Apercu Pro";
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    background-color: transparent;
    border-color: transparent;
}

.matrix-item input.square:disabled{
    color:#1C404D;
}


#sudoku-matrix-board-container {
    display: flex;
    position: fixed;
    left: 0px;
    width: 1018px;
    height: 320px;
    gap: 64px;
    padding-left: 25px;
    top: 0px;
}

/* Add styling for visibility and borders */
.matrix-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Thick border around each matrix */

}



.matrix-item {
    width: fit-content;
    height: fit-content;
    border: 0;
    /* Thin border inside matrices */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

/* Style for the grid of matrices */
.grid-of-matrices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: fit-content;
}