/* Общие стили */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.carousel {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.carousel-header {
  display: flex;
	column-gap: 50px;
  align-items: center;
  margin-bottom: 20px;
}

.carousel-header h2 {
  margin: 0;
  font-size: 24px;
}

.carousel-btn {
  background: none;
  border: none;
  color: #007bff;
  font-size: 24px;
  cursor: pointer;
	transition: all .3s ease;
	width: 40px;
	aspect-ratio: 1/1;
	border-radius: 999px;
}

.carousel-btn:hover {
	background: rgba(0, 0, 0, 0.162);
}

.carousel-container {
  overflow-x: hidden;
  white-space: nowrap;
}

.carousel-inner {
  display: flex;
  transition: transform 0.3s ease;
  padding: 20px 0;
}

.speaker {
  width: 260px;
  margin-right: 20px;
  border-radius: 20px 20px 10px 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  transition: all .3s ease;
}

.speaker:hover {
  transform: scale(1.05);
}

.speaker img {
  width: 100%;
  height: auto;
}

.speaker-info {
  padding: 10px;
  text-align: center;
}

.speaker-info h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
}

.speaker-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.view-all {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.nav-link {
	color: white; font-size: 20px; font-family: SF UI Text; font-weight: 500; line-height: 24px; word-wrap: break-word; text-decoration: none; transition: all 0.3s ease;
}

.nav-link:hover {
	opacity: 0.7;
}

html {
	scroll-behavior: smooth;
}
.send-request {
	transition: all .3s ease;
}

.send-request:hover {
	opacity: 0.7;
}

.mer-link {
  transition: all .3s ease;
}

.mer-link:hover {
  background: var(--color-brand-400, #2737C2);
}

/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.card {
    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: auto;
}

.card-info {
    padding: 20px;
}

.card-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-info ul {
    list-style-type: disc;
    padding-left: 20px;
}

.card-info p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content img {
    width: 236px;
    height: 328px;
    object-fit: cover;
    border-radius: 8px;
}

.modal-content .info {
    display: flex;
    gap: 20px;
}

.modal-content .info-text {
    flex: 1;
}

.modal-content .info-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content .info-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

.modal-content .info-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 990px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.05);
    background-color: transparent;
    color: white
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: 'SF UI Text', sans-serif;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast-success {
    background-color: #28a745; /* Зеленый */
}

.toast-error {
    background-color: #dc3545; /* Красный */
}
