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

html {
    overflow-y: scroll;
}

body {
    background-color: rgb(31, 31, 31);
    font-family: "Google Sans Code", monospace;
}

nav {
    height: 70px;
    padding: 0 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(61, 60, 60);
    position: fixed;
    top: 0;
    width: 100%;
}

h2 {
    color: rgb(0, 110, 255);
    margin-right: 80px;
}

.links {
    display: flex;
    gap: 30px;
}

.links a {
    color: white;
    text-decoration: none;
}

.links a:hover {
    color: rgb(0, 110, 255);
    transition: 0.35s;
}

button {
    margin-left: 60px;
    background-color: rgb(0, 110, 255);
    border: none;
    padding: 10px 28px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 600;
    color: white;
}

.hero {
    width: 100%;
    height: 570px;
    object-fit: cover;
}

.search {
    margin-left: 60px;
    padding: 10px 15px;
    border: none;
    border-radius: 7px;
    outline: none;
    font-size: 16px;
    background-color: rgb(31, 31, 31);
    color: white;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 45px;
    margin: 40px auto;
    padding: 25px;
    width: 90%;
    max-width: 1100px;
    background: #1b1b1b;
    border: 2px solid rgb(0, 102, 255);
    border-radius: 20px;
}

.person-card:nth-of-type(odd) {
    flex-direction: row-reverse;
}

.person-pfp {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgb(0, 110, 255);
    flex-shrink: 0;
}

.person-desc {
    flex: 1;
    background: #242424;
    padding: 25px 30px;
    border-radius: 18px;
    color: white;
}

.person-desc h2 {
    margin-top: 0;
    color: rgb(0, 110, 255);
}

.person-desc p {
    margin-bottom: 0;
    line-height: 1.6;
}

.tingtext {
    text-decoration: none;
    color: rgb(0, 110, 255);
}

.aboutdesc {
    width: 200px;
    height: 400px;
    background-color: rgb(61, 60, 60);
    justify-content: center;
    align-items: center;
    display: flex;
}

.aboutdesc {
    width: 400px;
    height: 200px;
    background-color: rgb(31, 31, 31);
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 30px auto;
    border-radius: 8px;
    border: 2px solid rgb(0, 110, 255);
}

.aboutdesc p {
    padding: 15px;
    text-align: center;
    color: white;
    font-family: "Google Sans Code", monospace;
}


.aboutdesc a {
    text-decoration: none;
    color: rgb(255,187,0);
    text-shadow: 0 0 5px rgb(255,187,0),
        0 0 10px rgb(255,187,0),
        0 0 20px rgb(255,187,0),
        0 0 40px rgb(255,187,0);;
}


::-webkit-scrollbar {
    width:3px;
}

::-webkit-scrollbar-track {
    background: rgb(31, 31, 31);
}

::-webkit-scrollbar-thumb {
    background: rgb(0, 110, 255);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(0, 80, 200);
}



/* Lookin leng on mobile*/




@media (max-width: 768px) {
    nav {
        height: auto;
        min-height: 70px;
        padding: 15px 10px;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav h2 {
        margin-right: 0;
        font-size: 20px;
    }

    .links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .links a {
        font-size: 14px;
    }

    button {
        margin-left: 0;
        padding: 8px 18px;
        font-size: 14px;
    }

    .search {
        margin-left: 0;
        width: 90%;
        max-width: 300px;
    }

    .hero {
        height: 300px;
        object-fit: cover;
    }

    .person-card,
    .person-card:nth-of-type(odd) {
        flex-direction: column;
        gap: 20px;
        width: 92%;
        padding: 20px;
        margin: 25px auto;
    }

    .person-pfp {
        width: 130px;
        height: 130px;
    }

    .person-desc {
        width: 100%;
        padding: 20px;
    }

    .person-desc h2 {
        font-size: 20px;
        margin-right: 0;
    }

    .person-desc p {
        font-size: 14px;
        line-height: 1.5;
    }

    .aboutdesc {
        width: 90%;
        max-width: 400px;
        height: auto;
        min-height: 200px;
    }
}
