*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{

    background:#f2f2f2;
    padding:20px;

}

.container{

    max-width:600px;
    margin:auto;

}

h2{

    text-align:center;
    margin-bottom:20px;

}

form{

    display:flex;
    gap:10px;
    margin-bottom:20px;

}

input{

    flex:1;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;

}

button{

    padding:12px 20px;
    border:none;
    background:#2196F3;
    color:white;
    border-radius:8px;
    cursor:pointer;

}

button:hover{

    background:#1976D2;

}

.card{

    background:white;
    border-radius:10px;
    padding:20px;
    box-shadow:0 0 10px rgba(0,0,0,.1);

}

.foto{

    text-align:center;
    margin-bottom:20px;

}

.foto img{

    width:180px;
    border-radius:10px;

}

.nofoto{

    background:#ddd;
    padding:60px;

}

table{

    width:100%;
    border-collapse:collapse;

}

table td{

    padding:8px;
    border-bottom:1px solid #eee;
    vertical-align:top;

}

table td:first-child{

    width:150px;
    font-weight:bold;

}

.gallery{

    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;

}

.gallery img{

    width:100%;
    border-radius:8px;

}

.gallery p{

    margin-bottom:5px;
    font-size:14px;
    font-weight:bold;

}

.notfound{

    background:#ffebee;
    color:#c62828;
    padding:15px;
    border-radius:8px;
    text-align:center;

}

@media(max-width:600px){

form{

    flex-direction:column;

}

button{

    width:100%;

}

.gallery{

    grid-template-columns:1fr;

}

table td:first-child{

    width:120px;

}

}
