* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

:root {
    --black: #000;
    --white: #fff;
    --gray: #808080;
    --light-gray: #f2f2f2;
}

body  {
    width: 100%;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
    background-color: var(--light-gray);
}

.container {width: 90%;margin: 0 auto;}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 80px;
    height: 40px;
    cursor: pointer;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav_right a {
    text-decoration: none;
    color: var(--black);
}

.nav_right a#contributorBtn {
    border: 1px solid #00000080;
    border-radius: 4px;
    padding: 8px 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav_right a#contributorBtn:hover {
    color: var(--white);
    background-color: var(--black);
} 

main {
    position: relative;
    top: 80px;
    left: 0;
    width: 100%;
    min-height: calc(100vh - 80px);
}

.hero_section {
    position: relative;
    min-height: 70vh;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column-reverse;
}

.hero_content {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.hero_content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero_content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero_content button {
    border-radius: 8px;
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--white);
    font-size: 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.hero_content button:hover {
    background-color: var(--white);
    color: var(--black);
    cursor: hand;
  }

.hero_image {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contributor Section */
.contributor_section {
    min-height: 50vh;
    margin: 30px 0;
}

.contributor_section h1 {
    text-align: center;
    margin-bottom: 30px;
}

.contributors {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contributor {
    position: relative;
    min-width: 300px;
    width: 100%;
    min-height: 200px;
    border-radius: 10px;
    background-color: var(--black);
    color: var(--white);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.contributor .cont_image {
    display: inline-block;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    margin-right: 18px;
    overflow: hidden;
}

.cont_content .cont_header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 50px;
}

.cont_content .mark {
    display: inline-block;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 10px;
    overflow: hidden;
}

.contributor .cont_content small {
    font-size: 12px;
    font-weight: bold;
    color: var(--gray);
}

.contributor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor .git_icon {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
}

.contributor .cont_top {
    margin-top: 20px;
    font-size: 14px;
}

/* Custom Styles */
.mb-1 {margin-bottom: 10px;}
.mb-2 {margin-bottom: 18px;}

@media screen and (min-width: 600px) {
    .contributor {
        width: 350px;
        margin-right: 20px;
    }

    .hero_section {
        flex-direction: row;
    }

    .hero_content {
        width: 50%;
        margin: 20px 0 0 0;
    }

    .hero_image {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
    }
}
