@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');
@font-face {
  font-family: 'nastaleeq';
  src: url('https://cdn.jsdelivr.net/gh/tariq-abdullah/urdu-web-font-CDN/_PDMS_Jauhar_Regular.woff') format('woff');
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  overflow: scroll;
  padding: 0 20px;
  /* background: #22c32a; */
  background: #eee;
  /* font-family: 'Jameel Noori Nastaleeq', sans-serif; */
  /* Fallback font included */
  font-family: 'nastaleeq', sans-serif;

}
/* .urdu{
  font-family: 'nastaleeq', sans-serif;
} */
.content-1{
  font-family: 'Poppins', sans-serif;
}
.content-2{
  font-family: "Tiro Devanagari Hindi", serif;
}
.content-3{
    font-family: 'nastaleeq', sans-serif;
    direction: rtl
}
h4 {
  margin: 15px 0 5px 0;
  font-family: 'nastaleeq', sans-serif;

}

::selection {
  background: rgba(23, 162, 184, 0.3);
  
}


.wrapper {
  max-width: 700px;
  width: 100%;
  margin: 30px auto;
  padding: 25px 30px 40px 30px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

.wrapper header {
  /* font-size: 30px;
  font-weight: 600;
  color: #22c32a; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  /* margin-bottom: 5px; */
  border-bottom: 1px solid #ddd;
}

.wrapper nav {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}

.wrapper nav label {
  display: block;
  height: 100%;
  width: 120px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 1000;
  color: #000;
  font-size: 17px;
  /* border-radius: 20px; */
  margin: 0 10px;
  transition: all 0.3s ease;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  /* background: transparent; */
}

.wrapper nav label:first-child {
  margin-left: 0;
}

.wrapper nav label:hover {
  border-top: 1px solid #22c32a;
  border-bottom: 1px solid #22c32a;
  color: #22c32a;
}

#home:checked~nav label.home,
#blog:checked~nav label.blog,
#code:checked~nav label.code,
#help:checked~nav label.help,
#about:checked~nav label.about {
  color: #22c32a;
}

nav label i {
  padding-right: 7px;
}

nav .slider {
  position: absolute;
  height: 100%;
  width: 120px;
  left: 0;
  bottom: 0;
  z-index: 0;
  /* border-radius: 20px; */
  /* background: #22c32a; */
  /* background: #22c32a; */
  transition: all 0.3s ease;
  text-align: center;
  border-top: 1px solid #22c32a;
  border-bottom: 3px solid #22c32a;

}

input[type="radio"] {
  display: none;
}

#blog:checked~nav .slider {
  left: 140px;
}

#code:checked~nav .slider {
  left: 280px;
}

/* 
#help:checked~nav .slider {
  left: 60%;
}

#about:checked~nav .slider {
  left: 80%;
} */

section .content {
  display: none;
  background: #fff;
  color: #444;
}

section .content h4{
  color: #222;
}

#home:checked~section .content-1,
#blog:checked~section .content-2,
#code:checked~section .content-3
/* #help:checked~section .content-4,
#about:checked~section .content-5 */

  {
  display: block;
}

section .content .title {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #111;
}

section .content p {
  text-align: justify;
}
section .content p br{
  margin-bottom: 10px;
}


/* Brand Logo */
.brand-logo a {
  display: flex;
  height: 36px;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  margin-right: .5rem;
}

.brand-logo .logo-text {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 2.5px;
}

.brand-logo .logo-text h3,
.brand-logo .logo-text span {
  text-transform: uppercase;
  color: #18cd5e;
  margin: 0;
  padding: 0;
}

.brand-logo .logo-text h3 {
  letter-spacing: 3.4px;
  line-height: 20px;
}

.brand-logo .logo-text span {
  font-size: 12px;
  letter-spacing: .8px;
  line-height: 12px;
  padding-left: .5px;

}


@media screen and (max-width: 520px){

  .wrapper nav{
    height: 35px;
  }

  .wrapper nav label{
    width: 60px;
    line-height: 35px;
  }

  nav .slider{
    width: 60px;
  }

  #blog:checked~nav .slider{
    left: 80px;
  }
  #code:checked~nav .slider{
    left: 160px;
  }
}