/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Обертка для прижатого футера */
.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Шапка */
.header {
    background-color: #2c3e50;
    padding: 1rem 0;
    color: white;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #3498db;
}

/* Основной контент */
.main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

/* Анимированные квадраты */
.squares-container {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-top: 50px;
}

.square {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 8px;
    position: absolute;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.square:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Футер */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    margin-top: auto;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}