@import url('https://fonts.googleapis.com/css2?family=Geologica&display=swap');

body {
    font-family: 'Geologica', sans-serif;
    margin: 10px;
    padding: 0;
    background-color: #E6D2B1;
    color: #d2b48c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 98vh; /* Минимальная высота body равная высоте видимой области окна браузера */
}

main {
    justify-content: center;
    flex: 1; /* Занимает всю доступную высоту */
}
    
h2 {
    text-align: center;
}

.title-wrapper {
    display: flex;          /* Используем flexbox */
    align-items: center;    /* Выравнивание элементов по центру по вертикали */
}

.title-wrapper img {
    width: 50px;
    margin-right: 5px;     /* Расстояние между заголовками */
}

.greeting {
    font-size: 24px;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    border-radius: 8px;
    font-weight: bold;
}

.morning {
    background-color: #f0f0f0;
    color: #333;
}

.day {
    background-color: #d6f5d6;
    color: #006400;
}

.evening {
    background-color: #ffefcc;
    color: #b36b00;
}

.night {
    background-color: #00264d;
    color: #ffffff;
}

footer {
    color: #d2b48c;
    padding: 0px;
    text-align: center;
    position: sticky;
    bottom: 2%;
    width: 100%;
}

a {
    text-decoration: none;
    color: #d2b48c;
    font-size: 13px;
}
    
a:hover {
    color: #BAA07C;
}
    
#google-login-btn {
    position: relative;
    left: 50%;
    margin-top: 50px;
    padding: 15px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    display: flex;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #d2b48c;
    color: #E6D2B1;
    transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease; /* Плавный переход */
}

#google-login-btn i {
    margin-right: 10px; /* Отступ справа от иконки */
}

#google-login-btn:hover {
    background-color: #927D61; /* Светло зелёный/токсичный цвет при наведении */
    color: #E6D2B1;
    padding: 12.5px;
}

.container {
	margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 2fr; /* Определение столбцов сетки: 2 части для элемента 1 и по 1 части для элементов 2 и 3 */
    grid-template-rows: auto; /* Автоматическое распределение по строкам */
    gap: 8px; /* Промежутки между элементами */
}

.item {
    background-color: #d2b48c;
    border-radius: 5px;
    height: 150px;
    overflow-y: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.main-item {
	height: 100px;
    grid-column: span 2; /* Элемент 1 занимает два столбца */
}

.item:hover {
    transform: scale(1.1);
    margin: 10px;
    z-index: 2;
    background-color: #927D61;
    opacity: 1;
    font-size: small;
}

.item:not(:hover) {
    transform: scale(1);
    z-index: 1;
}

.text {
	height: 150px;
    padding: 10px;
    color: #E6D2B1; /* Цвет текста */
    text-align: center;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}