header {
    background: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
    border: 2px;
    border-radius: 5px;
}

body{
    background-color: rgb(164, 243, 217);
    text-align: center;
    align-items: center;
    place-items: center;
}
.sex {
    justify-content: center;
    align-items: center;
    font-style: italic;
}

.image-container {
    margin: 0 auto;
    position: relative;
    width: 300px;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}

.image {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.oculta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 174, 255, 0.1);
    opacity: 1;
    transition: opacity 0.7s ease;
}

.image-container:hover .image {
    opacity: 1;
}

.image-container:hover .overlay {
    opacity: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 100%;
}

.grid-item{
    position: relative;
    background-image: url(marco.png);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
}

.grid-item p{
    margin-top: 100px;
}

fieldset{
    margin: 0 auto;
    background-color: rgb(181, 240, 220);
    width: 300px;
}

h1{
    margin: 0;
    margin-top: 10px;
    color:blue
}

label{
    text-decoration: underline;
    font-family: 'Franklin Gothic Medium', Arial;
    padding: 5px;
}

button{
    transition: background 1s;
    color: white;
    background-color: gray;
    text-align: center;
}

.btn:hover {
    background: #244281;
}

select {
    margin: 50px 0;
    background: rgb(201, 122, 122);
    box-shadow: 0 2px 10px rgba(34, 33, 33, 0.1);
}

.checks{
    font-size: 100;
}

.infoPintor{
    display: none;
}

