/*
 All created by Qasim Sarwari
 Contact on WhatsApp: (+93) 0798678624
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'ProductSans';
  color: #000;
}
@font-face {
  font-family: 'material-icons';
  src: url(material-icons.ttf);
}
@font-face{
  font-family: 'ProductSans';
  src: url(../ProductSans.ttf)
}
:root {
  --bg: #1876f3;
}
body {
  height: 100vh;
  background: #eef3f9;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,strong,b{
  letter-spacing: 0.5px;
  color: #333;
}
.coding, span,pre,fieldset{
  font-family: Arial;
}
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 9px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2);
  z-index: 1;
  user-select: none;
}
.navbar {
  width: 100%;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2);
  user-select: none;
  border-bottom: 2px solid var(--bg);
}
#home,#menu,#back {
  font-family: 'material-icons';
  font-size: 25px;
  transition: 0.3s;
}
#menu.act {
  transform: rotate(360deg);
}
#menu{
  text-shadow: 2px 2px 3px rgba(0,0,0,0.1);
  font-size: 30px;
}
#back:hover {
  color: #197;
}
.header {
  position: relative;
  width: 100%;
  height: 100px;
  background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url(../images/nav.jpg) no-repeat;
  background-size: 100%;
  background-position: center;
  /*box-shadow: 0 2px 2px rgba(0,0,0,0.2);*/
  display: grid;
  place-items: center;
  color: #fff;
  border-bottom: 2px solid var(--bg);
}
.header:before {
  position: absolute;
  content: 'PHP';
  left: 50%;
  bottom: -25px;
  transform: translate(-50%,0%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
  display: none;
  transition: 0.2s;
}
.back.act {
  display: block;
}
.content {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.content a {
  cursor: default;
}
.content .box {
  position: relative;
  width: 41vmin;
  height: 160px;
  padding: 40px 15px;
  background: #fff;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  text-align: center;
  margin: 10px auto;
  overflow: hidden;
  color: #000;
  border-radius: 5px;
}
.content .box:hover {
  transition: 0.3s;
  background: #eef3f9;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.content .box:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--bg);
  border-radius: 0 0 100% 100%;
}
.content .box span {
  font-family: 'material-icons';
  font-size: 40px;
  color: var(--bg);
}
#sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 3px rgba(0,0,0,0.2);
  z-index: 3;
  transition: 0.3s;
  overflow: auto;
}
#sidebar.act {
  left: 0;
}
#sidebar .img {
  width: 100%;
  height: 100px;
  background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url(../images/nav.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid #fff;
  padding: 15px 20px;
}

#sidebar .img h2 {
  color: #fff;
}
#sidebar .img p {
  color: #fff;
}
/*#sidebar ul{
  margin-top: 40px;
}*/
#sidebar ul li {
  list-style: none;
}
#sidebar ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 15px;
  color: #697983;
  font-size: 18px;
  cursor: default;
  border-bottom: 1px solid #f1f1f1;
}
#sidebar ul li a:hover {
  background: #eef3f9;
  transition: 0.3s;
}
#sidebar a span {
  font-size: 25px;
  font-family: 'material-icons';
  width: 40px;
  color: #697983;
  height: 100%;
  border-right: 1px solid #f1f1f1;
  margin-right: 10px;
}
/* basic & advance list style */
.ls {
  width: 100%;
  padding: 0 15px;
  padding-bottom: 10px;
  padding-top: 50px;
}
.ls li {
  list-style: none;
}
.ls ul li a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 7px 15px;
  background: var(--bg);
  color: #fff;
  margin: 5px 0;
  border-radius: 2px;
  cursor: default;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2);
  overflow: hidden;
}
.ls a:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(255,255,255,0.2);
  opacity: 0;
}
.ls li a:hover:before {
  opacity: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: 0.3s;
}
.ls ul li a span {
  font-family: 'material-icons';
  color: #fff;
  margin-right: 5px;
  font-size: 18px;
}
/*Table Style*/
th {
  border: 1px solid #1565c0;
  background: #1565c0;
  padding: 10px;
  color: aliceblue;
  font-size: 16pt;
}

.alt {
  border: 1px solid #1565c0;
  border-collapse: collapse;
  margin: 10px auto;
  margin-bottom: 50px;
  width: 97%;
  /* box-shadow: 2px 2px 2px 2px #9c8790; */
}
td {
  border: 1px solid #ddd;
  padding: 10px;
}

tr:nth-child(odd) {
  background: #5ba3f7;
}
/*//table style*/

.heading {
  color: #1565c0;
  text-align: justify;
  margin-top: 0px;
  margin-bottom: 0px;
}
td,
p,
.pre-content {
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  text-align: justify;
}
li {
  color: #000000;
  font-family: "Lato", Helvetica, sans-serif;
  font-size: 12pt;
  line-height: 1.5;
  text-align: justify;
}
.container {
  padding: 15px;
  padding-top: 50px;
  width: 80%;
  margin: 0 auto;
  background: #fff;
  overflow: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.coding {
  width: 97%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  margin-bottom: 4px;
}

fieldset {
  margin-top: 15px;
  margin-bottom: 10px;
  width: auto;
  overflow: scroll;
  border-width: 0.1em 0.1em 0.1em 0.4em;
  background: #f8f8f8;
  border-radius: 5px;
  overflow: auto;
}

legend {
  font-size: 14pt;
  color: #000000;
  font-weight: bold;
}

.output-content {
  margin: 2px 10px 2px 10px;
}
hr {
  width: 100%;
}
img {
  width: 95%;
  height: 70%;
  align-self: center;
  margin-top: 5px;
  margin-bottom: 5px;
}
.clear {
  margin-bottom: 40px;
}
ul {
  list-style-type: circle;
}
.privacy{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  height: 90%;
  padding: 20px;
  padding-bottom: 30px;
  background: #fff;
  z-index: 5;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(0,0,0,0.3);
}
.privacy h2{
  padding-bottom: 5px;
}
.privacy .txt{
  width: 100%;
  height: 90%;
  overflow: auto;
  padding: 5px;
  text-align: justify;
  border-radius: 3px;
  box-shadow:inset 0 1px 1px rgba(0,0,0,0.2);
}
.privacy .txt::-webkit-scrollbar{
  width: 5px;
  background: #eef3f9;
  border-radius: 30px;
}
.privacy .txt::-webkit-scrollbar-thumb{
  width: 100%;
  background: #1876f3;
  border-radius: 30px;
}
.privacy button{
  padding:8px 0;
  border: none;
  color: #1876f3;
  background: none;
  font-weight: bold;
  font-size: 16px;
  outline: none;
  float: right;
}
.txt strong{
  margin-bottom: 10px;
  color: #197;
}
.about{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  padding: 20px 30px;
  background: #fff;
  z-index: 2;
  box-shadow: 0 0 80px rgba(0,0,0,0.4);
  text-align: justify;
}
.about div{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.about div span{
  font-family: 'material-icons';
  font-size: 22px;
}
.about p a:hover{
  background: #1876f3;
  color: #fff;
  padding: 3px;
  font-size: 13px;
  transition: 0.3s;
  border-radius: 3px;
}
@media screen and (max-width:355px) {
  .content {
    padding: 20px 15px;
  }
  .content .box {
    width: 130px;
  }
}