@font-face {
    font-family: 'Roboto Slab';
    src: url(../font/RobotoSlab.ttf);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url(../img/c.png), default !important;
}

html {
    font-family: 'Roboto Slab';
    font-size: 10px;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto 1fr auto;
}

.header {
    min-height: 14rem;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 100rem;
}

.clocks {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.clock {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    font-size: 1.3rem;
}

.clock-icon {
    display: flex;
}

.clock-icon img {
    display: block;
    width: auto;
    max-height: 6rem;
}

.clock-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.clock-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.clock-time {
    width: 11.8rem;
    padding: 0.2rem 0.5rem;
    display: flex;
    justify-content: center;
    font-size: 3.2rem;
    background-color: #333;
    color: white;
    border-radius: 4px;
    font-feature-settings: "tnum";
}

.nyc-bg-image {
    background-image: url(../img/nyc.png);
    background-repeat: no-repeat;
    background-position: 5.7rem 0;
    background-size: 5rem auto;
}

.la-bg-image {
    background-image: linear-gradient(to right, #00000055, #00000055), url(../img/ca.png);
    background-repeat: no-repeat;
    background-position: 0px 0px, left 1.3rem top -0.2rem;
    background-size: 100% 100%, 8.8rem auto;
    background-color: #00000005;
}

.london-bg-image {
    background-image: url(../img/london.png);
    filter: invert(1);
    background-repeat: no-repeat;
    background-position: 5rem 0rem;
    background-size: 5rem auto;
}

.shanghai-bg-image {
    background-image: url(../img/shanghai.png);
    background-repeat: no-repeat;
    background-position: 6rem 0;
    background-size: 5rem auto;
}

.clock-date {
    font-size: 1.1rem;
}

.navigation {
    margin-top: -4rem;
    height: 8rem;
    background-color: #444;
    border-radius: 4px;
}

.navigation-list {
    list-style: none;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.navigation-link {
    min-width: 9rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: capitalize;
    text-decoration: none;
    border-radius: 4px;
}

.navigation-link svg {
    font-size: 2rem;
}

.navigation-link:hover {
    background-color: steelblue;
}

.navigation-link.active:hover {
    background-color: rgb(53, 101, 141);
}

.navigation-link.active {
    background-color: steelblue;
}

.title {
    display: flex;
    padding: 0 2rem;
    padding-top: 2rem;
    color: #222;
    font-size: 4rem;
    font-family: 'Roboto Slab';
}

.main {}

.hero-image-box {
    overflow: hidden;
    margin-bottom: 2rem;
    height: 28rem;
}

.hero-image {
    margin-top: -3rem;
    display: block;
    width: 100%;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    background: #f7f7f7;
    /* display: inline-block; */
    padding: 0.2rem 1.5rem;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 1.6rem;
    background-color: #ddd;
    top: 100%;
    left: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1.6rem;
    background-color: #ddd;
    top: 100%;
    right: 2rem;
}

p {
    line-height: 1.7;
    color: #222;
}

.section-content {
    padding-right: 2rem;
    color: #333;
    font-size: 1.4rem;
}

.section-main {
    padding-top: 3rem;
    height: 100%;
    flex-grow: 1;
    border-right: 1px dashed #eee;
}

.content-text {
    padding: 1.5rem;
    border: 1px dashed #eee;
    border-radius: 4px;
}

.aside-right {
    margin-right: 2rem;
    border-right: 1px dashed #eee;
}

.id-card {
    margin-top: -3rem;
    width: 24rem;
    padding: 1.5rem 2rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    border-radius: 4px;
}

.card-image {
    margin-top: -4rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card-image img {
    display: block;
    max-width: 100%;
    border-radius: 4px;
}

.card-image-title {
    position: relative;
    padding-bottom: 2rem;
    padding-top: 1rem;
    align-self: stretch;
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.card-image-title span {
    display: inline-block;
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    line-height: 1;
    color: white;
    background-color: #333;
    border-radius: 2px;
}

.card-body {
    padding: 2rem;
    margin: -2rem;
    margin-top: -3.5rem;
}

.card-title {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #333;
    text-align: center;
}

.card-text {
    font-size: 1.3rem;
    line-height: 1.7;
}

p:not(:last-of-type) {
    margin-bottom: 1rem;
}

.footer {
    padding: 2rem;
    border-top: 1px dashed #eee;
}

small {
    margin-left: 0.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

small span:first-of-type {
    padding: 0.1rem 0.2rem;
    color: #222;
    background-color: white;
    border-radius: 2px;
}

.p-x-2 {
    padding: 0 2rem;
}

.p-b-4 {
    padding-bottom: 4rem;
}

.p-t-2 {
    padding-top: 2rem;
}

.p-b-6 {
    padding-bottom: 6rem;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 2rem;
}

.h-100 {
    height: 100%;
}