:root{
    --color05: rgba(164,200,242,1.00);
    --color01: rgba(20,83,189,1.00);
    --colorPageCustom: rgba(22,104,184,1.00);
}

html,
body{
    width:100%;
    height:100vh;
    height:100lvh;
    overflow-x:hidden;
    overflow-y: auto;
    background-color:rgba(230,233,234,1.00);
}

#wrap #wlc{
    width: 100%;
    box-sizing: border-box;
    perspective: 100px;
    transform-origin: center;
    z-index: 10;
}

#toplogo{
    position: fixed;
    top:0px;
    left:0px;
    right:0px;
    width:180px;
    height: 55px;
    margin: 20px auto;
    z-index: 5555;
}

#toplogo img{
    width:100%;
    height: 100%;
    object-fit: contain;
    z-index: 44;
}

#toplogo:after{
    position: absolute;
    top:0px; left:0px;
    display: none;
    width:180px;
    height: 100%;
    content:"";
    translate:0px 5px;
    background-repeat: no-repeat;
    background-image: url("/imgs/ravintolat-logo-musta.svg");
    z-index: 33;
}

#toplogo:before{
    position: absolute;
    top:0px; 
    left:0px;
    display: flex;
    width:180px;
    height: 100%;
    content:"";
    translate:0px 2px;
    background-repeat: no-repeat;
    background-image: url("/imgs/ravintolat-logo-sininen.svg");
    z-index: 33;
}


header{
    display: flex;
    flex-direction: column;
    width:100%;
    height: auto;
    min-height: 100vh;
    min-height: 100lvh;
    align-items: center;
    justify-content: center;
    background-color: rgba(204, 216, 231, 1);
    background-size: cover;
    background-position: center;
    background-attachment:scroll;
    background-repeat: no-repeat;
    background-image: linear-gradient(22deg, rgba(160,196,227,0.95) 0%, rgba(185,203,233,0.80) 88%), url("../imgs/bg_ravintolatonline.png");
    clip-path: ellipse(91% 62% at 49% 30%)
}

header h1{
    max-width: min(85%, 750px);
    font-size: min(55px, 12vw);
    line-height: min(62px, 12.5vw);
    font-weight: 900;
    color:white;
    letter-spacing: -1px;
    transform: translateX(0%) scale(1.0) translateZ(50px);
    margin: 20px auto;
    text-align: center;
}

header p{
    max-width: min(75%, 650px);
    font-size: min(25px, 5vw);
    line-height: min(32px, 5.5vw);
    font-weight: 300;
    color:white;
    margin: 15px auto;
    text-align: center;
}


@media screen and (orientation: portrait) and (max-width: 800px){
    
    header h1{
        max-width: min( 95%, 550px );
        font-size: 9vw;
        line-height: 8.9vw;
        margin: 0;
    }
    
    header p{
    max-width: min( 90%, 600px );
    font-size: 4vw;
    line-height: 6.5vw;
    font-weight: 300;
    color:white;
    margin: 15px auto;
    text-align: center;
}
    
}


section {
    position: relative;
    display: flex;
    flex-direction: column;
    width:100%;
    height: auto;
    min-height: 80vh;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

section:nth-of-type(1) {
}

section:nth-of-type(2) {
}

section .sectionwrap {
    display: flex;
    width:100%;
    height:auto;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    min-height: 65vh;
    min-height: 65lvh; 
    padding: 50px 5%;
    gap: 0px 3%;
}

section .sectionwrap:nth-of-type(5) {
    background-image: linear-gradient(33deg, rgba(178,218,254,1.00) 22%, rgba(108,164,231,1.00) 88%);
    align-items: center;
    flex-direction: column;
    gap: 5% 0px;
    padding: 150px 0px;
    clip-path: ellipse(64% 50% at 50% 50%);
}

section .sectionwrap:nth-of-type(5) .tx_wrap h2 {
    font-size: min(35px, 4.4vw);
    line-height: min(38px, 4.5vw);
    font-weight: 800;
    text-align: center;
    margin: 100px 0px 10px 0px;
}

section .sectionwrap:nth-of-type(5) .tx_wrap > * {
    color:white;
    text-align: center;
}

section .sectionwrap .pc_wrap,
section .sectionwrap .tx_wrap {
    width: 45%;
    height: auto;
    flex-direction: column;
}


@media screen and ( max-width: 850px ){
    
    section .sectionwrap {
        flex-direction: column;
    }
    
    section .sectionwrap .pc_wrap,
    section .sectionwrap .tx_wrap {
        width: 95%;
    }
 
    section .sectionwrap:nth-of-type(4) {
        padding: 100px 0px;
        clip-path: ellipse(144% 50% at 50% 50%);
    }
    
}

section .sectionwrap .pc_wrap {
    aspect-ratio: 1/1;
    flex-direction: column;    
    transition: all 0.6s;
    z-index: 1;
}

section .sectionwrap .pc_wrap img {
    left:inherit;
    right:0px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto 0px auto auto;
}

section .sectionwrap .tx_wrap {
    gap: 10px 0px;
    max-width: 520px;
}

section .sectionwrap .tx_wrap h2{
    font-size: min(45px, 9vw);
    line-height: min(50px, 9.2vw);
    font-weight: 900;
    color:#2E2C2C;
    margin:0px 0px 15px 0px;
    width: 100%;
    letter-spacing: -1px;
    text-align: left;
}

section .sectionwrap h3{
    font-size: min(22px, 6vw);
    line-height: min(28px, 6.5vw);
    font-weight: 600;
    color:#4183B4;
    width: 100%;
    margin:35px 0px 0px 0px;
    letter-spacing: 0px;
    text-align: left;
}

section .sectionwrap h5{
    font-size: min(20px, 5vw);
    line-height: min(25px, 5.5vw);
    font-weight: 700;
    color:#185F93;
    width: 100%;
    margin:20px 0px 10px 0px;
    letter-spacing: 0px;
    text-align: left;
}

section .sectionwrap p{
    font-size: min(16px, 4vw);
    line-height: min(32px, 7vw);
    color:#262626;
    margin:0;
    width: 100%;
    letter-spacing: 0.5px;
    font-weight: 300;
    text-align: left;
    
}


section .sectionwrap .tx_wrap .minislide{
    display: flex;
    width: 100%;
    height: auto;
    background-color: rgba(240,240,240,1.00);
    padding: 10px 25px;
    box-sizing: border-box;
    margin: 5px 0px;
    border-radius: 25px;
    overflow: hidden;
    flex-direction: column;
}

section .sectionwrap .tx_wrap .minislide h3{
    padding: 6px 0px;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 22px;
    line-height: 24px;
    height: auto;
    margin:5px 0px;
    transition: all 0.2s;
}

section .sectionwrap .tx_wrap .minislide h3:hover {
    font-size:23px;
}

section .sectionwrap .tx_wrap .minislide p{
    height:0px;
}

section .sectionwrap .tx_wrap input[name='minislides']:nth-of-type(1):checked ~ .minislide:nth-of-type(1) p,
section .sectionwrap .tx_wrap input[name='minislides']:nth-of-type(2):checked ~ .minislide:nth-of-type(2) p,
section .sectionwrap .tx_wrap input[name='minislides']:nth-of-type(3):checked ~ .minislide:nth-of-type(3) p {
    height: auto;
}

section .sectionwrap.pricewraps{
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding:60px 5% 60px 5%;
}


section .sectionwrap.pricewraps h3{
    font-size: min(32px, 10vw);
    line-height: min(38px, 10.5vw);
    font-weight: 900;
    max-width: 650px;
    color:#002139;
    margin:20px 0px 10px 0px;
    letter-spacing: 0px;
    text-align: center;
}

section .sectionwrap.pricewraps p{
    font-size: min(16px, 5vw);
    line-height: min(32px, 9vw);
    font-weight: 300;
    max-width: 650px;
    color:#002139;
    margin:20px 0px 10px 0px;
    letter-spacing: 0px;
    text-align: center;
}

section .sectionwrap.pricewraps #taulukko{
    display: flex;
    flex-direction: column;
    width:95%;
    max-width: 650px;
    margin: 20px auto;
    height:auto;
}

section .sectionwrap.pricewraps #taulukko .rivi{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(212,212,212,1.00);
}

section .sectionwrap.pricewraps #taulukko .rivi:nth-of-type(1){
    font-weight: 900;
}

section .sectionwrap.pricewraps #taulukko .rivi div:nth-of-type(1),
section .sectionwrap.pricewraps #taulukko .rivi div:nth-of-type(2){
    display: flex;
    flex-direction: row;
    width:50%;
    font-size: min(16px, 6vw);
    height:45px;
    line-height: 45px;
}

section .sectionwrap.pricewraps #taulukko .rivi div:nth-of-type(1){
    text-align: left;
    justify-content: flex-start;
}
section .sectionwrap.pricewraps #taulukko .rivi div:nth-of-type(2){
    text-align: right;
    justify-content: flex-end;
}



section .sectionwrap.otayhteytta{
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding:60px 5% 60px 5%;
    background-image: linear-gradient(195deg, white 0%, rgba(143,206,228,1.00) 88%);
    clip-path: ellipse(120% 80% at 50% 82%);
}


section .sectionwrap.otayhteytta h3{
    font-size: min(32px, 10vw);
    line-height: min(38px, 10.5vw);
    font-weight: 900;
    max-width: 650px;
    color:#002139;
    margin:20px 0px 10px 0px;
    letter-spacing: 0px;
    text-align: center;
}

section .sectionwrap.otayhteytta p{
    font-size: min(16px, 4vw);
    line-height: min(32px, 8vw);
    font-weight: 400;
    max-width: 650px;
    color:#002139;
    margin:20px 0px 10px 0px;
    letter-spacing: 0px;
    text-align: center;
}

section .sectionwrap.otayhteytta .btns{
    margin:6px 0px;
    min-width: 120px;
    background-color:white;
    box-shadow: inset 0px -15px 3px rgba(224,224,224,1.00);
    border-radius: 25px;
    font-weight: 800;
    transition:all 0.2s;
    padding: 10px 35px;
    text-align: center;
}

section .sectionwrap.otayhteytta .btns:hover{
     box-shadow: inset 0px -20px 2px rgba(224,224,224,0.8); 
     transform: scale(1.03);
}

section .sectionwrap.otayhteytta #taulukko{
    display: flex;
    flex-direction: column;
    width:100%;
    max-width: 650px;
    height:auto;
}
