* {
    margin: 0;
    padding: 0;
}

.productlogo {
    height: 50px;
    margin-left: 50%;
    margin-top: 5px;
}
.nav-bar{
    width: 100%;
    display: flex;
    background-color:white;
    backdrop-filter: blur(10px);
    padding: 10px;
    position: fixed;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.logo-title-container {
    display: flex;
    align-items: center; 
    justify-content: center;
}

.nav-bar h1 {
    font-family: sans-serif;
    margin-left: 50px;
    margin-top: 10px;
    font-size: 45px;
    color: #003366;
   
}

/* product catalogue */
.product {
    border: 1px solid;
    border-color: white;
    border-radius: 30px;
    margin: 2px;
    padding: 18px;
    background-color: white;
    padding-bottom: 150px;
    height: 350px;
    width: 280px;
    text-align: center;
}

.product h1 {
    font-family: sans-serif;
    font-size: 18px;
    text-align: center;
    margin-top: 5px;
    color: #003366;
}
.product p {
    font-family: sans-serif;
    margin-top: 20px;
    font-size: 13px;
    text-align: left;
    text-align-last: left;
    line-height: 1.5;
    margin-left: 20px;
}

/*.product:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
    box-shadow: 1px 2px 20px 5px rgba(0, 0, 0, 0.3);

}*/
.products {
    margin-top: 130px;
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
   
}
.products img{
    height: 220px;
    width: 220px;
    object-fit: cover;
    border-top-left-radius: 10px; 
    border-top-right-radius: 10px;
}
.catalogue {
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
}

/* product code */

.code{
    font-style: italic;
    font-family: sans-serif;
    text-align: center;
    color: gray;
}

/* search bar */

.formsearch {
    margin-left: auto; 
    margin-right: 50px;
    display: flex;
    align-items: center;
}

#search {
    padding: 5px;
    border:none;
    height: 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    width: 100%;
    font-size: 15px;
    font-style: normal;
    box-shadow: 0px 0.5px 3px #333;

}

.formsearch button {
    padding: 9px;
    padding-right: 12px;
    padding-left: 12px;
    background-color: #003366;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 31px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 0.5px 3px #333;

}
svg:hover{
    transition: fill 0.5 ease;
    fill: white;
}
.formsearch button:hover{
    background-color: black;
    transition: background 1s ease;

}

#search::placeholder{
    font-size: 12px;
     font-style: italic;
}
input[type="text"]:focus {
    outline: none;
   
    
}
button:focus,
a:focus {
  outline: none;
}
#no-result {
    display: none;
    color: gray;
    font-family: sans-serif;
    font-size: 18px;
    text-align: center;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}
@media (max-width: 600px) {
    * {
        margin: 0;
        padding: 0;
    }
    .nav-bar {
        width: 100%;
        display: flex;
        flex-direction: column; 
        align-items: center;
        margin: 0;
        padding-top: 20px;
    }

    .logo-title-container {
        display: flex;
        align-items: center;
        justify-content: center; 
        gap: 15px; 
        margin: 0;
        margin-right: 50px;
    }

    .productlogo {
        height: 50px;
    }

    .nav-bar h1 {
        font-family: sans-serif;
        font-size: 40px;
        color: #003366;
        margin-left: 30px;
    }

    .formsearch {
        margin-top: 20px;
        margin-bottom: 10px;
        margin-left: 0px;
        margin-right: 20px;
        align-items: center;
        justify-content: center;
        width: 100%;
        
    }

    #search {
        border: none;
        height: 30px;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        width: 70%;
        font-size: 15px;
        font-style: normal;
        box-shadow: 0px 0.5px 3px #333;
    }
    .formsearch button #search{
        margin: auto;
    }

    .formsearch button {
        padding: 9px 18px;
        background-color: #003366;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        height: 41px;
        border: none;
        cursor: pointer;
        box-shadow: 0px 0.5px 3px #333;
    }

    svg:hover {
        transition: fill 0.5s ease;
        fill: white;
    }

    .formsearch button:hover {
        background-color: black;
        transition: background 1s ease;
    }

    #search::placeholder {
        font-size: 12px;
        font-style: italic;
    }

    input[type="text"]:focus {
        outline: none;
    }
    .products{
        margin-top: 230px;
    }
}