*   {
    font-family: "trebuchet MS", Times, serif;
}

.gmheader {
    /*background-color: #333;*/
    overflow: hidden;
}

.gmheader a {
    float: left;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.gmheader a:hover {
    background-color: #4CAF50;
    color: white;
}

#hireme {
  float: right;
  font-size: 17px;
  cursor: pointer;
  display: inline-block;
  font-weight: 100;
}

#hireme:hover {
  background-color: black;
  background: rgba(red, 0);
  font-weight: 900;
  letter-spacing: 1px;
  
}

#dividerline {
  position: relative;
  width: calc(100%-1px);
  height: -4px;
  border-bottom: 1px solid;
  color: black;
}

#heading {
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 50px;
  padding-left: 15%;
  max-width: 600px;
  font-size: 40px;
}

#paragraph1 {
  display:inline-block;margin-left:15%;
  padding-right: 25%;
  max-width: 400px;
  font-size: 20px;

}

#emaildiv {
  padding-top: 20px;
  padding-left: 15%;
}
#email {
  color: black;
  font-size: 19px;
  text-decoration: none;
  border-bottom: 1px solid black;
  padding-bottom: 1.5px;
}

#projectsheader {
  padding-top: 100px;
  padding-left: 15%;
}

#projectshead {
  font-size: 30px;
  font-family: impact;
}

#sudokuimg {
  width: 200px;
}

#proj2 {
  padding-left: 20px;
}

.container {
  margin-top: 50px;
  color: lightgray;
}

.button {
  margin-left: 15%;
  margin-top: 30px;
  background: rgb(243, 242, 242);
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
.button:hover {
  background: #b2e0b4;
  transition: background 500ms linear;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  overscroll-behavior: contain;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 64.2%;
  position: relative;
  animation-name: phasein;
}
@keyframes phasein {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

.proj1content {
  padding-bottom: 20px;
}

.extra-info {
  display: none;
  font-size: 12px;
  position: relative;
  text-align: justify;
}

.info:hover .extra-info {
  display: block;
}

.info {
  font-size: 20px;
  padding-left: 5px;
}

.info:hover {
  text-align: left;
  transition: all 1s step-start;
}


table { border-collapse: collapse; font-family: Calibri, sans-serif; }

colgroup, tbody { border: solid medium; }

td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; }

#inputsudoku {
  padding-top: 30px;
  margin: auto;
}

#outputsudoku {
  padding-top: 100px;
  margin: auto;
}

input {
  width: 20px;
  border-width: 0px;
}

#sudokuinput {
  width: 25px;
  height: 25px;
}

.solvedbutton {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 60px;
  margin-top: 20px;
  margin-bottom: 15px;
}
.solvedbutton:hover {background-color: #3e8e41}

.solvedbutton:active {
  background-color: #3e8e41;
  transform:scale(1.05);
  transition-duration: 0.05s;
}

#solvediv {
  text-align: center;
}

#chessboard {
  margin: auto;
}

.chess-board {
  margin: auto; 
}
.dark {
  background-color: #aaa;
}
.light {
  background-color: #eee;
}
.chess-board { border-spacing: 0; border-collapse: collapse; }
.chess-board th { padding: .5em; font-size: 20px;}
.chess-board th + th { border-bottom: 1px solid #000; }
.chess-board th:first-child,
.chess-board td:last-child { border-right: 1px solid #000; }
.chess-board tr:last-child td { border-bottom: 1px solid; }
.chess-board th:empty { border: none; }
.chess-board td { width: 1.5em; height: 1.5em; text-align: center; font-size: 32px; line-height: 0;}
.chess-board .light { background-color: #eee; }
.chess-board .dark { background-color: #aaa; }

#dark {
  background-color: #aaa;
  width: 30px;
  font-size: 25px;
}
#light {
  width: 30px;
  font-size: 25px;
}

#white {
  background-color: #eee;
}

#black {
  background-color: #aaa;
}


#moveinput {
  display: none;
  margin: auto;
  text-align: center;
}

.moveinput {
  width: 100px;
  border-width: 1px;
  border-color: black;
  text-align: center;
}

.submitbutton {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 60px;
  margin-top: 20px;
  margin-bottom: 15px;
}
.submitbutton:hover {background-color: #3e8e41}

.submitbutton:active {
  background-color: #3e8e41;
  transform:scale(1.05);
  transition-duration: 0.05s;
}


.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .closepopup {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: black;

}
.popup .closepopup:hover {
  color: #4CAF50;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
#activepage {
    background-color: #4CAF50;
}

.legacy-back {
  position: fixed;
  left: 12px;
  top: 50%;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: black;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}
