@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@500;700&display=swap');

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

body {
    /* font-family: sans-serif; */
    font-family: 'Montserrat', sans-serif;
/* Fondo */
    background-color: #d4d8f1e5;
    font-size: 14px;
}

#buscador {
    background: url(https://cdn0.iconfinder.com/data/icons/slim-square-icons-basics/100/basics-19-32.png) no-repeat 0px 5px;
    background-size: 24px;
    width: 90%;
    border: transparent;
    border-bottom: solid 1px #000000;
    padding: 10px 10px 10px 30px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    outline: none;
  }

.title {
    text-align: center;
    justify-content: center;
    padding-top: 20px;
}

#container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    
}

.card {
    background-color: white;
    box-shadow: 0px 0px 5px #5c748b;
    text-align: center;
    margin: 10px;
    padding: 20px;
    width: 344px;
    border-radius: 12px;
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card img {
    height: 8em;
    
}

.card h3 {
    font-size: 1.25em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    line-height: 1.25;
    margin-bottom: 10px;

}

.card button {
    padding: 10px 20px;
    background-color: #D1DDED;
    border: none;
    border-radius: 5px;
}

.card button:hover{
    cursor: pointer;
    background-color: #84a1c6;
}



@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        width:  100%;
    }
}

.modal {
    text-align: center;
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    
 }

 .modal h2 {
    margin-bottom: 12px;
 }

 .modal h3 {
    margin-top: 10px;
    margin-bottom: 12px;
 }

 .modal img {
    height: 18em;
    border: 1px solid #888;

 }
 
 .modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #052659;
    width:95%; 
    max-width: 600px;
    border-radius: 5px;
    align-items: center;
    
 }

 table {
    width: 100%;
 }

 .hscroll {
    overflow-x: auto; /* Horizontal */
  }
 
 .close-button {
    color: #C1EBFF;
    float: right;
    font-size: 28px;
    font-weight: bold;
 }
 
 .close-button:hover,
 .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
 }