*{
    margin: 0;
    padding: 0;
}
body{
  background: hsla(245, 75%, 80%, 0.25);
  color:#070707;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1{
 text-align: center;
 padding: 1rem;
}

.main-container{
    position: relative;
    background-image: url(/imgs/my_little_store_game/store_outside.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: rgba(0, 247, 255, 0.47);
    margin: 0 auto;
    width: 700px;
    height: 500px;
    border: 1px solid blue;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .7s;
}
.cloud{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;

    animation: move 7s ease infinite;
    border-radius:50%;
    top: 27px;
    background: #FFFFFF;
    height: 60px; width: 60px;
    box-shadow:
          #FFFFFF 65px -15px 0 -5px, 
          #FFFFFF 25px -25px, 
          #FFFFFF 30px 10px, 
          #FFFFFF 60px 15px 0 -10px, 
          #FFFFFF 85px 5px 0 -5px;
  }
.cloud:nth-child(2){
  left: 28%;
  top: 17%;
}
.cloud:nth-child(3){
  left: 70%;
  top: 0%;
}
.cloud:nth-child(4){
  left: 5%;
  top: 10%;
}
.cloud:nth-child(5){
  left: 78%;
  top: 28%;
}
  @keyframes move{
    50% { transform: translateY(-7px); }
  }
  .dialog{
    position: absolute;
    display: none;
    background-color: white;
    padding: 1rem;
    max-width: 270px;
    border-radius: 10px;
    box-shadow: 1px 1px 0px blueviolet;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 14px;
    transform: translate(-50%, -70%);
  }
  .dialog span{
    font-size: 1.25rem;
    text-align: center;
  }
  .btn{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding: .5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    background-color: rgb(50, 50, 50);
    color: white;
    font-size: 1.5rem;
    margin: 1rem auto;
  }
  .btn:hover{
    transform: scale(1.1);
  }
  .play-button{
    height: 70px;
    border-radius: 10px;
    width: 100px;
    border: none;
    background-color: rgb(110, 70, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1;
    color: white;
    letter-spacing: 1px;
    font-weight: bolder;
  }
  .play-button:hover{
    transform: scale(1.1);
    background-color:rgb(77, 28, 255) ;
  }
  .groceries-list{
    position: absolute;
    top: 0;
    transform: translate(-100%, -0%);
    display: none;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    border: 2.5px solid rgb(14, 14, 14);
    padding: .5rem;
    font-size: 1.25rem;
    margin: 1rem;
  }
  .costumer-container{
    border-bottom: 1px solid grey;
    padding: .5rem;
    width: 90%;
    margin-bottom: 1rem;
  }
 .number-items{
    font-weight: bold;
    color: rgb(255, 7, 7);
  }
.i-need{
  background-color: rgba(122, 251, 255, 0.7);
  padding: .275rem;
}
.items{
display: flex;
flex-direction: row;
font-size: 1.5rem;
font-family: cursive;
font-weight: bolder;
align-items: center;
}
.item1{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 70px;
  width: 100%;
  background-color: beige;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: .75rem;
  border-radius: 7px;
  padding: .5rem;
  text-shadow: 0px 0px 7px white;
}
.item2{
  background-color: rgba(255, 255, 0, 0.702);
  justify-content: center;
  display: flex;
  align-items: flex-end;
  height: 70px;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: .75rem;
  border-radius: 7px;
  padding: .5rem;
  text-shadow: 0px 0px 7px rgb(255, 255, 255);
}
 .calculation-section{
   position: absolute;
   display: none;
  transform: translate(-50%, -59%);
  flex-direction: column;
  border-radius: 10px;
  border: 1px dashed rgb(255, 255, 255);
  background-color: rgba(70, 100, 255, 0.7);
  padding: .5rem;
  width: 250px;
 }

 .price-container{
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: .5rem auto;
  align-items: center;
  font-size: 1.5rem;
 }

 .price{
  margin: .25rem;
  padding: .25rem;
  display: flex;
  align-items: center;
  background-color: rgb(249, 252, 255);
  border-radius: 10px;
  justify-content: center;
  width: 50%;
  font-weight: bolder;
  font-family: cursive;
  color: rgb(255, 70, 70);
 }

 .inputs{
  text-align: center;
  height: 42px;
  width: 77px;
  margin: 0 auto;
  color: rgb(7, 7, 7);
  border-radius: 10px;
  font-weight: bold;
  font-size: 29px;
  outline: none;
  border: none;
  background-color: hsla(250, 100%, 95%, 0.700);
  cursor: pointer;
  text-shadow: 1px 1px 0px white;
}
.addition-result{
  width: 100%;
  justify-content: center;
  display: flex;
  margin: .5rem auto;
  font-weight: bold;
  font-size: 1.25rem;
  align-items: center;
  font-family: cursive;
  text-shadow: 1px 1px 0px white;
}
.inputresult{
  width: 122px;
}
.addition{
display: flex;
align-items: center;
justify-content: center;
gap: .75rem;
font-size: 1.25rem;
font-family: cursive;
font-weight: bold;
}

.score-container{
  display: none;
  top: 0;
  position: absolute;
  right: 0;
  margin: .5rem;
  padding: .5rem;
  font-size: 1.25rem;
  font-weight: bolder;
  
  border-bottom: 1px solid green;
}
.increasingMoney{
  display: none;
  transform: translate(-50%, -50%);
  position: absolute;
  align-items: center;
  justify-content: center;
  background-color: rgb(34, 255, 0, 0.7);
  border-radius: 7px;
  font-size: 1.5rem;
  padding: .25rem ;
  font-weight: bold;
  text-shadow: 1px 1px 5px white;
  font-family: cursive;
  animation: .7s ease 1;
  opacity: 0;
  z-index: 2;
}

@keyframes money{
  0%{ opacity: 0;
    transform: scale(0);
  }
  100%{
    opacity: 1;
    transform: scale(1.5);
  }
}

.customer-attended{
  position: absolute;
  display: none;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 1px 1px 0px blueviolet;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  gap: 14px;
  top: 14%;
  transform: translate(-70%, -14%);
}

.close-store{
  display: none;
  bottom: 0;
}
.another-customer{
  bottom: 0;
}
.next-customer{
  position: absolute;
  display: none;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 1px 1px 0px blueviolet;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  gap: 14px;
  transform: translate(-50%, -50%);
}
.successful-dialog{
  display: flex;


}
.total-revenue-complete-chart{

  position: absolute;
  display: none;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 1px 1px 0px blueviolet;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  gap: 14px;
  transform: translate(-50%, -50%);
}

/* Division Section */
.division-section{

    position: absolute;
    top: 0;
    transform: translate(-100%, -0%);
    display: none;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: rgb(255, 255, 255);
    border: 2.5px solid rgb(14, 14, 14);
    padding: .5rem;
    font-size: 1.25rem;
    margin: 1rem;
  
}
.calculation-division{
  position: absolute;
  display: none;
  transform: translate(-50%, -59%);
  flex-direction: column;
  width: 250px;
  padding: .5rem;
  border: 1px dashed white;
  background-color: rgba(70, 70, 255, 0.7);
}
.itemsDivision{
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  height: 70px;width: 50%;
  justify-content: center;
  background-position: center;
  background-size: contain;
  margin: 0.75rem auto;
  background-color: #FFFFFF;
  border-radius: 10px;
}
.division-items{
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 80%;
  
  margin: 0 auto;
}
.division-money{
  font-weight: bold;
  color: green;
  font-family: cursive;
  text-shadow: 0px 0px 7px white;
}
.customer-assisted{

  position: absolute;
  display: none;
  background-color: white;
  padding: 1rem;
  max-width: 270px;
  border-radius: 10px;
  box-shadow: 1px 1px 0px rgb(101, 65, 134);
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 14px;
  font-size: 1.25rem;
  font-weight: bold;
  transform: translate(-70%, -100%);
}
.customer-span{
  margin: .25rem;
  display: flex;
  width: 100%;
  border-bottom: 1px solid grey; 
  color: green; 
  font-weight: bolder;
  justify-content: space-evenly;
}
.customer-doubt{
  position: absolute;
  top: 14%;
  padding: 2rem;
  display: flex;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-direction: column;
  background-color: white;
  transform: translate(-70%, -14%);
  border-radius: 10px;
  box-shadow: 1px 1px 0px rgb(100, 42, 145);
  font-size: 1.25rem;
  gap: 14px;

}
.calculation-subtraction{
  display: none;
  position: absolute;
  transform: translate(-50%, -59%);
  width: 250px;
  flex-direction: column;
  padding: .5rem;
  border: 1px dashed white;
  background-color: rgba(70, 70, 255, 0.7);
}
.customer-thankful{
  position: absolute;
  display: none;
  border-radius: 10px;
  flex-direction: column;
  top: 14%;
  box-shadow: 1px 1px 0px rgb(100, 45, 245);
  transform: translate(-70%, -14%);
  background-color: white;
  gap: 7px;
  font-size: 1.25rem;
  padding: 1rem;
}


.paragraph_text {
  padding: 1px 0;
  max-width: 1024px;
  margin-top: 20px;

  margin: 1rem auto;
  font-size: 1.25rem;

  text-align: left;
  line-height: 1.15;
  display: flex;
  align-items: center;
}
.head_text {
  margin: 1rem;
}
.paragraph_text p {
  text-wrap: balance;
}
.head_subtitle {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 1.1rem;
  color: green;
  line-height: 1.25;
}
.head_subtitle2 {
  text-align: left;
  margin-bottom: 1.1rem;
}

.image-section {
  width: fit-content;
  background-color: #98a8f8;
  box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
  margin: 1rem 0;
  border-radius: 10px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: .75rem;
}
.image-section img{
  width: 299px;
}
.head_section_li_n {
  line-height: 1.1;
}
.head_section_li_span {
  color: green;
  font-weight: 700;
}

  /* Section 2 */
  .section_2{
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    /* margin-top: 1rem;
    padding-top: 1rem; */
    padding-bottom: 1rem;
  
    text-align: center;
    display: flex;
    justify-content: center;
  }  
  .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 1rem;
  }
  .column-title h2{
    margin: 1rem 0rem;
    font-size: 1.75rem;
    font-weight: 700;
  }
  .row #column1, 
  .row #column2,
  .row #column3{
    width: 325px;
    height: auto;
    padding: 10px 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 7px rgb(100, 7, 255);
    gap: 7px;
  }
  .purple{
    background-color: rgba(250, 100, 250, 0.7);
  }
  .yellow{
  
    background-color: rgba(250, 250, 100, 0.7);
  }
  .red{
  
    background-color: rgba(250, 100, 100, 0.7);
  }
  .train_button {
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    background-color: #4CAF50; 
    color: white; 
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 16px 32px;
    margin: 4px  2px 1rem 2px;
    -webkit-transition-duration: 0.2s; /* Safari */
    transition-duration: 0.2s;
    cursor: pointer;
    margin-top: auto;
    align-self: center;
    box-shadow: 0px 0px 10px grey;
  }
  .train_button:hover {
    background-color: rgb(255, 255, 255);
    color: #4CAF50;
    transform: scale(1.1);
  }
  .img_boards{
    padding: .25rem;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  .column_paragraph_for_columns{
    text-align: left;
    padding: 1rem 1rem;
  }
  .more{
    border-top: 1px solid grey;
    margin: .5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    padding:1rem;
    color: rgb(255, 7, 7);
    text-shadow: 0px 0px 7px grey;
  }
  /* Section 2 */
  
@media (max-width:1250px){
  .main-container{
    width: 70%;
  }
}
@media (max-width: 768px){

  .main-container{
    width:100%
  }
}
@media (max-width: 575px){
  .main-container{
    height: 400px;
    overflow: scroll;
  }
  h1{
    font-size: 1.5rem;
  }
  .btn{
    font-size: 1rem;
  }
  .groceries-list{
    font-size: 1rem;
    border: 1px solid;
    margin: .5rem;
  }
  .dialog{

    padding: .25rem;
  }
  .item1{
    height: 42px;
  }
  .item2{
    height: 42px;
  }
  
  .price{
    padding: 0;
  }
  .price-container{
    font-size: 1rem;
  }
  .inputs{
    height: 32px;
    font-size: 1.15rem;
  }
  .calculation-section{
    padding: .15rem;
    transform: translate(-50%, -50%);
  }

  .customer-attended{
    font-size: 1.25rem;
    padding: 1.5rem;
  }
  .next-customer{
    font-size: 1.25rem;
    gap: 7px;
    padding: 1rem;
  }

.customer-doubt{
  padding: 1rem;
  font-size: 1rem;
}
  .i-need{
    padding: .15rem;
  }
  .division-section{
    font-size: 1rem;
    padding: .15rem;
    margin: .25rem;
  }
  .customer-assisted{
    padding: .5rem;
    font-size: 1rem;
  }
  .calculation-division{
    padding: .15rem;
  }
  .calculcation-division span{
    font-size: 1rem;
  }
  .click-message-before-next-customer{
    font-size: 1rem;
  }
  .total-revenue-complete-chart{
    padding: 1rem;
    font-size: 1.25rem;
  }

  .calculation-subtraction{
    padding: .25rem;
  }

}
@media (max-width:425px){
  
  .main-container{
    background-size: cover;
  }
  .calculation-section{
    transform: translate(-50%, -58%);
  }
}
