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

body{
    background-color: #181C14;
    color: aliceblue;
}
header{
    width: 100%;
    height: 80px;
    background-color:#2c2e23 ;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header h1{
    text-shadow: rgba(240,240,240,0.92) 0px 0px 9px;
}
.musk-container{
width: 100%;
display: flex;
margin-bottom: 5px;
align-items: center;
flex-direction: column;
}
.musk{
    width: 80%;
    height: 250px;
    background-color: #853953;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.musk img{
    width: 120px;
    border-radius: 120%;
    
}
.money{
    width: 80%;
    height: 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    display:flex;
    justify-content: center;
    align-items: center;
     background-color: #2B5748;
     border: 2px solid rgb(89, 130, 89);
    font-weight: bold;
    font-size: x-large;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-top: 10px;
}
.item{
    height: 300px;
    background-color: #272727;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
   background-color: #09122C;
   border: 2px solid white;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}
.item img{
    width: 120px;
   filter: drop-shadow(4px 10px 5px rgba(0, 0, 0, 0.434));
}

 .cost{
    color: rgb(42, 188, 149);
 }
 .buy-sell{
    margin-top: 5px;
 }
 .sell{
   width: 90px;
   font-weight: bold;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   padding: 3px; 
   font-size: large;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.buy{
      width: 90px;
   font-weight: bold;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   padding: 3px; 
   font-size: large;
   background-color: rgb(48, 225, 166);
   border: none;
    border-radius: 3px;
    cursor: pointer;
}
.quantity{
     width: 90px;
   font-weight: bold;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   padding: 3px; 
   text-align: center;
   border: none;
   outline-width: 2px;
   outline-color: rgb(3, 3, 3);
   font-size: large;
    border-radius: 3px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
main{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.items-container{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

/* reponse */
@media (max-width:768px) {
     .items-container{
        grid-template-columns: repeat(2,1fr);
     }
}
@media (max-width:500px){
    .items-container{ 
    grid-template-columns: 1fr;
    }
    .musk,.money,.item{
        width: 100%;
    }
}