* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: white;
    #background: linear-gradient(135deg, #667eea 0%, #764ba2 66%);
	background-color: black;
	background-image: url('../media/bg_index_01.webp');  /* ../media/pc_074.webp */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    padding: 20px;
    overflow-x: auto;
    transition: all 0.3s ease;
}

.container {
    display: grid;
    grid-columns: repeat(3);
    grid-rows: auto;
    gap: 12px;
    max-width: 80%;
}

.block {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
	box-shadow: 0 8px 32px 0 rgb(0 0 0 / 30%);
    transition: all 0.3s ease;
    overflow: hidden;
}

.block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.time-block {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
	text-align: center;
    justify-content: center;
    align-items: center;
	vertical-align: middle;
}

.main-date,
.main-time {
    font-size: 1.6rem;
    font-weight: 300;
	text-align: center;
    justify-content: center;
    align-items: center;
	vertical-align: middle;
}

.weather-block {
    grid-column: 2 / 3;
    grid-row: 1;
}

.daily-forecast {
  display: inline-block;
  width: 100px;
  font-weight: 400;
}

.shortcuts-one,
.shortcuts-two {
    grid-column: 1 / 3;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.shortcut-item {
	border-radius: 12px;
    display: flex;
    flex-direction: column;
	text-align: center;
    justify-content: center;
    align-items: center;
	vertical-align: middle;
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.shortcut-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.shortcut-name {
    font-size: 1.0rem;
    font-weight: 400;
    text-align: center;
}

a:link,
a:visited,
a:active {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #96D4D4;
  background-color: transparent;
  text-decoration: none;
}

@media (max-width: 600px) {
	body {
	background-image: url('../media/bg_index_02.webp');
	background-color: #000000;
    padding: 4px;
	}

	.block {
    background: rgba(255, 255, 255, 0);
	border: 1px solid rgba(255, 255, 255, 0);
	box-shadow: 0 8px 32px 0 rgb(0 0 0 0);
	}
	
	.block:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0);
	}

	.shortcut-item {
    background: rgba(255, 255, 255, 0);
	}

	.shortcut-item:hover {
    background: rgba(255, 255, 255, 0);
    transform: scale(1);
	}

    .container {
    display: grid;
    grid-column: 2;
    grid-rows: auto;
    gap: 4px;
    max-width: 100%;
	}
    
    .time-block,
    .weather-block {
	grid-column: 2;
	grid-row: auto;
    }
    
    .daily-forecast {
	flex-direction: column;
	gap: 4px;
	height: auto;
	font-weight: 300;
    }

	.main-time,
	.main-date {
    font-size: 1.2rem;
	font-weight: 300;
	}
}