@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
*{ margin: 0; padding: 0; box-sizing: border-box; }
body{
    overflow-x:hidden;
    font-family: 'Raleway', sans-serif;
    color: #505962;
    background-image: url(../images/bghome.jpg);
}

.video-background {
    position: relative;
    width: 100%;
    /* min-height: 100vh; */
    background-color: rgba(0, 0, 0, 0.5);
}


.card{
    background-color: transparent;
}

.card:hover{
    -webkit-box-shadow: -1px 9px 40px -12px rgba(0,0,0,0.85);
    -moz-box-shadow: -1px 9px 40px -12px rgba(0,0,0,0.85);
    box-shadow: -1px 9px 40px -12px rgba(0,0,0,0.85);
}

video{
    border-radius: 10px;
    box-shadow: .2rem .2rem .4rem black;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 2;
    
}

/* mobile size */
@media only screen and (max-width: 600px) {
    .bgvid{
        height: 100%;
        width: 100%;
    }
    .video-background{
        min-height: auto;
    }
    .caption h3 {
        font-size: 1rem;
    }
    .caption h1 {
        font-size: 24px !important;
    }
    .row {
        display: block;
    }
   .row{
        padding: 30px !important;
    }
    footer .row {
        padding: 30px;
    }
    
    .btn-lg{
        display: none;
    }
    .card{
        width: 16rem;
    }
    .card video{
        width: 100%;
    }
    .card-body{
        width: 100%;
    }
    /* .container{
        padding: 2px !important;
    } */
   
    .carousel{
        margin: 0 !important;
        margin-top: 40px !important;
    }
    .social-menu ul {
        margin-top: 60px !important;
    }
    .footer-cont {
        text-align: center;
    }
}

    .caption-desk{
        z-index: 99;
        margin-top: -630px;
        color: white;
        position: relative;
        margin-bottom: 272px;
    }
  
    .caption-desk h3 {
        font-size: 2rem;

        padding-bottom: 1.6rem;
    }
    .btn-lg {
        font-size: 1.1rem;
        padding: .6rem 1.3rem;
    }
  .bg-mob{
    display: none;
    }
    .caption-mob{
        display: none;
    }

/* mobile size showcase heading */
@media only screen and (max-width: 600px) {

    .caption{
        position: absolute;
        top: 44%;
        width: 100%; 
        color: #fff;
    }

    .caption h1{
        font-size: 1.8rem;
        font-weight: 100;
        letter-spacing: .1rem;
        text-shadow: .1rem .1rem .8rem black;
        padding-bottom: 1rem;
        margin-top: -239px !important;
    }
    .showcase{
        position: absolute;
        background: rgba(0.1 ,0.1 , 0.1, 0.5);
        z-index: 999999900000;
    }
    .video-wrap .black-bg{
         position: absolute;
         z-index: 9;
         background: rgba(0.1 ,0.1 , 0.1, 0.5) !important;
         height: 77% !important;
         margin-top: -1px;
    }
    .bg-desk{
        display: none;
    }
    .caption-desk{
        display: none;
    }
    .caption-mob{
        z-index: 99;
    position: relative;
    color: white;
    margin-top: -213px;
    }
    .caption-ply{
        margin-top: 23px;
        color: #112653;
    }
    .caption-ply .h1, .h2{
        line-height: 1.5;
    }
  }

  /* flip Cards */

.flip-card {
    display: inline-flex;
    box-sizing: border-box;
    margin-top: 10%;
    background-color: transparent;
    width: 70%;
    height: 400px;
    /*border: 1px solid #f1f1f1;*/
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    color: black;
  }
  
  /* Style the back side */
  .flip-card-back {
    margin-top: 10%;
    background-color:darkgreen;
    color: white;
    transform: rotateY(180deg);
  }
  
  .flip {
    margin-left: 5%;
  }
  
  .page-footer {
    background: rgb(233, 233, 233);
    color: rgb(46, 34, 34);
    text-decoration-style: none;
  }
  a {
    text-decoration: none;
    color: rgb(34, 35, 49);
  }
  a:hover {
    text-decoration: none;
    text-transform: bold;
    color: white;
  }
    
  .flip-card img{
    width: 480px;
    height: 500px;
    margin: 10%;
}
.flip-card p{
    font-size: 10px;
}
div .name a{
    
    width: auto;
}
.list-group-item{
    font-size: 12px;
    text-transform: none;
    background: transparent;
    position: relative;
    display: block;
    padding: 0 0;
    margin-bottom: 0;
    line-height: 30px;

}
}

/* mobile size Vamsi products */
@media only screen and (max-width: 600px){
    .flip-card img{
        width: 100%;
        height: 70%;
        margin: 0;
    }
    .name {
        margin-top: -25%;
    }
    .flip-card-back {
        margin-top: -13%;
        width: 100%;
        border-top-style: dashed;
        height: 85%;
    }
    .flip-card p{
        font-size: 10px;
    }
    div .name a{
        
        width: -webkit-fill-available;
    }

    .list-group-item{
        font-size: 8px;
        text-transform: none;
        background: transparent;
        position: relative;
        display: block;
        padding: 0 0;
        margin-bottom: 0;
        line-height: 20px;

    }
    .card-mob{
        width: 100%;
    }
       
}

.text-center{
    justify-content: center;
}
.card-img-top{
    padding: 5px;
}