/*GLOBAL*/
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@100&family=Poppins:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla&display=swap');
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}
body{
    font-family: 'karla';
    position: fixed;
    top: 0;
    left: 0;
}
/*PRELOADERR*/
.preloader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #444;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.preloader h1{
    color: #FFF;
    font-size: 3.5rem;
    font-family: 'poppins';
    text-align: center;
}
.preloader .loader{
display: block;
width: 100px;
height: 100px;
position: relative;
}
.preloader .loader::before{
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    border: 5px solid #FFF;
    border-color: #FFF transparent #FFF transparent;
    border-radius: 50%;
    animation: loader 1s infinite ease-in-out;
}
@keyframes loader{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
/*1 CONTAINER*/
.home{
    justify-content: space-between;
    height: 100vh;
    background: rgb(3,9,102);
    background: linear-gradient(90deg, rgba(3,9,102,1) 0%, rgba(27,26,26,1) 0%, rgba(27,26,26,1) 43%, rgba(46,47,57,1) 82%, rgba(69,71,93,1) 100%);
    display: flex;
    align-items: center;
}
.homecontainer{
    color: #FFF;
    max-width: 600px;
    padding-left: 100px;
    padding-bottom: 230px;
}
.homecontainer h3 {
    font-size: 42px;
    font-weight: 700;
} 
.homecontainer h3 span {
    color: #7D2AE8;
}
.homecontainer h1 {
    font-size: 66px;
    font-weight: 700;
    margin: -3px 0;
}
.card{
    margin-top: 10px;
    margin-left: 10px;
    padding-top: 20px;
    
}
.card3 {
    border-radius: 15px;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 400;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 15px;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    background: linear-gradient(90deg,#1c1c1c,#6220fb);
    transition-duration: 0.4s;
    transition-property: transform;
  }
  
.card3:hover {
    transform: scale(1.1);
   }


  .rondimg img{
position: relative;
top: -60px;
right: 100px;
    object-fit: cover;
    z-index: 1;
    width: 490px;
    height: 490px;
    border-radius: 50%;
    border: 10px solid #fff;
    transition-duration: 0.4s;
    transition-property: transform;
  }
  
  .rondimg img:hover{
    transform: scale(1.1);
  }
  @media (max-width: 900px) {
    .home{
      display: flex;
      flex-direction: column;
    }
  }
header{
    background-color: #007bff;

  }
  .gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.project-img{
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(175, 175, 175, 0.4);   
    height: 14rem; 
    animation: SclAnimation .4s ease;
    position: relative;
}
/*ANIMATION*/
@keyframes SclAnimation {
    0%{
        transform: scale(0);
    }  
    100%{
        transform: scale(1);
    }  
}
.project-img:hover .overlay{
    top: 0;
}
.overlay{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(transparent,#007bff);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    transition: .4s ease;
}
.btn{
    display: inline-block;
    width: fit-content;
    padding: 10px 20px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: .4s ease;
}
.btn-light{
    background: transparent;
    border-color: #fff;
    color: #fff;  
}
.btn:hover{
    background: transparent;
    border-color: #fff;
    color: #fff;
}
img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: .4s ease;
}