﻿
html {
    width: 100vw;
}
body{
   width: 100%;
background:#dce6df;
-webkit-font-smoothing: antialiased;

}
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #dce6df;
  padding: 20px;
  border: 3px solid #55705b;; 
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 370px;
  margin-top: -240px;
  font-family: Arial;
  line-height: 1.3em;
}

.pop-up-buttons {
    font-size: 16px;
    width: 150px;
    text-align: center;   
    border: 2px solid #55705b;
    border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    background-color:#ffffff;
    margin: 3px;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
}

.navbar {
  overflow: hidden;
  background-color: #55705b;
  font-family: 'Trebuchet MS', sans-serif;
  margin-top: -10px;
  margin-left: -10px;
  margin-right: -8px;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 12px 14px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 14px 2px;
      margin-bottom: 2px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #9dbd9e;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.slot-contain {
    display: inline-block;
    margin-top: 0px;
    margin-left: 12%;
}
.slot-one {
    display: inline-block;
    width: 850px;
    margin-top: 18px;
}
.slot-two {
    display: inline-block;
    width: 250px;
    vertical-align: top;
}

.boxfive {
    background: #d3dbd5;
}
.boxtwo, .boxfour, .boxsix, .boxeight {
    background: #d3dbd5;
}
.boxone, .boxthree, .boxseven, .boxnine {
    background: #d3dbd5;
}

.solve-buttons-contain {
    display: inline-block;
    margin-top: 14px;
    margin-left: 10px;
}

.solve-buttons {
    display: inline-block;
    height: 50px;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	background-color:#ffffff;
	border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-size:30px;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    margin: 3px;
    border: 2px solid #55705b; 
}
.myButton:hover {
	background:linear-gradient(to bottom, #9ba892 5%, #dbe6c4 100%);
	background-color:#9ba892;
}
.myButton:active {
	position:relative;
	top:1px;
}
.non-solve-buttons {
    font-size: 16px;
    width: 150px;
    text-align: center;   
    border: 2px solid #55705b;
    border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    background-color:#ffffff;
    margin: 3px;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
}

.difficulty-button {
    font-size: 34px;
    width: 300px;
    text-align: center;   
    border: 2px solid #55705b;
    border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#021f02;
	font-family:Arial;
	font-weight:bold;
	padding:18px 22px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    background-color:#ffffff;
    margin: 3px;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
}

.intro-contain {
    margin-top: 70px;
}
.intro-text {
    line-height: 1.0em;
    color: #021f02;
}

.grid {
margin-left: 10%;
/*box-shadow: 0px -1px 30px 0px rgba(85, 112, 91, 0.75);
-webkit-box-shadow: 0px -1px 30px 0px rgba(85, 112, 91, 0.75);
-moz-box-shadow: 0px -1px 30px 0px rgba(85, 112, 91, 0.75);*/
 -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


.cell {
 border-bottom: 1px solid #55705b;
 border-left: 1px solid #55705b;
 width: 76px;
 height: 76px;
 display: inline-block;
 color: #010f05;
 font-size: 44px;
 font-family: Arial;
 line-height:0.3em;
 overflow: hidden;
 position: relative;
 background: #f5faf5;
 margin: -2px;
 cursor: pointer;
 font-weight: 800;
}

.cell:hover {
    background: #a7c9a5;
    
}

.number {
    text-align: center;
    position: absolute;
    top: 17px;
    left: 24px;
    line-height: 1.0em;
    color:#021f02;

}

.original-cell-number {
    background-color: #e9f7e9;
}

.candidate {
    position: relative;
    display: none;
    font-size: 0.35em;
    margin-left: 5px;
    line-height: 0.5em;
    font-weight: 500;
    opacity: 0.9;
    
}

.scratch-candidate {
    position: relative;
    display: inline-block;
    font-size: 0.35em;
    margin-left: 5px;
    line-height: 0.5em;
    font-weight: 500;
    opacity: 0;   
    }

    .cell-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index:-1;
   
    
    }

    .house-done-animation {
        background-color: blue;
        z-index: 2;
        opacity: 0.4;
    -webkit-animation:spin 1s linear;
    -moz-animation:spin 1s linear;
    animation:spin 1s linear;
    }

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

/* Apply the animation to an element */
.my-element {
  animation-name: turnAnimation; /* The name of your keyframes */
  animation-duration: 1s; /* How long the animation takes */
  animation-iteration-count: infinite; /* How many times the animation repeats (infinite for continuous) */
  animation-timing-function: linear; /* The speed curve of the animation */
}

.columnone {
     border-left: 5px solid #55705b;
}
.rowone {
    border-top: 5px solid #55705b;
}
.rownine {
    border-bottom: 5px solid #55705b;
}
.columnnine {
    border-right: 5px solid #55705b;
}

.columnthree, .columnsix {
    border-right: 2px solid #55705b;
}
.columnfour, .columnseven {
    border-left: 2px solid #55705b;
}

.rowthree, .rowsix {
    border-bottom:2px solid #55705b;
}
.rowfour, .rowseven {
    border-top:2px solid #55705b;
}

.click-state {
  background-color: #ceebce; 
}
.utility-state {
  background-color: rgb(210, 224, 209, 0.6); 
}
.number-highlight-all {
    background-color: #65a665;
}

.highlight-active {
    border: 1px solid yellow;
}
.highlight-og {
    background-color: #b4d4b4;
}

.incorrect {
    color: red;
}

.check-correct {
    color: green;
}
.how-to-play-contain {
    width: 100%;
    text-align: center;
}

.how-to-play {
    width: 40%;
    font-family: Arial;
    color:#021f02;
    margin-top: 160px;
    text-align: left;
    margin-left: 30%;
}


.timer-contain {
    margin-top:15px;
    margin-left: 62px;
    width: 250px;
    text-align: left;
}

.timer-buttons {
    font-size: 14px;
    width: 60px;
    text-align: center;   
    border: 2px solid #55705b;
    border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-weight:bold;
	padding:4px 4px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    background-color:#ffffff;
    margin: 2px;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
    color: #55705b;
}

#timer-display {
    font-family: Arial;
    font-size: 18px;
    font-weight: 500;
    margin-left: 2px;
    color: #55705b;
}

.note-numbers {
    font-size: 14px;
}

.notes-on {
    border: 3px solid #f7c34a;
}

/*Start screen sizing*/

@media only screen and (max-width: 1300px) {
    body {
        width: 1300px;
    }
  .slot-contain {
    margin-left: 4%;
      width: 100vw;
}
}
@media only screen and (max-width: 1180px) {
  .slot-contain {
    margin-left: 2%;
}
.slot-one {
    width: 750px;
}
.grid {
    margin-left: 3%;
}
}
@media only screen and (max-width: 1050px) {
    body {
        width: 1050px;
    }
  
.cell {

 width: 60px;
 height: 60px;
 font-size: 32px;
 line-height:0.3em;
 margin: -2px;
 cursor: pointer;
 font-weight: 800;
}

.solve-buttons {
    display: inline-block;
    height: 40px;
	font-size:24px;
    padding:6px 20px;
    margin: 2px;
}

.non-solve-buttons {
    font-size: 14px;
    width: 150px;
    padding:6px 20px;
    margin: 2px;
    
}

.slot-one {
    width: 600px;
}

.note-numbers {
    font-size: 14px;
}

}


@media only screen and (max-width: 900px) {
    body {
        width: 900px;
    }
  
.cell {

 width: 68px;
 height: 68px;
 font-size: 36px;
 line-height:0.3em;
 margin: -2px;

}

.how-to-play {
    width: 70%;
    margin-left: 5%;
    font-family: Arial;
    color:#021f02;
    margin-top: 200px;
}

.solve-buttons {
    display: inline-block;
    height: 40px;
	font-size:24px;
    padding:6px 20px;
    margin: 2px;
}

.note-numbers {
    font-size: 14px;
}

.non-solve-buttons {
    font-size: 14px;
    width: 150px;
    padding:4px 14px;
    margin: 2px;
    height: 26px;
    vertical-align: top;


  
    
}
.slot-one {
    width: 750px;
}
.slot-two {
    width: 600px;
    margin-left: 4%;
   

}

.slot-contain {
    margin-top: 20px;
    margin-left: 2%;
}

}
@media only screen and (max-width: 700px) {
    body {
        width: 700px;
    }

.grid {
    margin-left: 0%;
}
.slot-contain {
margin-left: 1%;
margin-top: 10px;
}

}

@media only screen and (max-width: 655px) {
    body {
        width: 655px;
    }

.cell {
 width: 60px;
 height: 60px;
 font-size: 32px;
 line-height:0.3em;
 margin: -2px;
}

.grid {
    margin-left: 1%;
}
.slot-contain {
margin-left: 0%;
margin-top: 10px;
}

.slot-two {
    width: 600px;
    margin-left: 1%;
   
}

.solve-buttons {
    display: inline-block;
    height: 30px;
	font-size:30px;
    padding:6px 18px;
    margin: 2px;
}
.note-numbers {
    font-size: 14px;
}

}

@media only screen and (max-width: 596px) {
    body {
        width: 586px;
    }
.cell { 
width: 48px;
 height: 48px;
 font-size: 26px;
 line-height:0.3em;
 margin: -2px;
}

.slot-one {
    margin-top: 6px;
    width: 586px;
}
.slot-two {
    margin-top: 6px;
    margin-left: 3%;
    width: 400px;
    
}
.cell {
    font-weight: 600;
}

.number {

    top: 13px;
    left: 16px;
    line-height: 1.0em;
}

.grid {
    margin-left: 4%;
}

.solve-buttons {
    display: inline-block;
    height: 30px;
	font-size:24px;
    padding:6px 14px;
    margin: 2px;
}
.note-numbers {
    font-size: 14px;
}

}

@media only screen and (max-width: 510px) {
 html, body {

  padding: 0;
  height: 100%;
  width: 100%;
}
    .cell { 
width: 42px;
 height: 42px;
 font-size: 24px;
 line-height:0.3em;
 margin: -2px;
}

.candidate {
    margin-left: 4px;
    line-height: 0.4em;
}
.scratch-candidate {
    margin-left: 4px;
    line-height: 0.4em;
}

.solve-buttons {
    display: inline-block;
    height: 30px;
	font-size:18px;
    padding:6px 12px;
    margin: 2px;
}
.note-numbers {
    font-size: 14px;
}
.slot-one {
    width: 100%;
}

.slot-two {
    width: 450px;
    
}
.how-to-play {
    width:90%;
}

.non-solve-buttons {
    font-size: 16px;
    width: 140px;
    height: 24px;
	line-height: 1.4em;
	font-weight:400;
	padding:2px 2px;
    margin: 2px;
   
}
.number {

    top: 9px;
    left: 12px;
    line-height: 1.0em;
    font-size: 28px;
}
.intro-text {
    line-height: 1.5em;
}

}


@media only screen and (max-width: 450px) {
    html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}
.navbar {
    margin-top: 0px;
}
.slot-contain {

  padding: 0;
  height: 100%;
  width: 100%;
}
.slot-one {
  margin: 0;
  padding: 0;

  width: 100%;
}
.slot-two {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;

}
    
    .cell { 
    width: 37px;
    height: 37px;
    font-size: 15px;

    }
    .solve-buttons-contain {
        width: 350px;
    }
  
    .solve-buttons {
    display: inline-block;
    height: 30px;
	font-size:24px;
    padding:8px 20px;
    margin: 2px;
}
.note-numbers {
    font-size: 14px;
}

.candidate {
    font-size: 0.5em;
    margin-left: 4px;
    line-height: 1.6em;
}
.scratch-candidate {
    font-size: 0.5em;
    margin-left: 4px;
    line-height: 1.6em;
}


.columnone {
     border-left: 3px solid #55705b;
}
.rowone {
    border-top: 3px solid #55705b;
}
.rownine {
    border-bottom: 3px solid #55705b;
}
.columnnine {
    border-right: 3px solid #55705b;
}

.columnthree, .columnsix {
    border-right: 1px solid #55705b;
}
.columnfour, .columnseven {
    border-left: 1px solid #55705b;
}

.rowthree, .rowsix {
    border-bottom:1px solid #55705b;
}
.rowfour, .rowseven {
    border-top:1px solid #55705b;
}

.number {

    top: 7px;
    left: 9px;

}


}

@media only screen and (max-width: 410px) {
    html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}
   
    .slot-one {
        width:370px;
    }
    .slot-two {
        margin-top: -10px;
        width: 370px;
    }
   
    .cell { 
    width: 36px;
    height: 36px;
    font-size: 15px;
    }

    .number {
    text-align: center;
    position: absolute;
    top: 5px;
    left: 10px;
    line-height: 1.0em;

    }
}