* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }


p{
    text-align:center;
}

a{
    text-decoration: none;
    color:rgb(124, 190, 110);
    font-weight: 500;
}

  .section-modeling{
      padding-top: 50px;
      text-align:center;
      padding-bottom:50px;
  }
  
  

/* ----gallery---- */
  
 
  .container
  {
    width: 100%;
    height: 100%;
  }
  .trans
  {
    transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    -webkit-transition: all 1s ease;
  }
  .top
  {
    display: flex;
    
    height: 100%;
    margin-top: 10vh;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10vh;
  }


  #gallery-ul{
    padding-left: 0;
    
  }

  #gallery-ul {
    display:block;
    list-style-type: disc;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}
  .top ul
  {
    list-style: none;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
  }
  .top ul li
  {
    position: relative;
    float: left;
    width: 25%;
    height: 25%;
    overflow: hidden;
  }
  
  .top ul li::before
  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    content: '';
    color: white;
    opacity: 0.4;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
  }
  .top ul li:hover::before
  {
    opacity: 0;
    background-color: rgba(0,0,0,0.90);
  }
  .top ul li img
  {
    width: 100%;
    height: auto;
    overflow: hidden;
    transform: scale(1.5);
  }


  .top ul li img
  {
    width: 100%;
    height: auto;
    overflow: hidden;
   
  }

  .lightbox
  {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
  }
  
  .lightboxtext
  { 
    padding:20px;
    position: fixed;
    margin-top: 9vh;;
    color: white;
    text-align: left;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.438);
    z-index: 1000;
    opacity: 1;
    pointer-events: none;
    align-items: center;

  }

  .lightboxtext p{
    text-align: left;
  }
  
 
  .lightbox img
  {
    
    max-width: 90%;
    max-height: 80%;
    position: relative;
    top: -100%;
    /* Transition */
    transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    -webkit-transition: all 1s ease;
  }
  .lightbox:target
  {
    outline: none;
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all 1.2s ease;
    -moz-transition: all 1.2s ease;
    -ms-transition: all 1.2s ease;
    -o-transition: all 1.2s ease;
    -webkit-transition: all 1.2s ease;
  }
  .lightbox:target img
  {
    top: 0;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }




  .col-md-4{
    margin-left: 44%;
    padding-bottom: 50px;
    padding-top: 30px;
    }


/* ------cube----- */

  
  .cube {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transform: rotateX(-30deg);
    animation: animate 2s linear infinite;
  }
  
  @keyframes animate {
    0% {
      transform: rotateX(-30deg) rotateY(0deg);
    }
    100% {
      transform: rotateX(-30deg) rotateY(180deg);
    }
  }
  


  .cube > div {
    
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
  }
  
  .cube > div > span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#222, #0baeff);
    transform: rotateY(calc(90deg * var(--i))) translateZ(49px);
  }
  
  .up {
    position:absolute;
    inset: 0;
    width: 100px;
    height: 100px;
    background-color: #222;
    transform: rotateX(90deg) translateZ(50px);

  }
  
  .up::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100px;
    height: 100px;
    background-color: #00aaff;
    transform: translateZ(-130px);
    filter: blur(20px);
    box-shadow: 0 0 12px #00aaff, 0 0 200px #00aaff, 0 0 200px #00aaff,
      0 0 200px #00aaff;
  }

/* ---------- */




#canvas3d{
  width: 33%;
  height: 333%;

}


























@media(max-width:2560px){
  .col-md-4{
    margin-left: 46%;
   
    }

}

  
  
@media (min-width: 768px){
  .logo {
      margin-top: 5px;
  }
}


@media(max-width:1180px){
 
  
  .top ul li {
    position: relative;
    float: left;
    width: 25%; 
    height: 25%; 
    overflow: hidden;
}

}

@media(max-width:992px){
  .top ul li {
    position: relative;
    float: left;
    width: 50%; 
    height: 30%;  
    overflow: hidden;
}
}

@media(max-width:882px){
  .top ul li {
    position: relative;
    float: left;
    width: 50%; 
    height: 30%; 
    overflow: hidden;
}
}

@media(max-width:680px){
  .top ul li {
    position: relative;
    float: left;
    width: 50%; 
    height: 30%;  
    overflow: hidden;
    
}
.col-md-4{
  margin-left: 40%;
  padding-bottom: 50px;
  padding-top: 30px;
  }

}

@media(max-width:550px){
  .top ul li {
    position: relative;
    float: left;
    width: 100%; 
    height: auto; 
    overflow: hidden;
}
.col-md-4{
  margin-left: 35%;
  padding-bottom: 50px;
  padding-top: 30px;
  }

}
@media(max-width:450px){
  .top ul li {
    position: relative;
    float: left;
    width: 100%; 
    height: auto; 
    overflow: hidden;
}
     
}
@media(max-width:380px){
  .top ul li {
    position: relative;
    float: left;
    width: 100%; 
    height: auto; 
    overflow: hidden;
}
}
@media(max-width:360px){
   
  .top ul li {
    position: relative;
    float: left;
    width: 100%; 
    height: auto; 
    overflow: hidden;
}
  }