@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap");
@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
}

table {
    border-collapse: collapse;
}

.table {
    border-collapse: collapse;
    margin: 2em 0;
}

.table td {
    border: solid 1px #262626;
    padding: 1em;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 1px 3px #808080;
    z-index: 10;
}

.header-logo {
    display: flex;
}

.header-logo img {
    display: block;
}

@media (max-width: 500px) {
    .header-logo a {
        display: none;
    }

    .header-logo a:first-child {
        display: initial;
    }
}

@media (max-width: 900px) {
    .header {
        height: 50px;
        padding: 20px;
        text-align: center;
    }

    .header-logo {
        flex-grow: 1;
    }

    .header-logo img {
        height: 50px;
    }

    .header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header .menu-toggle {
        margin: 10px;
    }

    .main-menu,
    .user-menu {
        overflow: hidden;
        transition: all .2s;
        padding: 0;
        max-height: 0;
        margin: 0 -20px;
        background-color: #ffffff;
    }

    #main-menu-checkbox:checked ~ .main-menu,
    #user-menu-checkbox:checked ~ .user-menu {
        padding: 20px;
        max-height: 200px;
        box-shadow: 0 2px 2px #808080;
    }

    .header + .body-container {
        margin: 90px 0 0;
    }

    .display-medium {
        display: none;
    }
}

@media (min-width: 901px) {
    .header {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 60px;
        padding: 20px 30px;
    }

    .header-logo img {
        height: 60px;
    }

    .header-mobile {
        display: inline-block;
    }

    .header-mobile .menu-toggle {
        display: none;
    }

    .header-mobile .menu-toggle-icon {
        display: none;
    }

    .header + .body-container {
        margin: 100px 0 0;
    }
}

@media (min-width: 901px) and (max-width: 1500px) {
    .user-menu {
        overflow: hidden;
        padding: 0 20px;
        max-height: 0;
        position: absolute;
        top: 100%;
        right: 0;
        transition: all 200ms;
        background-color: #ffffff;
    }

    #user-menu-checkbox:checked ~ .user-menu {
        padding: 10px 20px;
        max-height: 200px;
    }
}

@media (min-width: 1501px) {
    .display-medium {
        display: none;
    }
}

/* MENU ANIMATED ICON */

.menu-toggle {
    display: inline-block;
    width: 25px;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle:before,
.menu-toggle:after {
    background-color: black;
    border-radius: 2px;
    content: '';
    display: block;
    height: 4px;
    margin: 5px 0;
    transition: all .2s ease;
}

.menu-toggle-input {
    display: none;
}

.menu-toggle-input:checked ~ * .menu-toggle span {
    transform: scale(0);
}
.menu-toggle-input:checked ~ * .menu-toggle:before {
    transform: translateY(9px) rotate(135deg);
}
.menu-toggle-input:checked ~ * .menu-toggle:after {
    transform: translateY(-9px) rotate(-135deg);
}

/* END - MENU ANIMATED ICON */

/*#region MENU TOGGLE ICON */

.menu-toggle-icon {
    display: inline-block;
    width: 24px;
    cursor: pointer;
    position: relative;
    margin: 10px;
}

.menu-toggle-icon i {
    font-size: 28px;
    line-height: 1;
}

.menu-toggle-icon i:first-child {
    position: relative;
    color: #404040;
}

.menu-toggle-icon i:last-child {
    position: absolute;
    top: 0; left: 0;
    color: #cc1442;
    height: 0;
    overflow: hidden;
    transition: height 500ms;
}

.menu-toggle-icon:hover i:first-child {
    color: #262626;
}

#user-menu-checkbox:checked ~ * .menu-toggle-icon i:last-child {
    height: 100%;
}

/*#endregion MENU TOGGLE ICON */

.button {
    padding: 0.4em 0.8em;
    border: solid 2px #e60039;
    color: #e60039;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all .2s;
}

.button:hover,
.button:focus {
    background-color: #e60039;
    color: white;
}

.header .button {
    margin: 0 1em;
}

.main-menu {
    flex-grow: 1;
    text-align: center;
}

.main-menu .menu-item {
    display: inline-block;
    margin: 0 0.75em;
    color: #262626;
    transition: color .2s;
}

.main-menu .menu-item:hover,
.main-menu .menu-item-selected {
    color: #1f4799;
}

.main-menu .menu-item a {
    text-decoration: none;
    color: inherit;
    font-size: 1.15em;
}

.user-name {
    font-size: 1.25em;
    margin-left: 10px;
}

.user-menu {

}

.user-menu .menu-item {
    display: inline-block;
    position: relative;
    margin: 12px 8px;
}

.user-menu .menu-icon {
    display: inline-block;
    vertical-align: middle;
    font-size: 2.25em;
    color: #404040;
}

.menu-item-selected .menu-icon,
.menu-item:hover .menu-icon {
    color: #262626;
}

.menu-tooltip {
    display: inline-block;
    vertical-align: middle;
    max-width: 0;
    transition: max-width .2s;
    overflow: hidden;
    margin-left: 0.5em;
    font-weight: bold;
    font-size: 1.15em;
    color: #262626;
}

.menu-item:hover .menu-tooltip {
    max-width: 10em;
}

.menu-badge {
    background-color: red;
    position: absolute;
    bottom: -0.75em;
    left: 1.75em;
    width: 1.25em;
    height: 1.25em;
    text-align: center;
    padding: 0.25em;
    font-weight: bold;
    border-radius: 50%;
    color: white;
}

@media (max-width: 600px) {
    .menu-tooltip,
    .menu-badge {
        display: none;
    }
}

/* LOGIN PAGE */

.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    box-shadow: 0 1px 5px #a6a6a6;
}

.login-form .heading {
    font-size: 1.5em;
    margin: 0 0 1em;
}

.login-form label {
    display: block;
    font-size: 1.15em;
    margin: 1em 0;
}

.login-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6em 0.8em;
    font-family: inherit;
    font-size: 0.85em;
    border: solid 2px #cccccc;
    outline: none;
}

.login-form input:focus {
    border-color: #e60039;
}

.checkbox {
    display: flex;
    align-items: start;
    margin: 1em 0 0;
}

.checkbox input {
    width: auto;
    margin-right: 1em;
}

.checkbox label {
    margin: 0;
    font-size: 1em;
}

button.button {
    background-color: transparent;
    cursor: pointer;
    font-family: inherit;
}

.login-form .button {
    margin: 2em 0 0;
}

/* COMMON */

h1 {
    background-color: #143066;
    color: white;
    margin: 0;
}

@media (max-width: 600px) {
    h1 {
        padding: 0.5em 2rem;
        font-size: 2.5rem;
        text-align: center;
    }

    .page-chain {
        padding: 1em 2rem;
    }

    .container {
        padding: 1rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .main-section {
        padding: 0;
    }
}

@media (min-width: 601px) {
    h1 {
        padding: 0.5em 3rem;
        font-size: 3rem;
        text-align: left;
    }

    .page-chain {
        padding: 0.8em 3rem;
    }

    .container {
        padding: 2rem 3rem;
        display: flex;
        flex-direction: row;
    }

    .main-section {
        flex-grow: 1;
    }

    .left-menu + .main-section {
        padding: 1rem;
    }
}

@media (min-width: 1401px) {
    h1 {
        padding: 0.5em 5rem;
    }

    .page-chain {
        padding: 0.8em 5rem;
    }

    .container {
        padding: 2rem 5rem;
    }

    .left-menu + .main-section {
        padding: 1rem 2rem;
    }
}

/* CATEGORY PAGE */

@media (max-width: 600px) {
    .left-menu {
        opacity: 0;
        max-height: 0;
        transition: opacity 0.2s;
        overflow: hidden;
    }

    .left-menu-toggle {
        display: block;
        font-weight: bold;
        text-align: center;
        padding: 0.5em 0;
        color: white;
        background-color: #1f1f1f;
    }

    .menu-toggle-input:checked ~ .left-menu {
        opacity: 1;
        max-height: none;
        padding: 0 0.5em;
    }
}

@media (min-width: 601px) {
    .left-menu {
        margin-right: 2em;
    }

    .left-menu-toggle {
        display: none;
    }

    .left-menu .menu-item {
        width: 300px;
    }
}

.left-menu a,
.step-menu a {
    text-decoration: none;
    color: inherit;
}

.left-menu ul,
.step-menu ul {
    list-style-type: none;
    padding-left: 0;
}

.left-menu ul ul {
    list-style-type: square;
    padding-left: 1.5em;
}

.left-menu .menu-item {
    margin: 1.25em 0 0.75em;
    display: flex;
    align-items: center;
}

.left-menu .menu-item a {
    flex-grow: 1;
    padding: 0.6em 15px 0.6em 40px;
    box-shadow: 0 1px 5px #a6a6a6;
    background-color: #f2f2f2;
    font-size: 1.15em;
    font-weight: bold;
}

.left-menu .menu-item img {
    width: 50px;
    height: 50px;
    box-shadow: 0 1px 3px #bfbfbf;
    border-radius: 50%;
    margin-right: -25px;
    z-index: 1;
    transition: all 100ms;
}

.left-menu .menu-item a:hover,
.left-menu .menu-item.selected a {
    color: #1f4799;
}

.left-menu .menu-item:hover img,
.left-menu .menu-item.selected img {
    width: 60px;
    height: 60px;
    margin: -5px -30px -5px 0;
}

.left-menu .menu-subitem {
    margin: 0.6em 0 0.6em 0.4em;
}

.left-menu .menu-subitem a:hover,
.left-menu .menu-subitem.selected a {
    text-decoration: underline;
}

/* VIDEO TILES */

.video-tiles {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    padding: 0;
}

.video-tiles li {
    flex-grow: 1;
    max-width: 420px;
    margin: 15px;
    box-shadow: 0 2px 4px #bfbfbf;
}

.video-tiles li:hover {
    color: #e60039;
    background-color: #f2f2f2;
}

.video-tiles a {
    color: inherit;
    text-decoration: none;
}

.video-tiles .video-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-tiles .tile-text {
    padding: 0.5em 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-tiles .video-name {
    font-size: 1.25em;
}

.video-tiles .video-length {
    font-weight: bold;
    margin-left: 1em;
}

/* CATEGORY CHAIN */

.page-chain {
    font-size: 1rem;
    background-color: #e6eeff;
}

.page-chain a {
    color: #404040;
}

.page-chain a:hover {
    color: #000000;
}

.page-chain span {
    color: #000000;
    font-weight: bold;
    margin: 0 0.3em;
}

/* VIDEO PAGE */

@media (max-width: 1200px) {
    .video-player {
        margin: 1rem 0;
    }
}

@media (min-width: 1201px) {
    .video-player {
        width: 60%;
        max-width: 720px;
    }

    .video-details {
        width: 40%;
    }

    .horizontal-layout {
        display: flex;
        flex-direction: row;
    }

    .horizontal-layout > div {
        padding: 2rem;
    }
}

.video-container,
.video-preview {
    width: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
}

.video-price {
    font-weight: bold;
    font-size: 1.5em;
    color: #cc0a3b;
}

.video-status {
    font-size: 1.15em;
}

.status-green {
    color: #05662d;
}

.status-orange {
    color: #d9940b;
}

.status-red {
    color: #99082c;
}

.video-parameters {

}

.video-parameters td {
    padding: 0.2em 0.6em;
}

.video-parameters td:nth-child(1) {
    color: #666666;
    text-align: center;
}

.video-parameters td:nth-child(2) {
    color: #666666;
}

/* STEP MENU */

.step-menu {
    color: white;
    text-align: center;
    position: fixed;
    top: 100px;
    bottom: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
}

.step-menu .menu-heading {
    font-size: 1em;
    font-weight: bold;
    padding: 1em;
    background-color: #1f1f1f;
}

@media (max-width: 600px) {
    .step-menu {
        z-index: 8;
        top: 100px;
        max-width: 0;
        overflow: hidden;
        transition: max-width 0.2s;
    }

    .menu-toggle-input:checked + .step-menu {
        max-width: 100px;
    }

    .step-menu .menu-heading {
        position: fixed;
        top: 100px;
        left: 0;
        transform: rotate(-90deg) translate(-100%, 0);
        transform-origin: top left;
        transition: left 0.2s;
        font-size: 1em;
        padding: 0.6em 0.8em;
    }

    .menu-toggle-input:checked + .step-menu .menu-heading {
        left: 100px;
    }
}

@media (min-width: 601px) {
    .step-menu + .body-step-container {
        margin-left: 100px;
    }
}

.step-menu ul {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.step-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 4em;
    font-weight: bold;
    background-color: #2e2e2e;
    flex-grow: 1;
}

.step-menu .published:hover,
.step-menu .selected {
    background-color: #0a1833;
    color: #295fcc;
}

.step-menu .not-published {
    font-size: 3em;
    color: grey;
}

.step-menu .not-published > div {
    font-size: 10px;
}

.step-menu + .body-step-container {
    padding: 0;
}

/* CATEGORY INDEX PAGE */

.catalog-index {
    background-color: #f2f2f2;
}

.category-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 50px;
    margin: 20px 0;
    flex-grow: 1;
}

.category-boxes a {
    color: inherit;
    text-decoration: none;
}

.category-boxes ul {
    list-style-type: none;
    padding: 0;
}

.category-box {
    border: solid 1px #143066;
    box-shadow: 0 1px 3px #808080;
    background-color: white;
    padding: 1em 2em;
    position: relative;
}

.category-box > img {
    position: absolute;
    width: 60px;
    height: 60px;
    left: -20px;
}

.category-box .step-number {
    position: absolute;
    background-color: #e60039;
    left: -20px;
    font-size: 36px;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
}

.category-box h3 {
    color: #e60039;
    font-size: 1.6em;
    margin: 15px 0 25px;
    padding-left: 20px;
}

.category-box h3 a:hover,
.category-box h3 a:focus {
    color: #cc0033;
    text-decoration: underline;
}

.category-box-text {
    color: #404040;
    font-size: 0.8em;
    margin: 1em 0;
}

.category-box-list li {
    font-size: 1.2em;
}

.category-box-list li a {
    display: flex;
    align-items: center;
}

.category-box-list li img {
    width: 70px;
    height: 70px;
    z-index: 1;
}

.category-box-list li:nth-child(2n) img {
    order: 1;
    margin-left: -40px;
}

.category-box-list li:nth-child(2n) span {
    padding-right: 60px;
}

.category-box-list li:nth-child(2n+1) img {
    order: -1;
    margin-right: -40px;
}

.category-box-list li:nth-child(2n+1) span {
    padding-left: 60px;
}

.category-box-list li span {
    flex-grow: 1;
    padding: 10px 20px;
    color: #143066;
    border: solid 1px #143066;
    box-shadow: 0 1px 3px #cccccc;
    text-align: center;
    margin: 8px 0;
    transition: 200ms;
}

.category-box-list li:hover span {
    background-color: #143066;
    color: white;
}

.category-box-list.round-items li span {
    border-radius: 30px;
}

.category-box-list.square-items img {
    width: 60px;
    height: 60px;
}

/* CATEGORY PAGE */

.category-description {
    font-size: 1.25em;
}

/* PACKAGE LIST */

.package {
    box-shadow: 0 1px 5px #bfbfbf;
    padding: 2.5em;
    margin: 30px 0;
    position: relative;
}

.package-title h2 {
    gap: 20px;
    display: flex;
    align-items: center;
    font-size: 1.6em;
    font-weight: bold;
    margin: 0;
}

.package-title a {
    color: #e60039;
    text-decoration: none;
}

.package-title a:hover {
    color: #cc0033;
    text-decoration: underline;
}

.package-description {
    font-size: 0.9em;
    color: #1a1a1a;
}

.package-description p {
    margin: 0.1em 0;
}

.package-icon {
    width: 50px;
    height: 50px;
    box-shadow: 0 1px 3px #bfbfbf;
}

@media (max-width: 600px) {
    .package-title {
        display: block;
    }

    .package-title h2 {
        margin-bottom: 10px;
    }
}

@media (min-width: 601px) {
    .package-title {
        gap: 20px;
        display: flex;
        align-items: center;
    }
}

/* PACKAGE VIDEO TILES */

.package-videos {
    display: flex;
    flex-wrap: wrap;
    margin: 10px -5px;
}

.package-videos li {
    margin: 10px;
    flex-grow: 1;
}

.package-videos li a {
    display: flex;
    height: 100%;
    align-items: center;
}

.package-videos .video-thumbnail {
    width: 135px;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.package-videos .tile-text {
    display: block;
}

@media (max-width: 600px) {
    .package {
        padding: 20px 30px;
    }

    .package-videos .video-name {
        font-size: 1.2em;
    }

    .package-videos .video-thumbnail {
        min-height: 60px;
        width: 80px;
    }
}

@media (min-width: 601px) {
    .package-videos li {
        width: 30%;
        min-width: 280px;
        max-width: 380px;
        min-height: 90px;
    }
}

/* ORDER STATUS */

.order-status {
    padding: 0.6em 1.8em;
    margin: 1.2em 0;
}

.order-status.order-placed,
.order-status.order-started {
    background-color: #f2e3ce;
    color: #33220a;
}

.order-status.order-aborted {
    background-color: #f2cece;
    color: #330a0a;
}

.order-status.order-paid,
.order-status.order-done {
    background-color: #ddf2ce;
    color: #1b330a;
}

.order-status .status-heading {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0.8em 0;
}

/* WIRE PAYMENT */

.wire-payment td {
    padding: 0.5em 1em;
}

.wire-payment td:last-child {
    font-weight: bold;
}

/* PACKAGE TABLE */

.table-packages tr {
    border-bottom: solid 1px #cccccc;
}

.table-packages tr:last-child {
    border-bottom: none;
}

.table-packages .thumbnail {
    display: block;
    box-shadow: 0 0 2px #1a1a1a;
}

.table-packages .package-name {
    font-size: 1.25em;
    font-weight: bold;
}

.table-packages .package-name a {
    color: #f20c46;
    text-decoration: none;
}

.table-packages .package-name a:hover {
    color: #cc0a3b;
    text-decoration: underline;
}

.table-packages .price {
    color: #b3123a;
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 600px) {
    .table-packages {
        margin: 1em 0;
        width: 100%;
    }

    .table-packages tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 1em 0;
    }

    .table-packages td {
        padding: 0.5em;
    }

    .table-packages .thumbnail {
        width: 100px;
    }

    .table-packages .name-cell {
        flex-grow: 1;
        padding-left: 1em;
    }

    .table-packages .price-cell {
        flex-grow: 1;
        padding-left: 3em;
    }

    .table-packages .package-name {
        color: #cc0a3b;
        display: block;
    }

    .table-packages .category-name {
        color: #f20c46;
        display: block;
    }

    .table-packages .price {
        text-align: right;
    }

    .table-packages .package-content {
        display: none;
    }

    .table-packages .button-icon {
        margin: 0;
    }
}

@media (min-width: 601px) {
    .table-packages td {
        padding: 1.6em 1.2em;
    }

    .table-packages .thumbnail {
        height: 5em;
    }

    .table-packages .package-name {
        margin: 0 0 0.2em;
    }

    .table-packages .package-content {
        color: #404040;
        font-size: 0.9em;
    }
}

/* ICON BUTTON */

.button-icon {
    background-color: transparent;
    color: #bfbfbf;
    border: none;
    margin: 0.5em;
    padding: 0;
    font-size: 1.25rem;
    cursor: pointer;
}

.button-icon:hover {
    color: #999999;
}

/* ORDER TOTAL */

.order-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1.2em;
}

.order-total {
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .basket-info {
        order: 1;
    }

    .order-summary {
        background-color: #e5e5e5;
        padding: 0.5em 1em;
        justify-content: space-between;
    }

    .order-total {
        font-size: 1.2em;
    }
}

@media (min-width: 601px) {
    .order-total {
        font-size: 1.4em;
        margin: 0 3em;
    }
}

/* PAYMENT METHODS */

.radio-button {
    display: block;
    position: relative;
}

.radio-button input {
    opacity: 0;
    position: absolute;
}

.payment-method {
    border: 2px solid #cccccc;
    padding: 1em;
    margin: 1em 0;
    display: block;
    max-width: 600px;
}

.payment-method:hover {
    background-color: #e5e5e5;
}

input:checked + .payment-method {
    border-color: #f20c46;
}


.payment-method > i {
    font-size: 1.2em;
    color: #f20c46;
    width: 1.2em;
    text-align: center;
    margin-right: 0.5em;
}

.payment-method > span {
    font-size: 1.15em;
    font-weight: bold;
    color: #f20c46;
}

.payment-method > div {
    font-size: 0.9em;
    color: #333333;
}


/* ORDERS TABLE */

.orders-table th {
    padding: 0.8em 1.2em;
    text-align: left;
}

.orders-table td {
    padding: 1.2em 1.2em;
    border-top: solid 1px #cccccc;
}

.orders-table .order-placed,
.orders-table .order-started {
    color: #cc8014;
    font-weight: bold;
}

.orders-table .order-aborted {
    color: #990f0f;
    font-weight: bold;
}

.orders-table .order-paid,
.orders-table .order-done {
    color: #30660a;
    font-weight: bold;
}

/* PACKAGE DETAIL PAGE */

.package-status {
    font-size: 1.25em;
}

.package-basket {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.package-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #e60039;
}

.package-original-price {
    font-size: 0.8em;
    text-decoration: line-through;
}

.package-discount {
    color: #e60039;
    font-weight: bold;
}

/* MY DATA TABLE */

.user-data h2 {
    color: #404040;
    border-bottom: solid 1px #404040;
}

.user-data-table {
    min-width: 75%;
    margin: 2em 0;
}

.user-data-table td {
    padding: 0.5em 1.5em;
}

@media (max-width: 1000px) {
    .user-data-table td {
        display: block;
    }
}

.user-data-table label {
    font-weight: bold;
}

.user-data-table input {
    min-width: 200px;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5em 1em;
    font-family: inherit;
    font-size: 0.9em;
    box-shadow: 0 0 2px #262626;
    border-radius: 4px;
    border: none;
    outline: none;
}

.user-data-table input:focus {
    box-shadow: 0 0 4px #a60830;
    outline: none;
}

.user-data-note {
    font-size: 0.9em;
}

/* ERROR PAGE */

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* temp */
    position: absolute;
    width: 100%;
    height: 100%;
}

.error-code {
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #bfbfbf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message {
    font-size: 2rem;
    margin-top: 2rem;
}

/* MESSAGE */

.message {
    padding: 1em 2em;
    font-weight: bold;
}

.message.error {
    background-color: #ffe6e6;
    color: #8c0000;
}

.message.success {
    background-color: #e6ffe6;
    color: #005900;
}

/* COUNTDOWN */

.category-countdown {
    text-align: center;
}

.category-countdown p {
    font-size: 1.25em;
}

.category-countdown .countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown > div {
    margin: 0.25em;
    padding: 0.75em;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    border: solid 2px #ff0d21;
}

.countdown > div > span {
    font-size: 1.5em;
    font-weight: bold;
}

.countdown > div > div {
    font-size: 0.9em;
}

/* FOOTER */

footer {
    text-align: center;
    background-color: #262626;
    color: white;
    padding: 0.5em;
}

/* HOME PAGE */

.home-text {
    flex-grow: 1;
    min-width: 40%;
}

.home-diagram {
    max-width: 600px;
}

.home-diagram img {
    width: 100%;
}