@import url('https://fonts.googleapis.com/css?family=Montserrat');

/* **----------- General -------------*/
* {
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', serif;
  font-weight: 400;
  min-height: 100vh;
}

/* **---------- Logo and Navigation ------------- */

nav {
  height: 60px;
  width: 100%;
  background-color: rgb(103, 224, 235);
}

label.logo {
  color: white;
  color: black;
  font-size: 30px;
  line-height: 70px;
  padding-left: 30px;
  font-weight: bold;
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
}

a.active,
a:hover {
  transition: 0.5s;
}

.checkbtn {
  font-size: 30px;
  float: right;
  display: block;
  line-height: 80px;
  margin-right: 60px;
  cursor: pointer;
}

#check {
  display: none;
}

#nav {
  position: fixed;
  width: 25%;
  height: 100vh;
  background: #2c3e50;
  top: 0px;
  left: -100%;
  text-align: center;
  transition: all 0.5s;
}

nav ul li {
  display: block;
  margin: 30px 0;
  line-height: 30px;
}

a:hover,
a.active {
  color: #4ce8f6;
}

#check:checked ~ ul {
  left: 0;
}

/* **************** HOME page *************** */

h1 {
  padding-left: 20px;
  padding-top: 10px;
}

h3 {
  font-size: 1em;
  line-height: 1.6em;
}

.container {
  background-color: #ccc;
  padding-left: 20px;
  padding-right: 20px;
}

.container div {
  padding-top: 10px;
}

#p-info {
  font-size: 1em;
  line-height: 1.6em;
  padding-top: 1em;
}

#list {
  padding-left: 50px;
}

#number-check h3 {
  margin-bottom: 10px;
}

#demo {
  background-color: rgb(103, 224, 235);
  width: auto;
  height: 25px;
  padding-top: 2px;
  margin-bottom: 3px;
}

#inputId {
  width: 180px;
  height: 23px;
}

#sbutton {
  width: 90px;
}
/* **************** RANGE page ****************** */
#rangeInfo h3 {
  margin-bottom: 10px;
}

#startN,
#stopN {
  width: 180px;
  height: 23px;
}

/** output results styles */

.prmsFound {
  margin-bottom: 10px;
}

#nav-primes {
  background-color: rgb(103, 224, 235);
  width: auto;
  margin-bottom: 3px;
  color: black;
  font-weight: bold;
  line-height: 1.6em;
  overflow-wrap: break-word;
}

/* **---------- Responsive Settings ------------ */
@media screen and (max-width: 500px) {
  label.logo {
    font-size: 20px;
    padding-left: 10px;
  }
  .checkbtn {
    margin-right: 15px;
  }
}
