body {
    margin: 0;
    padding: 0;
    font-family: 'Shrift', Arial, sans-serif;
    background: black; /* Резервный цвет на случай отсутствия изображения */
    overflow-y: scroll; /* Добавление вертикальной прокрутки */
}

@font-face {
    font-family: 'Shrift';
    src: url('shrift.otf') format('opentype');
}

@font-face {
    font-family: 'Monocraft';
    src: url('monocraft.otf') format('opentype');
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('icons/background.gif') no-repeat center center;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}

.container {
    perspective: 1000px;
    background: rgba(66, 45, 71, 0.5);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(36px);
    text-align: center;
    width: 80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 20px auto; /* Центрирование и добавление отступов сверху и снизу */
}
.containers {
    perspective: 1000px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 100px;
    padding: 8px;
    backdrop-filter: blur(36px);
    text-align: center;
    width: 30%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 20px auto; /* Центрирование и добавление отступов сверху и снизу */
}

.link-btn {
    background-color: rgba(138, 43, 226, 0.7);
    color: white;
    font-family: 'Monocraft', Arial, sans-serif;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 5px;
}

.link-btn:hover {
    background-color: rgba(138, 43, 226, 0.9);
}
.projects-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Равномерное распределение по горизонтали */
}

.project {
    font-family: 'Monocraft', Arial, sans-serif;
    background: rgba(138, 43, 226, 0.7); /* Фиолетовый цвет с прозрачностью */
    margin-bottom: 20px; /* Отступ между проектами */
    padding: 10px;
    border-radius: 10px;
    width: 30%; /* Ширина каждого проекта */
    box-sizing: border-box;
}
.icon {
    width: 35px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(97%) contrast(103%);
    transition: all 0.3s ease;
    height: 35px;
    margin: 0 10px; /* Добавляет отступ слева и справа от каждой иконки */
    padding: 0;
    vertical-align: middle;
}

a {
    text-decoration: none;
}

span {
    color: white;
}

.ss {
    color: white;
    font-family: 'Shrift', Arial, sans-serif;
}

.project h2 {
    color: white;
}

.project p {
    color: white;
    margin-top: 5px; /* Отступ сверху для текста проекта */
}
