
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* Basic styling */
:root{
--clr-backgorund-green:#9ded95;
--clr-primary:#0f240d;
--clr-title:#084518;
}



* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body{

  background: #76b852;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #8DC26F, #76b852);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #8DC26F, #76b852); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}


nav {


  left: 0;
  top: 0;
  width: 100vw;
  height:65px;
 

  background: #231f20;

  background: linear-gradient(to bottom, #003300 0%, #336600 100%);
  padding: 5px 20px;
}


ul {
  
  list-style-type: none;
}
a {
  color: white;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.logo a:hover {
  text-decoration: none;
}
.menu li {
  font-size: 16px;
  padding: 15px 5px;
  white-space: nowrap;
}
.logo a,
.toggle a {
  font-size: 20px;
}
.button.secondary {
  border-bottom: 1px #444 solid;
}

/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.toggle {
  order: 1;
}
.item.button {
  order: 2;

}
.item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
}
.item.active {
  display: block;
}

/* Navbar Toggle */
.toggle {
  cursor:pointer;
}
.bars {
  background: #999;
  display: inline-block;
  height: 2px;
  position: relative;
  transition: all .2s ease-out;
  width: 18px;
}
.bars:before,
.bars:after {
  background: #999;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
.bars:before {
  top: 5px;
}
.bars:after {
  top: -5px;
}



/*main-content*/
.main-content .neon{

  font-size: 50px;
  text-align: center;
  margin-top: 10vh;
  color: var(--clr-title);
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
  text-decoration: underline;
  transition-duration: 0.2s;
  transition-timing-function: linear;
  transition-property: all;
}

.main-content .neon:hover{
transform: scale(1.04);
  
}

/* Tblet menu */
@media all and (min-width: 468px) {
  .menu {
      justify-content: center;
  }

  .logo {
      flex: 1;
  }

  .item.button {
      width: auto;
      order: 1;
      display: block;
  }
  .toggle {
      order: 2;
  }
  .button.secondary {
      border: 0;
  }
  .button a {
      padding: 7.5px 15px;
      background: #006600;
      border: 1px #006d6d solid;
      border-radius:50em;
  }
  .button.secondary a {
      background: transparent;    
  }
  .button a:hover {
      text-decoration: none;
      transition:all .25s;
  }
  .button:not(.secondary) a:hover {
      background: #006601;
      border-color: #005959;
  }
  .button.secondary a:hover {
      color: #ddd;
  } 
}

/* Desktop menu */
@media all and (min-width: 768px) {
  .item {
      display: block;
      width: auto;
  }
  .toggle {
      display: none;
  }
  .logo {
      order: 0;
  }
  .item {
      order: 1;
  }
  .button {
      order: 2;
  }
  .menu li {
      padding: 15px 10px;
  }
  .menu li.button {
      padding-right: 0;
  }
  
  nav{
    width: 100vw;
   height: 65px;
}}  


/*card*/

img {
    width: 100%;
    border-radius: 12px;
    height: 214px;
  
    object-fit: cover
  }
  .section1{
  
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .container {
  
    max-width: 300px;
  
    /* Center the container in middle on horizontal axis */
  
  
    /* Add empty space above the container (20% of the view height) */
    margin-top: 10vh;
  }
  .card {
    height: 475px;
    box-shadow: 0px 2px 5px darkgreen;
    /* Change background color */
    background-color: white;
  
    /* Add border */
    border: 1px solid black;
  
    /* Add space between the border and the content */
    padding: 10px;
  
    border-radius: 12px;
  }
  
  
  /* Style div elements that have class equal to tag */
  .tag {
  
    padding: 4px 8px;
    margin-left: 20%;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #788697;
  }
  
  /* Style div elements that have class equal to name */
  .name {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
    transition-duration: 0.2s;
    transition-property: all;
    transition-timing-function: ease-in-out;
  }
  .name:hover{
    font-size: 2em;
    text-decoration: underline;
  }
  /* Style p element */
  .para{
    font-size: 14px;
    color: #7f8c9b;
    line-height: 150%;
    text-align: center;
  
    border: 1px solid rgba(0,0,0,0.2);
  
  
    
    transition-duration: 0.3s;
    transition-timing-function:linear;
    transition-property: all;
  }
  .para:hover{
    transform: scale(1.1);
    color: black;
  
  }
  /* Style button element */
  button {
  
    border: none;
    padding: 18px 24px;
    border-radius: 50px;
  
    font-weight: 600;
    color: #0f240d;
    background-color: #e0efff;
  
    /* Button is inline-block element by default, it need to have block display for margin: 0 auto; to work */
    margin: 0 auto;
    margin-top: 2px;
    display: block;
  
    /* Button is a clickable element, therefore it should have a pointer cursor */
    cursor: pointer;
  
    transition-property: transform;
    transition-timing-function: linear;
    transition-duration: 200ms;
  }
  button:hover{
    transform:rotate(360deg);
  }
  .card__details {
    /* Add space around the details */
    padding: 16px 8px 8px 8px;
  }
.wrap{
  display: flex;
  justify-content:center;
  margin-bottom: 100px;
}
  .post{

    width: 600px;
    height: 400px;
    position: relative;
    cursor: pointer;
  }
  .post:hover .post-s{
    width: 600px;
  }
  .post img {
    display: block;
    width: 600px;
    height: 400px;
  }
  .post-s{
    width: 0px;
    height: 400px;
    background: rgba(99, 133, 30, 0.7);
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.7s ease;
  }
  .post-s h2{
    color: white;
    font-size: 50px;
    border: 6px solid white;
    padding: 10px 30px;
  }