@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    width: 100vw;
    height: 100vh;
}

main {
    display: flex;
    justify-content: center;
    gap: 70px;
    
}

/* header */

.cabecalho {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    gap: 10px;
    padding: 8px 0;
    box-shadow: 0 8px 4px #c3c3c3;
}

.cabecalho-titulo {
    color: #ffffff;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
}

/* section produtos */

.titulo-produtos {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 24px;
    margin: 127px 0 40px;
}

.container-produtos {
    list-style: none;
    display: grid;
    grid-template-columns: 200px 200px 200px;
    gap: 78px 10px;
    box-shadow: -8px 8px 4px #c3c3c3;
    padding: 15px;
    height: 550px;
    overflow-y: scroll;
  
    &::-webkit-scrollbar {
      width: 8px;
    
    }

    &::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }
  
    &::-webkit-scrollbar-thumb {
      background: #D6D6D6;
      border-radius: 10px;
    }
}

.produtos-cards {
    width: 196px;
    height: 258px;
    background-color: #000000;
    border: 3px solid #03FB0D;
    border-radius: 8px;
    box-shadow: 1px 5px 4px #c2c2c2;
    color: #ffffff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
}
.imagem-produtos{
    display: block;
    margin: 10px auto;
    width: 176px;
    height: 174px;
    border-radius: 2px;

}

.nome-produto{
    padding-left: 10px;
}

.preco-produto {
    font-weight: bold;
    
}
.preco-delete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 
}

.delete-btn {
    cursor: pointer;
}

/* section formulário */

.formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 472px;
    height: 517px;
}

.titulo-formulario {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    text-align: center;
    margin: 127px 0 40px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 40px

}

.text, .number, .image {
    width: 392px;
    height: 58px;
    border-radius: 40px;
    border: 3px solid #03fb0b;
    padding:15px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
    color: #00008B;
    outline-color: #9B30FF;
    
    &::placeholder {
        font-family: "IBM Plex Mono", monospace;
        font-size: 16px;
        color: #00008b7e;
    }
}

.btn-form {
    align-self: center;
    
}

.btn-form button{
    width: 158px;
    height: 55px;
    margin: 0 13px;
    border-radius: 10px;
    border: 3px solid #03fb0b;
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
    color: #00008b7e;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn-form button:hover {
    background-color: #00008b;
    border: 3px solid #9B30FF;
    color:#ffffff;
}

/* footer */

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    height: 232px;
    margin-top: 40px;

}

footer p{
    margin:4px 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
}

@media (max-width: 768px) {
    .cabecalho {
        flex-direction: column;
    }

    main {
        flex-direction: column;
    }

    .titulo-produtos, .titulo-formulario {
        margin: 80px 0;
    }


    .container-produtos {
        grid-template-columns: 200px 200px;
        height: auto;
        align-items: center;
        justify-content: center;
       
        
    }

    .formulario {
        width: 100vw;
        height: auto;
    }
}