@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Dancing+Script&display=swap');
/* START: LAYOUT */
body {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    margin-left: 13%;
    margin-right: 13%;
    color: black;
    overflow-x: hidden;
}
footer { font-size: xx-small; }
section { 
    margin: 0 auto 40px;
}

.flex-column { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.dummyspace { width: 10vw; }
.img-container-outer { 
    min-width: 30%; 
    width: 40vw;
}
.img-container-inner {
    display: inline-block;
    position: relative;
}

.hidden { display: none; }
.mob-only { display: none; }
.pc-only { display: block; }
.uk-margin-auto { margin-left: auto; margin-right: auto; }
.ilb { display: inline-block; }
.no-wrap { white-space: nowrap; }
/* END: LAYOUT */

/* START: BUTTON */
.button { text-align: center; }
.button p {
    margin-bottom: 1px;
    font-weight: 600;
    color: #6bb6ff;
    letter-spacing: 0.04rem;
    display: inline-block;
    position: relative;
    font-size: large;
    width: 300px;
    padding: 15px;
}
.button p:before, .button p:after {
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1.5px;
    border-radius: 5px;
    background-color: #6bb6ff;
    content: "";
}
.button p:before {
    left: -5px;
    -webkit-transform: rotate( 60deg );
    transform: rotate( 60deg );
}
.button p:after {
    right: -5px;
    -webkit-transform: rotate( -60deg );
    transform: rotate( -60deg );
}
.button button, .button a{
    background: #ffffff;
    border: 0.1px solid #9fbaff;
    border-radius: 30px;
    box-shadow: 0 0px 0px #4f96f6, 0 3px 7px #2F2FFF;
    position: relative;
    transition: all .5s;
    padding: 15px 30px;
    color: #2F2FFF;
    font-weight: bolder;
    font-size: large;
}
.button button:hover, .button a:hover {
    text-decoration: none;
    background:#2F2FFF;
    color: #ffffff
}
.button button:active, .button a:active {
    text-decoration: none;
    background:#666666;
    box-shadow: 0 0px 10px #8282FF;
    box-shadow: 0 5px 0px #6262CC,0 4px 10px #8282FF;
}

#btn_nextPage {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#btn_nextPage:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* END: BUTTON */
    
/* START: FONTS */
.header-text h1 {
    font-family: 'Blackletter', 'Old English', 'Gothic', serif;
    position: absolute; 
    right:0; 
    top:0; 
    padding-top: 20px; 
    padding-right: 20px;
    color: blue;
    font-size: 16px;
    width: fit-content; 
    font-weight: bold;
}
.back-btn {
    position: absolute; 
    left:0; 
    top:0; 
    padding-top: 20px; 
    padding-left: 20px;
    color: grey;
    cursor: pointer;
    width: fit-content; 
    font-weight: bold;
}

.title1 {
    font-size: 1.7em;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 60px;
}
.title2 {
    font-size: 1.5em;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;
}
.result-title1 {
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 15px;
}
.result-title2 {
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
    font-size: 1.5em; 
    font-weight: bold;
    position: relative;
}
p {
    line-height: 30px;
    font-size: normal;
}
.fixed-small, .fixed-small span{
    font-size: small;
    line-height: 20px;
    color: grey;
}
/* END: FONTS*/

/* START: MODAL */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(255,255,255,1); 
}
.modal-content {
    background-color: #c8f1e4;
    margin: 2% auto; 
    padding: 20px;
    border-radius: 30px;
    border: 1px solid #888;
    max-width: 780px; 
    width: 100%;
    height: 90vh;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content h3 {
    font-size: 16px;
}
.button_modal button {
    text-decoration: none;
    position: relative;
    transition: all .5s;
    padding: 15px 30px;
    font-weight: bolder; 
    color: white;
}
/* END: MODAL */

/* START: MODAL-BUTTON-JUMP_TO_TEST */
#btn_gototest_dummy {
    margin: 20px;
    padding: 20px;
    border-width: 0;
    border-radius: 50px;
    background-image: url('../images/btn_gototest.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}
#btn_gototest {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 20px;
    padding: 20px;
    border-width: 0;
    border-radius: 50px;
    z-index: 1000;
    background-image: url('../images/btn_gototest.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}
#btn_gototest:hover {
    transform: scale(1.03);
    opacity: 1;
    transition: all 0.5s;
}

#btn_gototest span {
    color: white;
    font-size: xx-large;
}
#btn_gototest_wol {
    margin: 20px;
    padding: 20px;
    border-width: 0;
    border-radius: 50px;
    background-image: url('../images/btn_gototest_green.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
#btn_gototest_mindlevel {
    margin: 20px;
    padding: 20px;
    border-width: 0;
    border-radius: 50px;
    background-image: url('../images/btn_gototest_orange.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
#btn_gotoresult {
    width: 250px;
    height: 100px;
    border-width: 0;
    background-image: url('../images/btn_gotoresult_blue.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    color: white; font-weight: bold; font-size: large;
}
#btn_gotoresult:hover, #btn_gototest_wol:hover, #btn_gototest_mindlevel:hover {
    transform: scale(1.03);
}
/* END: MODAL-BUTTON-JUMP_TO_TEST */


@media (max-width: 500px) {
    body { margin: 0; }
    .mob-no-padding { padding: 15px; }
    .mob-flex-column { flex-direction: column; }
    .mob-flex-row { flex-direction: row; }
    .mob-only { display: block; }
    .pc-only { display: none; }
    .dummyspace { width: 0; }
    .img-container-outer { 
        min-width: 100%; 
        width: 90vw;
    }
    .modal-content { width: 90vw; padding: 5px; }
    .title1 { font-size: 1.5em; }
    .title2, .result-title1, .result-title2 { font-size: 1.1em; font-weight: bold; }
}