* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    width: 1024px;
    height: 700px;
    overflow: hidden;
    background-image: url('../images/ELEM4-030B-2-02.png');
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
}

body {
    position: relative;
}

#content {
    opacity: 0;
}

#info {
    position: absolute;
    top: 74px;
    left: 170px;
    width: 624px;
    height: 400px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #1F83AF;
    border-radius: 20px;
    color: #ddd5d5;
    z-index: 1;
}
#info #text1 {
    text-align: center;
    padding: 30px;
    line-height: 2.5em;
}

#closeButton {
    background: url('../images/Play-01.png');
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#closeButton2 {
    background: #FAA01C;
    border-radius: 10px;
    cursor: pointer;
    width: 90px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}

#conclusion {
    opacity: 0;
    position: absolute;
    top: 200px;
    left: 170px;
    width: 624px;
    height: 200px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #1F83AF;
    border-radius: 20px;
    color: #ddd5d5;
    z-index: -1;
}
#conclusion #text2 {
    text-align: center;
    padding: 30px;
    line-height: 2.5em;
}

button {
    width: 100px;
    height: 40px;
    background: lightblue;
    border: 1px solid #9d9dec;
    cursor: pointer;
}
button:hover {
    background: #c6e0e9;
}

#infoButton {
    position: absolute;
    top: 565px;
    left: 750px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1F83AF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}
/*#infoButton:hover {*/
/*    background: #5fc9eb;*/
/*}*/

#hanging-magnet {
    position: absolute;
    top: 253px;
    left: 418px;
    transition: 1.5s;
    width: 134px;
    height: auto;
}

#hand-magnet {
    position: absolute;
    top: 298px;
    left: 665px;
}

.slidecontainer {
    position: absolute;
    top: 575px;
    left: 212px;
    color: #faecec;
}

.slider {
    margin: 5px 0;
    -webkit-appearance: none;
    width: 250px;
    height: 15px;
    border-radius: 5px;
    /*background: #d3d3d3;*/
    background: red;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #b802b8;
    cursor: pointer;
    border: 5px solid white;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: yellowgreen;
    cursor: pointer;
    border: 5px solid white;
}

.slide-choose {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: white;
}
.slide-north {
    width: 50%;
    /*background-color: red;*/
    text-align: end;
    padding: 5px;
}
.slide-south {
    width: 50%;
    /*background-color: blue;*/
    padding: 5px;
}

#slider-text {
    position: absolute;
    top: 635px;
    left: 218px;
    color: white;
    font-size: 24px;
}

#start-button {
    position: absolute;
    left: 539px;
    top: 565px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#start-text {
    position: absolute;
    top: 626px;
    left: 526px;
    color: white;
}

#reset-button {
    position: absolute;
    left: 652px;
    top: 565px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#reset-text {
    position: absolute;
    top: 626px;
    left: 643px;
    color: white;
}
