@charset "UTF-8";

html,
body * {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  font-family: 'Roboto', sans-serif;
  background-color: #ddf9fe;
}

main {
  width: 100%;
  height: 50rem;
}

#obj{
width: 100%;
}

.sect1,
.sect2,
.sect3,
.sect4,
.board {
  visibility: hidden;
  margin-top: 0;
}

.sect1,
.sect2,
.sect3,
.sect4 {
  margin-left: 15%;
}

/* CSS */
.intro,
.sect {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  /* Ensures sections take the full width of the container */
  height: 100%;
  /* Ensures sections take the full height of the container */
}

/* For intro section */
.intro {
  z-index: 1;
  /* Place intro section above other sections */
}

/* For other sections (.sect1, .sect2, .sect3, etc.) */
/* Adjust top values accordingly */
.sect1,
.sect2,
.sect3,
.sect4 {
  position: fixed;
  width: 70%;
  height: auto;
  visibility: hidden;
  top: 10px;
}

.sect {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  top: 10px;
}

.selection {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.sect object {
  width: 40%;
  padding: 0.5rem;
  margin-left: 7%;
}

.board {
  position: fixed;
  top: 79%;
  display: flex;
  width: 100%;
}

#item0,
#item1,
#item2,
#item3,
#item4,
#item5,
#item6,
#item7,
#item8,
#item9>img {
  width: 7rem;
  height: 7rem;
  padding: 1rem;
  margin: 1rem;
  margin-left: 2rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 2px grey;
  border: .2rem solid olive;
}

.buttons {
  margin: 1rem;
  margin-left: 4rem;
}

#btn0,
#btn1 {
  padding: .5rem;
  border: .5rem solid olive;
  border-radius: .3rem;
  box-shadow: 2px 2px 2px grey;
}

.scoreStyle {

  margin: 1rem;
  margin-left: 4rem;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 2px grey;
  border: .2rem solid olive;
  height: fit-content;

}

.timer {

  margin: 1rem;
  margin-left: 3rem;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 2px grey;
  border: .2rem solid olive;
  height: fit-content;

}

#score {
  color: olive;
  font-size: 3rem;
  margin-left: 3rem;
}

#time {
  color: olive;
  font-size: 2rem;
  margin-left: .7rem;
}

.boardLeft img {
  width: 100%;
}

@media (min-width: 992px) and (max-width:1280px) {
  .board {
    position: fixed;
    top: 63%;
    display: flex;
    width: 100%;
  }
}