@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0px auto;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: #720000;
    padding-top: 50px;
    font-family: "Roboto", sans-serif;
}

main {

    background-color: rgb(255, 255, 255);
    width: 800px;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    align-items: center;
    text-align: center;
    justify-content: center;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 20px;
}

.cabecalho {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner1 {
    width: 700px;
    margin-right: 50px;
}

input {
    width: 500px;
    height: 30px;
    padding: 0px 20px;
    border: solid rgb(79, 0, 0);
}

input:focus {
  box-shadow: 0 0 5px 2px rgba(153, 0, 0, 0.5);
  outline: none;

}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
}

.codigo-pesquisa{
    width: 170px;
}

.button-container{
    padding: 20px 0px;
}

button {
    background-color: green;
    color: aliceblue;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    margin-left: 0px;
    border: none;
    cursor: pointer;
    width: 700px;
    box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.8);
}

.container-direito{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nomenclature {
    display: inline-block;
    place-items: center;
    height: 70px;
    background-color: rgb(224, 224, 224);
    width: 380px;
    border-radius: 5px;
    padding: 10px;
    margin: 0px auto;
    text-align: left;
    align-items: center;
    justify-content: center;
}

.container-desc-img {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    margin: 0;
    height: 300px;
    margin-right: 5px;
}

.container-img{
    display: flex;
    align-items: center;
    text-align: center;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 1px solid black;
    padding: 5px;
}

.img-product{
    width: 98%;
    height: 98%;
    object-fit: contain;
    display: block;
}

.information {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgb(224, 224, 224);
    width: 700px;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    min-height: 500px;
}

a {
    background-color: rgb(150, 150, 150);
    color: azure;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    height: 60px;
    width: 380px;
    align-items: center;
    text-align: center;
}

.catalogo-button {
    color: rgb(255, 255, 255);
    background-color: green;
}

.tags-external {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 80px;
    gap: 15PX;
}

footer {
    color: white;
    width: 100vw;
    display: flex;
    justify-content: center;
    padding: 25px;
    background-color: #720000;
    margin: 0 auto;
    bottom: 0px;
}


.autocomplete-box {
    position: absolute;
    background-color: white;
    border: 0px solid #ccc;
    max-height: 600px;
    overflow-y: auto;
    width: 900px;
    z-index: 10;
}

.autocomplete-box div {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-box div:hover {
    background-color: #f0f0f0;
}

.ads-arsenal{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    padding-bottom: 15px;
}
.img-ads {
    width: 100%;
}


@media (max-width: 600px) {
    body {
        padding-top: 20px;
    }

    
    .banner1 {
        width: 100%;
        margin: 0 auto;
    }


    main {
        width: 95%;
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    img {
        width: 100%;
        margin-right: 0;
    }

    input {
        width: 300px;
        padding: 8px 10px;
    }

    button {
        width: 300px;
        padding: 10px;
    }

    .codigo-pesquisa{
        width: 100px
    }

    .information {
        width: 100%;
        min-height: auto;
        padding: 10px;
        text-align: justify;
    }

    .container-desc-img {
        flex-direction: column;
        padding: 0;
        height: auto;
        padding: 0px 5px;
    }

    .container-img {
        width: 100%;
        height: auto;
    }

    .container-direito{
        height: 100%;
    }

    .img-product {
        width: 100%;
        height: auto;
    }

    .nomenclature, a {
        width: 100%;
        margin: 5px 0px;
    }

    .tags-external {
        height: 100%;
        padding: 0px;
        margin: 0px;
    }

    footer {
        padding: 15px;
        font-size: 14px;
    }

    .autocomplete-box {
        width: 100%;
    }
}