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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #007bff;
    font-family: 'Lora', serif;
}

.info_box,
.info_start {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info_box.activeInfo {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.test_box.activeTest {
    display: block;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 1%) scale(1);
}

/* START BUTTON */

.start_btn button {
    width: 500px;
    font-size: 25px;
    font-weight: 500;
    color: #007bff;
    padding: 15px 30px;
    outline: none;
    border: 1px solid #007bff;
    border-radius: 5px;
    /* background: #fff; */
    cursor: pointer;
}

.info_start .start_btn {
    margin: 40px 0px;
}

.info_box {
    /*display: none; /* WYSWIETLANIE */
    width: 700px;
    background: #fff;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%) scale(0.7);
}

.info_start {
    width: 800px;
    background: #fff;
    border-radius: 5px;
}

.info_start .info_start_tittle {
    font-size: 42px;
    text-align: center;
    margin-top: 40px;
}

.info_start .info_start_txt {
    margin: 40px;
    padding: 10px;
    font-size: 22px;
    border-radius: 5px;
    text-align: center;
    background: #f2f2f2;
}

.info_start .info_start_img {
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info_start .info_start_img img {
    width: 200px;
}

.info_box .info_tittle {
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 35px;
    font-size: 26px;
    font-weight: 600;
}

.info_box .info_list {
    padding: 15px 35px;
}

.info_box .info_list .info {
    margin: 5px 0;
    font-size: 22px;
}

.info_box .info_list .info span {
    font-weight: 600;
    color: #007bff;
}

.info_box .buttons {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 35px;
    border-top: 1px solid lightgrey;
}

.info_box .buttons button {
    margin: 0 5px;
    height: 40px;
    width: 100px;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons button.restart {
    color: #fff;
    background: #007bff;
}

.buttons button.restart:hover {
    background: #0263ca;
}

.buttons button.quit {
    color: #007bff;
}

.buttons button.quit:hover {
    color: #fff;
    background: #007bff;
}

/* test box */

.test_box {
    display: none;
    width: 750px;
    background: #fff;
    border-radius: 5px;
    padding: 25px 30px;
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s ease;
    transform: translate(-50%, 1%) scale(0.7);
    margin: 10px 0;
}

.test_box:after {
    position: absolute;
    content: "";
    bottom: -10px;
    height: 10px;
    width: 1px;
}

.test_box header {
    height: 70px;
    padding: 0 30px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px 5px 0 0;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
}

.test_box header .tittle {
    font-size: 28px;
    font-weight: 500;
    color: #003E80;
}

.test_box header .postep {
    display: flex;
    height: 45px;
    width: 150px;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    background: #f2f2f2;
    border-radius: 5px;
    padding: 0 10px;
}


/* qboxy -------------------------------- */

.test_box .BigQbox .qbox_1 {
    border-bottom: 2px solid pink;
}

.test_box .BigQbox .qbox_2 {
    border-bottom: 2px solid blue;
}

.test_box .BigQbox .qbox_3 {
    border-bottom: 2px solid orange;
    /* visibility: hidden; */
}

.test_box .BigQbox .qbox_4 {
    border-bottom: 2px solid green;
}

.test_box .BigQbox .qbox_5 {
    border-bottom: 2px solid pink;
}

/* ----------------------------------- */

.test_box .next_btn {
    margin: 0 5px;
    height: 40px;
    width: 100px;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #fff;
    background: #007bff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test_box .previous_btn {
    margin: 0 5px;
    height: 40px;
    width: 100px;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #fff;
    background: #007bff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test_box .validation_alert {
    opacity: 0;
    margin-bottom: 25px;
    margin: auto;
    padding: 10px;
    height: 40px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid red;
    text-align: center;
    color: rgb(255, 0, 0);
    background: #ffc1c1;
    font-size: 16px;
    font-weight: 100;
    transition: all 0.2s ease;
}

.alert_active {
    opacity: 1;
    margin-bottom: 25px;
    padding: 10px;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid red;
    text-align: center;
    color: rgb(255, 0, 0);
    background: #ffc1c1;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.test_box .BigQbox input[type=submit] {
    margin: 0 0px;
    margin-bottom: 25px;
    height: 46px;
    width: 100%;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #fff;
    background: #007bff;
    font-size: 18px;
    font-weight: 500;
}

.test_box .BigQbox input[type=submit]:hover {
    background: #046ddd;
    cursor: pointer;
    text-decoration: underline;
}

/* Edwin */

select {
    width: 100%;
    min-height: 150px;
    margin-bottom: 20px;
}

label {
    /* display: block; */
    position: relative;
    cursor: pointer;
    padding-left: 25px;
    margin-right: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.select {
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #cccccc;
}

label:hover input~.select {
    background-color: #ccc;
}

label input:checked~.select {
    background-color: #007bff;
}

.select:after {
    content: "";
    position: absolute;
    display: none;
}

label input:checked~.select:after {
    display: block;
}

label .select:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

ul {
    list-style-type: none;
}

li {
    margin-top: 5px;
}