
@import url(../font/lato.css);

* {
    box-sizing: border-box
}

h1 {
    font-weight: 400
}

/* Adding in-line links */
.custom-link {
    color: #f58900;  /* Change this to any color you prefer */
    text-decoration: none; /* Removes the underline */
    font-weight: normal; /* Ensures normal text weight */
}

.custom-link:hover {
    text-decoration: underline; /* Optional: Adds underline on hover */
}

.time-map {
    overflow-y: auto
}

.time-map .location-map {
    display: flex;
    gap: 5px;
    align-items: center
}

.time-map .location-map svg {
    width: 18px;
    height: 18px
}

.time-map .location-map svg path {
    fill: #707070
}

.time-map .time-media {
    background-position: 88px 0;
    display: flex;
    min-height: 140px;
    max-width: 1024px;
    margin: 0 auto
}

.time-map .time-media:first-child {
    margin-top: 20px;
    background-position: 88px 100px
}

.time-map .time-media:has(+.time-media) {
    background-image: linear-gradient(#707070, #707070);
    background-repeat: no-repeat;
    background-size: 4px 100%;
    padding-bottom: 15px
}

.time-map .media-content {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 10px 10px 10px
}

.time-map .media-content p {
    margin: 0 5px
}

.time-map .time-title {
    color: #ffffff;
    border-radius: 20px;
    height: 100px;
    width: 100px;
    background-color: #212121;
    border: 4px solid #707070;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    margin: 0 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    overflow: hidden
}

.time-map .flex {
    display: flex
}

.time-map .flex.extend-one :first-child {
    flex-grow: 1
}

.time-map h1 {
    border-bottom: 1px solid #707070;
    margin: 0;
    padding: 5px;
    color: #b6b6b6
}

.time-map .line-above {
    border-top: 1px solid #707070
}

.time-map .caption {
    font-size: 1.2rem;
    padding: 5px 5px 10px 5px;
    color: #f58900
}

.time-map span {
    color: #a5a4a4
}

.time-map .pad-5 {
    padding: 5px 5px 10px 5px
}

.time-map p {
    color: #707070
}

.time-map .caption:empty {
    display: none
}

.time-map .caption:empty+.line-above {
    border-top: none
}

@media only screen and (max-width:601px) {
    body main {
        padding: 5px
    }

    .time-media {
        flex-direction: column;
        background-position: 5px 0 !important;
        background-size: 2px 100% !important;
        background-image: linear-gradient(#707070, #707070);
        background-repeat: no-repeat;
        padding-bottom: 15px
    }

    .time-media h1 {
        font-size: 1.5rem
    }

    .time-media .time-title {
        margin: 0;
        margin-left: 10px;
        padding: 10px;
        height: unset;
        width: unset;
        flex-direction: row;
        justify-content: flex-start;
        border-radius: 0 15px 15px 0;
        border-width: 2px;
        border: none
    }

    .time-media .time-title time:first-child::after {
        content: "-"
    }

    .time-media .media-content {
        margin: 5px;
        padding: 0 0 0 10px;
        padding-bottom: 25px
    }

    article {
        margin-left: 0
    }

    article ol,
    article ul {
        margin: 0;
        padding: 0 0 0 20px
    }

    article ol li,
    article ul li {
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px solid #363636
    }

    article h3+ul>li:first-child {
        border-top: 1px solid #363636
    }

    footer .main-footer {
        flex-direction: column
    }

    footer .main-footer>* {
        flex-basis: unset
    }

    footer .main-footer h2 {
        text-align: center
    }

    footer .main-footer h2+P {
        text-align: center
    }

    footer .main-footer h3 {
        text-align: center;
        margin-top: 15px
    }

    footer .main-footer .footer-section:has(.foot) {
        display: flex;
        flex-direction: column;
        text-align: center
    }

    footer .main-footer .footer-section:has(.foot) .foot {
        align-self: center
    }

    header nav {
        flex-direction: column;
        font-size: 1rem
    }

    header h1,
    header h2 {
        text-align: center
    }

    header .profile img {
        width: 20vw;
        height: 20vw
    }

    header h1 {
        font-size: 1.5rem
    }

    header h2 {
        font-size: 1.2rem
    }

    .skill-item {
        display: flex !important;
        flex-direction: column;
        gap: 0 !important;
        align-content: unset !important;
        margin-bottom: 10px
    }

    .skill-item>* {
        flex-basis: unset !important
    }

    .skill-item h4 {
        padding-bottom: 0;
        margin-bottom: 0
    }

    html {
        font-size: 14px;
	scroll-behavior: smooth
    }
}
