@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&family=Oswald:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Manrope', sans-serif;
}

body {
    background-image: url('/assets/img/fundo.svg');
    background-size: cover;
    color: #002D4F;
}

td {
    width: -100px;
}

input {
    border-radius: 5px;
    border: 1px solid #217DC2;
    color: #002D4F;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #217DC2;
}

#inpTxt {
    width: 300px;
}

.intSize {
    width: 100px;
}

#add,
#print {
    background-color: #217DC2;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    width: 150px;
    height: 50px;
    color: white;
    font-size: 16px;
}
#add {
    margin-right: 5px;
}
#print {
    background-color: #002D4F;
    margin-left: 5px;
}
#clear {
    background-color: #c26121;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    width: 80px;
    height: 50px;
    color: white;
    font-size: 16px;
    margin-right: 10px;
}

.total {
    font-size: 23px;
    font-weight: 900;
    text-align: right;
    padding: 15px;
}

.print-image {
    display: none;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgb(239, 251, 255);
    border: 1px solid #217DC2;
    text-align: center;
    border-radius: 15px;
}
#data{
    margin-right: 30px;
    font-weight: bolder;
    font-size: 16px;
    background-color: #002D4F;
    color: rgb(239, 251, 255);
    padding: 5px 8px;
}
h3 {
    font-weight: bolder;
}
.info{
    display: flex;
    align-items: center;
}
#placa{
    width: 80px;
    text-transform: uppercase;
    font-size: 18px;
}
#nome{
    width: 500px;
    margin-right: 40px;
    font-size: 16px;
}
#modelo{
    width: 300px;
    margin-right: 30px;
}
#cor{
    width: 100px;
    margin-right: 30px;
}
#ano{
    width: 60px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    border: 2px solid #d0f5f3;
    padding: 0px;
    text-align: left;
}
.button-container {
    text-align: right;
    margin-top: 15px;
    position: fixed;
    bottom: 10px;
    background-color: #d7eeff;
    padding: 15px 52px 15px;
    border-radius: 15px;
}
hr{
    border: 1px solid #002D4F;
    background-color: #002D4F;
}
@media print {
    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

    /* Firefox */
    input[type=number] {
    appearance: textfield;
    }

    .container {
        margin-top: 100px;
        padding: 0px 50px;
        background-color: #E7F3FC;
        align-items: center;
        border: none;
    }
    #placa{
        width: 100px;
    }
    .button-container,
    h1 {
        display: none;
    }

    .quantSize {
        width: 100px;
    }

    th,
    td {
        border: 0px solid transparent;
    }

    input {
        background-color: transparent;
        font-family: 'Manrope', sans-serif;
        color: #002D4F;
        border: none;
        font-size: 16px;
        text-transform: uppercase;
    }

    svg,
    img,
    body {
        shape-rendering: geometricPrecision;
        image-rendering: optimizeQuality;
    }

    #inpTxt {
        width: 300px;
        margin-right: -20px;
    }
}

.corClara {
    background-color: #E7F3FC; /* Cor mais clara */
  }
  
.corEscura {
    background-color: #217cc227; /* Cor mais escura */
  }
  
  @media (max-width: 700px) {
    .info{
        display: block;
    }
    #data{
        width: 100px;
        margin: 0 auto;
    }
    #nome,#placa,#modelo,#cor,#ano {
      width: 100%;
    }
    .intSize{
        width: 40%;
    }
    #inpTxt{
        width: 90%;
    }
    h1{
        display: none;
    }
    body{
        background-image: none;
        background-color: #002D4F;
    }
    #add{
        margin: 0 0 10px 0;
    }
    .button-container{
        text-align: center;
    }
    @media print{
        body{
            background-image: url('/assets/img/fundo.svg');
        }
    }
  }
