html {
    color: white;
    font-family: 'Poppins';
}

body {
    margin: 0;
    background-color: #151515;
}

header {
    top: 0;
    z-index: 1;
    width: 100%;
    position: fixed;
    background-color: #151515;
}

h1, h2, h3, h4, p {
    margin: 0;
}

h1 {
    font-weight: bold;
    font-size: 36px;
}

* {
    scroll-margin-top: 100px;
  }

.green-color {
    color: #3FEA8A;
}
.yellow-color {
    color: #F0D83A;
}
.red-color {
    color: #F55D67;
}

.font-500 {
    font-weight: 500;
}

.menu {
    display: flex;
    justify-content: center;
}

.menu-items {
    padding: 0;
    display: flex;
    list-style-type: none;
    justify-content: center;

    @media screen and (max-width: 820px) {
        margin: 0;
        width: 100%;
        display: block;
    }

    li {
        cursor: pointer;
        margin: 5px 25px;
        @media screen and (max-width: 820px) {
            margin: 0;
            display: flex;
            border: 1px solid white;
            justify-content: center;
        }
    }
}

.mobile-title {
    display: flex;
    padding: 20px 0px;
    justify-content: center;
}

.mobile-tab-bar {
    bottom: 0;
    left: 50%;
    height: 72px;
    position: fixed;
    overflow: hidden;
    max-width: 370px;
    margin-bottom: 10px;
    border-radius: 50px;
    background-color: #2E2E2E;
    transform: translateX(-50%);
}

.mobile-tab-bar > nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.icons {
    gap: 24px;
    height: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
}

.nav-tab {
    cursor: pointer;
    p {
        display: none;
    }
    img {
        filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(276deg) brightness(106%) contrast(101%);
    }
}

.nav-tab:first-child {
    padding-left: 20px;
}

.nav-tab:last-child {
    padding-right: 20px;
}

.nav-tab.active {
    gap: 16px;
    width: 123px;
    display: flex;
    cursor: pointer;
    padding: 14px 20px;
    align-items: center;
    border-radius: 50px;
    background-color: #FFF;
    p {
        display: block;
        color: #2E2E2E;
    }
    img {
        filter: invert(12%) sepia(0%) saturate(1475%) hue-rotate(188deg) brightness(94%) contrast(82%);
    }
}

@media screen and (max-width: 820px) {
    .menu {
        display: none;
    }
    .main-container {
        margin-bottom: 120px !important;
    }
}

@media screen and (min-width: 821px) {
    .mobile-title, .mobile-tab-bar {
        display: none;
    }
}

.main-container {
    width: 60%;
    margin: auto;

    @media screen and (max-width: 500px) {
        width: 100% !important;
    }
}

section {
    margin: 150px 0px;
    @media screen and (max-width: 500px) {
        padding: 0px 20px;
    }
}

.avatar {
    background-image: url('/assets/images/nahome.png');
    
    /* make a square container */
    width: 100px;
    height: 100px;

    /* fill the container, preserving aspect ratio, and cropping to fit */
    background-size: cover;

    /* center the image vertically and horizontally */
    background-position: top center;

    /* round the edges to a circle with border radius 1/2 container size */
    border-radius: 50%;
  }

.about-me {
    margin: 10px 0px;
}

.flex-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.work-pill {
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 8px;
    background-color: #BEDBFE;
    p {
        color: #1F3A8A;
        font-size: 12px;
    }
}

.large-grey-pill {
    padding: 6px 10px;
    border-radius: 25px;
    border: #717171 1px solid;
    background-color: #2E2E2E;
    img {
        height: 24px;
    }
    p {
        font-size: 16px;
    }
}

.small-grey-pill {
    padding: 6px 10px;
    border-radius: 25px;
    border: #717171 1px solid;
    background-color: #2E2E2E;
    p {
        font-size: 12px;
    }
}

.progress-line {
    padding: 0px 0px 0px 35px;
    margin: 0;
}

.progress-line > li {
    /* You need to turn on relative positioning so the line is placed relative to the item rather than absolutely on the page */
    position: relative;
    /* Use padding to space things out rather than margins as the line would get broken up otherwise */
    margin: 0;
    padding-top: 10px;
    padding-left: 20px;
}

.progress-line > li::before {
    background-color: white;
    width: 2px;
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: -21px;
}

.progress-line > li::marker {
    font-size: 25px;
}

.eng-progress-bar {
    width: 100%;
    height: 5px;
    margin-top: 10px;
    background-color: #F0D83A;
}

.amharic-progress-bar {
    width: 25%;
    height: 5px;
    margin-top: 10px;
    background-color: #F0D83A;
}

.portfolio-div {
    height: 0;
    padding-bottom: 75.27%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/woldecode.png');
}

.tenant-div {
    height: 0;
    padding-bottom: 75.27%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/elev_tenant_app.png');
}

.host-div {
    height: 0;
    padding-bottom: 75.27%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/elev_host_app.png');
}

.fluffy-div {
    height: 0;
    padding-bottom: 75.27%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/fluffys.png');
}