:root {
    --ff-primary: "Alegreya", serif;
}

body {
    font-family: var(--ff-primary);
    font-size: 1rem;
    position: relative;
    overflow-x: hidden;
}

.item {
    font-size: 1.3rem;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.nav-link {
    text-decoration: none;
    color: #434343;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000;
}

.main-title {
    font-size: 2.5rem;
}

.sub-title {
    color: #737373;
}

.segment-title {
    color: #434343;
}

.columns {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.columns > * {
    flex-grow: 1;
}

#parchment {
    background-image: url("static/paper-texture.jpg");
    background-repeat: repeat;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    align-items: center;
}

.contact-grid > a {
    padding: 1rem;
    box-shadow: 0 .25rem 1rem rgb(0 0 0 / .1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.nav-profile {
    display: flex;
    gap: 0.3rem;
}

.profile-select {
    border: none;
    background-color: transparent;
    color: #434343;
    font-size: 1.5rem;
    font-family: var(--ff-primary);
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23434343' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    background-size: 1.2em;
    padding-right: 1.5rem;
}

.profile-select:hover {
    color: #000;
}

.profile-select:focus {
    outline: none;
    color: #000;
}
