@import url("https://fonts.googleapis.com/css2?family=Spinnaker&display=swap");

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

.container {
  position: relative;
  height: 250px;
  width: 300px;
  overflow: hidden;
  visibility: hidden;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  z-index: 100;
  font-family: "Spinnaker", sans-serif;
  font-weight: normal;
  text-align: center;
}

/* car */

#car_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

/* boat */

#boat_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

/* train */

#train_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

/* bike */

#train_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

/* plane */

#plane_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

/* bus */

#bus_text {
  position: absolute;
  top: 30px;
  left: 113px;
}

#car_layer,
#car_text,
#boat_layer,
#boat_text,
#train_layer,
#train_text,
#bike_layer,
#bike_text,
#bus_layer,
#bus_text,
#plane_layer,
#plane_text,
#camera,
#passport,
#tickets,
#luggage,
#money,
#and_text,
#olivia,
#jack,
#bon_text,
#voyage_text {
  opacity: 0;
}

/* Code below for the button */

.btn {
  height: 30px;
  width: 60px;
  background-color: rgb(0, 0, 0);
  position: fixed;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  left: 10px;
  z-index: 100;
  color: white;
  box-shadow: none;
  border: none;
  font-size: 15px;
  border: 1px solid black;
}

.btn:hover {
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

#pause {
  left: 10px;
  top: 260px;
}
