/*
.flagbox {
  position: fixed;
  top: 70%;
  left: 3%;
  z-index: 1000;
  width:130px;
  height:75px;
  -webkit-perspective: 1000;
  -webkit-transform-style: preserve3d;
  -webkit-transform-origin: 0 250px;
  -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(-22deg);
  -webkit-animation-name: wave;
  -webkit-animation-duration: 8s;
  -webkit-animation-timing-function: cubic-bezier(0.16, 0.14, 0.82, 0.73);
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  perspective: 1000;
  transform-style: preserve3d;
  transform-origin: 0 250px;
  transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(-22deg);
  animation-name: wave;
  animation-duration: 8s;
  animation-timing-function: cubic-bezier(0.16, 0.14, 0.82, 0.73);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.flagbox:before {
  position: absolute;
  content: "";
  height: 150px;
  left: -5px;
  top: -3px;
  width: 8px;
  border-right: 1px solid #FFF;
  border-radius: 3px;
  background-color: #422;
  box-shadow: -3px 3px 8px 0px rgba(0, 0, 0, 0.4);
}
.white {
    background: #FFF;
}
.green {
    background: #006400;
}
.saffron {
    background: #F93;
}
.flag-item {
  height:33.33%;
  box-sizing:border-box;
 }
.flag-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, 0 -25%, 100% top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(20%, rgba(255, 255, 255, 0)), color-stop(30%, rgba(0, 0, 0, 0.04)), color-stop(40%, rgba(255, 255, 255, 0.2)), color-stop(60%, rgba(255, 255, 255, 0)), color-stop(65%, rgba(255, 255, 255, 0.2)), color-stop(80%, rgba(0, 0, 0, 0.05)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-size: 200%;
  -webkit-animation-name: air;
  -webkit-animation-duration: 8s;
  -webkit-animation-timing-function: cubic-bezier(0.16, 0.14, 0.82, 0.73);
  -webkit-animation-iteration-count: infinite;
}
.circle {
  width:25px;
  height:25px;
  border:2px solid #000080;
  border-radius:50%;
  position:absolute;
  left:40%;
  -webkit-animation: circle 5s infinite;
  animation: circle 10s linear  2s infinite;
}
.circle:after {
  content:"";
  width:3px;
  height:3px;
  border-radius:50%;
  background:#00080;
  position:absolute;
  top:45%;
  left:45%;
}
.bar {
  position: absolute;
  display:inline-block;
  height:22px;
  width:1px;
  background:#000080;
  left:47%;
}
.bar:nth-child(1) {
     -ms-transform: rotate(15deg);
    -webkit-transform: rotate(15deg); 
    transform: rotate(15deg);
}
.bar:nth-child(2) {
     -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg); 
    transform: rotate(30deg);
}
.bar:nth-child(3) {
     -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg); 
    transform: rotate(45deg);
}
.bar:nth-child(4) {
     -ms-transform: rotate(60deg);
    -webkit-transform: rotate(60deg); 
    transform: rotate(60deg);
}
.bar:nth-child(5) {
     -ms-transform: rotate(75deg);
    -webkit-transform: rotate(75deg); 
    transform: rotate(75deg);
}
.bar:nth-child(6) {
     -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg); 
    transform: rotate(90deg);
}
.bar:nth-child(7) {
     -ms-transform: rotate(105deg);
    -webkit-transform: rotate(105deg); 
    transform: rotate(105deg);
}
.bar:nth-child(8) {
     -ms-transform: rotate(120deg);
    -webkit-transform: rotate(120deg); 
    transform: rotate(120deg);
}
.bar:nth-child(9) {
     -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg); 
    transform: rotate(135deg);
}
.bar:nth-child(10) {
     -ms-transform: rotate(150deg);
    -webkit-transform: rotate(150deg); 
    transform: rotate(150deg);
}
.bar:nth-child(11) {
     -ms-transform: rotate(165deg);
    -webkit-transform: rotate(165deg); 
    transform: rotate(165deg);
}

@-webkit-keyframes circle {
    from {
      -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg); 
    transform: rotate(0deg);
  }
    to {
     -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg); 
    transform: rotate(360deg);
  }
}
@-webkit-keyframes wave {
  0% {
    box-shadow: 4px 5px 5px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(22deg);
  }
  20% {
    box-shadow: 4px 5px 15px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(0deg);
  }
  40% {
    box-shadow: 4px 5px 20px 0 rgba(0, 0, 0, 0.4);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(-22deg);
  }
  60% {
    box-shadow: 4px 5px 5px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(0deg);
  }
  80% {
    box-shadow: 4px 5px 5px 0 rgba(0, 0, 0, 0.3);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(16deg);
  }
  100% {
    box-shadow: 4px 5px 5px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg) rotateY(22deg);
  }
}
@-webkit-keyframes air {
  0% {
    background-position: -200% 0px;
  }
  30% {
    background-position: -60% 5px;
  }
  70% {
    background-position: 70% -5px;
  }
  100% {
    background-position: 200% 0px;
  }
}







:root {
    width: 100%;
    height: 100%;
    -webkit-transition: font-size 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: font-size 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 50%;
    font-family: 'Lobster', cursive;
}


.flag_pattern {
    background-image: url("../images/India_Animation.gif");    
    background-position: center;
    background-size: 570px 300px;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-size: 60px;
    font-weight: bold;
    font-weight: normal;
    padding-top: 10px;
    text-align: center;
    text-align: center;
    position: fixed;
    top: 15%;
    right: 5%;
    z-index: 1000;
}

@keyframes borderradius {
    to {
        border-radius: 50%
    }
}

svg {
    animation: borderradius 3s ease-in-out -1.5s infinite alternate;
}

svg {
    width: 70px;
    height: 60px;
    margin: 100px;
}

@media screen and (min-width: 50em) {
    :root {
        font-size: 50%;
    }
}

@media screen and (min-width: 80em) {
    :root {
        font-size: 180%;
    }
}*/

/*Post 1*/
/*.flag {
    position: fixed;
    top: 20%;
    left: 4%;
    z-index: 1000;
    height: 150px;
    width: 225px;   
    font-size: 62.5%;  
    font-family: Verdana; 
    background: url(../images/Flag_of_India.svg.png);
    border: 3px solid #fff;
    -webkit-box-shadow: 0 0 2px 2px rgba(20,20,20,.1);
}

.flagwave {
    position: absolute;
    
    top: -3px;
    left: -3px;
    
    width: 231px;
    height: 156px;
    
    z-index: 2;

    background-image: 
        
        -webkit-gradient(
            linear, 
            0% 30%, 
            50% top, 
            color-stop(0%,rgba(255,255,255,0)), 
            color-stop(40%,rgba(255,255,255,0)), 
            color-stop(90%,rgba(255,255,255,.3)), 
            color-stop(100%,rgba(255,255,255,0))),
        
        -webkit-gradient(
            linear, 
            50% 30%, 
            100% top, 
            color-stop(0%,rgba(224,225,225,0)), 
            color-stop(25%,rgba(225,225,225,.3)), 
            color-stop(50%,rgba(224,225,225,0)), 
            color-stop(80%,rgba(224,225,225,.3)), 
            color-stop(100%,rgba(224,225,225,0)));
    
    background-size: 200%;
    background-position: right;
    
    -webkit-animation-name: flagwave;
    -webkit-animation-duration: 14s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

    @-webkit-keyframes flagwave {
    
        0% {
            background-position: -400px 0px, -400px 0px, -400px 0px,-400px 0px;
        }
    
        100% {
            background-position: 800px 0px, 800px 0px, 800px 0px, 800px 0px;
        }
    }*/
