@keyframes checked-anim {
    50% {
        width: 3000px;
        height: 3000px;
    }
    100% {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
@keyframes not-checked-anim {
    0% {
        width: 3000px;
        height: 3000px;
    }
}


/*For mobile device*/
@media screen and (orientation: landscape) {
  .logo{
    position: fixed;
    left:20px;
    top:0px;
    z-index:110;
    padding:20px;
    background-color:
    rgba(255,255,255,0.7);
    border-radius:0 0 25px 25px;
  }

  #trigger, #burger, #burger:before, #burger:after {
      position: fixed;
      top: 36px;
      right: 35px;
      background:red;
      /*background: #00843e;*/
      width: 45px;
      height: 8px;
      transition: .2s ease;
      cursor: pointer;
      z-index: 1;
  }

  #trigger {
      height: 45px;
      background: none;
  }

  #burger:before {
      content: " ";
      top: 18px;
  }

  #burger:after {
      content: " ";
      top: 54px;
  }

  #menu-toggle:checked + #trigger + #burger {
      top: 35px;
      transform: rotate(180deg);
      transition: transform .2s ease;
      z-index:110;
  }

  #menu-toggle:checked + #trigger + #burger:before {
      width: 30px;
      top: -4px;
      left: 24px;
      transform: rotate(45deg) translateX(-5px);
      transition: transform .2s ease;
  }

  #menu-toggle:checked + #trigger + #burger:after {
      width: 30px;
      top: 5px;
      left: 24px;
      transform: rotate(-45deg) translateX(-5px);
      transition: transform .2s ease;
  }


  #menu, #menu > #menuLeft > li, #menu > #menuRight {
      color: #00843e;
      font-size: 14pt;
      font-weight: 700;
      line-height: 1.8;
      text-decoration: none;
      text-transform: none;
      list-style: none;
      outline: 0;
      display: none;
  }

  #menu > #menuLeft > li > a{
    color: #00843e;
    font-size: 2vw;
    text-decoration: none;
    text-transform: none;
    list-style: none;
  }

  #menu > #menuLeft > li > a:hover:after{
    content: url(../img/butterfly_red.webp);
    margin-left: 25px;
  }

  #menu > #menuLeft > li > a:hover{
    color:#D9272E;
  }

  #menuLeft > li {
      text-indent: 56px;
    }

  #menu {
      position: fixed;
      top:0;
      margin: 0; padding: 0;
      width: 1px;
      height: 1px;
      background-color: #fff;
      border-bottom-right-radius: 100%;
      animation: not-checked-anim .2s both;
      transition: .2s;
      display:grid;
      grid-template-columns: 1fr;
      background-image: url("../img/bg_leaft_green.webp");
      background-repeat: no-repeat;
      background-position: right bottom;
  }


  #menu #menuLeft > li:first-child{
  	margin-top:110px;
  }
}

@media all and (max-width:1000px){
  .logo{
    position: fixed;
    left:20px;
    top:0px;
    z-index:110;
    padding:20px;
    background-color:
    rgba(255,255,255,0.7);
    border-radius:0 0 25px 25px;
  }

  #trigger, #burger, #burger:before, #burger:after {
      position: fixed;
      top: 36px;
      right: 35px;
      background:red;
      /*background: #00843e;*/
      width: 45px;
      height: 8px;
      transition: .2s ease;
      cursor: pointer;
      z-index: 1;
  }

  #trigger {
      height: 45px;
      background: none;
  }

  #burger:before {
      content: " ";
      top: 18px;
  }

  #burger:after {
      content: " ";
      top: 54px;
  }

  #menu-toggle:checked + #trigger + #burger {
      top: 35px;
      transform: rotate(180deg);
      transition: transform .2s ease;
      z-index:110;
  }

  #menu-toggle:checked + #trigger + #burger:before {
      width: 30px;
      top: -4px;
      left: 24px;
      transform: rotate(45deg) translateX(-5px);
      transition: transform .2s ease;
  }

  #menu-toggle:checked + #trigger + #burger:after {
      width: 30px;
      top: 5px;
      left: 24px;
      transform: rotate(-45deg) translateX(-5px);
      transition: transform .2s ease;
  }


  #menu, #menu > #menuLeft > li {
      color: #00843e;
      font-size: 14pt;
      font-weight: 700;
      line-height: 1.8;
      text-decoration: none;
      text-transform: none;
      list-style: none;
      outline: 0;
      display: none;
  }

 #menu > #menuRight{
   display: none;
 }

  #menu > #menuLeft > li > a{
    color: #00843e;
    font-size: 20px;
    text-decoration: none;
    text-transform: none;
    list-style: none;
    margin-bottom:7px;
  }

  #menu > #menuLeft > li > a:hover:after{
    content: url(../img/butterfly_red.webp);
    margin-left: 25px;
  }

  #menu > #menuLeft > li > a:hover{
    color:#D9272E;
  }

  #menuLeft > li {
      text-indent: 56px;
    }

  #menu {
      position: fixed;
      top:0;
      margin: 0; padding: 0;
      width: 1px;
      height: 1px;
      background-color: #fff;
      border-bottom-right-radius: 100%;
      animation: not-checked-anim .2s both;
      transition: .2s;
      display:grid;
      grid-template-columns: 1fr;
      background-image: url("../img/bg_leaft_green.webp");
      background-repeat: no-repeat;
      background-position: right bottom;
  }


  #menu #menuLeft > li:first-child{
  	margin-top:110px;
  }

#menuLeft{
  background-size: 15%;
}

}


/*For desktop device*/
@media all and (min-width:1000px){
  .logo{
    position: fixed;
    left:20px;
    top:0px;
    z-index:110;
    padding:20px;
    background-color:
    rgba(255,255,255,0.7);
    border-radius:0 0 25px 25px;
  }

  #trigger, #burger, #burger:before, #burger:after {
      position: absolute;
      top: 25px;
      right: 25px;
      background:red;
      /*background: #00843e;*/
      width: 30px;
      height: 5px;
      transition: .2s ease;
      cursor: pointer;
      z-index: 1;
  }

  #trigger {
      height: 25px;
      background: none;
  }

  #burger:before {
      content: " ";
      top: 10px;
      left: 0;
  }

  #burger:after {
      content: " ";
      top: 20px;
      left: 0;
  }

  #menu-toggle:checked + #trigger + #burger {
      top: 35px;
      transform: rotate(180deg);
      transition: transform .2s ease;
      z-index:110;
  }

  #menu-toggle:checked + #trigger + #burger:before {
      width: 20px;
      top: -2px;
      left: 18px;
      transform: rotate(45deg) translateX(-5px);
      transition: transform .2s ease;
  }

  #menu-toggle:checked + #trigger + #burger:after {
      width: 20px;
      top: 2px;
      left: 18px;
      transform: rotate(-45deg) translateX(-5px);
      transition: transform .2s ease;
  }


  #menu, #menu > #menuLeft > li, #menu > #menuRight {
      color: #00843e;
      font-size: 14pt;
      font-weight: 700;
      line-height: 1.8;
      text-decoration: none;
      text-transform: none;
      list-style: none;
      outline: 0;
      display: none;
  }

  #menu > #menuLeft > li > a{
    color: #00843e;
    font-size: 2vw;
    text-decoration: none;
    text-transform: none;
    list-style: none;
  }

  #menu > #menuLeft > li > a:hover:after{
    content: url(../img/butterfly_red.webp);
    margin-left: 25px;
  }

  #menu > #menuLeft > li > a:hover{
    color:#D9272E;
  }

  #menuLeft > li {
      text-indent: 56px;
    }

  #menu {
      position: fixed;
      margin: 0; padding: 0;
      width: 1px;
      height: 1px;
      background-color: #fff;
      border-bottom-right-radius: 100%;
      animation: not-checked-anim .2s both;
      transition: .2s;
      display:grid;
      grid-template-columns: 300px 3fr 2fr;
      background-image: url("../img/bg_leaft_green.webp");
      background-repeat: no-repeat;
      background-position: right bottom;
      overflow: hidden;
  }


  #menu #menuLeft > li:first-child{
  	margin-top:150px;
  }
  #menu-toggle:checked + #trigger ~ #menu > #menuRight {
      display: block;
      z-index: 105;
  }
}



.marginMenu{
  margin: 75px 0 -55px 0;
}


a:focus {
    display: block;
    color: #333;
    transition: all .5s;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

#menuLeft{
  background-image: url("../img/bg_leaft_red.webp");
  background-repeat: no-repeat;
  background-position: left bottom;
}

#menu-toggle:checked + #trigger + #burger + #menu {
    animation: checked-anim 1s ease both;
    z-index: 105;
}



#menu-toggle:checked + #trigger ~ #menu > #menuLeft > li, #menu > #menuLeft > li > a{
    display: block;
    z-index: 99999;
}

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    display: block;
    z-index:1000000;
    position:absolute;
    width:40px;
    height: 40px;
    top:15px;
    right:35px;
    opacity:0;
    cursor: pointer;
}


#mainImage{
  border: 1px solid rgba(189,189,189, 0.5);
}

.bg_menu{
  background-image: url("../img/menu_bg-leaft.webp");
  background-size: cover;
}

#menuRight > .socialWall{
  height: 80%;
  width: 80%;
  display: grid;
  justify-content: center;
  justify-self:center;
  align-items: center;
}

#menuRight > .socialWall > .fb-content{
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  position: relative;
  background-color: #fff;
}

.fb-profile {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 0 3px #D9272E , 0 0 0 8px #fff;
  box-shadow: 0 0 0 3px #D9272E , 0 0 0 8px #fff;
  position: absolute;
  left:27px;
  top:110px;
}

.fb-profile img {
  width: 75px;
  height: 75px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: block;
  position: relative;
  }

.fb-image{
  width: 100%;
  height:150px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow:hidden;
}

.fb-image > img{
  width: 100%;
  height:auto;
}

.fb-id{
  margin-left: 125px;
  margin-top: 5px;
}

.fb-id > a{
  font-weight: normal;
  font-size:12px;
  text-decoration: none;
  color:#65676B;
  margin-top:-5px;
  display: block;
}

.fb-id > p{
  font-size: 20px;
  font-weight: bold;
  margin:-5px 0 0 0;
  color:#000;
}

.fb-text{
  font-weight: normal;
  margin:10px;
  font-size: 15px;
  color:grey;
  overflow: hidden;
  max-height: 350px;
}
