@media screen and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
.images {
    width: 150px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.images2teddies {
    width: 190px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.images2dogs
{
    width: 180px;
    height: 130px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images2toyboats
{
    width: 150px;
    height: 140px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images3toyboats
{
    width: 200px;
    height: 140px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images1toyduck
{
    width: 80px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images3toyducks
{
    width: 250px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images2butterflies
{
    width: 150px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images4butterflies
{
    width: 150px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images1flower
{
    width: 40px;
    height: 140px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images5flowers
{
    width: 130px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images1hat
{
    width: 80px;
    height: 130px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images4hats
{
    width: 160px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images2apples
{
    width: 120px;
    height: 130px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images5apples
{
    width: 180px;
    height: 140px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images4oranges
{
    width: 130px;
    height: 130px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images1elephant
{
    width: 90px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}
.images6elephants
{
    width: 250px;
    height: 140px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.images2hippos
{
    width: 140px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.images6hippos
{
    width: 210px;
    height: 150px;
    display: inline-block;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
  }
  .images4grapes
  {
      width: 120px;
      height: 160px;
      display: inline-block;
      background-size: 95%;
      background-position: center;
      background-repeat: no-repeat;
  }

  .images5grapes
  {
      width: 180px;
      height: 160px;
      display: inline-block;
      background-size: 95%;
      background-position: center;
      background-repeat: no-repeat;
    }
/*First Level Start*/
#first-question-fist-image {
    background-image: url("../img/1rabbit.png");
}



#first-question-second-image {
    background-image: url("../img/plus.png");
}

#first-question-third-image {
    background-image: url("../img/1rabbit.png");
}

#first-question-fourth-image {
    background-image: url("../img/equal.png");
}

#first-answer-fist-image {
    background-image: url("../img/1.png");

}


#first-answer-second-image {
    background-image: url("../img/2.png");

}



#first-answer-third-image {
    background-image: url("../img/3.png");

}

/*First Level End*/


/*Second Level Start*/
#second-question-fist-image {
    background-image: url("../img/1teddy.png");
}

#second-question-second-image {
    background-image: url("../img/plus.png");
}

#second-question-third-image {
    background-image: url("../img/2teddies.png");
}

#second-question-fourth-image {
    background-image: url("../img/equal.png");
}

#second-answer-fist-image {
    background-image: url("../img/1.png");
}

#second-answer-second-image {
    background-image: url("../img/4.png");
}

#second-answer-third-image {
    background-image: url("../img/3.png");
}

/*Second Level End*/


/*Third Level Start*/
#third-question-fist-image {
    background-image: url("../img/2dogs.png");
}

#third-question-second-image {
    background-image: url("../img/plus.png");
}

#third-question-third-image {
    background-image: url("../img/2dogs.png");
}

#third-question-fourth-image {
    background-image: url("../img/equal.png");
}

#third-answer-fist-image {
    background-image: url("../img/4.png");
}

#third-answer-second-image {
    background-image: url("../img/5.png");
}

#third-answer-third-image {
    background-image: url("../img/3.png");
}

/*Third Level End*/

#fourth-question-fist-image {
    background-image: url("../img/2toyboats.png");
}

#fourth-question-second-image {
    background-image: url("../img/plus.png");
}

#fourth-question-third-image {
    background-image: url("../img/3toyboats.png");
}

#fourth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#fourth-answer-fist-image {
    background-image: url("../img/4.png");
}

#fourth-answer-second-image {
    background-image: url("../img/5.png");
}

#fourth-answer-third-image {
    background-image: url("../img/3.png");
}
/*Fourth Level End*/
#fifth-question-fist-image {
    background-image: url("../img/1toyduck.png");
}

#fifth-question-second-image {
    background-image: url("../img/plus.png");
}

#fifth-question-third-image {
    background-image: url("../img/3toyducks.png");
}

#fifth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#fifth-answer-fist-image {
    background-image: url("../img/4.png");
}

#fifth-answer-second-image {
    background-image: url("../img/5.png");
}

#fifth-answer-third-image {
    background-image: url("../img/3.png");
}
/*Fourth Level End*/
#sixth-question-fist-image {
    background-image: url("../img/2butterflies.png");
}

#sixth-question-second-image {
    background-image: url("../img/plus.png");
}

#sixth-question-third-image {
    background-image: url("../img/4butterflies2.png");
}

#sixth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#sixth-answer-fist-image {
    background-image: url("../img/4.png");
}

#sixth-answer-second-image {
    background-image: url("../img/5.png");
}

#sixth-answer-third-image {
    background-image: url("../img/6.png");
}
/*Fourth Level End*/
#seventh-question-fist-image {
    background-image: url("../img/1flower.png");
}

#seventh-question-second-image {
    background-image: url("../img/plus.png");
}

#seventh-question-third-image {
    background-image: url("../img/5flowers2.png");
}

#seventh-question-fourth-image {
    background-image: url("../img/equal.png");
}

#seventh-answer-fist-image {
    background-image: url("../img/5.png");
}

#seventh-answer-second-image {
    background-image: url("../img/6.png");
}

#seventh-answer-third-image {
    background-image: url("../img/7.png");
}
/*Fourth Level End*/
#eighth-question-fist-image {
    background-image: url("../img/1hat.png");
}

#eighth-question-second-image {
    background-image: url("../img/plus.png");
}

#eighth-question-third-image {
    background-image: url("../img/4hats.png");
}

#eighth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#eighth-answer-fist-image {
    background-image: url("../img/5.png");
}

#eighth-answer-second-image {
    background-image: url("../img/6.png");
}

#eighth-answer-third-image {
    background-image: url("../img/7.png");
}
/*Fourth Level End*/
#ninth-question-fist-image {
    background-image: url("../img/3balls.png");
}

#ninth-question-second-image {
    background-image: url("../img/plus.png");
}

#ninth-question-third-image {
    background-image: url("../img/3balls.png");
}

#ninth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#ninth-answer-fist-image {
    background-image: url("../img/5.png");
}

#ninth-answer-second-image {
    background-image: url("../img/6.png");
}

#ninth-answer-third-image {
    background-image: url("../img/7.png");
}

/*Fourth Level End*/
#tenth-question-fist-image {
    background-image: url("../img/2apples.png");
}

#tenth-question-second-image {
    background-image: url("../img/plus.png");
}

#tenth-question-third-image {
    background-image: url("../img/5apples.png");
}

#tenth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#tenth-answer-fist-image {
    background-image: url("../img/5.png");
}

#tenth-answer-second-image {
    background-image: url("../img/6.png");
}

#tenth-answer-third-image {
    background-image: url("../img/7.png");
}

/*Fourth Level End*/
#eleventh-question-fist-image {
    background-image: url("../img/4oranges.png");
}

#eleventh-question-second-image {
    background-image: url("../img/plus.png");
}

#eleventh-question-third-image {
    background-image: url("../img/4oranges.png");
}

#eleventh-question-fourth-image {
    background-image: url("../img/equal.png");
}

#eleventh-answer-fist-image {
    background-image: url("../img/6.png");
}

#eleventh-answer-second-image {
    background-image: url("../img/7.png");
}

#eleventh-answer-third-image {
    background-image: url("../img/8.png");
}

/*Fourth Level End*/
#twelfth-question-fist-image {
    background-image: url("../img/3flowers.png");
}

#twelfth-question-second-image {
    background-image: url("../img/plus.png");
}

#twelfth-question-third-image {
    background-image: url("../img/5flowers.png");
}

#twelfth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#twelfth-answer-fist-image {
    background-image: url("../img/6.png");
}

#twelfth-answer-second-image {
    background-image: url("../img/7.png");
}

#twelfth-answer-third-image {
    background-image: url("../img/8.png");
}

/*Fourth Level End*/
#thirteenth-question-fist-image {
    background-image: url("../img/1elephant.png");
}

#thirteenth-question-second-image {
    background-image: url("../img/plus.png");
}

#thirteenth-question-third-image {
    background-image: url("../img/6elephants.png");
}

#thirteenth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#thirteenth-answer-fist-image {
    background-image: url("../img/6.png");
}

#thirteenth-answer-second-image {
    background-image: url("../img/7.png");
}

#thirteenth-answer-third-image {
    background-image: url("../img/8.png");
}

/*Fourth Level End*/
#fourteenth-question-fist-image {
    background-image: url("../img/2hippos.png");
}

#fourteenth-question-second-image {
    background-image: url("../img/plus.png");
}

#fourteenth-question-third-image {
    background-image: url("../img/6hippos.png");
}

#fourteenth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#fourteenth-answer-fist-image {
    background-image: url("../img/6.png");
}

#fourteenth-answer-second-image {
    background-image: url("../img/7.png");
}

#fourteenth-answer-third-image {
    background-image: url("../img/8.png");
}

/*Fourth Level End*/
#fifteenth-question-fist-image {
    background-image: url("../img/4grapes.png");
}

#fifteenth-question-second-image {
    background-image: url("../img/plus.png");
}

#fifteenth-question-third-image {
    background-image: url("../img/5grapes.png");
}

#fifteenth-question-fourth-image {
    background-image: url("../img/equal.png");
}

#fifteenth-answer-fist-image {
    background-image: url("../img/7.png");
}

#fifteenth-answer-second-image {
    background-image: url("../img/8.png");
}

#fifteenth-answer-third-image {
    background-image: url("../img/9.png");
}

#second-level {
    display: none;
}

#third-level {
    display: none;
}

#fourth-level {
    display: none;
}

#fifth-level {
    display: none;
}

#sixth-level {
    display: none;
}

#seventh-level {
    display: none;
}

#eighth-level {
    display: none;
}

#ninth-level {
    display: none;
}

#tenth-level {
    display: none;
}

#eleventh-level {
    display: none;
}

#twelfth-level {
    display: none;
}

#thirteenth-level {
    display: none;
}


#fourteenth-level {
    display: none;
}

#fifteenth-level {
    display: none;
}

#sixteenth-level {
    display: none;
    text-align: left;
}


#welcome-message {
    text-align: center;
}

#first-answer div, #second-answer div, #third-answer div, #fourth-answer div, #fifth-answer div,
#sixth-answer div, #seventh-answer div, #eighth-answer div, #ninth-answer div, #tenth-answer div, #eleventh-answer div,
#twelfth-answer div, #thirteenth-answer div, #thirteenth-answer div, #fourteenth-answer div, #fifteenth-answer div {
    cursor: pointer;
}

#first-answer div:hover, #second-answer div:hover, #third-answer div:hover, #fourth-answer div:hover, #fifth-answer div:hover,
#sixth-answer div:hover, #seventh-answer div:hover, #eighth-answer div:hover, #ninth-answer div:hover, #tenth-answer div:hover,
#eleventh-answer div:hover, #twelfth-answer div:hover, #thirteenth-answer div:hover, #thirteenth-answer div:hover, #fourteenth-answer div:hover,
#fifteenth-answer div:hover {
    box-shadow: 0px 0px 4px 4px #888888;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlay img {
    width: 100px;
    position: absolute;
    top: 45%;
    left: 50%;
}

#overlay h1 {
    position: absolute;
    top: 60%;
    left: 42%;
}

#congratulations {
    background-image: url(../img/congratulations.gif);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 400px;
    margin-top: 50px;
}



.btn {
    cursor: pointer;
    color: #fff;
    background-color: #28a745;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:hover {
    color: #fff;
    background-color: #449d44;
}
