body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 90%);
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
#myH1{
    font-size: 4rem;
    color: hsl(0, 0%, 25%);
}
#container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border: 5px solid;
    border-radius: 50px;
    background-color: white;
}
#display {
    font-size: 30px;
    font-weight: bold;
    color: hsl(0, 0%, 30%);
    text-shadow: 2px 2px 2px hsla(0, 0%, 0%, 0.75);
    margin-bottom: 10px;
    background: none; /* Läbipaistev taust */
    border: none; /* Eemaldame piiri */
    outline: none; /* Eemaldame fookuse äärise */
    text-align: center; /* Keskele joondamine */
    width: 160px; /* Nupu laius */
    display: inline-block; /* Inline blokk, et oleks sarnane originaalsele kujule */
    cursor: text; /* Muudame kursorit, et oleks sarnane tekstiväljale */
}

#controls button{
    font-size: 15px;
    font-weight: bold;
    padding: 1px 1px;
    margin: 0px;
    min-width: 80px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    transition: background-color 0.5s ease;
}
#startBtn { 
    background-image: url('play.png'); /* Määrame taustapildi */
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame tausta */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}


#startBtn:hover {
    background-image: url('play.png'); /* Määrame taustapildi */
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: rgba(255, 255, 255, 0.304); /* Kerge varjund hoveri ajal */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}

#stopBtn{
    background-image: url('stop.png'); /* Määrame taustapildi */
    
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame tausta */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}
#stopBtn:hover{
    background-image: url('stop.png'); /* Määrame taustapildi */
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: rgba(255, 255, 255, 0.304); /* Kerge varjund hoveri ajal */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}
#resetBtn{  
    background-image: url('rewind.png'); /* Määrame taustapildi */
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame tausta */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}
#resetBtn:hover{
    background-image: url('rewind.png'); /* Määrame taustapildi */
    background-position: center center; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: rgba(255, 255, 255, 0.304); /* Kerge varjund hoveri ajal */
    width: 5px; /* Nupu laius */
    height: 60px; /* Nupu kõrgus */
    background-size: 40%; /* Pilt on 80% oma algsuurusest */
}

#otsiBtn{
    background-color: hsl(0, 0%, 69%);
    color: black;
    border-radius: 50px;
    border-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    font-size: 15px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}
#otsiBtn:hover{
    background-color: hsl(0, 0%, 82%);
    color: black;
    border-radius: 50px;
    border-color: transparent;
    padding: 20px;
    border-radius: 10px;
    font-size: 15px;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4);
}

h1#header {
    padding: 25px;
}

div#timer {
    background-color: inherit;
    border: none;
}

#word {
    font-size: 30px;
    color: hsl(0, 0%, 25%);
    padding: 10px;
    margin-bottom: 50px;
}

#kergeBtn {
    font-size: 20px;
    background-color: #eee8aa;
    color: hsl(0, 0%, 25%);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 60px;
    padding-right: 60px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

#keskmineBtn {
    font-size: 20px;
    background-color: #87ceeb;
    color: hsl(0, 0%, 25%);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 45px;
    padding-right: 45px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

#raskeBtn {
    font-size: 20px;
    background-color: #ffc0cb;
    color: hsl(0, 0%, 25%);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 60px;
    padding-right: 60px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 60px;
}

#yes {
    font-size: 15px;
    background-color: rgb(71, 107, 150);
    color: hsl(0, 0%, 100%);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    margin-right: 20px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);

}
#yes:hover {
    font-size: 15px;
    background-color: rgb(94, 138, 193);
    color: hsl(0, 0%, 100%);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    margin-right: 20px;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4);
}

#header {
    background-color: lightgray;
    color: hsl(0, 0%, 25%);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: inherit;
    padding-left: inherit;

}

.algus-bg {
    background-image: url('whitebubble.png'); /* Määrame taustapildi */
    background-size: 80% 35%; /* Pilt on 70% lai ja 100% kõrge */
    background-position: center top; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame valge tausta */

}

body {
    background-image: url('bible-sm1.jpg'); /* Määrame taustapildi */
    background-size: auto 130%; /* Pilt säilitab oma kõrguse 100% ja kärbib külgedelt */
    background-position: center top; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    height: 100vh; /* Div hõlmab kogu nähtava akna kõrguse */
    width: 100%; /* Laius on 100% */
  }
  

/* Muudame sisu loetavaks, lisades poolläbipaistva taustakihi */
#background-section h1, #background-section h2, #container {
  background-color: rgba(255, 255, 255, 0.8); /* Valge läbipaistev taust */
  padding: 20px;
  border-radius: 10px;
  display: inline-block; /* Säilitab tekstikasti kuju */
}

/* Taustavärvid kategooriate jaoks */
.kerged-bg {
    background-image: url('yellowbubble.png'); /* Määrame taustapildi */
    background-size: 100% 45%; /* Pilt on 70% lai ja 100% kõrge */
    background-position: center top; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame valge tausta */
}

.keskmised-bg {
    background-image: url('bubbleblue.png'); /* Määrame taustapildi */
    background-size: 100% 45%; /* Pilt on 70% lai ja 100% kõrge */
    background-position: center top; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame valge tausta */
}

.rasked-bg {
    background-image: url('pinkbubble.png'); /* Määrame taustapildi */
    background-size: 100% 45%; /* Pilt on 70% lai ja 100% kõrge */
    background-position: center top; /* Pilt keskendub */
    background-repeat: no-repeat; /* Pilt ei korda ennast */
    background-color: transparent; /* Eemaldame valge tausta */
}


#gems {
   max-height: 20px;
    max-width: 20px;
}

@media only screen and (max-width: 500px) {
  .target {
    padding-bottom: 100px;
}
    
}
