@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Odibee+Sans&family=Sofia+Sans:ital,wght@0,500;1,500&display=swap');
body {
    background-color: #161616;
    color: white;
    font-family: 'Odibee Sans';
}
.justified_paragraph {
    text-align: justify;
    /* scale size between 16px and 32px based on viewport width */
    font-size: clamp(1rem, 2.5vw, 2rem);
}

.navbar .nav-link {
    /* scales to ~36px at 1024px, but clamped between 18px and 48px */
    font-size: clamp(1.125rem, 3.5vw, 3rem);
}

h1, h2, h3 {
    font-size: clamp(1.125rem, 3.5vw, 3rem);
}

/* ensure experience columns align images horizontally */
.experience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.experience-item h3 {
    /* fixed height to keep images aligned even if titles wrap */
    height: 12.5rem; /* roughly three lines of text; adjust as needed */
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
}

.card {
    background-color: #1c1c1c;
    border-radius: 15px;
}

/* Square card: width equals height */
.square-card {
    aspect-ratio: 1 / 1;
    background-color: #1c1c1c;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.square-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

/* Pluckers logo: grayscale and fill the card */
.grayscale-img {
     /* ensure it overrides any other styles */
    filter: grayscale(100%);
}

/* Round corners on project images */
.rounded-project-img {
    border-radius: 15px;
}
