*{
    font-family: 'Montserrat', sans-serif;
}
@import url('https://fonts.googleapis.com/css?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');

.mobile{
    display: none;
}
.heading{
    width: 100%;
    height: 5vh;
    position: absolute;
    top: 2vh;
    text-align: center;
    font-size: large;
    margin-top: 0vh;
    color: white;
}
h1{
    color: white;
    margin-top: 0;
    font-size: 10vh;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif; 
    letter-spacing: 3px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 30vh;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  backface-visibility: hidden;

}
.threecards {
  position: relative;
  top: 0vh;
  display: flex;
  justify-content: center;
  margin: 1%;
}
.contactimg {
  width: 100%;
  height: 100%;
  position: relative;
}
.cardname{
  position: relative;
  color: white;
  background-color: #353535;
  height:40px;
  width: 100%;
  z-index: 2;
  text-align: center;
  font-family: montserrat;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
}
.flip-card-back p{
  margin: 2em;
}


  .contactimg {
    width: 100%;
    height: 100%;
  }

  .flip-card {
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 2vh;

    background-color: transparent;
    width: 30vh;
    height: 35vh;
    perspective: 1000px;
    z-index: 5;
  }
 
  .flip-card-front {
  color: black;
  }
  .flip-card-front img{
    height: 30vh;
  }

.flip-card-back {
  background-color: #5e687a;
  color: white;
  transform: rotateY(180deg);
  height: 100%;
  width:100%;
  }
  .flip-card-back h2{
    font-size: 1.5em;
    font-family: Montserrat;
  }
  .flip-card-back p{
    line-height: 0.90em;
    font-family: Montserrat;

  }
  .contact1{
    font-size: 75%; margin-top: -10%; text-align: right; line-height: 1em;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  



.bar{
    height: 60px;
    width: 100%;
    position: absolute;
    
    bottom: 0;

}
.socialmedia{
    height: 60px;
    width: 50%;
    background-color: white;
     position: absolute; 
    /* top: 100vh; */
    left: 25%;
    border-radius:300px 300px 0 0 ;
    justify-content: space-around;
    bottom: 0;
    z-index: 99;


}
.insta{
    position: absolute;
    left: 15%;
    bottom: -4px;
}
.facebook{
    position: absolute;
    left: 35%;
    bottom: -4px;
}
.twitter{
    position: absolute;
    left: 55%;
    bottom: -4px;
}
.youtube{
    position: absolute;
    left: 75%;
    bottom: -4px;
}
.insta img{
    height: 50px;
    background-color: white;
    
}
.facebook img{
    height: 50px;
    background-color: white;
}
.twitter img{
    height: 50px;
    background-color: white;

}
.youtube img{
    height: 50px;
    background-color: white;
}
.pic1{
    width: 30vw;
    height: 1vh;
    position: absolute;
    left: 0;
    bottom: 0;
    
}
.pic1 img{
    width: 16vw;
    position: absolute;
    left: 0;
    bottom: 0;
    background: transparent;
}
.pic2{
    width: 14vw;
   
   
    position: absolute;
    right: 0;
    bottom: 0;
    
}
.pic2 img{
    width: 15vw;
    
    position: absolute;
    bottom: 0;
    right: 0;
    background: transparent;

}

@media screen and (max-width:730px){
    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }
    .heading{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    }
    h1{
        color: white;
        margin-top: 0;
        font-size: 2.5rem;
        text-align: left;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 3px;
    }

    .threecards {
    display: flex;
    flex-direction: row; 
    position: relative;
    top: -8vh;
  }
  .cardname p{
    font-size: 15px;
  }
  
  .flip-card {
    width: 30%;
    height: 27vh;
    perspective: 1000px;
    margin: 1%;
    margin-top: 0;
    top: 0;
    margin-bottom: 2vh;

  }

  .flip-card-front {
  background-color: #bbb;
  color: black;
  width: 100%;
  height: 21vh;
  }

  .flip-card-front img{
    height: 21vh;
  }
.flip-card-inner{
    height: 21vh;
}
.flip-card-back {
  background-color: #5e687a;
  color: white;
  transform: rotateY(180deg);
  width: 100%;
  height: 21vh;
  }
  .flip-card-back h2{
    line-height: 5vw;
    font-size: 20;
    font-family: Montserrat;
  }
  .flip-card-back p{
    line-height: 2vh;
     font-size: 2vh;    
    font-family: Montserrat;
    text-align: center;


  }
  .contact1{

    font-size: 2.5vw;
    text-align: right; 
    line-height: 3vw;
    margin-left: 5px;
    margin-right: 5px;
  }

    .bar{
        height: 35px;
        overflow: visible;
    }
    .socialmedia{
        height: 35px;
        width: 70%;
        background-color: white;
        position: absolute;
        /* top: 100vh; */
        left: 15%;
        border-radius: 300px 300px 0 0;
        justify-content: space-around;
        bottom: 0;
        z-index: 99;
    }
    .insta img{
        height: 30px;
    }
    .facebook img{
        height: 30px;
    }
    .twitter img{
        height: 30px;
    }
    .youtube img{
        height: 30px;
    }
    .pic1 img{
        width: 32vw;
    }
    .pic1{
        height: 15vh;
    }
    .pic2{
        height: 15vh;
    }
    .pic2 img{
        width: 25vw;
    }
    
}
