:root {
    --bignavpadleft: clamp(15px, 3.6vw, 100px);
    --bignavpadright: clamp(15px, 3.6vw, 100px);
    --padleftsmall: clamp(15px, 14vw, 270px);
    --padrightsmall: clamp(15px, 14vw, 270px);
    --padleft: clamp(15px, 21.5vw, 413px);
    --padright: clamp(15px, 21.5vw, 413px);
    --toppad: clamp(40px, 7.8vw, 100px);
    --botpad: clamp(40px, 7.8vw, 100px);


    --padleftsmallmobile: clamp(15px, 6vw, 100px);
    --padrightsmallmobile: clamp(15px, 6vw, 100px);
    --padleftmobile: clamp(15px, 9vw, 200px);
    --padrightmovile: clamp(15px, 9vw, 200px);
}

body{
    color: #4E4E4E;
    background-color: #F1F1F1;
}

.project-pads{
    padding-left: var(--padleft);
    padding-right: var(--padright);   
}

.project-pads-small{
    padding-left: var(--padleftsmall);
    padding-right: var(--padrightsmall);   
}

@media (max-width: 1000px) {
    .project-pads-small{
        padding-left: var(--padleftsmallmobile);
        padding-right: var(--padrightsmallmobile);   
    }
    .project-pads{
        padding-left: var(--padleftmobile);
        padding-right: var(--padrightmovile);   
    }
}


.navpad-big{
    padding-left: var(--bignavpadleft);
    padding-right: var(--bignavpadright);
}


.topbot-pad{
    padding-top: var(--toppad);
    padding-bottom: var(--botpad);
}

.toppad{
    padding-top: var(--toppad); 
}

.botpad{
    padding-bottom: var(--botpad);
}

h1{
    font-size: var(--font34);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.1em;
}

h2{
    font-size: var(--font34);
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.1em;
}

h2.minbot{
    margin-bottom: 0px;
}

h3{
    font-size: var(--font27);
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

h4{
    font-size: var(--font24);
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

h5{
    font-size: var(--font16);
    margin-top: 30px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #F07167;
}


p{
    font-size: var(--font20);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}


a, li{
    font-size: var(--font22);
    font-family: 'Nunito', sans-serif;
}

#topnav-left, #topnav-right{
    display: flex;
    gap: 20px;
    width: fit-content;
}

#topnav-left {align-items:center;}

#topnav-right{
    flex-direction: row-reverse;
    justify-self: end;
}

#topnav{
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #FAFAFA;
    border-bottom: 1px solid #E3E3E3;
}

#topnav a, #topnav p{
    font-size: var(--font12);
    color: #0081A7;
    font-weight: 800;
}

#topnav p{
   cursor: pointer;
}

#topnav a:hover, #topnav p:hover{
    color: #026E8E;
}

.width34, .width24{
    width: 34%;
    margin: 0 auto;
    text-align: center;
}

.width24{
    width: 24%;
}

#icebreaker img{
    margin: 0 auto;
}

#imagetext{
    border-bottom: 1px solid #E3E3E3;
}

#imagetext-helper{
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 8%, 153px);
}

#imagetext-helper .imagetext-content, .imagetext-content-image{
    width: 46%
}

#imagetext-helper.right{
    flex-direction: row-reverse;
}

#imagetext h2{
    color: #707070;
}

#imagetext p{
    color: #4E4E4E;
}

#imagetext a{
    color: #0081A7;
    text-decoration: none;
}

#imagetext a:hover{
    color: #026E8E;
    text-decoration: underline;
}

#imagetext a.btn{
    color: #fff;
    margin-top: 40px;
}

#imagetext a.btn:hover{
    text-decoration: none;
}

.btn{
    color: #fff;
    background-color: #00AFB9;
    padding: 13px 25px 10px 25px;
    margin-top: 20px;
    display: block;
    width: fit-content;
    font-size: var(--font14);
    font-weight: 800;
    border-radius: 4px;
}

.btn:hover{
    background-color: #039BA3;
}


.bubble{
    position: relative;
    background: #F07167;
    color: #FFFFFF;
    font-family: Arial;
    font-size: 20px;
    text-align: center;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    padding: 0px;
}

.bubble::after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-width: 0 32px 48px 0;
    border-color: transparent #F07167 transparent transparent;
    bottom: -32px;
    left: 36px;
    margin-left: -10px;
    transform: rotate(-23deg);
}

#bubbletxtleft{
    display: grid;
    grid-template-columns: 110px auto;
}

.headlinetxt h2{
    color: #0081A7;
}

.headlinetxt a{
    color: #0780A4;
    font-size: var(--font20);
}

#textleft-imagesright{
    display: flex;
    gap: clamp(20px, 4%, 40px);
}

.textleft-imagesright-content-left, .textleft-imagesright-content-right{
    width: 50%;
}

.textleft-imagesright-content-right img{
    padding-bottom: 10px;
}

.textleft-imagesright-content-right-txt{
    padding-bottom: 40px;
}

.textleft-imagesright-content-right-txt p, .sources-content p{
    font-size: var(--font17);
    font-weight: 400;
    color: #4E4E4E;
}

#icebreaker .bubble{
    margin: 0 auto;
    margin-bottom: 40px;
}

#icebreaker a{
    color: #00AFB9;
    font-size: var(--font26);
}

.sources-content{
    border-top: 1px solid #E3E3E3;
    padding-top: 60px;
}

.reveal, .reveal2, .reveal3{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active, .reveal2.active, .reveal3.active{
    transform: translateY(0);
    opacity: 1;
}

.plus{
    border: 2px solid #0780A4;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-top: 20px;
    position: relative;
    cursor: pointer;
}

.plus .line{
    width: 22px;
    height: 2px;
    background-color: #0081A7;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus .line2{
    transform: translate(-50%, -50%) rotate(90deg);
}

.plus.active .line2{
    transform: translate(-50%, -50%) rotate(180deg);
}

#plustxt .plus-content{
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: height 1s linear transform 1s ease;
    height: 0px;
    margin-top: 20px;
}

#plustxt.active .plus-content{
    transform: scaleY(1);
    height: fit-content;
    transform-origin: top;
    transition: height 1s linear transform 1s ease;
}

#plustxt h2, .single-nivelrikkotarinat h1, #nivelrikko-stories h2, .single-post h1{
    color: #0081A7;
}

#plustxt h3, .single-nivelrikkotarinat h3, #nivelrikko-stories h3, .single-post h3, .headlinetxt h3{
    color: #32A2C3;
}

.single-nivelrikkotarinat h4, .single-post h4{
    font-weight: 600;
}


img.alignleft, img.alignnone, img.aligncenter, img.alignright{
    margin-top: 30px;
    margin-bottom: 30px;
}

img.alignleft{
    text-align: left;
}

img.aligncenter{
    margin: 0 auto;
    display: block;
}

img.alignright{
    text-align: right;
}

#nivelrikko-stories{
    display: flex;
    gap: clamp(20px, 2.7vw, 50px);
}

.nivelrikko-stories-left, .nivelrikko-stories-right{
    width: 50%;
}

#nivelrikko-stories img{
    aspect-ratio: 10/6.67;
}

#nivelrikko-stories h2{
    margin-bottom: 0px;
}

#nivelrikko-stories.borde-bot{
    border-bottom: 1px solid #E3E3E3;
}

#homebanner{
    background-color: #DDD;
    height: 600px;
}

#homebanner h1{
    color: #0081A7;
}

#homebanner p{
    color: #1A1A1A;
}

#homebanner .homebanner-text{
    width: 390px;
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    z-index: 1;
}

.homebanner-images{
    width: 450px;
    align-self: flex-end;
}

.homebanner-elements{
    display: flex;
    justify-content: center;
}

.homebanner-buttons a{
    display: block;
    max-width: 11.6;
    font-size: var(--font15);
    font-weight: 800;
    text-align: center;
    padding: 15px 10px;
    border-radius: 7px;
}

.homebanner-buttons a:nth-child(1){
    background-color: #F07167;
    color: #fff;
    border: 2px solid #D5594F;
}

.homebanner-buttons a:nth-child(2){
    background-color: #FED9B7;
    color: #4E4E4E;
    border: 2px solid #EFC8A5;
}

.homebanner-buttons a:nth-child(3){
    background-color: #00AFB9;
    color: #fff;
    border: 2px solid #039BA3;
}


.homebanner-buttons a:nth-child(1):hover{
    background-color: #D5594F;
    border: 2px solid #B94B42;
}

.homebanner-buttons a:nth-child(2):hover{
    background-color: #EFC8A5;
    border: 2px solid #DEBA9A;
}

.homebanner-buttons a:nth-child(3):hover{
    background-color: #028B92;
    border: 2px solid #028B92;
}


.homebanner-buttons{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: center;
    margin-top: 90px;
    z-index: 1;
}

.homebanner-text p{
    font-weight: 800;
}


#bannerright, #bannerleft{
    background-color: #d5eff0;
    display: flex;
    padding-left: 12.9%;
    padding-right: 12.9%;
    gap: 40px;
    padding-top: 50px;
    height: 500px;
}

#bannerleft{
    background-color: #FCC8BD;
    padding-top: 30px;
	padding-bottom: 30px
}

.bannerright-content, .bannerleft-content{
    width: 40%;
    margin-top: 40px;
    padding-bottom: 40px;
}

#bannerright .bannerright-image{
    width: 60%;
    align-self: flex-end;
}

.bannerleft-image{
    width: 40%;
    align-self: flex-end;
} 

#bannerright .bannerright-image img{
    max-height: 480px;
    margin: 0 auto;
}

.bannerleft-image img{
    max-height: 470px;
    margin: 0 auto;
}

.bannerright-content h1, .bannerleft-content h1{
    color: #0081A7;
}

.bannerright-content p, .bannerleft-content p{
    font-size: var(--font22);   
}

.bannerright-content h5, .bannerleft-content h5{
    color: #32A2C3;
    margin-top: 0px;
    margin-bottom: 25px;
}

#testibanneri h1{
    margin-bottom: 40px;
    color: #0081A7;
}

#testibanneri-content{
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 50px;
}

#testibanneri-content-txt, #testibanneri-content img{
    width: 50%;
}

/* The container */
.checkcontainer {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: var(--font20);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
  }
  
  /* Hide the browser's default checkbox */
  .checkcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: clamp(17px, 1.8vw, 25px);
    width: clamp(17px, 1.8vw, 25px);
    background-color: #fff;
    border: 3px solid #6F6F6F;
    border-radius: 10px;
  }
  
  
  /* When the checkbox is checked, add a blue background */
  .checkcontainer input:checked ~ .checkmark {
    background-color: #fff;
    border: 3px solid #529EBE;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .checkcontainer input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .checkcontainer .checkmark:after {
    left: 9px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #529EBE;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .thequestions.theflexible{
    display: flex;
    gap: 30px;
    flex-direction: row;
  }

.thequestions{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

  #testresult.btn{
    background-color: #529EBE;
    padding: 15px 25px 12px 25px;
    cursor: pointer;
    margin-top: 50px;
  }

.page-template-page-testi .sign{
    font-weight: 400;
    color: #4E4E4E;
}

  #goodnews, #badnews{
      display: none;
  }

  .page-template-page-testi h3{
      color: #32A2C3;
  }
.page-template-page-testi h2{
    color: #0081A7;
}
  .page-template-page-testi h4 {
    font-weight: 600;
    font-size: var(--font22);
  }

.question{
    margin-bottom: 60px;
}

.questionh3{
    margin-bottom: 0px;
}

#testresult-image{
    padding-bottom: 50px;
}

#testresult-content{
    padding-bottom: 50px;
}

#testresult-image img{
    margin: 0 auto;
}

footer{
    padding-top: clamp(40px, 8vw, 60px);
    padding-bottom: clamp(10px, 1vw, 20px);
    border-top: 1px solid #E3E3E3;
}

.footerparts{
    display: flex;
    gap: clamp(40px, 4.1vw, 80px);
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: clamp(40px, 8vw, 60px);
}

.footerpart1{
    width: 34%;
}

.footerpart2, .footerpart3, .footerpart4{
    width: 22%;
}

footer h4{
    font-size: var(--font21);
    max-width: 139px;
    color: #707070;
}

footer a{
    font-size: var(--font17);
    font-weight: 400;
    display: block;
    color: #707070 !important;
    padding: 5px 0px;
    border-bottom: 1px solid #E3E3E3;
}

footer a:hover{
    color: #026E8E !important;
}

footer .footerlastpart a, footer .footerlastpart p{
    font-size: var(--font15);
    font-weight: 400;
    padding: 15px 0px;
}

footer .footerlastpart a{
    border-bottom: none;
    justify-self: end;
}

#ultra-nav.big{
    display: grid;
}
#ultra-navburger{
    display: none;
    padding: 0px 3.6%;
}

#ultra-nav.big .navside{
    justify-self: end;
    align-self: center;
    padding-right: 16px;
}

.sub-menu{
    display: none;
    position: absolute;
}

.navside ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navside ul.sub-menu{
    width: max-content;
    padding: 10px 25px;
    border: 1px solid #E3E3E3;
    background-color: #FFF;
    z-index: 10;
}

.navside a{
    text-decoration: none;
    font-size: var(--font20);
    font-weight: 800;
}

.navside .sub-menu a{
    font-size: var(--font17);
    font-weight: 600;
}

#nav-section{
    padding: 30px 0px;
    box-shadow: 0px 3px 6px #00000015;
}

li.parentti a:nth-child(1)::after{
    content: "";
    border: solid #707070;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%) rotate(45deg);
    -webkit-transform: translate(0%, -50%) rotate(45deg);
    margin-left: 8px;
}

.sub-menu-helper{
    position: absolute;
    padding-top: 10px;
    width: 100%;
}

li.parentti{
    position: relative;
}

.navside li.parentti:hover .sub-menu, .sub-menu-helper:hover .sub-menu{
    display: block;
}

.navpad-big a{
    color: #707070;
}

li.parentti .sub-menu a::after{
    content: unset;
}

li.parentti .sub-menu a:hover{
    color: #026E8E;
    text-decoration: underline;
}

.navside .navsideul{
    display: flex;
    gap: 30px;
}

.bubbletxtleft-right p{
    font-size: var(--font24);
}

.singnivelimg{
    aspect-ratio: 10/3.9;
    min-height: 350px;
}

.burger-background{
    background-color: #fff;
    height: 80px;
}

.burger-menus{
    grid-row: 2;
    background-color: #00AFB9;
}

.burger-menus ul{
    list-style: none;
}

.burger-menus a{
    color: #fff;
    text-decoration: none;
    display: block;
}

.burger-menus li{
    padding: 8px 0px;
}

.burger-menus li.parentti a:nth-child(1)::after{
    content: unset;
}

.burger-lines .bline{
    background-color: #00AFB9;
    width: 20px;
    height: 2px;
}

.burger-lines{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    justify-self: end;
    cursor: pointer;
}

.ultra-nav-burgerlogo{
    width: max-content;
}

.burger-menus{
    display: none;
    margin-top: 80px;
    position: absolute;
    width: 96.4%;
    z-index: 2;
    margin-left: -3.6%;
    padding-left: 3.6%;
}

.burger-menus.active {
    display: block;
}

#ultra-nav-burgerlogo{
    align-self: center;
}

.balloon .arrow{
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.burger-menus .balloon{
    display: inline-block;
    position: absolute;
    top: 5px;
    right: 0px;
    cursor: pointer;
    padding-right: 3.6%;
}

.burger-menus .sub-menu{
    position: relative;
}

.burger-menus .active-sub .balloon .arrow{
    transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.burger-menus .active-sub .balloon{
    padding-top: 7px;
}

.burger-menus .active-sub .sub-menu{
    display: block;
}

.burger-menus .active-sub .sub-menu li{
    padding-bottom: 0px;
}

.burger-menus li a:hover{
    color: #fff;
    text-decoration: underline;
}

.burger-menus .active-sub .sub-menu li a:hover{
    color: #fff;
}

#plustxt a{
    font-size: var(--font20);
}

.nivelrtest-buttons a{
    display: block;
    font-size: var(--font15);
    font-weight: 800;
    text-align: center;
    padding: 15px 10px;
    width: 200px;
    margin-bottom: 10px;
}

.nivelrtest-buttons a:nth-child(1) {
    background-color: #F07167;
    color: #fff;
    border: 2px solid #D5594F;
}

.nivelrtest-buttons a:nth-child(2) {
    background-color: #FED9B7;
    color: #4E4E4E;
    border: 2px solid #EFC8A5;
}

.nivelrtest-buttons a:nth-child(1):hover{
    background-color: #D5594F;
    border: 2px solid #B94B42;
}

.nivelrtest-buttons a:nth-child(2):hover{
    background-color: #EFC8A5;
    border: 2px solid #DEBA9A;
}

#nivelrtest{
    display: grid;
    justify-content: center;
    text-align: center;
}

.nivelrtest-buttons{
    display: grid;
    justify-content: center;
}

.nivelrtest-content{
    width: 500px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 20px;
}

#nivelrtest h1{
    color: #0081A7;
}

.popupbehindthescenes, .popupbehindthescenes2 {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 10;
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.popupbehindthescenes.active, .popupbehindthescenes2.active {
    display: block;
}

.popupbehindthescenes-helper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 30%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.popupbehindthescenes-helper img{
    width: 200px;
}

.popupbehindthescenes-close, .popupbehindthescenes-close2 {
    cursor: pointer;
    position: absolute;
    right: 30px;
    color: #00AFB9;
    font-weight: bold;
    font-size: var(--font27);
    top: 30px;
}

.testresult-content-helper{
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 30px;
}

.blogwriter-info{
    display: grid;
    margin-top: 30px;
    gap: 15px;
    grid-template-columns: 100px auto;
    border-top: 1px solid #E3E3E3;
    padding-top: 30px;
}

.blogwriter-info p{
    align-self: center;
}

.burger-menus li.parentti a{
    font-weight: 800;
}

.burger-menus li.parentti .sub-menu a{
    font-weight: 600;
    padding-left: 15px;
}

#testresult-content img{
    height: 70px;
}

.mobilebanner{
    display: none;
}

.clsLiikettäniveliin-blogi #bannerleft{
    background-color: #FED9B7;
}

.writername{
    color: #32A2C3;
    line-height: 0px !important;
    margin-top: 15px;
    padding-bottom: 0px !important;
    margin-bottom: 15px;
}


#nivelrikko-content a{
    color: rgb(0, 102, 204);
    font-size: var(--font18);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

#nivelrikko-content a:hover{
    text-decoration: underline;
}

#nivelrikko-stories .luelisaa {
    font-weight: 600;
}

#nivelrikko-stories .luelisaa {
    font-size: var(--font20);
    color: #0081A7;
    margin-top: 15px;
    display: block;
}

#nivelrikko-stories .luelisaa:hover{
    text-decoration: underline;
}


.post-type-archive-nivelrikkotarinat #nivelrikko-stories a{
    font-size: var(--font20);
    color: #0081A7;
    margin-top: 15px;
    display: block;
    font-weight: 600;
}

.post-type-archive-nivelrikkotarinat #nivelrikko-stories a:hover{
   text-decoration: underline;
}

#topnav-left img{
    height: 18px;
}

#topnav-left .sivustontakana2 { padding-bottom:16px;}
#topnav-left .sivustontakana2 > img {height: 14px;}

#nivelrikko-stories-main{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

#nivelrikko-stories-main-right{
    border-left: 1px solid #E3E3E3;
    padding-left: 20px;
    margin-top: var(--toppad);
    margin-bottom: var(--botpad);
}

#nivelrikko-stories h2{
    font-size: var(--font27);
}

#nivelrikko-stories-main-right h2{
    color: #0081A7;
    font-size: var(--font27);
}

#single-categories{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

#nivelrikko-stories-main-right p{
    color: #0081A7;
    cursor: pointer;
}

#nivelrikko-stories-main-right p:hover{
    color: #32A2C3;
}

#nivelrikko-stories-main-right p.active{
    color: #32A2C3;
}


@media (min-width: 1600px) {
    #imagetext-helper .imagetext-content{
        width: 56%;
    }
    .imagetext-content-image{
        width: 36%;
    }
}


@media (max-width: 1500px) {
    .bannerleft-content {
        width: 50%;
    }
    .popupbehindthescenes-helper {
        width: 40%;
    }
}

@media (max-width: 1300px) {
    .nivelrtest-content {
        width: 65%;
    }
    .nivelrtest-buttons a {
        width: 150px;
    }
}

@media (max-width: 1200px) {
    .bannerright-content, .bannerleft-content {
        width: 100%;
    }
    #bannerright .bannerright-image {
        width: 100%;
    }
    #bannerright{
        flex-direction: column;
    }
    #bannerright, #bannerleft{
        height: unset;
    }
    #bannerleft{
        flex-direction: column-reverse;
    }
    .bannerleft-image {
        width: 350px;
        margin: 0 auto;
    }

    .checkcontainer .checkmark::after {
        left: 7px;
        top: 3px;
    }

    #bannerright .bannerright-image img {
        max-height: none;
        width: 100%;
    }
}

@media (max-width: 1100px) {
    #homebanner {
        height: 500px;
    }
    .homebanner-images {
        width: 350px;
    }
    .homebanner-buttons {
        margin-top: 110px;
    }

    #bannerright, #bannerleft {
        padding-left: 8%;
        padding-right: 8%;
    }

    .width34{
        width: 40%;
    }
    #icebreaker img{
        max-width: 80%;
    }

    .checkcontainer .checkmark::after {
        left: 6px;
        top: 2px;
    }

    .checkmark {
        height: clamp(19px, 1.8vw, 25px);
        width: clamp(19px, 1.8vw, 25px);
    }
    
    #nivelrikko-stories {
        flex-direction: column;
    }

    .nivelrikko-stories-left, .nivelrikko-stories-right {
        width: 100%;
    }
    #nivelrikko-stories-main {
        grid-template-columns: 2fr 1fr;
    }

}

@media (max-width: 1000px) {
    #nav-section{
        display: none;
    }
    #ultra-navburger{
        display: grid;
    }
    .width24 {
        width: 35%;
    }
    .bubble {
        width: 77px;
        height: 77px;
    }
    .bubble::after {
        bottom: -27px;
        left: 28px;
    }
    #nav-section {
        padding: 20px 0px 10px 0px;
    }

    .popupbehindthescenes-helper {
        width: 50%;
    }

    .testresult-content-helper {
        grid-template-columns: 60% 40%;
    }
}

@media (max-width: 900px) {
    .homebanner-images {
        width: 320px;
    }
    .homebanner-buttons {
        margin-top: 150px;
    }
    .width34 {
        width: 45%;
    }
}

@media (max-width: 800px) {
    .homebanner-images {
        display: none;
    }
    .width24 {
        width: 40%;
    }

    #testibanneri-content{
        flex-direction: column-reverse;
    }

    #testibanneri-content-txt, #testibanneri-content img {
        width: 100%;
    }
    #testibanneri-content img{
        max-width: 500px;
    }
    .footerparts{
        flex-wrap: wrap;
    }
    .footerpart1 {
        width: 100%;
    }
    .footerpart2, .footerpart3, .footerpart4 {
        width: 25%;
    }

    .mobilebanner{
        display: block;
    }
}

@media (max-width: 700px) {
    .width34 {
        width: 50%;
    }

    .bannerleft-image {
        width: 300px;
    }

    .page-template-page-blogs .bannerleft-image {
        width: 350px;
    }

    #nivelrikko-stories {
        flex-direction: column;
    }
    .nivelrikko-stories-left, .nivelrikko-stories-right {
        width: 100%;
    }

    #nivelrikko-stories img{
        max-width: 450px;
    }

    .popupbehindthescenes-helper {
        width: 70%;
    }
    .popupbehindthescenes-helper img {
        width: 200px;
    }

    .testresult-content-helper {
        grid-template-columns: 100%;
    }
    #testresult-content, #nivelrikko-stories-main-left{
        order: 2;
    }

    #testresult-image, #nivelrikko-stories-main-right{
        order: 1;
    }

    #nivelrikko-stories-main {
        grid-template-columns: 1fr;
    }

    #nivelrikko-stories-main-right {
        margin-bottom: 0px;
    }
}

@media (max-width: 600px){
    #imagetext-helper .imagetext-content, .imagetext-content-image {
        width: 100%;
    }

    #imagetext-helper{
        flex-direction: column-reverse;
    }

    #imagetext-helper.right {
        flex-direction: column-reverse;
    }

    #imagetext img{
        max-width: 75%;
        margin: 0 auto;
    }
    .width24 {
        width: 55%;
    }

    #textleft-imagesright {
        flex-direction: column;
    }
    .textleft-imagesright-content-left, .textleft-imagesright-content-right{
        width: 100%;
    }

    .footerpart2, .footerpart3, .footerpart4 {
        width: 40%;
    }

    .nivelrtest-content {
        width: 70%;
    }
}

@media (max-width: 500px) {
    #homebanner .homebanner-text {
        width: 85%;
    }
    .width34 {
        width: 60%;
    }

    .width24 {
        width: 65%;
    }

    .bannerleft-image {
        width: 280px;
    }

    .footerlastpart a{
        grid-row: 2;
    }

    footer .footerlastpart a, footer .footerlastpart p {
        padding: 5px 0px;
    }
    footer .footerlastpart a {
        justify-self: start;
    }

    .nivelrtest-content {
        width: 90%;
    }

    .popupbehindthescenes-helper {
        width: 80%;
    }

    .blogwriter-info {
        grid-template-columns: 80px auto;
    }

    #homebanner {
        height: 430px;
    }
}

@media (max-width: 400px) {
    #bubbletxtleft {
        grid-template-columns: unset;
    }

    .bubbletxtleft-right{
        margin-top: 50px;
    }

    .width34, .width24 {
        width: 80%;
    }

    .footerpart2, .footerpart3, .footerpart4 {
        width: 100%;
    }
    #topnav-right{
        grid-row: 2;
    }

    #topnav{
        gap: 15px;
    }

    .page-template-page-blogs .bannerleft-image {
        width: 310px;
    }
}

@media (max-width: 350px) {
.bannerleft-image {
    width: 250px;
  }
  .page-template-page-blogs .bannerleft-image {
    width: 270px;
  }
}