/* Параметры контейнера */
/* Параметры контейнера */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #1c1e22;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Сообщение для браузеров без поддержки Grid */
.support-warning {
    background: linear-gradient(90deg, #ff9a00 0%, #ffcc00 100%);
    color: #000;
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    opacity: 0.95;
    padding: 2rem;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.support-warning a {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 10px;
}

.support-warning a:hover {
    color: #333;
    text-decoration: none;
}

/* Класс упаковки грида */
.l-grid {
    display: flex;
    flex-wrap: wrap;
}

.l-grid > .l-grid__item {
    flex: 1 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.l-grid--4x4 > .l-grid__item {
    width: 25%;
    min-height: 250px;
}

/* Поддержка CSS Grid */
@supports(display: grid) {
    .support-warning {
        display: none;
    }

    .l-grid--4x4 > .l-grid__item {
        width: auto;
    }
    
    .l-grid {
        display: grid;
    }
}

/* Ширина и отображение */
.l-grid--4x4 {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(13rem, 1fr));
    gap: 0;
}

/* Распределение блоков по сетке */
.l-span-column-2 {
    grid-column-start: span 2;
}

.l-span-row-2 {
    grid-row-start: span 2;
}

.l-full-height {
    min-height: 100vh;
}

/* Выравнивание контента */
.align-center {
    align-items: center;
    justify-content: center;
}

.content {
    padding: 2.5rem;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.content-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    display: inline-block;
}

/* Заголовки */
.heading {
    font-family: 'Montserrat', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Описание */
.description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Синяя тема */
.theme-blue {
    background: linear-gradient(135deg, #26d0ce 0%, #26d0ce 100%);
    color: #ffffff;
}

/* Темно-синяя тема */
.theme-navy {
    background: linear-gradient(135deg, #1e3799 0%, #1e3799 100%);
    color: #ffffff;
}


/* Бирюзовая тема */
.theme-teal {
    background: linear-gradient(135deg, #009432 0%, #009432 100%);
    color: #ffffff;
}


/* Классы для иллюстраций */
.img-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: #fff;
    position: relative;
}

.img-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.img-background .content {
    position: relative;
    z-index: 2;
}

.img-background--sea {
     background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://raw.githack.com/miiirumirrr/CSS-style-dlya-practic/main/%D0%90%D1%80%D1%85%D0%B8%D0%B2%202025%20(148).jpg');
}

.img-background--wave {
     background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://raw.githack.com/miiirumirrr/CSS-style-dlya-practic/main/%D0%90%D1%80%D1%85%D0%B8%D0%B2%202025%20(180).jpg');
}

.img-background--horizon {
     background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://raw.githack.com/miiirumirrr/CSS-style-dlya-practic/main/%D0%90%D1%80%D1%85%D0%B8%D0%B2%202025%20(32).jpg');
     background-size: cover;
     background-repeat: no-repeat;
     color: #fff;
}



