/*--------------------------*/
/*----- Configuration ------*/
/*--------------------------*/

/*---------- Reset ---------*/
/* Box model reset – http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Fix main element in IE – ttps://github.com/aFarkas/html5shiv/issues/114#issuecomment-24992081 */
main {
  display: block;
}

/*---------- Fonts ---------*/
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('../Fonts/OpenSans/OpenSans-Regular.ttf');
  src: url('../Fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url('../Fonts/OpenSans/OpenSans-Bold.ttf');
  src: url('../Fonts/OpenSans/OpenSans-Bold.ttf') format('truetype');
}

/*--------- General --------*/
html {
  font-size: 10vw;
  color: rgba(25, 25, 85, 1);
  font-family: 'Open Sans', sans-serif;
}

@media screen and (min-width: 1440px) {
  html {
     font-size: 9em;
  }
}

body {
  margin: 0 0.1rem;
}

/*--------------------------*/
/*--------- Blocks ---------*/
/*--------------------------*/

/*-------- Timetable -------*/
.timetable {
    height: 90vh;
    display: flex;
    align-items: center;
}

.timetable__list {
    list-style: none;
    padding: 0.5rem 0;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.timetable__item {
    display: flex;
    width: 95%;
    margin: 0.2rem;
}

.timetable__no-lines {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(226, 0, 26);
    font-size: 0.5rem;
    line-height: 1rem;
    margin: auto;
}

.timetable__column-left {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.timetable__column-right {
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timetable__optional-information {
    display: block;
    line-height: 0;
}

/* Styling for single timetable element */
.timetable__item:only-of-type {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timetable__item:only-of-type .timetable__column-left {
    margin-bottom: 1rem;
}

.timetable__item:only-of-type .timetable__optional-information {
    margin-bottom: -1rem;
}

.timetable__item:only-of-type .timetable__column-right {
    margin: 0;
}

/*---------- Text ----------*/
.text {
    padding: 0;
    margin: 0;
    line-height: 1;
}

.text--big {
    font-size: 1.3rem;
}

.text--small {
    font-size: 0.4rem;
}

.text--xsmall {
    font-size: 0.15rem;
}

.text--bold {
    font-weight: 700;
}

.text--uppercase {
    text-transform: uppercase;
}

.text--primary {
    color: rgb(226, 0, 26);
}

.text--light-primary {
    color: rgba(226, 0, 26, 0.6);
}

.text--light-grey {
    color: rgba(25, 25, 85, 0.45)
}

/* Styling for single timetable element */
.timetable__item:only-of-type .text--big {
    font-size: 2rem;
}

/*---------- Hint ----------*/
.hint {
    position: fixed;
    bottom: 10px;
    left: 10px;
}
