
@font-face {
    font-family: 'myfont';
    src: url('../fonts/HacenTunisia.ttf');
    font-weight: normal;
    font-style: normal;
    
  }
 

main{
    padding-top: 3vw;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 3vw;
}


.sur{
    width: 95%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2vw;
}


.sur div{
    height: 18vw;
    width: 22vw;
    display: flex;
    flex-direction: column;
   /* border: 0.1vw #000 solid;*/
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
    background-color: #ffff;
    padding: 1.5vw;
    justify-self:center;
    align-items: center;
    justify-content: center;
}




.sur div h2{
    width:100%;
    color: #000;
   font-family:'myfont';
    font-size: 1.2vw;
    display: inline-flex;
    justify-content: center;
    font-weight: bold;
    margin-top: 1vw;
}

.sur div button{
    width: 40%;
    height: 20%;
    background-color: #204289;
    border: 0;
    color: #fff;
    font-family:'myfont';
     font-size: 0.8vw;
     padding: 1vw;
     border-radius: 0.8vw;
     margin-top: 1.5vw;
     margin-bottom: 1vw;

}





@media screen and (max-width:768px) {
    main{
        padding-top: 2vw;
        margin-bottom: 2vw;
    }
    
    
    .sur{
        width: 95%;
        grid-template-columns: repeat(3,1fr);
        gap: 2vw;
    }
    
    
    .sur div{
        height: 25vw;
        width: 30vw;
        box-shadow: 0 0 4px rgba(0,0,0,0.5);
    }
    
   
    
    .sur div h2{
    
        font-size: 2.4vw;
      
    }
    
    



.sur div button{
 
     font-size: 1.6vw;

}
    

}
@media screen and (max-width:480px) {

    main{
        padding-top: 2vw;
        margin-bottom: 2vw;
    }
    
    
    .sur{
        width: 95%;
        grid-template-columns: repeat(2,1fr);
        gap: 3vw;
    }
    
    
    .sur div{
        height: 37vw;
        width: 44vw;
        box-shadow: 0 0 2px rgba(0,0,0,0.5);
    }
    
   
    
    .sur div h2{
    
        font-size: 4vw;
      
    }
    
    



.sur div button{
 
     font-size: 2.8vw;
}
  
    

}
 

      
