body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.container {
    min-height: 400px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.my-svg {
  display: block;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    position: relative; /* Required for absolute positioning of the toggle */
}

h1 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.subtitle {
    color: #595959;
    font-size: 1.1em;
    margin-top: 0;
}

section {
    margin-bottom: 25px;
}

h2 {
    color: #333;;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 25px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

a {
    color: #0966a4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.social-links {
    list-style: none;
    padding-left: 0;
}

.social-links li {
    display: inline-block;
    margin-right: 15px;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #6b6b6b;
    font-size: 0.9em;
}

/* Language Toggle Styling */
.language-toggle {
    position: absolute;
    top: 2px;
    right: 10px;
    color: #0966a4;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s;
    padding: 5px; /* Add padding for better click area */
    border-radius: 100px; /* Optional: Add rounded corners */
}

.language-toggle:hover {
    color: #0966a4;
    text-decoration: none;
    background-color: #f0f0f0;
}

.language-toggle i {
    margin-right: 5px;
}

.line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin-bottom: 0;
}

.date {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 540px) {
    body {
        padding: 0;
    }

    .container {
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }
    
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.3em;
    }
    
    .line {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-toggle {
        right: 0px;
        font-size: 1.2em;
    }

    .date {
        display: none;
    }

    section video {
        width: 94% !important; 
        height: auto !important;
    }
    
    .social-links li {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1em;
        word-break: break-all;
    }
}
