/* Declarações de fonte BrownPro */
@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Regular-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Bold-Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Light-Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'BrownPro';
    src: url('../brownpro/Nova pasta/Brown-Thin-Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'BrownPro', sans-serif;
    background-color: #EEEEEE;
}

details {
    margin-bottom: 1rem !important;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid silver;
    background-color: white;
    margin: 0 auto;
    width: 500px;
  }
  summary {
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    outline: none;
  }
  summary::after {
    padding: 0.5rem;
    position: absolute;
    right: 0.25rem;
    top: -0.5rem;
    color: black;
  }
  details[open] {
    background: white;
    width: fit-content;
    margin-bottom: 1rem;
  }
  details[open] summary {
    color: dimgrey;
  }

.background {
    background-image: url('https://www.logitechstore.com.br/media/wysiwyg/bg-trustvox.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 5%;
    border-radius: 25px;
    text-align: center;
    width: 35%;
}

h1 {
    margin-bottom: 10px;
    
}

p {
    margin-bottom: 20px;
    color: #555;
}

h2 {
    font-size:22px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    margin-top: 40px;
}

.label-pedido {
    text-align: center;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
}

.btn {
    background-color: #00aaff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0088cc;
}

.result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 300px;
    text-align: center;
}



.modal {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 300px;
    text-align: center;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content p {
    font-size: 14px;
    color: #555;
}

.form-group {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
}

button.btn {
    background-color: #00aaff;
    color: white;
    padding: 10px 45px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

button.btn:hover {
    background-color: #0088cc;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
} 

#numeroPedido {
    border-bottom: 1px solid black;
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 0;
    text-align: center;
    padding: 8px 0;
    width: 100%;
}

.container h1 {
    font-size: 36px;
    font-weight: 700;
    color: #3d3d3d;
}

.container p {
    font-weight: 400;
    font-size: 24px;
    color: #3d3d3d;
}

#numeroPedido::placeholder {
    font-weight: normal;
  }
  
  #numeroPedido::placeholder::first-line {
    font-weight: bold;
    content: "Ex: 34";
  }

.input-container {
    position: relative;
    width: 100%;
    text-align: center;
}

.input-container .prefix {
    color: #3d3d3d;
    font-weight: 400;
    padding: 8px 0;
    margin-right: 4px;
    user-select: none;
}

.input-container input {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    text-align: left;
    background: transparent;
}

.input-container input:focus {
    outline: none;
}

.custom-placeholder {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.input-container input:focus + .custom-placeholder,
.input-container input:not(:placeholder-shown) + .custom-placeholder {
    display: none;
}

.example-text {
    display: block;
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: 5px;
}

.example-text strong {
    font-weight: bold;
}

@media (max-width:768px) {
    details {
        width:70%;
    }
    .container {
        width: 70%;
    }
}