body {
    background-image: url("desk.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color:rgba(240, 231, 184, 0.788);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container {
    background-color:rgba(146, 125, 98, 0.9);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 600px;
    padding-bottom: 20px;
    border-radius: 40px;
    color: #703B3B;
    font-weight: bold ;
    
}

form{
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    margin: 10px;
    padding: 20px;
}

h1{
    font-family: "Montserrat", sans-serif;
    color: #4E1F00;
    align-self: center;
}

h1:hover {
    color: #703B3B;           
    transform: scale(1.05);  
}
input{
    font-family: "Montserrat", sans-serif;
    padding: 5px;
    border-radius: 10px;
    width: 90%;

}

#btn{
    background-color: #703B3B;
    font-family: "Montserrat", sans-serif;
    border-radius: 10px;
    border: none;
    margin-top: 10px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btn:hover {
  background-color: #5a2f2f;
}

#remainingBlock {
  font-family: "Montserrat", sans-serif;
  background-color: #9BB4C0;
  margin: 5px auto;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #4E1F00;
  text-align: center;
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#remainingBlock:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(36, 35, 35, 0.2);
}

#remainingBlock p {
    font-size: 20px;
    color: #4E1F00;
    font-weight: bold;
    margin-bottom: 10px;
}

#remainingAmount {
    font-size: 36px;
    font-weight: bold;
    color: #703B3B;
}

.placeholder {
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px dashed #4E1F00;
}

.placeholder-title {
  font-size: 20px;
  font-weight: 600;
  color: #4E1F00;
  letter-spacing: 0.3px;
}
.amount {
  font-size: 32px;
  font-weight: bold;
  color: #703B3B;
}

.percent {
  margin-top: 10px;
  font-size: 16px;
  color: #4E1F00;
}

.status {
  font-size: 14px;
  margin-top: 5px;
  opacity: 0.9;
}

.positive {
  background-color: #C7EDE6;
}

.negative {
  background-color: #F3C1C1;
}


@media (max-width: 800px) {

    body {
    font-size: 16px;
    padding: 10px;
    }

    #container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    form {
    width: 100%;
    display: flex;
    flex-direction: column;
    }

    input, select, button {
    width: 80%;
    padding: 10px;
    border-radius: 10px;
    }

    #remainingBlock {
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: 10px auto;
    align-items: center;
    justify-content: center;
    padding: 20px;
    }

   
}

@media (max-width: 600px) {
#remainingBlock {
    width: 60%;
    display: flex;
    margin: 8px auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

    
}