/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(205, 86%, 17%);
  --clr-primary-2: hsl(205, 77%, 27%);
  --clr-primary-3: hsl(205, 72%, 37%);
  --clr-primary-4: hsl(205, 63%, 48%);
  /* primary/main color */
  --clr-primary-5: hsl(205, 78%, 60%);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(205, 89%, 70%);
  --clr-primary-7: hsl(205, 90%, 76%);
  --clr-primary-8: hsl(205, 86%, 81%);
  --clr-primary-9: hsl(205, 90%, 88%);
  --clr-primary-10: hsl(205, 100%, 96%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --clr-red-dark: hsl(360, 67%, 44%);
  --clr-red-light: hsl(360, 71%, 66%);
  --clr-green-dark: hsl(125, 67%, 44%);
  --clr-green-light: hsl(125, 71%, 66%);
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.1rem;
  --radius: 0.25rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --max-width: 1170px;
  --fixed-width: 620px;
}

/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--ff-secondary);
  background: var(--clr-grey-10);
  color: var(--clr-grey-1);
  line-height: 1.5;
  font-size: 0.875rem;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}


/*
=============== 
Navbar
===============
*/
nav {
  background: rgba(213, 228, 235, 0.53);
  box-shadow: var(--light-shadow);
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.nav-toggle {
  font-size: 1.5rem;
  color: var(--clr-primary-5);
  background: transparent;
  border-color: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.nav-toggle:hover {
  color: var(--clr-primary-1);
  transform: rotate(90deg);
}

.logo {
  height: 40px;
}

.links a {
  color: var(--clr-grey-3);
  font-size: 1rem;
  text-transform: capitalize;
  letter-spacing: var(--spacing);
  display: block;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.links a:hover {
  background: var(--clr-primary-8);
  color: var(--clr-primary-5);
  padding-left: 1.5rem;
}

.social-icons {
  display: none;
}

.links {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.show-links {
  height: 15rem;
}

@media screen and (min-width: 800px) {
  .nav-center {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }

  .nav-header {
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .links {
    height: auto;
    display: flex;
  }

  .links a {
    padding: 0;
    margin: 0 0.5rem;
  }

  .links a:hover {
    padding: 0;
    background: transparent;
  }

  .social-icons {
    display: flex;
    justify-content: center;
  }

  .social-icons a {
    margin: 0 0.5rem;
    color: rgb(255, 255, 255);
    transition: var(--transition);
  }

  .social-icons a:hover {
    color: var(--clr-primary-7);
  }
}

.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--clr-white);
  box-shadow: var(--light-shadow);
}

.fixed-nav .links a {
  color: var(--clr-grey-1);
}

.fixed-nav .links a:hover {
  color: var(--clr-secondary);
}

.centered-vers {
  display: grid;
  justify-content: center;
}

.bacc {
  display: grid;
  justify-content: center;
  width: 60%;
}

.btnLnk {
  text-transform: uppercase;
  background: transparent;
  color: black;
  padding: 0.375rem 0.75rem;
  letter-spacing: 0.25rem;
  display: inline-block;
  transition: all 0.3s linear;
  font-size: 0.875rem;
  border: 2px solid black;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
}

.btnLnk:hover {
  color: green;
  background: black;
  font: bolder;
  transform: scale(1.2)
}

.parent {
  display: flex;
  justify-content: center;
}

.messages {

  padding: 2%;
  border-radius: 3%;
  background: rgb(181, 181, 248);
}

.fifty {
  width: 50%;
}

footer {
  text-align: center;
  background-color: rgb(25, 25, 112);
  color: rgb(255, 255, 255);
  padding: 1%;
}



.fit {
  height: 59vh;
}

.cont3nt {
  display: grid;
  align-items: center;
  height: 51.5vh;
  font-size: 17px;
}

@media screen and (max-width: 768px) {
  main {
    display: block;
  }

  .cont3nt {
    height: auto;
    margin: 2%;
  }

  aside {
    display: none;
    /* margin: 1%;
        display: flex;
        justify-content: center;
        text-align:center; */
  }

  .ads {
    display: none;
  }

  .container {
    display: block !important;
  }

  .blogs {
    width: 60%;
    display: grid;
    text-align: center;
    justify-content: center;
  }

  aside li {
    list-style: none;
    border: groove;
    border-radius: 5%;
    background: #e8e8f7a1;
  }

  .fifty {
    width: 90%;
  }

  .pagination-container {
    margin-bottom: 2%;
  }
  .fformss{
    width: 100%;
  }
}

.mainPimg {
  width: 60%;
  margin-bottom: 2%;
}

section {
  padding: 2%;
}

aside {
  text-align: center;
  background: #f9f9f9ad;
}

aside li a {
  color: rgb(7, 108, 74);
}



aside li {

  list-style: none;
  border-radius: 50%;
  padding: 10%;
  margin: 7%;
  background: #e8e8f7a1;
  transition: all linear 0.3s;

}

aside li:hover {
  background-color: #eff7ff;
  transform: scale(1.1);
  color: black;
  text-decoration: underline;
}

.sectionDiv {
  display: flex;
  justify-content: center
}

.sectionDiv p {

  width: 95%;
  text-align: justify;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode';
  line-height: 2;

}

.asideH {
  text-align: center;
  color: #6a4f4f;
  padding: 6%;
}

.ads {

  text-align: center;
  padding: 0 7% 0 7%;
  background-color: #c2ccff1f;
}

.leftas {
  border: solid 2px;
  box-shadow: gray;
  transition: all;

}

.leftas:hover {
  transform: scale(1.1);
}

p {
  clear: both;
}

h1 {
  font-family: 'Papyrus', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode';
  text-align: center;
  font-size: xx-large;
}


.laboutt {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}

#fformss {
  padding: 2%;
  width: 62%;
}


input[type="submit"] {
  cursor: pointer;
  transition: all;
}

input[type="submit"]:hover {
  transform: scale(1.2);
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 2%;
  grid-row-gap: 2%;
  justify-content: center;
  background: aliceblue;
  margin-bottom: 7%;
  padding: 0 2% 0 2%;
}

.card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s linear;
  border-radius: 0.25rem;
  background: rgb(223, 240, 244);
  margin: 7%;
  padding: 5%;
  width: 80%;
}

.card:hover {
  transform: scale(1.1);
  background-color: rgb(239, 241, 247);
}

.card p {
  text-align: left;
}

.card h5 {
  text-align: center;
}

.card a {
  color: rgb(67, 66, 66);
}

.card a:hover {
  color: rgb(120, 122, 123);
}

.read-more {
  text-decoration: none;
  float: right;
  border: solid rgb(204, 202, 214);
  transition: all 0.3s linear;
}

.read-more:hover {
  transform: scale(1.1);
  background-color: aliceblue;
}

.pagination {
  display: flex;
  justify-content: center;
}

.page-item {
  padding: 1%;
}

.page-link {
  text-decoration: none;
}

.pagination-container {
  text-align: center;
}