  @import url('https://use.typekit.net/yxg8uxc.css');

* {
  	font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
} 

  body {
     font-family: "costa", sans-serif;
	font-weight: 400;
	font-style: normal;
    
    justify-content: center;
    align-items: center;
  }
  
#colorbox {
  background: transparent radial-gradient(closest-side at 50% 50%, #A690FF 0%, #704CFF 30%, #23224F 100%) 0% 0% no-repeat padding-box;
}




  .father-boxone {
    width: 400px;
    height: 500px;
    perspective: 800px;
    margin: 10px;  

  }
  
  .father-all1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  
}

.father-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  
}
  
 


  .father-boxone:hover > .card1  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 

  .father-boxone:hover > .card2  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  .father-boxone:hover > .card3  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  .father-boxone:hover > .card4  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  .father-boxone:hover > .card5  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  .father-boxone:hover > .card6  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  .father-boxone:hover > .card7  {
    cursor: pointer;
    transform: rotateY(180deg);
    overflow: visible;
  } 
  
  .card1 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card2 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card3 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card4 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card5 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card6 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card7 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }


 .move1 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }


 .move2 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }

 .move3 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }


 .move4 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }



 .move5 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }



 .move6 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }



 .move7 {
    content: '';
    position: absolute;
    background: #27375D;
    width: 50%;
    height: 200%;
    border-radius: 15px;
    transform-origin: 50% 30%;
    top: -50px;
    /* inset: 5px; */
    margin-left: 26%;
    transform: scaleY(1.5);
    animation: rotate 4s linear infinite;
    /* overflow: hidden; */
    /* display: none; */
 }




    /* البطاقة رقم 1 */
 .brather-box1 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/V8-Front-3.jpg);
    background-position: 50% 50%;
    background-size: 70% 50%;
    background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 2 */

 .brather-box2 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
     background-image: url(http://zanzora.se/wp-content/uploads/2024/06/zancam-v3.png);
     background-position: 10% 50%;
     background-size: 120% 50%;
     background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 3 */

 .brather-box3 {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/05/FMC003_MCIBO-datasheet-2024-01-126.png);
    background-position: 50% 50%;
    background-size: 130% 63%;
    background-repeat: no-repeat; 

    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

     /* البطاقة رقم 4 */

     .brather-box4 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/04/Zanzora-2-1.png);
        background-position: 50% 50%;
        background-size: 70% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 5 */

     .brather-box5 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/lolipop.png);
        background-position: 50% 50%;
        background-size: 80% 80%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 6 */

     .brather-box6 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/D3.png);
        background-position: 50% 50%;
        background-size: 100% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 7 */

     .brather-box7 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/Hero-C60S0D6-1MR_Datasheet-221027.png);
        background-position: 50% 50%;
        background-size: 25% 45%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

.card1:hover .move1 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move1:hover {
    display: none;

  }

  .card2:hover .move2 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move2:hover {
    display: none;

  }


  .card3:hover .move3 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move3:hover {
    display: none;

  }


  .card4:hover .move4 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move4:hover {
    display: none;

  }




  .card5:hover .move5 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move5:hover {
    display: none;

  }


  .card6:hover .move6 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move6:hover {
    display: none;

  }



  .card7:hover .move7 {
    pointer-events: none;
    display: none;
    visibility: hidden;
  
  }



  .move7:hover {
    display: none;

  }




   
   @keyframes rotate {
    from {
        transform: rotate(0deg);
        
    }

    to{
        transform: rotate(360deg);
    }
  }   


  .front1,
  .back-card {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    position: absolute;
    backface-visibility: hidden;
    z-index: 1; 
    text-align: center;
    position: absolute;

    

  }


.back-card .text-size {
    position: absolute;
    top: 4rem;
    color: #fff;
    font-weight: bold;
    font-size: 28px;


  }

  .back-card .text-size1 {
    position: absolute;
    top: 14rem;
    font-size: 16px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 200;
    line-height: 1.5;
  }

  .text-size2 {
    position: absolute;
    top: 8rem;
    font-size: 20px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 600;

  }


  .front1 {

    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/V8-Front-3.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-size: 80% 50%;
    background-repeat: no-repeat;

  }



  .front2,
  .back-card {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    /* box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25); */
    position: absolute;
    backface-visibility: hidden;
    
  }
  
  .front2 {
    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/zancam-v3.png);
    background-position: 10% 50%;
    background-size: 120% 50%;
    background-repeat: no-repeat; 


  }



  .front3,
  .back-card {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    /* box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25); */
    position: absolute;
    backface-visibility: hidden;

  }
  
  .front3 {
    background-image: url(http://zanzora.se/wp-content/uploads/2024/05/FMC003_MCIBO-datasheet-2024-01-126.png);
    background-position: 50% 50%;
    background-size: 130% 90%;
    background-repeat: no-repeat; 


  }




  .front4,
  .back-card {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    /* box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25); */
    position: absolute;
    backface-visibility: hidden;

  }
  
  .front4 {
    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/D3.png);
    background-position: 40% 50%;
    background-size: 120% 70%;
    background-repeat: no-repeat; 


  }
  
  .back-card {
    background-color: #3a3a3a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;

  }


@media screen and (min-width:768px) and (max-width: 1030px) {
  
  
    .father-boxone {
    width: 300px;
    height: 400px;
    perspective: 800px;
    margin: 10px;

  }
  
    .father-box {
    width: 300px;
    height: 400px;
    perspective: 800px;
    margin: 10px;

  }
  
  .father-all {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  
}
  
  
    .card1 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card2 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card3 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card4 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card5 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card6 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }

  .card7 {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-origin: center center; 
    transition: transform 2s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    border-radius: 16px;
  }
  
  
  
  

    /* البطاقة رقم 1 */
 .brather-box1 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/V8-Front-3.jpg);
    background-position: 50% 50%;
    background-size: 70% 50%;
    background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 2 */

 .brather-box2 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
     background-image: url(http://zanzora.se/wp-content/uploads/2024/06/zancam-v3.png);
     background-position: 10% 50%;
     background-size: 120% 50%;
     background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 3 */

 .brather-box3 {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/05/FMC003_MCIBO-datasheet-2024-01-126.png);
    background-position: 50% 50%;
    background-size: 130% 63%;
    background-repeat: no-repeat; 

    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

     /* البطاقة رقم 4 */

     .brather-box4 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/04/Zanzora-2-1.png);
        background-position: 50% 50%;
        background-size: 70% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 5 */

     .brather-box5 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/lolipop.png);
        background-position: 50% 50%;
        background-size: 80% 80%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 6 */

     .brather-box6 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/D3.png);
        background-position: 50% 50%;
        background-size: 100% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 7 */

     .brather-box7 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/Hero-C60S0D6-1MR_Datasheet-221027.png);
        background-position: 50% 50%;
        background-size: 25% 45%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }
  
  
  
.back-card .text-size {
    position: absolute;
    top: 2rem;
    color: #fff;
    font-weight: bold;
    font-size: 22px;


  }

  .back-card .text-size1 {
    position: absolute;
    top: 9rem;
    font-size: 14px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 200;
    line-height: 1.5;
  }

  .text-size2 {
    position: absolute;
    top: 3rem;
    font-size: 18px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 600;

  }

}

@media screen and (min-width:320px) and (max-width: 767px) {


    .father-boxone {
    width: 300px;
    height: 400px;
    perspective: 800px;
    margin: 10px;

  }
  
    .father-box {
    width: 300px;
    height: 400px;
    perspective: 800px;
    margin: 10px;

  }
  
    .father-all1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  
}
  
  .father-all {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  
}
  
  
  


    /* البطاقة رقم 1 */
 .brather-box1 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/06/V8-Front-3.jpg);
    background-position: 50% 50%;
    background-size: 70% 50%;
    background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 2 */

 .brather-box2 {
    content: '';
    position: absolute;
    inset: 5px;
     background: #fff;
     background-image: url(http://zanzora.se/wp-content/uploads/2024/06/zancam-v3.png);
     background-position: 10% 50%;
     background-size: 120% 50%;
     background-repeat: no-repeat; 
    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

    /* البطاقة رقم 3 */

 .brather-box3 {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    background-image: url(http://zanzora.se/wp-content/uploads/2024/05/FMC003_MCIBO-datasheet-2024-01-126.png);
    background-position: 50% 50%;
    background-size: 130% 63%;
    background-repeat: no-repeat; 

    border-radius: 16px;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    z-index: 1;

 }

     /* البطاقة رقم 4 */

     .brather-box4 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/04/Zanzora-2-1.png);
        background-position: 50% 50%;
        background-size: 70% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 5 */

     .brather-box5 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/lolipop.png);
        background-position: 50% 50%;
        background-size: 80% 80%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 6 */

     .brather-box6 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/D3.png);
        background-position: 50% 50%;
        background-size: 100% 60%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }

     /* البطاقة رقم 7 */

     .brather-box7 {
        content: '';
        position: absolute;
        inset: 5px;
        background: #fff;
        background-image: url(http://zanzora.se/wp-content/uploads/2024/06/Hero-C60S0D6-1MR_Datasheet-221027.png);
        background-position: 50% 50%;
        background-size: 25% 45%;
        background-repeat: no-repeat; 
    
        border-radius: 16px;
        box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
        z-index: 1;
    
     }
  
  
  
.back-card .text-size {
    position: absolute;
    top: 2rem;
    color: #fff;
    font-weight: bold;
    font-size: 22px;


  }

  .back-card .text-size1 {
    position: absolute;
    top: 9rem;
    font-size: 14px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 200;
    line-height: 1.5;
  }

  .text-size2 {
    position: absolute;
    top: 3rem;
    font-size: 18px;
    color: #fff;
    text-align: start;
    margin: 30px 30px;
    font-weight: 600;

  }
}


