@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: #0F1620;
    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;
}

header {
    background: #0F1620;
    border-bottom: 1px solid #2d333c;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-back {
    border: 1px solid #ececec;
    display: flex;
    cursor: pointer;
    margin-right: 16px;
    height: 24px;
    padding: 0 4px;
    width: 24px;
    margin-left: 16px;
}

.header-back:hover {
    background-color: red;
    border-radius: 50%;
}

.header-back img {
    height: 20px;
    width: 20px;
}

.header-logo {
    padding: 0 16px;
}

.header-logo img {
    height: 24px;
}

.header-title {
    font-size: 18px;
    flex: 1;
}

.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: #1e252e;
    border-radius: 7px;
    cursor: pointer;
    color: #E6EDF7;
    transition: 0.35s;
    width: calc(50% - 16px);
}

.start-grid-card:hover {
    background: #2d333c;
    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 {
        padding: 0 16px;
    }

    .start-grid-card {
        width: 100%;
    }
}