:root {
    --background: #1e1e28;
    --date: #7188a9; 
    --text-color: #eaeaea; 
    --link-color: #65d2f9;
    --h1-size: 2em; 
    --h2-size: 1.75em; 
    --h3-size: 1.5em; 
    --h4-size: 1.4em; 
    --p-size: 1.3em;
}
html{
    width: auto;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column; 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    min-height: 100vh;
    max-width: 900px;
    margin: auto;
    
}


.card{
    align-self: center;
    box-sizing: border-box;
    background-color: #303881;
    border-style: solid;
    border-color: #d4d4d4;  
	border-radius: 5px;
	box-shadow: 0px 10px 20px -10px rgba(0,0,0,0.75);
	color: #B3B8CD;
	padding-top: 30px;
	position: relative;
	width: 100%;
	text-align: center;
    margin-bottom: 15px;

}
.contact {
	background-color: #1e1e28;
	text-align: left;
	padding: 15px;
	margin-top: 30px;
}
#logo{
    max-width: 100px;
    max-height: 100px;
    align-self: center;
}

.info {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
    border-collapse: collapse;
    width: 100%;
  }
  
.info td, .info th {
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
  }
  
 
  
  .info th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
  }
 .navbar {
        padding:20px 0 0 0;
        width: 100%; 
        display: flex;
        flex-direction: row; 
        justify-content:space-between; 
        flex-wrap: wrap;
        margin: 0; 
    }

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 20px; 
    padding: 25px;
    font-size: 1em; 
    transition: color 0.5s ease;
    align-self: right;
}

.navbar a:hover {
    color: var(--link-color);
}

.content, .content * {
    color: var(--text-color); 
    font-size: var(--base-font-size);
    font-weight: normal; 
}

.content a {
    color: var(--link-color); 
    text-decoration: none;
}


.content h1 {
    font-size: var(--h1-size);
    font-weight: 600;
}

.content h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}

.content h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

.content h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}

.content p {
    font-size: var(--p-size);
}

.content {
    padding: 20px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start; 
}

.content .post a {
    color: var(--link-color);
    text-decoration: none; 
    transition: color 0.3s ease; 
    display: block; 
    margin-bottom: 20px; 
    padding: 10px; 
    border-radius: 5px; 
    font-size: 1.5em; 
}

.content p time {
    color: #8f8f8f; 
    margin-left: 10px;
    font-size: 20px;
}

ol, ul {
    font-size: 18px; 
    margin-left: 0px; 
    margin-top: 20px; 
    margin-bottom: 20px; 
    width: 100%;
    box-sizing: border-box;
}

li {
    margin-bottom: 10px; 
}

.gallery {
    column-count: 2;
    column-gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 100%; 
    max-width: 100%; 
    height: auto; 
    margin-bottom: 10px;
    display: block; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

@media (min-width: 600px) {
    .gallery {
        column-count: 3; 
    }
}

@media (min-width: 900px) {
    .gallery {
        column-count: 4; 
    }
    body{
        max-width: 900px;
        }
}

@media (min-width: 1200px) {
    .gallery {
        column-count: 5; 
    }
    
   
}