@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-clr: #2F2F2F;

    --nav-txt-clr: #f5f5f7;

    --txt-clr: white;
    --link-txt-clr: #258cdb;
    
    --card-title-clr: white;
    --card-subtitle-clr: #bab8b8;
    --card-subtitle-font-size: 14px;
}

* {
    font-family: 'Poppins', sans-serif !important;
}

body {
    margin-left: 135px;
    margin-right: 135px;
    background-color: var(--bg-clr);
    color: var(--txt-clr);
}

#main {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 1000px) {
    body {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media only screen and (max-width: 750px) {
    body {
        height: 100%;
    }
}

.border_radius-200px {
    border-radius: 200px !important;
}

.color-white {
    color: white !important;
}

.color-award {
    color: hsl(50, 100%, 40%) !important;
}

.color-award::after {
    content: ' 🏆';
}

.color-red {
    color: #FF0000 !important;
}

.color-blue {
    color: hsl(210, 90%, 60%) !important;
}

.color-lightblue {
    color: hsl(220, 98%, 82%) !important;
}

.color-orange {
    color: #ffa500 !important;
}

.display-flex {
    display: flex !important;
}

.flex_direction-column {
    flex-direction: column !important;
}

.font_size-15px {
    font-size: 15px !important;
}

.margin_top-5px {
    margin-top: 5px !important;
}

.margin_top-10px {
    margin-top: 10px !important;
}
.margin_top-15px {
    margin-top: 15px !important;
}

.margin_top-30px {
    margin-top: 30px !important;
}

.text_align-center {
    text-align: center !important;
}

.text_align-left {
    text-align: left !important;
}

.width-125px {
    width: 125px !important;
}

a {
    color: var(--link-txt-clr) !important;
    text-decoration: none;
}

.title {
    font-size: 21px;
    margin-bottom: -30px;
    color: var(--card-title-clr);
}

.subtitle {
    font-size: var(--card-subtitle-font-size);
    color: var(--card-subtitle-clr);
}

/* Nav */

#about-me {
    text-align: -webkit-center;
}

#about-me-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 555px;
    font-size: 16px;
    line-height: 1.5;
}

#about-me-top {
    width: -moz-fit-content;
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 30px;
}

#about-me-top-inner {
    display: inline-flex; 
    align-items: center; 
    margin-top: -20px;
}

#about-me-logo {
    width: 50px;
    height: 50px;
    border-radius: 200px;
}

@media only screen and (min-width: 1280px) {
    #about-me-image {
        margin-top: -30px;
    }
}

@media only screen and (max-width: 1280px) {
    #about-me-logo {
        display: none;
    }

    #about-me-image {
        width: 100px !important;
    }

    #about-me {
        display: flex;
        justify-content: center;
    }

    #about-me-top-inner {
        margin-top: 0;
        margin-left: 10px;
    }
}

@media only screen and (max-width: 500px) {
    #about-me-image {
        width: 50px !important;
        align-self: center;
    }

    #about-me-top-inner {
        margin-top: 0;
        margin-left: 0px;
    }

    #nav {
        display: none;
    }
}

#about-me-name {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 0;
}

#about-me-role {
    margin-top: 0;
    font-size: 14px;
    color: #d1d1d1;
}

#about-me-links {
    display: flex;
    flex-direction: column;
}

#about-me-links div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
}

#about-me-links div i {
    margin-bottom: -10px;
    font-size: 30px;
    margin-right: 15px;
    color: white;
}

#about-me-links div svg {
    margin-bottom: -5px;
    font-size: 30px;
    margin-right: 15px;
    color: white;
}

#about-me-links i:last-child {
    margin-bottom: 20px;
}

#loadedNav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-clr);
    padding-top: 0px;
    padding-bottom: 0.7px;
}

#mobile-nav {
    text-align: center;
    font-size: 20px;
    margin-top: -20px;
}

@media only screen and (min-width: 500px) {
    #mobile-nav {
        display: none;
    }
}

#mobile-nav-menu-opener {
    font-size: 25px;
}

#mobile-nav-links-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 0, 0);
    z-index: 3;
    cursor: pointer;
}

#mobile-nav-links {
    position: relative;
    top: 50%;
    left: 50%;
    color: white;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#mobile-nav-links > .nav-link {
    font-size: 20px;
    margin-top: 10px;
}

#mobile-nav-links > .nav-link:nth-child(1) {
    margin-top: -10px;
    margin-left: -40px;
}

#mobile-nav-menu-closer {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 30px;
}

#nav {
    margin-bottom: 20px;
    /* background-color: rgb(141, 138, 138); */
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
}

#nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 2px solid white;
    border-radius: 20px;
}

.nav-link {
    margin-right: 10px;
    /* border-top: 1px solid rgb(166, 161, 161); 
    border-right: 1px solid rgb(166, 161, 161); 
    border-left: 1px solid rgb(166, 161, 161); */
    border-radius: 15px;
    padding: 7.5px;
    text-decoration: none;
    color: var(--nav-txt-clr) !important;
    opacity: 0.8;
    font-size: 14px;
    transition: ease-in-out 0.3s;
    /* font-weight: 650; */
}

.nav-link:hover, .nav-link:focus {
    /* background-color: white; */
    color: var(--link-txt-clr) !important;
    opacity: 1;
}

.nav-link-active {
    font-weight: bold;
    opacity: 1;
}

.nav-link-active.hover, .nav-link-active:focus {
    background-color: transparent;
    color: white;
}

#nav-skip-to-content {
    background: #e77e23;
    padding: 8px;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    opacity: 1;
    width: -moz-fit-content;
    width: fit-content;
    align-items: center;
    align-self: center;
    justify-content: center;
    transform: translateY(-200%);
    margin-left: 5px;
}
  
#nav-skip-to-content:focus {
    transform: translateY(0%);
    color: white !important;
}

@media only screen and (max-width: 1280px) {
    #nav-skip-to-content {
        display: none;
    }
}

/* Cards */

#cards {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 70%;
}

.card {
    margin-right: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    color: white;
    width: 100%;
}

.card img {
    border-radius: 5px;
    float: left;
    width: 100px;
    height: max-content;
    flex-grow: 0;
    flex-shrink: 0;
}

.card-right {
    float: right;
    margin-left: 20px;
}

@media only screen and (max-width: 750px) {
    #cards {
        align-content: center;
        width: 90% !important;
    }

    .card {
        width: -moz-fit-content !important;
        width: fit-content !important;
        flex-direction: column;
        text-align: center;
    }

    .card-right {
        margin: 0 !important;
    }
}

.card-more {
    display: none;
}

.readmore-btn {
    border-radius: 20px;
    border: 0;
    text-align: center;
    padding: 5px;
    padding-bottom: 0;
    cursor: pointer;
    background-color: transparent;
    color: white;
    margin-left: 5px;
    font-size: calc(var(--card-subtitle-font-size) + 3px);
}

/* Certificate */

#certificate-main {
    max-width: 100%;
}

#certificates {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-self: center;
    align-items: center;
}

.certificate {
    width: 400px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: zoom-in;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: zoom-out;
    overflow: scroll;
}

#img-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    overflow: scroll;
    overflow-y: scroll;
}

#overlay > *[compute-dimensions = "width"] {
    width: calc(100% - 100px);
    height: auto;
}

@media only screen and (min-width: 1247px) {
    #overlay > *[compute-dimensions = "width"] {
        height: calc(100% - 100px);
        width: auto;
    }
}

#overlay > *[compute-dimensions = "height"] {
    height: calc(100% - 100px);
    width: auto;
}

@media only screen and (max-width: 598px) {
    #overlay > *[compute-dimensions = "height"] {
        width: calc(100% - 100px);
        height: auto;
    }
}

#prompt-outer {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: scroll;
}

#prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background-color: black;
    padding: 30px;
    border-radius: 30px;
}

#prompt > div > button {
    cursor: pointer;
    background-color: #4CAF50; /* Green */
    border: none;
    border-radius: 20px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    bottom: 0;
    margin-bottom: 0px;
    margin-bottom: -10px;
}

/* Scroll Bar */

/* Bar */
::-webkit-scrollbar {
    width: 15px;
    border: 2px solid blue;
}

/* Path End Arrows
::-webkit-scrollbar-button:single-button {
    color: var(--txt-clr);
    height: 16px;
    width: 16px;
} */

/* Scrollable Handle */
::-webkit-scrollbar-thumb {
    background: rgb(155, 155, 155);
    border-radius: 200px;
}

/* ::-webkit-scrollbar-track but where the bar is not present */
::-webkit-scrollbar-track {
    background: var(--bg-clr);
    border: none;
}

/* Where Horizontal and Vertical Meet */
::-webkit-scrollbar-corner{
    background: var(--bg-clr);
    display: none;
}

/* Resizer
::-webkit-resizer {
    background: black;
} */