@import url("https://fonts.googleapis.com/css2?family=Recursive:wght,CASL@600,0.5&display=swap");

@font-face {
    font-family: "linjapona";
    src: url("/lipu_sona/fonts/linja-pona-4.9.otf");
}

.toki-pona {
    font-family: "linjapona";
    font-weight: bold;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: white;
    min-height: 100vh;
}

/* Logo */
#logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo {
    height: 50px;
    width: 50px;
    text-decoration: none;
    list-style: none;
    justify-content: right;
}

/* Header & Navigation */
header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo and nav */
    background: #005d49;
    height: 70px;
    padding: 0 20px; /* Adds space on the sides */
    border: 2px solid  #001b3a;
}

/* Navigation */
nav{
    display: flex;
    justify-content: center;
    
}


nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}


nav li {
    display: inline;
}
#active-page{
    color: #005d49;
    background-color: #ffc042;
    border-radius: 5px;
    
}

/* Links */
nav a {
    color: #ffc042;
    text-decoration: none;
    font-size: 24px;
    padding: 10px 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #005d49;
    background-color: #ffc042;
    border-radius: 5px;
}

#title{
    text-align: center;
    font-size: 4em;
}

.grid-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;  
    grid-template-rows: 1fr 1fr;     
    gap: 20px;                       
    height: 80vh;                    
    padding: 20px;
}

.grid-container2 {
    flex: 1;
    display: grid;
    grid-template-columns: 1/3 1/3 1/3;  
    grid-template-rows: repeat(12, 25%);     
    gap: 20px;                       
    height: 80vh;                    
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.text {
    font-size: 18px;
    line-height: 1.6;
}


footer {
    background: #f1f1f1; 
    padding: 20px;
    text-align: center;
    width: 198%;
    
}