* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }
  body {
    background: hsla(245, 75%, 80%, 0.25);
    color:#070707;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    height: 100vh;
  }
  
  .main-container{
    background-color: #9ac4ff;
    position: relative;
    margin: 2rem auto;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    width: 700px;
    min-height: 550px;
    overflow: hidden;
    border: 1px solid grey;
  }

  .keyboard{
    width: 155px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    z-index: 1;
  }
  .button{
    width: 45px;
    height: 50px;
    border-radius: 5px;
    border: none;
    background-color: rgba(245, 17, 245, 0.705);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    
    z-index: 1;
  }

  .button:hover{
    transform: scale(1.05);
    background-color:rgb(255, 17, 255) ;
  }
  .input{
    height: 2.5rem;
    max-width: 135px;
    font-size: 1.5rem;
    border: 2px solid grey;
    font-weight: bolder;

    text-align: center;
    outline: none;
    border-radius:5px;
    cursor: pointer;
  }
  .container{
    display: flex;
    margin-bottom: 1.25rem;
    justify-content: center;
    /* position: relative; */
  }

  .input-container{
    display: flex;
    margin-bottom: .75rem;
    gap: 4px;
}
  .delete{
    width: 28px;
    height: auto;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: rgb(146, 146, 242);
    font-size: 1.25rem;
    text-align: center;
    font-weight: bolder;
    color: rgb(24, 24, 24);
  }
  .delete:hover{
    transform: scale(1.05);
    background-color: rgb(108, 108, 255);
  }

.digit1{
    font-size: 1.75rem;
    font-weight: 900;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 5px #070707;
}
.digit2{
  font-size: 1.75rem;
  font-weight: 900;
  color: rgb(255, 255, 255);
  
  text-shadow:1px 1px 5px #070707 ;
}
.sign{
  font-size: 2rem;
  font-weight: bolder;
  color: white;
  text-shadow: 1px 1px 5px #070707;
}

.score{
  font-size: 2.5rem;
  font-weight: bold;
  font-family: cursive;
  color: green;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.score span{
  font-size: 2.5rem;
  color: blue;
}
  .ballon{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width:120px;
    height: 145px;
    top: 12px;
    left: -155px;
    background: green;
    border-radius: 80%;
    gap: 7px;
    box-shadow: inset -10px -10px 0 rgba(0, 0, 0, 0.07);
    margin: 20px 30px;
    transition: transform 0.1s ease;
    animation: balloons 4s ease-in-out infinite;
    transform-origin: bottom center;
  }

  @keyframes balloons {
    0%, 100%{
        transform: translateY(0) rotate(-4deg);
    }
    50%{
        transform: translateY(-25px) rotate(4deg);
    }
  }
  .ballon:before{
    content: "▼";
    font-size: 20px;
    color: green;
    display: block;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: -12px;
    z-index: -100;
  }

  .ballon:after{
    display: inline-block;
    top: 150px;
    position: absolute;
    height: 150px;
    width: 1px;
    left: 60px;
    margin: 0 auto;
    content: "";
    background: rgba(0, 0, 0, 0.2);
  }
  .ballon:nth-child(2){
    background: hsl(245, 42%, 65%);
    animation-duration: 3.5s;
  }

.airplane {
  width: 500px;
  height: 80px;
  position: absolute;
  
  left:100%;
  margin: -100px 0 0 -100px;
  z-index: 0;
  /* animation: move2 28s ease infinite; */
}
.shuttle {
  width: 90px; 
  height: 25px; 
  background: #D85836;
  position: absolute;
  left: 0px; 
  top: 32px;
  border-radius: 50px 100px 200px 50px / 50px 20px 50px 50px;
  z-index: 2;
  transform: rotate(2deg);
  &:before{
    content: '';
    width: 30px; 
    height: 16px; 
    border-radius: 0 0 3px 80%;
    background: red;
    position: absolute;
    top: -10px; 
    right: -12px; 
    transform: rotate(-250deg);
  }
  &:after {
    content: '';
    width: 40px;
    height: 6px;
    border-radius: 10px 90% 90% 10px / 10px 10px 10px 10px;
    background: rgb(107, 0, 0);
    position: absolute;
    left: 10px;
    top: 56%;
    z-index: 3;
    transform: rotate(2deg);
  }
  .nose {
    left: -5px;
    top: 7px;
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 100px 100px 100px 100px;
    position: absolute;
  }
    .nose:before{
      content: '';
      width: 2px;
      height: 10px;
      background: #eee;
      position: absolute;
      top: -8px; 
      right: 5px;
      z-index: -1;
    }
    .nose:after{
      content: '';
      width: 2px;
      height: 10px;
      background: #eee;
      position: absolute;
      top: 8px;
      right: 5px;
      z-index: -1;
    }
  }
  .wings {
    content: '';
    width: 45px;
    height: 8px;
    border-radius: 10px 90% 90% 10px / 10px 10px 10px 10px;
    background: rgb(105, 0, 0);
    position: absolute;
    left: 10px;
    top: -50%;
    z-index: 3;
    transform: rotate(3deg);
    &:before{
      content: '';
      width: 2px;
      height: 22px;
      background: rgb(107, 0, 0);
      position: absolute;
      top: 8px; 
      left: 5px;
      z-index: 3;
    }
    &:after{
      content: '';
      width: 2px;
      height: 22px;
      background: rgb(101, 0, 0);
      position: absolute;
      top: 8px;
      right: 8px;
      z-index: 3;
    }
  }
  .cockpit {
      left: 20px;
      top: -10px;
      width: 20px;
      height: 20px;
      background: blue;
      border-radius: 100px 100px 100px 100px;
      position: absolute;
  }
@keyframes move2{
  100%{
    left: -500px;
  }
}

.cloud{
  display: flex;
  justify-content: center;
  align-items: center;
  left:950px;
	animation: move 7s ease infinite;
   border-radius:50%;
  position: absolute;
  top: 27px;
  z-index: 0;
  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;
}

@keyframes move{
  50% { transform: translateY(-7px); }
}
@media  (max-width:767px){
  .main-container{
    width: 100%;
  }
  .ballon{
    height:85px;
    width: 70px;
    left: -110px;
    gap: 4px;
  }
  .ballon:after{
    height: 75px;
    left: 34.5px;
    top: 90px;
    content: "";
  }
  .keyboard{
    width: 122px;
  }
  .input{
    width: 110px;
  }
  .button{
    width:35px;
    height: 42px;
  }
  .score{
    font-size: 1.75rem;
  }
  .score span{
    font-size: 1.75rem;
  }
  .digit1{
    font-size: 1.5rem;
    font-weight: bold;
  }
  .sign{
    font-size: 1.75rem;
    font-weight: bold;
  }
  .digit2{
    font-size: 1.5rem;
    font-weight: bold;
  }
  .cloud{
    left: 450px;
  }
  .container{
    margin-bottom: 4.25rem;
  }
}

.lives{
  display: flex;
  gap: 7px;
}
.gameover{
 width: 100%;
 height: 100%;
 z-index: 2;
 gap: 50px;
 display: flex;
 justify-content: center;
 align-items: center;
 position: absolute;
 flex-direction: column;
 font-size: 1.5rem;
 font-weight: bolder;
 text-shadow: 1px 1px 7px #673ab7;
 color: white;
  background-color: rgb(88, 152, 255);
}

.restart{
  width: max-content;
  cursor: pointer;
  font-weight: bolder;
  font-size: 1.25rem;
  border-radius: 15px;
  border: none;
  background-color: rgb(255, 255, 255);
box-shadow: 1px 1px 7px blue;
  padding: .5rem 1rem;
  text-align: center;
  color: #650000;
  height: 50px;
}
.restart:hover{
  transform: scale(1.1);
}
.stars{
  border: 1px solid blue;
  z-index: 1;
  height: 18px;
  display: flex;
  width: 18px;
  border-radius: 50%;
  gap: 7px;
  background-color: rgb(255, 149, 0);
}
/* Mountains */
.mountain-contai{
  position: absolute;
  bottom: 0;
}
.mountain, .mountain-two, .mountain-three {
  position: absolute;
  bottom: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 180px solid #7ac1e4;
  z-index: 0;
}
.mountain-two { 
  left: 150px;
  bottom: -20px;
  opacity: 1;
  z-index: 0;
}
.mountain-three {
  left: -110px;
  bottom:-10px;
  opacity: .4;
  z-index: 0;
}
.mountain-top {
  position: absolute;
  right: -65px;
  border-left: 65px solid transparent;
  border-right: 65px solid transparent;
  border-bottom: 77px solid #ceeaf6;
  z-index: 2;
}
.mountain-cap-1, .mountain-cap-2, .mountain-cap-3 {
  position: absolute;
  top: 70px;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #ceeaf6;
}
.mountain-cap-1 { left: -55px; }
.mountain-cap-2 { left: -25px; }
.mountain-cap-3 { left: 5px; }

.gamestart{
  background-position: bottom center;
  background-image: url(/imgs/balloons_background.svg);
  background-repeat: no-repeat;
  background-size: 90%;
  width: 100%;
  height: 100%;
  z-index: 2;
  gap: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  flex-direction: column;
  font-size: 2.75rem;
  letter-spacing: 2px;
  font-weight: bolder;
  text-shadow: 1px 1px 0px #673ab7;
  color: #faf7f0;
  border-radius: 10px;
  background-color: #9ac4ff;
 }

 .instructions{
  width: 100%;
  height: 100%;
  z-index: 2;
  display: none;
  position: absolute;
  flex-direction: column;
  color: #673ab7;
  border-radius: 10px;
  background-color: #9ac4ff;
  padding: 1.25rem;
 }

 .instructions button{margin-top: 2rem;}
.title{
  text-align: center;
  font-size: 2rem;
  font-weight: bolder;
  text-shadow: 1px 1px 0px blueviolet;
  letter-spacing: 2px;
 }
.game{
  display: flex;
  margin: 1rem;
  justify-content: center;
}
 .paragraph{font-size: 1.5rem; 
  color:#650000; 
  font-weight: bold; 
  letter-spacing: 1px;
  margin: .25rem; text-shadow: 1px 1px 0px blueviolet; }

  .start-btn{
    width: max-content;
    display: flex;
    cursor: pointer;
    font-weight: bolder;
    font-size: 2.25rem;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: rgb(255, 255, 255);
    box-shadow: 1px 1px 7px blue;
    padding: 1rem 1.75rem;
    color: #650000;
    height: 50px;
    margin: 0 auto;
  }
  .start-btn:hover{
    transform: scale(1.1);
  }


  .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: max-content;
    background-color: #98a8f8;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
    margin: 1rem 0;
    border-radius: 10px;
    display: flex;
    padding: 1rem;
  }
  .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 screen and (max-width: 475px){
    .paragraph{
      font-size: 1.15rem;
    }
    .gamestart{
      background-position:right;
    }
    .instructions button{
      margin-top: 1.5rem;
    }
  }