html,body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif}

.w3-quarter img {
    max-width: 100%;
    height: auto;
}

p {
  line-height: 1.2; /* 1.5 раза больше высоты шрифта */
  margin: 0px;
}


.w3-quarter  .skill {
  height: 40px;
  max-width: auto;
  margin-right: 4px;
  margin-top: 4px;
  vertical-align: middle;  
}

.cust-img {
    max-width: 100%;
    height: auto;
}

.no-top {
    padding-left: 10px;
    margin-top: 0px;
}

button {
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background-color: white;
  box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 10px;
  transition: all 0.5s ease;
  color: grey;
}

button:hover {
  letter-spacing: 2px;
  background-color: #07054D;
  color: hsl(0, 0%, 100%);
  box-shadow: #07054D 0px 7px 29px 0px;
}

button:active {
  letter-spacing: 2px;
  background-color: #07054D;
  color: hsl(0, 0%, 100%);
  box-shadow: #07054D 0px 0px 0px 0px;
  transform: translateY(10px);
  transition: 100ms;
}

.icon {
  width: 20px; 
  height: 20px; 
  margin-right: 8px;
  vertical-align: middle;
}

.skill {
  height: 40px;
  max-width: auto;
  margin-right: 4px;
  vertical-align: middle;  
}

.cust-collor {
  color: #07054D;
}

.edu-block {
  background-color: #F7F9FC;
  padding: 5px;
}

.education-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 20px;
}

.edu-card {
  position: relative;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.edu-tooltip {
  position: absolute;
  top: 110px;      /* можно настроить */
  left: 50%;      /* справа от карточки */
  margin-left: 10px;
  display: none;   /* скрыт по умолчанию */
  z-index: 10;
}


.edu-tooltip img {
  width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background: white;
  padding: 5px;
}

/* Показываем tooltip при наведении */
.edu-card:hover .edu-tooltip {
  display: block;
}

.edu-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.edu-info {
  flex: 1;
}

.edu-link {
    text-decoration: none; /* убираем подчеркивание */
    display: block; /* делаем ссылку блочным элементом */
}

@media print {
  /* Основные настройки для печати */
  body {
    font-size: 10pt; /* Уменьшаем размер шрифта */
    line-height: 1.1; /* Уменьшаем межстрочное расстояние */
    margin: 0;
    padding: 0;
  }
  
  /* Скрываем ненужные элементы */
  .no-print {
    display: none;
  }
  
  /* Настраиваем размеры элементов */
  table, td, th {
    page-break-inside: avoid;
    font-size: 10pt;
  }
  
  /* Убираем отступы и поля */
  .container {
    width: 100%;
    padding: 0;
  }
  
  /* Для изображений */
  img {
    max-width: 100%;
    height: auto;
  }
}
