html {
    background-color: #1f1f1f;
    color: aliceblue;
    padding: 0;
    height: 100%;
    width: 100%;
    scrollbar-color: #00000000;
}

.button1 {
    background-color: #1a1a1a;
    color: aliceblue;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

body {
    background-color: #1f1f1f;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lockonMargin {
    margin-left: 10vw;
    margin-right: 10vw;
}

#welcome {
    font-size: 2em;
}

@font-face {
    font-family: 'Berylium BD';
    src: url('assets/font/berylium bd.otf') format('opentype');
}

@font-face {
    font-family: 'poppins';
    src: url('assets/font/Poppins-Medium.ttf') format('truetype');
}

.berylium {
    font-family: 'Berylium BD';
}

body {
    font-family: 'poppins';
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    background-color: #1a1a1a;
    height: 50px;
}

nav .navContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-left: 10%;
    margin-right: 10%;
}

.navContainer a {
    height: 80%;
}

.navContainer a img {
    height: 100%;
}

.navContainer div {
    height: 100%;
}

.navContainer div a {
    height: 80%;
    margin-left: 20px;
}

.navContainer div a img {
    height: 100%;
}

.primaryButton {
    color: aliceblue;
    border: none;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
}
.primaryButton p {
    font-weight: bold;
    font-size: 1.1em;
}

.secondaryButton {
    background-color: #3a3a3a;
    color: aliceblue;
    border: none;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
}

.secondaryButton:hover {
    background-color: #2b2b2b;
}

.secondaryButton p {
    font-weight: bold;
    font-size: 1.1em;
}

.huge {
    width: 500%;
}

@keyframes beta {
    0% { color: rgb(0, 225, 0); }
    7% { color: #2F2F2F; }
    10% { color: rgb(0, 255, 0); }
    17% { color: #2F2F2F; }
    20% { color: rgb(0, 255, 0); }
    25% { color: rgb(0, 255, 0); }
    30% { color: #2F2F2F; }
    40% { color: #2F2F2F; }
    43% { color: rgb(0, 255, 0); }
    50% { color: #2F2F2F; }
    53% { color: rgb(0, 255, 0); }
    63% { color: rgb(0, 255, 0); }
    70% { color: #2F2F2F; }
    73% { color: rgb(0, 255, 0); }
    80% { color: #2F2F2F; }
    85% { color: #2F2F2F; }
    93% { color: rgb(0, 255, 0); }
    95% { color: #2F2F2F; }
    100% { color: rgb(0, 255, 0); }
}

.beta::before {
    content: "β ";
  }

.beta {
    animation: beta 10s infinite;
}

@keyframes ruined {
    0% { color: rgb(0, 225, 225); }
    7% { color: #2F2F2F; }
    10% { color: rgb(0, 255, 225); }
    17% { color: #2F2F2F; }
    20% { color: rgb(0, 255, 225); }
    25% { color: rgb(0, 255, 225); }
    30% { color: #2F2F2F; }
    40% { color: #2F2F2F; }
    43% { color: rgb(0, 255, 225); }
    50% { color: #2F2F2F; }
    53% { color: rgb(0, 255, 225); }
    63% { color: rgb(0, 255, 225); }
    70% { color: #2F2F2F; }
    73% { color: rgb(0, 255, 225); }
    80% { color: #2F2F2F; }
    85% { color: #2F2F2F; }
    93% { color: rgb(0, 255, 225); }
    95% { color: #2F2F2F; }
    100% { color: rgb(0, 255, 225); }
}

.ruined {
    animation: ruined 10s infinite;
}

/* objects */
object {
    width: 100%;
}

.navbarObject {
    height: 50px;
}

.footerObject {
    height: 300px;
    margin-top: auto;
}

embed {
    width: 100%;
    height: 10vw;
}

/* end */

.title {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: -20px;
    margin-bottom: -30px;
}

.title .svgDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(circle, #00ffff44, #00ffff22, #00ffff11, #00000000, #00000000);
}

.title svg {
    width: 30px;
    height: 30px;
}

#profile {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 10px;
}

#profile .left {
    display: flex;
    width: 70%;
    flex-direction: column;
    gap: 10px;
}

#profile .left .name {
    font-size: 3.2em;
}

#profile .left h2 {
    font-size: 6em;
}

#profile .left p {
    font-size: 1.3em;
    width: 50%;
    color: rgb(156, 156, 156);
}

#profile .right {
    display: flex;
    width: 30%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#projectDisplay {
    margin-top: 20px;
    display: flex;
    background-color: #202020;
    border-radius: 10px;
    width: 1400px;
    height: 577px;
    margin-bottom: 20px;
    box-shadow: #000000 0px 0px 10px;
}


#projectDisplay .image {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1110px;
    height: 100%;
}

#projectDisplay .image div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#projectDisplay .image div div {
    width: 20%;
}

#projectDisplay .image div div img {
    margin-left: 5px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

#projectDisplay .image div div:first-child img {
    margin-left: 0px;
}



#projectDisplay .info {
    padding: 10px;
}

#projectDisplay .info hr {
    opacity: 20%;
}

#projectDisplay .info h1 {
    margin: 0;
}

#projectDisplay .info #version p {
    margin: 0;
}

#projectDisplay .info span {
    color: rgb(236, 236, 236);
}

#contributors img {
    background-color: #1a1a1a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -10px;
}

#moreContributors img {
    background-color: #1a1a1a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: calc(1400px + 20vw)) {
    #projectDisplay {
        width: 1200px;
        height: 518px;
    }
    #projectDisplay #main-image {
        height: 430px;
    }
}

@media (max-width: calc(1200px + 20vw)) {
    #projectDisplay {
        width: 1000px;
        height: 433px;
    }
    #projectDisplay #main-image {
        height: 360px;
    }
}

@media (max-width: calc(1000px + 20vw)) {
    #projectDisplay {
        display: flex;
        flex-wrap: wrap;
        background-color: rgb(32, 32, 32);
        border-radius: 10px;
        width: 100%;
        height: 100%;
    }
    #projectDisplay #main-image {
        width: 100%;
        height: 45%;
        margin-bottom: 5px;
    }
    #projectDisplay .info {
        width: 100%;
        padding: 10px;
    }
    #projectDisplay .image div div img {
        padding: 0px;
        width: 100%;
    }
}

.iconDiv {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: start !important;
    gap: 2%;
}
.card {
    display: flex;
    flex-direction: column;
    background-color: rgb(32, 32, 32);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.brandCard {
    width: 40%;
}

footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: rgb(26, 26, 26);
    height: 300px;
}
footer .body {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding: 10px;

}

footer .body .img {
    width: 400px;
}

footer .copy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

a:hover {
    color: rgb(0, 255, 255);
}
.statusInactive {
    color: #adadad !important;
    border: 1px solid #adadad;
    border-radius: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.statusDone {
    color: #4fff4f !important;
    border: 1px solid #4fff4f;
    border-radius: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.statusActive {
    color: #44ffff !important;
    border: 1px solid #44ffff;
    border-radius: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

#projects {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 30px;
    margin-left: 10px;
    margin-right: 10px;
}


#projects .project{
    width: 400px;
    background-color: rgb(29, 29, 29);
}

#projects .project {
    box-shadow: rgb(0, 0, 0) 0px 0px 10px;
    transition: box-shadow 0.1s ease, transform 0.1s ease;
    transform: translateY(0);
    border-radius: 10px;
}

#projects .project:hover {
    box-shadow: rgb(0, 0, 0) 3px 3px 20px;
    transform: translateY(-5px);
}


#projects .image {
    width: 400px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: object-position 1.5s ease;
}

#projects .head {
    height: 200px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#projects .hover .image {
    object-position: bottom;
}

#projects .head,
#projects .body {
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#projects .body {
    padding: 10px;
    width: 380px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#projects .body div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#projects .body div svg {
    flex-shrink: 0;
}

#projects .body p,
#projects .body h2 {
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(156, 156, 156);
}

#projects .body span {
    color: rgb(236, 236, 236);
}

.doubleDisplay {
    display: flex;
}

.doubleDisplay div {
    width: 50%;
    flex-grow: 0;
}

#projects .info {
    padding: 10px;
}

#projects .info p {
    color: rgb(156, 156, 156);
}

#projects .info h4 {
    color: rgb(134, 134, 134);
}

#projects .footer {
    background-color: rgb(26, 26, 26);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 50px;
}

#projects .footer a {
    width: calc(100% - 20px);
    height: 100%;
}

#projects .footer svg {
    width: 15px;
    height: 15px;
}

#programs,
#languages {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: start;
    height: 150px;
    gap: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

#languages {
    height: 230px;
}

#programs p,
#languages p {
    color: rgb(156, 156, 156);
}

#programs span,
#languages span {
    color: rgb(255, 255, 255);
}

#programs .program,
#languages .language {
    width: 400px;
    height: 100px;
    flex-shrink: 0;
    padding: 10px;
    background-color: rgb(32, 32, 32);
    border-radius: 10px;
    box-shadow: rgb(0, 0, 0) 0px 0px 10px;
    transition: box-shadow 0.1s ease, transform 0.1s ease;
    transform: translateY(0);
}

#languages .language {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

#languages .language .icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* button */

#languages .language .buttons {
    display: flex;
    gap: 10px;
    margin-left: 160px;
}
#languages .language .button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgb(32, 32, 32);
    border-radius: 10px;
    box-shadow: rgb(0, 0, 0) 0px 0px 10px;
    transition: box-shadow 0.1s ease, transform 0.1s ease;
    transform: translateY(0);
    height: 40px;
}
#languages .language .button img {
    height: 36px;
    object-fit: cover;
    object-position: center;
}

#languages .language .image {
    position: absolute;
    top: 110px;
    margin-left: -10px;
    border-bottom-left-radius: 10px;
    width: auto;
    height: 90px;
    opacity: 0.5;
}

#programs .program:hover,
#languages .language:hover {
    box-shadow: rgb(0, 0, 0) 3px 3px 20px;
    transform: translateY(-5px);
}

#programs .program .bar {
    height: 15px;
    width: 100%;
    background-color: rgb(73, 73, 73);
    border-radius: 10px;
}

#programs .program .bar .progress {
    height: 100%;
    border-radius: 10px;
}

#programs .program .bar .progressText {
    color: rgb(85, 85, 85);
    font-size: 0.8em;
}

.functionTitleDiv {
    display: flex;
}

.functionTitle {
    background: linear-gradient(60deg, #0000ff 0%, #00ffff 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    flex-shrink: 1;
}

.projects-image {
    background-image: url("assets/img/projects.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.githubImage {
    background-image: url("assets/img/github.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.linkedinImage {
    background-image: url("assets/img/linkedin.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.profileCard {
    width: 25vw;
    height: 13.5vw;
}

.profileImage {
    width: 300px;
    height: 300px;
    background-color: #1a1a1a;
    padding: 5px;
    margin-left: 10px;
    border-radius: 50%;
    object-fit: cover;
}

#homepage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 80vh;
}
    .arrow {
        position: fixed;
        z-index: 2;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        border: 2px solid #00ffff;
        border-radius: 50%;
        display: flex;
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

    .arrow:hover {
        border-color: #009999;
    }

    #prev {
        top: 50%;
        left: 30px;
    }

    #next {
        top: 50%;
        right: 30px;
    }


@media (max-width: 1500px) {
    #profile .left .name {
        font-size: 2.1em;
    }
    #profile .left h2 {
        font-size: 4em;
    }
    #profile .left p {
        font-size: 1em;
    }
}
    
@media (max-width: 1033px) {
    #profile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    #profile .left {
        display: flex;
        order: 2;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    #profile .left .name {
        font-size: 1.4em;
    }
    #profile .left h2 {
        font-size: 3em;
    }
    #profile .left p {
        font-size: 0.8em;
        width: 70%;
    }
    #profile .right {
        display: flex;
        order: 3;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .profileCard {
        width: 40vw;
        height: 21.5vw;
    }
    embed {
        width: 100%;
        height: 14vw;
    }
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        
    }
    nav {
        height: 50px;
    }
    .navbarObject {
        height: 50px;
    }
    .plan {
        display: block;
        justify-content: space-around;
        align-items: center;
        margin-top: 10px;
    }

    footer .body {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0px;
    }

    footer .body .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    footer .body .img {
        width: 80%;
    }
}

@media (max-width: 500px) {

    #profile .left .name {
        font-size: 1.2em;
    }
    #profile .left h2 {
        font-size: 2em;
    }
    #profile .left p {
        font-size: 0.8em;
        width: 90%;
    }
    #projects {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .margin {
        padding-left: 0%;
        padding-right: 0%;
    }
    .arrow {
        display: none;
    }
    .profileCard {
        width: 80vw;
        height: 43vw;
    }

    #programs,
    #languages {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin: 0;
        margin-top: 15px;
        height: auto;
        gap: 30px;
    }

    #programs .program,
    #languages .language {
        width: calc(80%);
        padding: 10px;
        background-color: rgb(32, 32, 32);
        border-radius: 10px;
        box-shadow: rgb(0, 0, 0) 0px 0px 10px;
        transition: box-shadow 0.1s ease, transform 0.1s ease;
        transform: translateY(0);
    }
}

@media (max-width: 400px) {

    #projects .project,
    #projects .image {
        width: 100%;
        border-radius: 10px;
    }

    #projects .body {
        padding: 3%;
    }    
    
    #projects .head,
    #projects .body {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    #projects .body {
        width: 94%;
    }

    footer {
        height: 250px;
    }
    .footerObject {
        height: 250px;
    }
    embed {
        width: 100%;
        height: 18vw;
    }
}

@media (max-width: 550px) {
    .flipCard {
        width: 100vw;
        height: 54.545vw;
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    background: rgba(68, 68, 68, 0.8);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 102, 102, 1);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(68, 68, 68, 0.8) rgba(44, 44, 44, 0.5);
}