*{
  margin:0;
  padding: 0;
  box-sizing: border-box;
}
html{
  /* margin: 0px; */
  /* padding: 0px; */
  width:100%;
  height: 100%; /*footer at the bottom*/
}
/* header .Headercontainer{
  background-color: rgb(67, 67, 66);
} */
header .HeaderNav{
  max-height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content:space-around;
  align-items: flex-start;
  width:100%;
  padding:20px 0;
  
}
header .nav-wrapper{
  margin:0;
  /*padding: 1.7%;*/
}
header .logo {
  float: left;
  /*padding: 1.5%;*/
}

/*deleting body wont affect much the page, some improvments*/
body{
  background-color: #a2a2a2;
  margin: 0px;
  padding: 0px;
  min-height: 100%;/*footer at the bottom*/
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  display: flex;/*footer at the bottom*/
  flex-direction: column;/*footer at the bottom*/
  transition: background-color 1s, color 1s;/*dark mode transition*/
}
main{
  background-color: #d7d7d7;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
.logo a{
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 0px;
  text-decoration: none;
}
nav ul li {
  background-color: transparent;
  display: inline-block;
  /* float: left; */
}
nav ul li:not(:first-child){
  margin-left: 48px;
}
nav ul li a{
  color: #000;
  display: inline-flex;
  outline: none;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
}

/*Hover effects navbar*/
nav ul li a:hover{
  color:#e91e63;
  transition: 0.25s;
}
/*Scrollbar*/
::-webkit-scrollbar {/* Track */
  display: none;
}

/*Footer*/
footer{
  padding: 70px 0;
  margin-top: auto;/*footer at the bottom*/
}
.FooterContainer{
  max-width: 1170px;
  margin: auto;
}
.footer-row{
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
}
.footer-col{
  width: 22%;
  margin: 0.5rem;
  padding: 0 30px;
}

.footer-col h4{
  font-size: 1.2em;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}
.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 90px;/*underline*/
}

.footer-col ul li:not(last-child){
  margin-bottom: 10px;
}
.footer-col ul li a{
  color: #000;
  font-size: 0.8em;
  text-transform: capitalize;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.2s ease;
}
.footer-col ul li a:hover{
  padding-left: 8px;
}
.footer-col .social-links a{
  display: inline-block;
  height: 40px;
  width: 40px;
  margin-right: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #000000;
  background-color: #e91e63;
  transition: all 0.2s ease;
}
.footer-col .social-links a:hover{
  color: #000;
  transform: scale(1.2);
}

/*------------------------------------------------------------*/
/*-----------------------Mobile version-----------------------*/
/*------------------------------------------------------------*/

@media screen and (max-width: 900px){
  header .HeaderNav{
    /*max-height: fit-content;*/
    display: inline-flex;
    flex-direction: row;
    justify-content:space-around;
    align-items: center;
    width:100%;
    padding:5px 0;
  }
  header .logo{
    position: relative;
    /*padding: 2%;*/
  }
  .nav-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #1F0954;
    opacity: 0;
    transition: all 0.2s ease;
  }
  .nav-wrapper ul{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }
  .nav-wrapper ul li{
    display: block;
    float: none;
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
  }
  /*Setting the timing to display the links*/
  .nav-wrapper ul li:nth-child(1) a{/* Selects the first li element in a list */
    transition-delay: 0.25s;
  }
  .nav-wrapper ul li:nth-child(2) a{/* Selects the second li element in a list */
    transition-delay: 0.30s;
  }
  .nav-wrapper ul li:nth-child(3) a{/* Selects the third li element in a list */
    transition-delay: 0.35s;
  }
  .nav-wrapper ul li:nth-child(4) a{/* Selects the fourth li element in a list */
    transition-delay: 0.40s;
  }
  .nav-wrapper ul li:nth-child(5) a{/* Selects the fifth li element in a list */
    transition-delay: 0.45s;
  }
  .nav-wrapper ul li:not(:first-child){ /*ul:not(:first-child) means literally "any ul element that is not first child of its parent"*/
    margin-left: 0;
  }
  /*Styling links*/
  .nav-wrapper ul li a{
    padding: 10px 24px;
    opacity: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transform: translateX(-20px);
    transition: all 0.2s ease;
  }
  .nav-btn {
    /*position: relative;
    float: right;
    right: 10px;
    top: 2px;
    display: block;
    width: 48px;
    height: 48px;*/
    cursor: pointer;
    /*top:-15px;*/
    z-index: 9999;
    border-radius: 50%;
  }
  .dark-mode-toggle {
    display: block;
    font-size: 17px;
    width: 48px;
    height: 48px;
  }
  /*hambuguer icon*/
  .nav-btn i {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #e91e63;
    color: #e91e63;
    border-radius: 2px;
    /*margin-left: 14px;*/
  }
  /*.nav-btn i:nth-child(1) {
    margin-top: 16px;
  }*/
  .nav-btn i:nth-child(2){
    margin-top: 4px;
    opacity: 1;
  }
  .nav-btn i:nth-child(3){
    margin-top: 4px;
  }

  /*Footer*/
  /* .footer-col{
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
   } */
    .footer{
      width:100%;
      height: auto;
      display: grid;
      grid-template-columns:repeat(3,1fr);
    }
    .footer-row{
      display: flex;
      flex-wrap: wrap;
      justify-content:flex-start;
    }
    .footer-col .social-links{
      display: grid;
      grid-template-columns:repeat(3,1fr);
      column-gap: 1px;
      height: 35px;
      width: 35px;
      line-height: 35px;
    }
}






/*hamburguer menu effect*/
#nav:checked + .nav-btn{
  transform: rotate(45deg);
}
#nav:checked + .nav-btn i{
  background: #e91e63;
  transition: transform 0.2s ease;
}
#nav:checked + .nav-btn i:nth-child(1){
  transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-btn i:nth-child(2){
  opacity: 0;
}
#nav:checked + .nav-btn i:nth-child(3){
  transform: translateY(-6px) rotate(90deg);
}
/*Displaying nav elements*/
#nav:checked ~ .nav-wrapper{
  z-index: 9990;
  opacity: 1;
}
#nav:checked ~ .nav-wrapper ul li a{
  opacity: 1;
  transform: translateX(0);
}
.hidden{
  display: none;
}