/* Quoten breakline */
@media only screen and (max-width: 430px) {
    #nobr {
        display: none;
    }

    #yesbr {
        display: block;
    }
}

@media only screen and (min-width: 431px) {
    #yesbr {
        display: none;
    }

    #nobr {
        display: block;
    }
}

/* Pienet laitteet - portrait tabletit, suuret puhelimet */
@media only screen and (max-width: 767px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
        padding-bottom: 2.5%;
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
        flex-direction: column;
    }

    #logoBarPicture {
        display: flex;
        width: 50%;
        margin: auto;
        height: auto;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        margin: 0.5%;
        line-height: 35px;
        font-size: 16px;
    }

    .navBarItem {
        display: flex;
        justify-content: center;
        color: black;
        transition: 0.5s;
        width: 99%;
        text-align: center;
        box-shadow: 0 0 50px #DFD6C7;
        border-radius: 30px;
        cursor: pointer;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
        cursor: pointer;
    }

    .menuDiv {
        display: flex;
        justify-content: center;
        color: black;
        transition: 0.5s;
        width: 99%;
        text-align: center;
        box-shadow: 0 0 50px #DFD6C7;
        border-radius: 30px;
        cursor: pointer;
    }

    .menuSlider {
        padding-top: 1%;
        overflow: hidden;
        transition: 1.5s ease;
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
        flex-direction: column;
    }

    .menuSlider>div {
        color: black;
        display: flex;
        margin: 0.5%;
        line-height: 35px;
        font-size: 16px;
    }

    .menuSliderClosed {
        max-height: 0px;
    }


    .menuSliderOpen {
        max-height: 220px;
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 400px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 75% 50%;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: bottom;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 20000px;
    }

    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 800px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 95%;
        margin-left: 1%;
        margin-right: 1%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .mySlides {
        margin-left: 7.5%;
        margin-right: 7.5%;
    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: column;
        padding-top: 5%;
        padding-left: 1%;
        padding-right: 1%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 95%;
        flex-direction: column;
        align-items: center;
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-bottom: 5%;
    }

    .tuoteWrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-left: 1%;
        padding-right: 1%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 75%;
        flex-direction: column;
        align-items: flex-start;
        padding: 3%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        transition: 0.5s;
        width: 50%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        margin-left: 10%;
        margin-right: 10%;
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
        flex-wrap: wrap;
    }

    .someContainer>div {
        display: flex;
        width: 30%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }

    .fa {
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: column-reverse;
        align-content: center;
        justify-content: center;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: 75%;
        padding-left: 12.5%;
        padding-right: 12.5%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;

    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 50%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        text-align: center;
        font-size: small;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        display: none;
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #normal {
        display: none;
    }

}

/* Keskikokoiset laitteet - Tabletit tms */
@media only screen and (min-width: 768px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
        flex-direction: row;
    }

    #logoBarPicture {
        display: flex;
        margin: auto;
        height: 250px;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        flex-shrink: 0;
        margin: 15px;
        text-align: center;
        line-height: 35px;
        font-size: 16px;
        border-radius: 5px;
    }

    .navBarItem {
        display: flex;
        color: black;
        transition: 0.5s;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 650px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: bottom;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 5000px;
    }


    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 400px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 95%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-top: 5%;
        padding-left: 1%;
        padding-right: 1%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .tuoteWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-left: 1%;
        padding-right: 1%;
        padding-bottom: 3%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 100%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        /* margin-left: 10%;
        margin-right: 10%; */
        white-space: nowrap;
    }

    .fa {
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
    }

    .someContainer>div {
        display: flex;
        width: 30%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }


    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        width: 25%;
        padding-left: 10%;
        padding-right: 10%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between padding-bottom: %;
    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 100%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #forMobile {
        display: none;
    }

}

/* Läppärit tms. */
@media only screen and (min-width: 992px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    #forMobile {
        visibility: none;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
    }

    #logoBarPicture {
        display: flex;
        margin: auto;
        height: 250px;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        margin: 20px;
        text-align: center;
        line-height: 35px;
        font-size: 16px;
        border-radius: 5px;
    }

    .navBarItem {
        display: flex;
        color: black;
        transition: 0.5s;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 650px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: bottom;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 5000px;
    }


    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 400px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 60%;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-top: 5%;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .tuoteWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 3%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 100%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        margin-left: 10%;
        margin-right: 10%;
        white-space: nowrap;
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
    }

    .someContainer>div {
        display: flex;
        width: 30%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }

    .fa {
        padding: 40px;
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        width: 25%;
        padding-left: 10%;
        padding-right: 10%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between padding-bottom: %;
    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 100%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #forMobile {
        display: none;
    }

}

/* Isot laitteet. Tietokoneet tms. */
@media only screen and (min-width: 1600px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    #forMobile {
        visibility: hidden;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
    }

    #logoBarPicture {
        display: flex;
        margin: auto;
        height: 250px;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        margin: 20px;
        text-align: center;
        line-height: 35px;
        font-size: 16px;
        border-radius: 5px;
    }

    .navBarItem {
        display: flex;
        color: black;
        transition: 0.5s;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 650px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 50% 90%;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 5000px;
    }


    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 400px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 60%;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-top: 5%;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .tuoteWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 3%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 100%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        margin-left: 10%;
        margin-right: 10%;
        white-space: nowrap;
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
    }

    .someContainer>div {
        display: flex;
        width: 30%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }

    .fa {
        padding: 40px;
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        width: 25%;
        padding-left: 10%;
        padding-right: 10%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between padding-bottom: %;
    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 100%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #forMobile {
        display: none;
    }
}

/* Monitoriresoluutiot */
@media only screen and (min-width: 1900px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    #forMobile {
        visibility: none;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
    }

    #logoBarPicture {
        display: flex;
        margin: auto;
        height: 250px;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        margin: 20px;
        text-align: center;
        line-height: 35px;
        font-size: 16px;
        border-radius: 5px;
    }

    .navBarItem {
        display: flex;
        color: black;
        transition: 0.5s;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
        padding-left: 15%;
        padding-right: 15%;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 650px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 50% 80%;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 25%;
        font-size: 18px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 5000px;
    }


    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 400px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 60%;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-top: 5%;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .tuoteWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 3%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 100%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        margin-left: 10%;
        margin-right: 10%;
        white-space: nowrap;
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
    }

    .someContainer>div {
        display: flex;
        width: 30%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }

    .fa {
        padding: 40px;
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        width: 25%;
        padding-left: 10%;
        padding-right: 10%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between padding-bottom: %;
    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 100%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #forMobile {
        display: none;
    }

}

/* 2K näytöt */
@media only screen and (min-width: 2400px) {

    /* Body, otsikko ja navigaatiopalkki */
    body {
        background-color: white;
        font-family: sans-serif;
        margin: 0;
        backface-visibility: hidden;
    }

    #forMobile {
        visibility: hidden;
    }

    .logoBar {
        justify-content: center;
        width: auto;
        display: flex;
        align-content: center;
        flex-direction: column;
        background-image: linear-gradient(#DFD6C7, #DFD6C7, white);
    }

    .navBar {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: white;
    }

    #logoBarPicture {
        display: flex;
        margin: auto;
        height: 250px;
        justify-content: center;
        transition: 1s;
    }

    #logoBarPicture:hover {
        filter: invert(1);
        cursor: pointer;
    }

    .navBar>div {
        color: black;
        display: flex;
        margin: 20px;
        text-align: center;
        line-height: 35px;
        font-size: 16px;
        border-radius: 5px;
    }

    .navBarItem {
        display: flex;
        color: black;
        transition: 0.5s;
    }

    .navBarItem:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    .logoBarItem {
        display: flex;
        margin: auto;
    }

    /* Sisältöä */

    #contentWrapper {
        animation: fadein 2s;
        padding-left: 20%;
        padding-right: 20%;
    }

    .welcomeWrapper {
        background-color: white;
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    #fp_welcomePicture {
        height: 650px;
        background-image: url("../IMG/adarafront2.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    #contact_welcomePicture {
        height: 500px;
        background-image: url("../IMG/Rakennus.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 50% 73%;
        background-color: transparent;
        background-size: cover;
        width: 100%;
    }

    .fp_welcomeButton {
        position: absolute;
        top: 50%;
        left: 30%;
        font-size: 20px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .fp_welcomeButton:hover {
        transform: scale(1.05);
        background-color: white;
    }

    .reservationButton {
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        transition: 0.5s;
    }

    .reservationButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .slider {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .sliderClosed {
        max-height: 0px;
    }


    .sliderOpen {
        max-height: 5000px;
    }


    .slider2 {
        padding-top: 1%;
        display: flex;
        overflow: hidden;
        transition: 2s ease;
    }

    .slider2Closed {
        max-height: 0px;
    }

    .slider2Open {
        max-height: 400px;
    }

    #hoitolaIMG {}

    .contentContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 60%;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .newsContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3%;
        padding: 5%;
        padding-bottom: 0%;
        background-color: whitesmoke;
        box-shadow: 5px 5px 50px lightgray;
        transition: 1s;
    }

    .newsContainer:hover {
        transform: scale(1.01) translate3D(0, 0, 0);

    }

    .rowContentWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-top: 5%;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5%;
        flex-grow: 1;
    }

    .rowContentContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .tuoteWrapper {
        display: flex;
        align-content: space-around;
        flex-direction: row;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 3%;
        flex-grow: 1;
        text-align: center;
    }

    .tuoteContainer {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1%;
        overflow: hidden;
    }

    .tuote {
        display: block;
        width: 100%;
        box-shadow: 0px 0px 10px gray;
    }

    .infoButton {
        display: flex;
        font-size: 16px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: #DFD6C7;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .infoButton:hover {
        transform: scale(1.05);
        background-color: mistyrose;
    }

    .backButton {
        display: flex;
        font-size: 24px;
        padding: 12px 24px;
        border: none;
        margin-top: auto;
        cursor: pointer;
        border-radius: 50px;
        background-color: transparent;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
    }

    .backButton:hover {
        transform: scale(1.2);
    }

    .palluraButton {
        display: flex;
        cursor: pointer;
        border: none;
        border-radius: 100%;
        justify-content: center;
        transition: 0.5s;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .palluraInput {
        width: 100%;
        overflow: hidden;
        border: none;
        border-radius: 100%;
    }

    .palluraButton:hover {
        transform: scale(1.03);
    }

    .pallura {
        display: block;
        align-self: flex-start;
        width: 100%;
    }

    .palluraIMG {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }

    .profilePic {
        width: 100%;
        border-radius: 5%;
        box-shadow: 5px 5px 50px gray;
    }

    /* Somet */

    .some {
        display: flex;
        justify-content: center;
        padding-top: 3%;
    }

    .some>a {
        margin-left: 10%;
        margin-right: 10%;
        white-space: nowrap;
    }

    .someContainer {
        display: flex;
        justify-content: space-around;
        padding-top: 3%;
    }

    .someContainer>div {
        display: flex;
        width: 25%;
    }

    .someButton {
        display: flex;
        cursor: pointer;
        border: none;
        transition: 0.5s;
        width: 30%;
        padding: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 20px gray;
    }

    .someButton:hover {
        filter: brightness(1.15);
    }

    .somePicture {
        width: 100%;
    }

    .fa {
        padding: 40px;
        font-size: 40px;
        text-align: center;
        text-decoration: none;
        margin: 5%;
        border-radius: 50%;
        transition: 0.5s;
    }

    .fa:hover {
        opacity: 0.6;
        transform: scale(1.05);
    }

    /* Alapalkki */

    .bottomWrapper {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        background-image: linear-gradient(white, #DFD6C7, #DFD6C7, #DFD6C7);
        padding-top: 5%;
        padding-bottom: 3%;
    }

    .bottomContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        width: 25%;
        padding-left: 10%;
        padding-right: 10%;
        flex: 1;
    }

    .bottomContent {
        position: relative;
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column;
    }

    .bottomSome {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between padding-bottom: %;
    }

    .bottomSome2 {
        display: flex;
        justify-content: center;
        width: 20%;
        padding-left: 10%;
        padding-right: 10%;
    }

    #bottomLogo {
        width: 100%;
        height: auto;
        flex: 1;
        transition: 1s;
    }

    #bottomLogo:hover {
        filter: invert(1);
    }

    .absolute {
        display: flex;
        flex-direction: row;

    }

    .bottomBanner {
        display: flex;
        justify-content: center;
        background-color: lightgray;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    .verticalLine {
        border-left: 2px solid gray;
        margin-left: -1px;
    }

    #forMobile {
        display: none;
    }

}

/* Erilaiset tekstityypit ja animaatio */

h1 {
    font-weight: normal;
    color: darkgoldenrod
}

h2 {
    font-weight: normal;
    color: darkgoldenrod;
}

h3 {
    font-weight: normal;
    color: darkgoldenrod
}

h4 {
    font-weight: normal;
    color: darkgoldenrod
}

a {
    font-family: 'poppins', sans-serif;
    text-decoration: none;
    color: #505050;
}

b {
    font-family: 'poppins', sans-serif;
    text-decoration: none;
    color: #505050;
}

.inspisQuote {
    display: flex;
    justify-content: center;
    font-family: 'Alex Brush', cursive;
    text-decoration: none;
    font-size: 32px;
    color: rgb(100, 70, 40);
    text-shadow: 1px 1px 1px beige;
    transition: 1s;
}

.inspisQuote:hover {
    transform: scale(1.02);
}

.script {
    font-family: 'Alex Brush', cursive;
    text-decoration: none;
    font-size: 28px;
    color: rgb(100, 70, 40);
    text-shadow: 1px 1px 1px beige;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}

#picture {
    display: block;
    align-items: flex-start;
    width: 100%;
}

.ios-fix {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Skaalauksen esiasetus */
.newsContainer,
.navBarItem,
.fp_welcomeButton,
.fa,
#logoBarPicture,
.next,
.prev,
.inspisQuote,
.someContainer>img,
.infoButton,
.backButton,
.reservationButton,
.palluraButton,
#forMobile,
#normal {
    backface-visibility: hidden;
    transform: translateZ(0) scale(1.0, 1.0);
    will-change: transform;
}

.mySlides {
    display: flex;
    text-align: center;
    align-content: top;
    height: auto;
    transition: 1s;

    .contentHeader {
        padding-top: 0;
        margin-top: 0;
    }
}

.mySlides>a {}

#animate-fading {
    animation: fading 2s
}

@keyframes fading {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #808080;
    font-weight: bold;
    font-size: 20px;
    border-radius: 50%;
    user-select: none;
}

.prev {
    position: absolute;
    left: 0;
    border-radius: 3px 0 0 3px;
    transition: 0.5s;
}

.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
    transition: 0.5s;
}

.prev:hover,
.next:hover {
    transform: scale(1.3);
}

.dot-container {
    text-align: center;
    padding: 2%;
    padding-bottom: 2%;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: 0.6s ease;
}

.active,
.dot:hover {
    background-color: darkgoldenrod;
    transform: scale(1.1);
}