
/**********************************
* Стили классов секции «Проекты» *
**********************************/
#projects .big-header {
    margin: 70px 0;
  }
  
  .projects-display {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
  }
  
  .projects-card {
    position: relative;
    padding: 0;
    margin: 0;
    width: 24vw;
    height: 13.5vw;
    box-sizing: border-box;
    border: 3px solid #8063a6;
    border-radius: 12px;
    overflow: hidden;
    
  }
  
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #8063a6; /* Фиолетовый с прозрачностью */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    
    /* Начальное состояние - скрыто */
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  
  
  
  .projects-card:hover{
    transform: scale(1.25);
    background-color: #8063a6;
    box-shadow: 5px 5px 15px 0px #8063a6;
    transition: transform 0.3s ease-in-out;
    z-index: 2;
    
  }
  
  
  
  
  .projects-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
    
    
  }
  
  .projects-card:hover img{
    opacity: 0;
  }
  
  
  
  
  .card-desc {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: "TildaSans", sans-serif;
  }
  
  .card-button {
    background: #8063a6;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: "TildaSans", sans-serif;
  }
  
  .card-button:hover {
    background: #f3e5f5;
    transform: scale(1.05);
    color: black;
  }
  
  
  
  
  
  
  .projects-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .projects-button {
    padding: 15px 40px;
    margin: 100px 0;
    border: 2px solid #ff9235;
    border-radius: 15px;
  }
  
  .projects-button:hover {
    background-color: #ff9235;
    color: #ffffff;
    transition: background-color 1s ease 0s;
  
  }
  
  .projects-button-text {
    font-family: "TildaSans", sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: inherit;
  }
  