/* ================FONT FORMATTING================== */
body {
    font-family: monospace;
    font-size: 23px;
    color: white;
    background-color: #050e1d;
}

h1 {
    font-size: 45px
}

h2 {
    font-size: 40px
}

h3 {
    font-size: 35px;
}

p,
li {
    font-size: 30px
}

a {
    color: #6e9bea;
    /* Changes the link color to red */
}

/* ================NAV BAR================== */


/* format for nav bar */

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d2651;
    height: 60px;
    width: 100%;
    padding: 0 10px;
    /*edit to make classes closer or farther away*/
}

.nav-bar .left-nav {
    flex: 1;
}

.nav-bar .right-nav {
    flex: 1;
}

.right-nav ul {
    justify-content: flex-end;
}

.right-nav a {
    padding: 0 10px;
    display: flex;
    align-items: center;
}


nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #0d2651;
    /*#cab5ff;*/
    display: flex;
    align-items: center;
    /* width: 100vw; */
}

nav ul li a {
    display: block;
    color: rgb(255, 255, 255);
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    border: 4px solid #2a4f8a;
    border-radius: 5px;
    /* background-color: #0a1b3a; */
    /*#bda4fd*/
}

ion-icon {
    font-size: 50px;
    color: white;
    display: block;
}



/* ================GALLERY GRID FORMATTING================== */

/* ">*" selects all direct child elements and applies styles to them */
.grid-container>* {
    box-sizing: border-box;
    /* Ensures padding and borders are included in element's total width/height */
}

.grid-container {
    display: grid;
    /* This line creates as many columns as will fit, with a minimum width of 250px and a maximum of 1 fractional unit (equal share of remaining space) */
    gap: 20px;
    /* Adds space between grid items */
    padding: 30px;
    padding-bottom: 50px;
    max-width: 2000px;
    /* Optional: sets a maximum width for the entire grid */
    margin: 0 auto;
    /* Optional: centers the grid on the page */
}

.grid-item {
    background-color: #0d2651;
    border: 1px solid #12223e;
    padding: 15px;
    border-radius: 5px;
    /* Prevents content from overflowing if it's too long for the container */
    overflow: auto;
}

.grid-item p {
    margin: 0;
}

.grid-item li {
    font-size: 30px
}

/* more specifications in "hobbies" */