:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --text-color: #333;
    --light-color: #fff;
    --transition: all 0.3s ease;
    --gold-color: #D4AF37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0; /* larger at top */
    box-shadow: none; /* no bar feel at top */
}

.navbar.scrolled {
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.7rem 0; /* compact on scroll */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    height: 90px; /* bigger at top */
    transition: var(--transition);
}

.logo img {
    height: 100%;
    width: auto;
    filter: none;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary-color);
    height: 60px; /* smaller on scroll */
}

.navbar.scrolled .logo img {
    filter: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switch a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.lang-switch a.active {
    text-decoration: underline;
}

.navbar.scrolled .lang-switch a {
    color: var(--primary-color);
}

.nav-links a {
    color: var(--light-color); /* light at top over hero */
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem; /* slightly larger at top */
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
    font-size: 1rem; /* compact */
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/krowa-tło.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content {
    padding-bottom: 15rem;
    padding-top: 8rem;
}

.hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 6.5rem;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: var(--gold-color);
    text-transform: uppercase;
}

.hero-categories {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--gold-color);
}

.hero-tagline {
    font-size: 2.2rem;
    margin-top: 0.5rem;
    font-weight: 300;
    font-style: normal;
    color: var(--gold-color);
}

.hero-description {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--gold-color);
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--gold-color);
    text-decoration: none;
    border: 2px solid var(--gold-color);
    border-radius: 0;
    margin-top: 2rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: var(--gold-color);
    color: var(--light-color);
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down svg {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    transition: var(--transition);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-down:hover svg {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 1));
}

.scroll-down:hover svg polyline {
    stroke: var(--light-color);
}

/* Menu Section */
.menu-section {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.menu-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.menu-item {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    width: 100%;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: var(--light-color);
    text-align: center;
}

.contact-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-phone {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-phone i {
    color: var(--gold-color);
    margin-right: 1rem;
}

.contact-phone a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.contact-phone a:hover {
    color: var(--gold-color);
}

.contact-info-main {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-phone, .contact-address {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-address {
    margin-bottom: 2rem;
}

.contact-phone i, .contact-address i {
    color: var(--gold-color);
    margin-right: 1rem;
}

.contact-phone a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.contact-phone a:hover {
    color: var(--gold-color);
}

.contact-address p {
    display: inline;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--gold-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--light-color);
}

/* Quality Meat Section */
.quality-meat {
    padding: 8rem 2rem;
    background: var(--light-color);
}

.quality-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quality-image {
    position: relative;
    padding: 1rem;
    max-width: 80%;
    margin: 0 auto;
}

.quality-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold-color);
    z-index: 1;
}

.quality-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quality-text {
    text-align: left;
    padding-top: 1rem;
}

.quality-text h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.quality-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 90%;
}

/* Specialties Section */
.specialties {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    box-shadow: none;
}

.specialty-image {
    position: relative;
    padding: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.specialty-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold-color);
    z-index: 1;
}

.specialty-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.specialty-content {
    text-align: center;
    padding: 0;
}

.specialty-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.specialty-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
}

/* Daily Offer Section */
.daily-offer {
    padding: 8rem 1rem;
    background: var(--light-color);
    color: var(--primary-color);
    overflow: hidden;
}

.daily-offer h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.offer-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breed-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.breed-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: none;
    border-radius: 0;
}

.offer-item:hover {
    background: rgba(44, 62, 80, 0.05);
}

.number {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold-color);
    display: block;
    margin-bottom: 1rem;
}

.offer-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.offer-item p {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.farm-description {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    opacity: 1;
}

/* Style dla social media */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-left: 0;
}

.social-links a.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a.facebook {
    color: #1877f2 !important;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.navbar.scrolled .social-links a.facebook {
    color: #1877f2 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        font-size: 1.2rem;
    }

    .hero-content {
        padding-bottom: 5rem;
        padding-top: 4rem;
    }

    .scroll-down {
        bottom: 30px;
    }

    .scroll-down svg {
        width: 35px;
        height: 45px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-categories {
        font-size: 1.4rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-container iframe {
        height: 350px;
    }

    .about-section {
        padding: 3rem 1rem;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .quality-meat {
        padding: 4rem 1rem;
    }

    .quality-text h2 {
        font-size: 2.2rem;
    }

    .quality-text p {
        font-size: 1.1rem;
    }

    .quality-image img {
        height: 300px;
    }

    .specialty-grid {
        gap: 2rem;
    }

    .specialty-item img {
        height: 250px;
    }

    .specialty-content h3 {
        font-size: 1.5rem;
    }

    .daily-offer {
        padding: 4rem 1rem;
    }

    .daily-offer h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .offer-grid {
        gap: 2rem;
    }

    .farm-description {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }

    .breed-image {
        width: 180px;
        height: 180px;
    }

    .logo {
        height: 60px;
    }

    .contact-phone, .contact-address {
        font-size: 1.2rem;
    }
    
    .contact-address p {
        font-size: 1.2rem;
    }

    .contact-phone i, .contact-address i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-bottom: 3rem;
        padding-top: 3rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-categories {
        font-size: 1.2rem;
    }
    .hero-tagline {
        font-size: 1.6rem;
    }
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .contact-phone, .contact-address {
        font-size: 1.1rem;
    }
    
    .contact-address p {
        font-size: 1.1rem;
    }

    .contact-phone i, .contact-address i {
        font-size: 1.1rem;
    }
}

@media (max-width: 968px) {
    .quality-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quality-image {
        max-width: 100%;
        width: 100%;
        padding: 0 2rem;
    }

    .quality-image img {
        max-height: 300px;
    }

    .quality-text {
        text-align: center;
        padding: 0 2rem;
    }

    .quality-text p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .quality-image {
        padding: 0 1rem;
    }

    .quality-image img {
        max-height: 250px;
    }
}

/* Menu Page Styles */
.menu-hero, .contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/krowa-tło.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.menu-hero h1, .contact-hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 4.5rem;
    color: var(--gold-color);
    text-transform: uppercase;
    margin: 0;
}

.menu-content, .contact-page-content {
    padding: 5rem 2rem;
    background: var(--light-color);
}

.menu-category {
    margin-bottom: 4rem;
}

.menu-category h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.menu-items {
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Masonry */
.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-masonry img {
    width: 100%;
    height: auto; /* equal width, variable height */
    display: block;
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 1200px) {
    .gallery-masonry { column-count: 2; }
}

@media (max-width: 768px) {
    .gallery-masonry { column-count: 1; }
}

.menu-item {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: var(--transition);
}

.menu-item:hover {
    background: rgba(44, 62, 80, 0.05);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-item-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.price {
    font-size: 1.3rem;
    color: var(--gold-color);
    font-weight: bold;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: rgba(44, 62, 80, 0.05);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-item-header {
        flex-direction: column;
        text-align: center;
    }

    .menu-item-header h3 {
        margin-bottom: 0.5rem;
    }
}

/* Style dla menu mobilnego */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Klasa active dla animacji przycisku hamburger */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-right {
        position: relative;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--light-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .social-links {
        position: fixed;
        bottom: 2rem;
        left: 0;
        right: 0;
        justify-content: center;
        z-index: 1001;
        display: none;
    }

    .social-links.active {
        display: flex;
    }
}

/* Dodajemy breakpointy dla responsywności */
@media (max-width: 1200px) {
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .specialty-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .specialty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .specialty-image img {
        height: 300px;
    }
}

/* Upewniamy się, że container ma odpowiednie style */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Dodajemy padding dla małych ekranów */
    width: 100%;
    box-sizing: border-box;
}

/* Dodajemy style dla mapy na stronie kontaktowej */
.contact-page-content .map-container {
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .contact-page-content .map-container {
        margin-top: 3rem;
    }
}

@media (max-width: 1200px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .breed-image {
        width: 180px;
        height: 180px;
    }

    .offer-item {
        padding: 1rem;
    }

    .offer-item h3 {
        font-size: 1.3rem;
    }

    .offer-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 4rem;
        padding: 0 1rem;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
        padding: 0 1rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .menu-hero h1 {
        font-size: 3.2rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
}

.center-note {
    display: block;
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem 0;
    letter-spacing: 0.2px;
    font-style: italic;
}

/* USUWAMY stylowanie chmurek dla sosów i lemoniad */
/* .sauces-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    color: #444;
    font-size: 1rem;
}

.sauces-list li {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 0.3em 1em;
    margin: 0.2em 0;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

@media (max-width: 768px) {
    .sauces-list {
        gap: 0.7rem;
        font-size: 0.95rem;
    }
    .sauces-list li {
        font-size: 0.95rem;
        padding: 0.25em 0.8em;
    }
} */

.menu-icon {
    width: 64px;
    height: 64px;
    vertical-align: middle;
    margin-right: 0.5em;
    margin-bottom: 0.2em;
    display: inline-block;
} 