/* MAIN STYLE */

:root {
    /* Main colors */
    --main-blue-color: #022863; 
    --light-blue-color: #B3D2DA; 

  }

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #022863 30%, #026EA6);
    
  }


h1 {
    text-align: center;
    font-family: "Erica One", sans-serif;
    font-weight: 400;
    color: #000;
    font-style: normal; 
  }

p, ol {
    font-size: 1rem;
    font-family: "fraunces", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
  }
  .navbar-container {
    padding: 10px 40px;
    height: 90px ;

}

.list-container {
    align-items: center;
    padding: 2vh ;
    background: white;
    min-height: 93vh;
    height: fit-content;

}

  .list {
    align-items: start;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Two columns */
    gap: clamp(16px, 2vw, 32px); 
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    min-height: 80vh;

}

.list-item {
    max-width: 360px;

}

.list-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.list-item h3 {
    text-align: justify;
    margin-top: 10px;
    font-family: 'fraunces', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
}

.list-item p {
    text-align: justify;
}



/* PAGINATION START */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination li {
    display: flex;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    color: grey; /* Default color for pagination links */
    justify-content: center;
    margin: 0 5px; /* Optional: spacing between pagination items */
}

.pagination li a {
    color: inherit; /* Ensure it inherits the color from li */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Add padding for clickable area */
    border-radius: 5px; /* Optional: round the corners */
}

.pagination li.active { /* Background color for active */
    color: white; /* Text color for active */
}

.pagination li.active a { 
    background-color: var(--main-blue-color) !important;
    border: var(--main-blue-color) !important;/* Background color for active */
    color: white; /* Ensure the text color is white for better contrast */
    font-weight: bold; /* Make the active link bold */
}

/* Adjust the color of the links when hovering */
.pagination li a:hover {
    color: white;
    background-color: grey; /* Change this to your hover color */
}

/* PAGINATION END */

/* PAGINATION END */

@media (max-width: 768px) {
    .list {
        grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .list {
        grid-template-columns: 1fr; /* One column on very small screens */
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 80px ;
    
    }
}