@font-face {
	font-family: 'Roboto';
	font-weight: 400;
	src: url('/assets/fonts/Roboto-Regular.woff2');
}

@font-face {
	font-family: 'Roboto';
	font-weight: 500;
	src: url('/assets/fonts/Roboto-Medium.woff2');
}

* {
	box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
	background-color: #161B22;
    color: #f0f0f1;
	font-family: 'Roboto';
  	font-size: 16px;
  	font-weight: 400;
  	line-height: 1;
  	margin: 0;
  	padding: 0;
}

.container {
    margin: 0 auto;
    max-width: 900px;
    width: 900px;
}

.navbar {
   /* Цвет из вашего запроса с прозрачностью 0.85 */
    background: rgba(37, 43, 52, 0.50);
    
    /* Эффект матового стекла для стиля приложения */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Дополнительная тонкая рамка для контраста */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    height: 64px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 16px;
    left: 2%;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom);
    margin: 0 auto;
    width: 96%;
}

.navbar a {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: #d3d4d6;
}

.navbar a img {
    display: flex;
    height: 20px;
}

.navbar a span {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    margin-top: 8px;
}

header {
    background: #161B22;
    border-bottom: 1px solid #33383e;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 16px;
}

.header-back {
    display: flex;
    background-color: #1e252e;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 4px;
    margin-right: 16px;
    width: 24px;
}

.header-back img {
    height: 16px;
}

.header-logo img {
    height: 24px;
}

.header-title {
    font-size: 18px;
    flex: 1;
    padding-left: 20px;
}

.start {
    margin-top: 16px;
    padding: 0 20px;
}

.start-title {
    color: #e1e2e3;
    font-size: 20px;
}

.start-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.start-grid-card {
    height: 72px;
    display: flex;
    cursor: pointer;
    align-items: center;
    padding: 20px 16px;
    background: #21262d;
    border-radius: 15px;
    cursor: pointer;
    color: #E6EDF7;
    transition: 0.35s;
    width: calc(50% - 16px);
}

.start-grid-card:hover {
    background: #2c3137;
    transform: translateY(-4px);
}

.start-grid-card-number {
    background-color: #5a5f66;
    display: inline-block;
    border-radius: 7px;
    padding: 4px;
}

.start-grid-card-title {
    margin-left: 12px;
    font-size: 16px;
    line-height: 1.3;
}

.start-grid-card-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #8b949e;
}

.fav-btn {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    padding: 6px;
    transition: 0.2s;
    position: relative;
    z-index: 2;
}

.fav-btn.active {
    color: #ff5d5d;
}

.timetable {
    margin: 16px 8px;
}

.timetable-card {
    background-color: #1e252e;
    border-radius: 7px;
    padding: 16px;
}

.timetable-card-hour {
    font-size: 24px;
}

.timetable-card-mins {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.timetable-card-mins span {
    background-color: #3c424a;
    border-radius: 12px;
    padding: 3px 6px;
}


@media (max-width: 600px) {
    .container {
        width: 100%;
    }

    .start-grid-card {
        width: 100%;
    }
}