body.home{
   background: #f4f4f4;
    font-family: sans-serif;
    text-align: center;
     display: block;
      min-height: auto;
}

body.about {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f4f4f4;
    font-family: sans-serif;
    text-align: center;
}


.gallery {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 100px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 200px;
}

.card img {
    width: 100%;
    border-radius: 8px;
     max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.card a {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    display: block;
    position: relative;
    width: 100%;
    max-width: 600px;
    padding-bottom: 56.25%;
    margin: 20px auto;
    background: #000;
}

.video-container iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
video{
    display: block;
    margin: 0 auto;
}
body.generator {
    font-family: sans-serif;
    text-align: center;
    margin: 20px;
}
.generator .controls{
 display: flex;  
 flex-wrap: wrap;
 justify-content: center;
 gap:10px;
 margin-bottom: 10px;
}

.generator .controls > * {
    
    flex: 1 1 auto;
    min-width: 80px;

}
.generator .canvas-wrapper{
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border: 2px solid #333;
}
.generator .canvas-wrapper canvas {
    width: 100% !important;
    height: auto !important;
    display: block;


}

#examples {
    margin: 40px 0 ;
    text-align: center;
}

.meme-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.meme-item {
    width: 250px;
}

.meme-item img{
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



.wojak-card{

    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
    margin: 20px auto;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.wojak-img{
    width: 160px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 160px;

}
.wojak-card figcaption h3 {margin: 0 0 6px; font-size: 1.2rem;}
.wojak-card figcaption p { margin: 6px 0 ; line-height: 1.45; color: #222;}
.wojak-card .credit {font-size: 0.85rem; color: #666;}

@media(max-width:600px) {
    .wojak-card {flex-direction: column; align-items: center; text-align: center;}
    .wojak-img {width: 60%; max-width: 260px; flex: 0 0 auto;}
    .wojak-card  figcaption p {text-align:left}
}

.zoomer-card{

    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
    margin: 20px auto;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.zoomer-img{
    width: 160px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 160px;

}
.zoomer-card figcaption h3 {margin: 0 0 6px; font-size: 1.2rem;}
.zoomer-card figcaption p { margin: 6px 0 ; line-height: 1.45; color: #222;}
.zoomer-card .credit {font-size: 0.85rem; color: #666;}

@media(max-width:600px) {
    .zoomer-card {flex-direction: column; align-items: center; text-align: center;}
    .zoomer-img {width: 60%; max-width: 260px; flex: 0 0 auto;}
    .zoomer-card  figcaption p {text-align:left}
}



.soyjak-card{

    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
    margin: 20px auto;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.soyjak-img{
    width: 160px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 160px;

}
.soyjak-card figcaption h3 {margin: 0 0 6px; font-size: 1.2rem;}
.soyjak-card figcaption p { margin: 6px 0 ; line-height: 1.45; color: #222;}
.soyjak-card .credit {font-size: 0.85rem; color: #666;}

@media(max-width:600px) {
    .soyjak-card {flex-direction: column; align-items: center; text-align: center;}
    .soyjak-img {width: 60%; max-width: 260px; flex: 0 0 auto;}
    .soyjak-card  figcaption p {text-align:left}
}



.chad-card{

    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
    margin: 20px auto;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.chad-img{
    width: 160px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 160px;

}
.chad-card figcaption h3 {margin: 0 0 6px; font-size: 1.2rem;}
.chad-card figcaption p { margin: 6px 0 ; line-height: 1.45; color: #222;}
.chad-card .credit {font-size: 0.85rem; color: #666;}

@media(max-width:600px) {
    .chad-card {flex-direction: column; align-items: center; text-align: center;}
    .chad-img {width: 60%; max-width: 260px; flex: 0 0 auto;}
    .chad-card  figcaption p {text-align:left}
}


    


@media (max-width: 500px){
    .generator .controls{
        flex-direction: column;
        align-items: stretch;
        gap: 5px;}
   .generator .controls > * {
    width: 100%;
    max-width: none;
}

}














