:root {
    --primary-color: #57bfda;
    --family: Helvetica Neue, serif;
}

body, html {
    margin: 0;
    padding: 0;
}

br {
    line-height: 100%;
}

#LandingPage {
    background-image: url("Images/Background.jpg");

}

#NavBar {
    z-index: 1;
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 5px 0;
}

.top {
    display: flex;
}

/* centre the whole gallery */
.center-container{
    display:flex;
    flex-wrap:wrap;            /* allow wrapping to new lines            */
    justify-content:center;    /* centre images horizontally             */
    gap: 0.5rem;               /* space between images (optional)        */
    padding: 1rem 0;           /* breathing room top & bottom (optional) */
}

/* image styling */
.portfolioImage{
    width: 30.5vw;              /* or any fixed / max‑width you prefer    */
    height:30.5vw;               /* keep aspect ratio                      */
    border:5px solid var(--primary-color);
    box-sizing:border-box;     /* border included in the declared width  */
}


.Title {
    font-size: 13vw;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: var(--family), serif;
}

.Sub-Title {
    font-size: 4vw;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: var(--family), serif;
}

.portfolioText {
    font-size: 4vw;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: var(--family), serif;
}

.mouse {
    left: 50%;
    transform: translate(-50%, 0);
    width: 50px;
    height: 80px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.5s infinite ease-in-out;
}

@keyframes scrollDot {
    0% {
        top: 10px;
        opacity: 1;
    }
    40% {
        top: 50px;
        opacity: 1;
    }

    50% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 10px;
        opacity: 0;
    }
}



.button {
    border: 5px solid white;
    color: black;
    padding: 1% 2%;
    text-align: center;
    text-decoration: none;
    font-size: 3vw;
    font-family: var(--family), serif;
    background-color: var(--primary-color);
    white-space: nowrap;
}

@media (max-width: 600px) {
    #NavBar {
        flex-wrap: wrap;
    }
    .button {
        font-size: 4vw;
        padding: 3% 6%;
    }
}

.container {
    text-align: center;
}

p.in-view {
    font-size: 2vw;
    color: white;
    letter-spacing: 3px;
    font-family: var(--family), serif;
    border-right: 5px solid;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation:
        typing 4s;

}

@keyframes typing {
    from {width: 0}
}

.Center {
    text-align: center;
}

#stats {
    display: flex;
}

codersrank-summary {
    font-weight: bold;
    font-family: var(--family), serif;
    --bg-color: transparent;
    --badge-bg-color: var(--primary-color);
    --badge-text-color: black;
    --badges-padding: 0;
    --badge-padding: 0.5vw;
    --badge-margin: 1vw;
    --badge-border-radius: 0.5vw;
    --badge-rank-font-size: 1vw;
    --badge-technology-font-size: 1.2vw;
    --badge-location-font-size: 1vw;
    --badge-icon-size: 2vw;
    --badge-border: 0.1vw solid rgba(0, 0, 0, 0.1);
    --badge-box-shadow: none;
}


codersrank-activity {
    padding: 8px;
    background: transparent;
    --bg-color-0: white;
    --bg-color-1: #57bfda;
    --bg-color-2: #0179b7;
    --bg-color-3: #032f9b;
    --label-text-color: white;
}

codersrank-skills-chart {
    --label-text-color: white;
    --chart-bg-color: transparent;
    --chart-border-radius: 8px;
    --axis-bg-color: transparent;
    --label-font-size: 12px;
}

.cursor {
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #f44336;
    position: absolute;
    border-radius: 5px;
}
