

* {
    box-sizing: border-box;
}

body{
    font-family: 'Alef', sans-serif;
    direction: rtl;
    background: url("./assets/bgGround.png") top center no-repeat;
    background-position: center;
    min-height: 100vh;
    /* font-family: Arial, Helvetica, sans-serif; */
    margin: 0;
    padding: 0;

}
.container {
    height: 100vh;
    overflow: auto;
    width: 100%;
    background: url("./assets/לוגו_קקל_חטיבה_לחינוך_ולקהילה.png") bottom left no-repeat;
    background-position-x: 10%;
    background-position-y: 97%;
  }
  .content{
    max-width: 750px;
    margin: 0 auto; 
    text-align: center;
  }
  .logoImg{
    margin-top: 150px;
    width: 340px;
    height:auto;
  }
  .nextBtn {
    font-family: 'Alef', sans-serif;
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 8px 16px; 
    border-radius: 8px; 
    border: 2px solid #000;
    background-color: #fff; 
    color: #9E3B1B; 
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease; 
  }
  .nextBtn:hover {
    background-color: #85c252; 
    color:#fff;
  }
.brownColor{
    color: #8B0000;
    font-weight: bold;
}
.clear{
    clear: both;
}
  .bg2 {
    width: 100%;
    text-align: center;
    background: url("./assets/bg2.png") top center no-repeat;
    background-size: 150%;
  }
  .text2 {
        margin-right: auto;
        margin-left: auto;
        padding-top: 100px;
        padding-bottom: 20px;
        min-height: 1000px;
        height: fit-content;
        width: 80%;
        text-align: right;
        font-size: 22px;
        line-height: 40px;
  }
.kids{
    width: 130px;
}
.joinThem{
    position: relative;
    width: 80%;
    padding: 30px;
    border-radius: 15px;
    margin-right: auto;
    margin-left: auto;
    background: #ebe18a;
    font-size: 40px;
    line-height: 50px;

}
.joinThem::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./assets/81.png) bottom left no-repeat;
    background-size: 25%;
      transform: rotate(-8deg); 
  }
 
  .bg3 {
    width: 100%;
    text-align: center;
    background: url("./assets/bg3.png") top center no-repeat;
    /* background-size: contain; */
    background-size: 115% 90%;

  }
  .text3 {
    padding-top: 70px;
    text-align: center;
    line-height: 25px;
  }
  .solution{
    margin-right: auto;
    margin-left: auto;
    width: 400px;
    text-align: center;
    position: relative;
  }
  .solution .formSol{
    width: 400px;
    height: 400px;
    background: url('./assets/solution.png') center no-repeat;
    background-size: contain;
    padding-top: 160px;
    box-sizing: border-box;
  }
  .solution img{
    width: 400px;
  }
  .helpDiv img{
    width: 300px;
  }
  .formSol .form{
    margin-left: 50px; 
  }
  .formSol input{
    background: #3eb1e9;
    height: 40px;
    font-size: 30px;
    width: 30px;
    margin-left: 5px;
    margin-bottom: 10px;
    border: 0;
  }
  .codeques{
    width:200px;
  }
  .know{
    width:200px;
    float:right;
    transform: rotate(25deg);
  }
  .greenknow{
    width:200px;
    float:left;
    transform: rotate(-25deg);
  }
  .help{
    width:200px;
  }
h2{
    color:#9E3B1B;
}
.correctAns{
  margin-right: auto;
  margin-left: auto;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 30px;
  width: 650px;
  height: fit-content;
  background-color: #ebe18a;
  font-size: 22px;
  line-height: 40px;
  border-radius: 50px;
  text-align: center;
}
.titleCor{
  color:#9E3B1B;
  font-weight: bold;
}
.knowTxt{
  text-align: right;
}
.knowTitle{
  color:#021678;
  font-weight: bold;
  background: url('./assets/know.png') no-repeat;
  background-size: contain;
  background-position-x: 380px;
  font-size: 40px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  overflow: auto;
  text-align: center;
}

.modal-content {
  background: url("./assets/openHelp.png") top center no-repeat;
  background-size: contain;
  margin: auto auto;
  width: 90%;
  max-width: 900px;
  height: 660px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* .modal-content img{
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
} */
.modal-text {
  margin-top: 24%;
  width: 140px;
  margin-right: auto;
  margin-left: auto;
  color: white;
  font-size: 22px;
  /* position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 10px; 
border-radius: 50%; 
z-index: 1; */
}
/* Close button style */
.close {
  color:  white;
  /* float: right; */
  font-size: 38px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.ytVideoDiv{
  display: none;
  background-color: rgba(37, 49, 141, 0.9);
  margin: 40px auto;
  width: 90%;
  max-width: 900px;
  height: fit-content;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#ytVideo{
margin-top: 50px;
margin-bottom: 50px;
width: auto;
}
  @media screen and (max-width: 960px) {
body{
    background-size: 100vw 100vh;
    background-position-y: top;
    min-height: 97vh;
  }
  .content{
    max-width: 90%;
  }
  .bg2 {
    background-size: 600%;
  }
  .bg3 {
    background-size: 115% 100%;
  }
  .know{
    width:120px;
  }
  .solution{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .solution .formSol{
    width: 100%;
  }
  .solution img{
    width: 90%;
  }
  .greenknow{
    width:120px;
  }
  .correctAns{
    width: 280px;
  }
  .knowTitle{
    background-position-x: 185px;
  }
  .modal-content{
    margin-top: 100px;
    height: 400px;
  }
  .modal-text {
    margin-top: 34%;
    font-size: 16px;
    }
    /* .container {
      width: 100%;
    } */
  }


  

  