.instructions-title h1{ 
    text-align: center;
    margin-top: 160px;
    margin-bottom: 24px;
    font-size: 45px;
    font-weight: 600;
}

.instructions-grid{
    max-width: 1248px;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 8px;
}

.instructions-box{
    height: auto;
    border: 1px solid #A5A5A5;
    margin-bottom: 12px;
    padding: 10px;
    background-color:#fefefe;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.instructions-name{
    font-size: 16px;
    margin-top: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: pre-wrap;
    height: 50px;
}
.download-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #070707 ;
    color:  #FEFEFE;
    height: 50px;
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    gap: 8px;
}

.search-container {
    margin-bottom: 20px;
}

#searchResults {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.search-box-instructions{
    float: none !important;
    margin: 0 auto 40px auto ;
    display: flex;
    width: 26.25rem;
    height: 2.5rem;
    padding-left: 0px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #070707;
    background: #FEFEFE;
}
.search-field-inst{
    width: 100%;
}
.search-icon-box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0px;
    gap: 12px;
    width: 2.5rem;
    background: #C21225;
    height: 2.5rem;
    align-items: center;
}
#search-field-instructions{
    padding-left: 5px;
    font-size: 16px;
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 8px;
}
#search-field-instructions:focus{
    outline: none;
}
.no-search-results{
    margin: 0 auto 24px auto;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    display: none;
}

#search-button 
{
    filter: invert(1);
}

@media screen and (max-width: 769px) {
    .instructions-title h1{
    font-size: 24px;
    margin-top: 100px;
    }
    .search-box-instructions{ 
        width: auto;
       margin-left: 8px;
       margin-right: 8px;
    }
    .no-search-results{
        font-size: 16px;
    }
} 

@media screen and (max-width: 520px) {
    .instructions-grid{
      grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    }
} 
