/*omat fontti tiedostot*/

@font-face { 
    font-family: OpenSans;
    src: url(/fontti/OpenSans-Regular.woff2) format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face { 
    font-family: 'OpenSans-SemiBold';
    src: url(fontti/OpenSans-SemiBold.woff2) format('woff2');
    font-display: swap;
}

@font-face { 
    font-family: 'Caveat';
    src: url(fontti/Caveat-Regular.woff2) format('woff2');
    font-display: swap;
}


/*animaatio hero*/

@keyframes slideInLeft{
    from {
        transform: translateX(-300px);
        opacity: 0;
        z-index: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
        z-index: 0;
    }
}

h1,
#hero,
.container1,
.toimintakehote,
.toimintakehote5  {
    animation-name: slideInLeft;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-delay: 0s;
}

@keyframes zoomin{
    from {
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.kartta {
    animation-name: zoomin;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-delay: 0;
}

/*animaatio sivulle*/

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suostuimmat-kakut,
.kakun-tilaus,
.arvostelut,
.kakkujen-hinnoittelu,
.cta-rivi,
.kaikki-kakut,
.muokkaakakkuinfo,
.tilaa {
    animation: appear both;
    animation-timeline: view(); 
    animation-range: entry 20% cover 100vh;
}


body {
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    position: relative;
    height: 1010px;
    overflow: hidden; 
}

header picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-sisalto {
    position: relative;
    z-index: 1;
}

.navbar{
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ylapalkki{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: white;
}

.navbar a img{
    padding: 10px 150px;
}

.off-screen-menu {
    padding: 0 100px;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none; 
    margin: 0;
    padding: 30px 0;
}

.nav-links a{
    font-family: OpenSans, sans-serif;
    font-size: 20px;
    transition: color 0.3s ease;
    text-align: right; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    text-decoration: none;
    color: #404040;
    border-radius: 24px;
}

.nav-links a:hover{
    color: #c93b61;
}

#valittu {
    color: #c93b61;
    font-family: OpenSans-SemiBold, sans-serif;
}

.nav-links a.navin-cta {
    width: 100px;
    height: 35px;
    font-size: 20px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
}

/*CTA napit*/

.toimintakehote {
    width: 250px;
    height: 60px;
    font-size: 25px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-left: 200px;
}

.toimintakehote2 {
    font-size: 25px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: inline-block;
    margin-top: 100px;
}


.toimintakehote3 {
    width: 250px;
    height: 60px;
    font-size: 25px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    grid-column: 3;
    grid-row: 5;
    align-self: end;
    margin-left: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.toimintakehote.info{
    width: 250px;
    height: 60px;
    font-size: 25px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    margin-left: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.toimintakehote5 {
    font-size: 25px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #c93b61;
    background-color: white;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    width: 250px;
    height: 30px;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    margin-right: 200px;
}

.tuotteet-ctat {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.toimintakehote5.tuotteet,
.toimintakehote.tuotteet {
    width: 250px;
    height: 60px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.nav-links a.navin-cta:hover,
.toimintakehote:hover,
.toimintakehote2:hover,
.toimintakehote3:hover {
    background-color:#cc4f70;
    transform: translateY(-5px);
}

.toimintakehote5:hover {
    background-color: white;
    transform: translateY(-5px);
}

h1 {
    font-size: 66px;
    font-family: OpenSans, sans-serif;
    letter-spacing: 0;
    line-height: normal;
    text-align: left;
    margin: 150px 0 0 200px;
    color: #404040;
    font-weight: 400;
}

.otsikko-alempi {
    font-family: caveat;
    font-size: 64px;
}

h2 {
    font-size: 50px;
    font-family: OpenSans, sans-serif;
    text-align: center;
    margin-top: 80px;
    color: #404040;
    font-weight: normal;
    margin: 0;
}

h3 {
  font-size: 30px;
  font-family: OpenSans-SemiBold, sans-serif;
  color: #c93b61;
  font-weight: normal;
  text-align: left;
  margin: 0 150px;
}

h4 {
    font-size: 25px ;
    font-family: OpenSans, sans-serif;
    color: #404040;
    font-weight: normal;
    margin: 0;
}

p {
    font-size: 25px;
    font-family: OpenSans, sans-serif;
    text-align: left;
    margin: 25px 0 25px 200px;
    line-height: 40px;
    max-width: 700px;
    color: #404040;
    padding: 40px 0 40px;
}

/*Footer*/

footer {
    width: 100%;
    bottom: 0;
    padding: 200px 0 50px;
    font-size: 15px;
    line-height: 20px;
    background-color: #FEF3F5;
}

.footer-p {
    font-size: 20px;
    text-align: left;
    padding: 0;
    margin: 0;
}

/*footer jaetu 3 flexiin -> oikea, keski, vasen*/

.footer-right,
.footer-left {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.footer-right {
    flex-direction: column;
}

.footer-center {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-center p{
    margin-top: 20px;
}

/*footerin sisällä oleva rivi, johon sisälle tulee tiedot*/

.row {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

/*col, social icons, flogo -> tietoja rivissä*/

.col {
    padding: 0;
}

.col a {
    font-size:20px;
    font-family: OpenSans, sans-serif;
    text-align: left;
    color: #404040;
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
}

.col a:hover {
    color: #c93b61;
    transition: 0.3s ease-out;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}


.flogo img {
    display: block;
    margin: 0;
    padding: 0;
}

.sijainti {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}


.ilmaisetkuvat {
    color: #c93b61;
    font-family: OpenSans, sans-serif;
}

.footer-p a {
    padding:0;
    margin-bottom: 5px;
}


/*ETUSIVUN CSS*/

/*leipätekstissä oleva osoite*/

.osoite {
    color: #c93b61;
    font-family: OpenSans-SemiBold, sans-serif;
}

/*suosituimmat kakut -osio*/

.suostuimmat-kakut {
    padding: 100px 0;
    text-align: center;
}

.kakku-rivi {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    margin-top: 50px;
}

.kakku1,
.kakku2,
.kakku3 { 
    transition: 0.3s ease;
    cursor: pointer;
}

.kakku1:hover,
.kakku2:hover,
.kakku3:hover {
    transform: translateY(-5px);
}

.kakku1 img,
.kakku2 img,
.kakku3 img {
    width: 353px;
    height: 353px;
    border-radius: 10px;
}

.hinta {
    color: #c93b61;
    font-family: OpenSans-SemiBold, sans-serif;
    padding: 0;
    margin: 20px 0 20px 0;
    text-align: left;
}

/*Kakun tilaus -osio*/

.kakun-tilaus {
    padding: 100px 20px;
    text-align: center;
    background-color:#FEF3F5;
}

.tilaus-intro {
    text-align: center;
    margin: 20px auto 0;
    padding: 0;
    line-height: 28px;
}

.tilaus-polku {
    text-align: center;
    margin: 30px auto 60px;
    padding: 0;
}

/*luettelo*/

.tilaus-ohje {
    width: 700px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    row-gap: 0;
    position: relative;
}

/*keskellä oleva pinkki viiva*/

.tilaus-ohje::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #c93b61;
    transform: translateX(-50%);
}

/*kortit*/

.tilaus-kortti {
    width: 240px;
    box-sizing: border-box;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    position: relative;
    text-align: left;
}

/*vasen/oikea suunta*/

.tilaus-kortti.vasen {
    justify-self: end;
}

.tilaus-kortti.oikea {
    justify-self: start;
}

/*jokaiselle oma rivi*/

.tilaus-kortti:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.tilaus-kortti:nth-child(2) {
    grid-column: 3;
    grid-row: 2;
}

.tilaus-kortti:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.tilaus-kortti:nth-child(4) {
    grid-column: 3;
    grid-row: 4;
}

.tilaus-kortti:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
}

/*korttien otsikot*/

.tilaus-kortti.oikea h4,
.tilaus-kortti.vasen h4 {
    font-size: 18px;
    margin: 10px 0 5px;
    text-align: left;
}

/*korttien leipäteksti*/

.tilaus-kortti.oikea p,
.tilaus-kortti.vasen p {
    font-size: 15px;
    line-height: 22px;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #746C6E;
}

/*pieni numero*/

.numero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #c93b61;
    color: white;
    font-family: OpenSans, sans-serif;
    font-size: 15px;
}

/*kakkujen hinnoittelu*/
/*grid-container3 on "kakkujen hinnoittelu" -osion gridi */

.kakkujen-hinnoittelu {
    background-color: #FFFDF8;
    padding: 50px 0;
}

.grid-container3 {
    display: grid;
    grid-template-areas: 
    "g1 g1 g1 g1"
    "g2 g2 g3 g3"
    "g2 g2 g3 g3";
    padding-top: 50px;
}

.grid-otsikko {
    grid-area: g1;
    padding-bottom: 50px;
}
.grid-teksti {grid-area: g2;}
.grid-kuva {grid-area: g3;}
  
.grid-container3 p {
    text-align: left;
    margin: 0 150px;
    padding: 50px 0;
}

.grid-kuva img{
    width: 600px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    margin-right: 150px;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
}


/*arvostelut -osio*/

.arvostelut {
    padding: 50px 0 100px;
}

.asiakkaiden-arvostelut {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    padding-top: 50px;
}

/*arvostelu boxit*/

.arvostelu1,
.arvostelu2,
.arvostelu3 {
    width: 300px;
    height: 300px;
    background-color: white;
    padding: 30px 25px 20px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

.asiakas-kuva {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid white;
}

.arvostelu-teksti {
    flex-grow: 1;
    padding-top: 50px;
    padding-bottom: 0;
}

.asiakkaiden-arvostelut p {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
}


.asiakas {
    text-align: center;
    padding: 20px 0 0;
}

.tahdet {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 5px;
}



/*CTA rivi alhaalla*/

.cta-rivi {
    position: relative;
    background-color: #c93b61;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center ;
}


.cta-rivi-otsikko {
    text-align: left;
    margin-left: 200px;
    color: white;
}

.cta-teksti{
    color: white;
}

/*TUOTTEET SIVUN CSS*/

.tuotteet-hero {
    height: 800px;
}


.h2-tuote{
    text-align: left;
    margin-left: 100px;
}



/*kategoriat*/

.kategoriat {
    margin-top: 50px;
}

.kategoriat-nappi {
    font-size: 20px;
    font-family: OpenSans, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #404040;
    background-color: #FFEDF1;
    padding: 10px 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 30px;
    display: inline-block;
    width: 250px;
    border: none;
}

.kategoriat-nappi.aktiivinen {
    background-color: #c93b61;
    color: white;
}
.kategoriat button:hover {
    transform: translateY(-5px);
}

/* Kaikki kakut */

.kaikki-kakut {
    padding: 100px 0;
    text-align: center;
}

.valikoima {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 40px;
    margin-top: 50px;
}

.kakku-kortti {
    transition: 0.3s ease;
    cursor: pointer;
}

.kakku-kortti:hover {
    transform: translateY(-5px);
}

.kakku-kortti img {
    border-radius: 10px;
}

.nimi-valikko{
    text-align: left;
    margin: 20px 0 20px 0;
    padding: 0;
    font-family: OpenSans, sans-serif;
}

.oletuskokojatayte {
    font-size: 16px;
    font-family: OpenSans-SemiBold, sans-serif;
}

.kuvaus{
    font-size: 20px;
    padding: 0;
    margin: 0;
    width: 350px;
    text-align: left;
    line-height: 30px;
}

#selitys {
    text-align: center;
    margin: auto;
}

.muokkaakakkuinfo h3 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.muokkaakakkuinfo {
    background-color: #FFFDF8;
    padding: 50px 0;
}

.muokkaakakkuinfo p {
    margin: auto;
    padding: 20px 0;
    text-align: left;
    justify-content: center;
}

/*YHTEYSTIEDOT SIVUN CSS*/

#h1-yh{
    margin: 20px 200px;
}

#yh-hero {
    height: 750px;
}

.yhteystiedot {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 80px;
    margin: 20px auto 0;
}

.container1 { 
    width: 900px;
    padding: 40px;
    background-color:#fafafa; 
    border: #fafafa;
    border-radius: 40px;       
}

.teksti-container1 p { 
    margin: 0; 
    padding: 0;
    text-align: left;
    font-family: OpenSans, sans-serif;
    color: #404040;
}

.kartta {
    border-radius: 50%;
    width: 368px;
    height: 368px;
    object-fit: cover;
    border: 4px solid #c93b61;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    transition: transform 0.3s ease;
}

.kartta:hover{
    transform: scale(1.05);
}

aside {
    text-align: center;    
}

.teksti {
    width: 100%;
    text-align: left;    
    color: #404040;
    font-family: Sniglet;
}

.email-link{    
    font-family:OpenSans, sans-serif;
    color: #404040;   
    text-decoration: none;
}
.email-link:hover{
    color: #c93b61;
    text-decoration: underline;
}
.puhelin{
    font-family:OpenSans, sans-serif;
    color: #404040;
    text-decoration: none;    
}

/*Tilaa suoraan netisstä*/

.tilaa {
    position: relative;
    z-index: 1;
    background-color: #fafafa;
    padding: 50px;
    min-height: 1500px;
}

.tilaa p{
    padding-top: 20px;
    text-align: center;
    margin: auto;
}

/*Lomake*/

.tilaus-tiedot {
    background-color: #FEF3F5;
    padding: 20px;
    border-radius: 20px;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 18px;
    color: #404040;
    width: 710px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
}

/*Kakun tiedot + yhteystiedot*/

.tilaus-tiedot fieldset {
    border: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
}

/*Fieldsetin otsikot*/

.tilaus-tiedot legend {
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 22px;
    color: #404040;
    margin-bottom: 20px;
}

/*Labelit*/

.tilaus-tiedot label {
    margin-bottom: 10px;
    margin-top: 5px;
}

/*Inputit, selectit ja textarea*/


.tilaus-tiedot input,
.tilaus-tiedot select,
.tilaus-tiedot textarea {
    box-sizing: border-box;
    font-family: OpenSans, sans-serif;
    color: #404040;
}

/* Tekstikentät */

.tilaus-tiedot input {
    height: 30px;
    width: 700px;
    padding-left: 5px;
    margin-bottom: 20px;
}

/* Pudotusvalikot */

.tilaus-tiedot select {
    height: 40px;
    width: 700px;
    padding-left: 5px;
    margin-bottom: 20px;
}

/* Päivämääräkenttä */

.tilaus-tiedot input[type="date"] {
    color: #404040;
    font-family: OpenSans, sans-serif;
    padding-left: 5px;
}

/* Viestikenttä */

.tilaus-tiedot textarea {
    width: 700px;
    margin-bottom: 20px;
    padding: 8px;
    resize: vertical;
}

/* Placeholderit */

.tilaus-tiedot textarea::placeholder,
.tilaus-tiedot input::placeholder {
    font-family: OpenSans, sans-serif;
    font-size: 15px;
}

/* Lähetä tilauspyyntö -nappi */

.tilaus-tiedot button[type="submit"] {
    width: 250px;
    height: 50px;
    font-size: 20px;
    font-family: OpenSans-SemiBold, sans-serif;
    color: #ffffff;
    background-color: #c93b61;
    padding: 0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/*Mobiili*/
@media (max-width: 800px) {
body{
    margin: 0;
    overflow-x: hidden;
}

.ylapalkki{
    margin-top: 0;
    padding: 0;
}



.off-screen-menu {
    background-color: white;
    height: 100vh;
    width: 60%;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    padding: 0;
}

.off-screen-menu.active {
    right: 0;
    
}

nav {
    background-color: white;
    width: 100%;
    height: 66px;
    padding: 0;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.logo {
    justify-content: center;
    align-content: center;
}

.navbar a img{
    width: 78px;
    height: 31px;
    padding: 0;
    margin: auto;
}

.navbar {
    padding: 0 30px;
}

.ham-menu {
    height: 40px;
    width: 40px;
    align-self: center;
    position: relative;
}

.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: #c93b61;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ham-menu span:nth-child(1) {
    top:25%;
    z-index: 1;
}

.ham-menu span:nth-child(3) {
    top:75%;
    z-index: 1;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
    z-index: 1;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}


.nav-links{
    display: block;
    list-style: none; 
    margin: 0;
    padding: 0;
}
    
.nav-links a {
    font-family: OpenSans, sans-serif;
    font-size: 20px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content:left;
    height: 44px;
    padding: 0;
    text-decoration: none;
    color: #404040;
}


#valittu {
    color: #c93b61;
}

.nav-links a.navin-cta  {
    width: 100px;
    height: 35px;
    font-size: 20px;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 10px 0 0;
}



.hero-sisalto {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

h1 {
    font-size:35px;
    font-family: OpenSans, sans-serif;
    color: #404040;
    font-weight: normal;
    text-align: left;
    margin: 100px 20px 20px;
    line-height: 45px;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.otsikko-alempi {
        font-size: 33px;
        line-height: 20px;
}
h2 {
        font-size: 30px;
        font-family: OpenSans, sans-serif;
        color: #404040;
        font-weight: normal;
        text-align: center;
        margin-top: 40px;
    }
h3 {
        font-size: 20px;
        font-family: OpenSans-SemiBold, sans-serif;
        font-weight: normal;
        color: #c93b61;
        text-align: left;
        margin: 10px 20px 0;

    }
p {
        font-size: 16px;
        font-family: OpenSans, sans-serif;
        color: #404040;
        width: auto;
        max-width: 330px;
        margin: 20px;
        padding: 0;
        line-height: 25px;
    }

.osoite {
        font-size: 16px;
        font-family: OpenSans-SemiBold, sans-serif;
        color:#c93b61;
    }

.toimintakehote {
    margin-left: 20px;
    font-size: 16px;
    height: 50px;
    width: 170px;
    padding: 0;
    }

.toimintakehote2 {
    font-size: 18px;
    font-family: OpenSans, sans-serif;
    margin-bottom: 50px;
    width: 200px;
}

.toimintakehote3 {
    font-size: 18px;
    margin: auto;
    grid-column: 1;
    grid-row: 6;
    font-family: OpenSans-SemiBold, sans-serif;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    background-color: #c93b61;
    padding: 10px 10px;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    display: block;
    height: auto;
    width: 200px;
}

.toimintakehote.info {
    margin: auto;
    font-size: 18px;
    height: auto;
    width: 200px;
}

.toimintakehote5 {
    font-size: 16px;
    margin: auto;
    height: auto;
}

.toimintakehote5.tuotteet,
.toimintakehote.tuotteet {
    font-size: 16px;
    height: 50px;
    width: 150px;
    padding: 0;
}

.tuotteet-ctat {
    gap: 10px;
}

.tuotteet-ctat a {
    width: 140px;
    height: 45px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}


    /*Footer*/

footer {
    height: 600px;
    width: 100%;
    bottom: 0;
    padding: 50px 0 20px;
    font-size: 15px;
    line-height: 20px;
}

.footer-p {
    font-size: 15px;
    text-align: left;
    margin: 0;
    padding: 0;
}

.footer-p a {
    padding: 8px 10px;
    font-size: 18px;
}

.row {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.col {
    padding: 0;
}

.col a {
    font-family: OpenSans, sans-serif;
    text-align: left;
    color: #404040;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.col a:hover {
    color: #c93b61;
    transition: 0.3s ease-out;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}


.footer-right,
.footer-left {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.footer-left a {
    padding: 8px 0;
    font-size: 18px;
}

.footer-right {
    flex-direction: column;
    margin-right: 100px;
    margin-top: 20px;
}

.footer-center {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-top: 400px;
}

.flogo img {
    display: block;
    margin: 0;
    padding: 0;
}


.sijainti p {
    margin-left: 0;
    text-align:left;
}


.ilmaisetkuvat {
    color: #c93b61;
    font-family: OpenSans, sans-serif;
}

/*Etusivun mobiilinäkymä*/

.etusivu-hero {
    height: 700px;
}

/*Suosituimmat kakut osion asetelu mobilessa*/
.suostuimmat-kakut {
    padding: 0;
    text-align: center;
}

.kakku-rivi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 25px;
}


.kakku1 img,
.kakku2 img,
.kakku3 img {
    width: 300px;
    height: 270px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}


.tiedot {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 300px;
    height: 20px;
}

.tiedot .nimi-valikko {
    width: auto;
    margin: 10px 0 0;
}

.tiedot .hinta {
    width: auto;
    margin: 10px 0;
}

.kuvaus.etusivu{
   width: 0;
   visibility: hidden;
}

/*Kakun tilaus -osio*/

.kakun-tilaus {
    padding: 20px 20px 50px 20px;
    text-align: center;
    background-color:#FEF3F5;
}

.tilaus-intro {
    text-align: center;
    margin: 20px auto 0;
    padding: 0;
    line-height: 28px;
}

.tilaus-polku {
    text-align: center;
    margin: 30px auto 30px;
    padding: 0;
}

/*luettelo*/

.tilaus-ohje {
    width: 300px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    position: relative;
}

/*keskellä oleva pinkki viiva*/

.tilaus-ohje::before {
    left: 0;
    width: 1px;
    height: 700px;
}

/*kortit*/

.tilaus-kortti {
    width: 280px;
    box-sizing: border-box;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
    position: relative;
    text-align: left;
}

/*ylhäätlä alas*/

.tilaus-kortti.vasen,
.tilaus-kortti.oikea {
    margin-left: 20px;
    margin-bottom: 20px;
}

/*jokaiselle oma rivi*/

.tilaus-kortti:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.tilaus-kortti:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.tilaus-kortti:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.tilaus-kortti:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
}

.tilaus-kortti:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
}

/*korttien otsikot*/

.tilaus-kortti.oikea h4,
.tilaus-kortti.vasen h4 {
    font-size: 18px;
    margin: 10px 0 5px;
    text-align: left;
}

/*korttien leipäteksti*/

.tilaus-kortti.oikea p,
.tilaus-kortti.vasen p {
    width: fit-content;
}

/*pieni numero*/

.numero {
    position: absolute;
    left: -35px;
    top: 0;
    width: 30px;
    height: 30px;
}

/*kakkujen hinnoittelu*/

.grid-otsikko{
    grid-area: g2;
    padding-bottom: 20px;
}
.grid-teksti {grid-area: g3;}
.grid-kuva {grid-area: g1;}
  
.grid-container3 {
    display: grid;
    grid-template-areas: 
    "g1"
    "g2"
    "g3";
    width: fit-content;
    padding-top: 0;
    margin: 0 auto;
}

.grid-container3 p {
    text-align: left;
    width: 300px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 0 auto;
    padding: 40px 0;
}

.grid-kuva img{
    width: 300px;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: flex;
    margin: auto;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 12px 15px;
}


/*arvostelut*/

.asiakkaiden-arvostelut {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding-top: 50px;
    margin: auto;
}

/*arvostelu boxit*/

.arvostelu1,
.arvostelu2,
.arvostelu3 {
    width: 300px;
    height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

.asiakas-kuva {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid white;
}

.arvostelu-teksti {
    flex-grow: 1;
    padding-top: 50px;
    padding-bottom: 0;
    margin: auto;
    height: 50px;
}

.asiakkaiden-arvostelut p {
    text-align: center;
    font-size: 15px;
    line-height: 20px;
    width: 250px;

}


.asiakas {
    text-align: center;
    padding: 0;
}

.tahdet {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.tahdet img {
    width: 15px;
    height: 15px;
    display: block;
}

/*CTA rivi alhaalla*/

.cta-rivi {
    position: relative;
    background-color: #c93b61;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
}


.cta-rivi-otsikko {
    text-align: left;
    margin-left: 20px;
    color: white;
}

.cta-teksti{
    color: white;
    margin-left: 20px;
}

 /*TUOTE SIVU MOBIILI CSS*/

 /*Hero*/

.tuotteet-hero {
    height: 600px;
}

#slogan {
    margin: 100px 20px 20px;
    box-sizing: border-box;
}


/*Otsikko ja kategoriat*/

.kaikki-kakut {
    padding: 20px 0;
    text-align: left;
    margin: 0 10px;
    box-sizing: border-box;
}

.kaikki-kakut h2 {
    text-align: left;
}

.kategoriat {
    margin-top: 20px;
}

.kategoriat-nappi {
    margin: 5px auto;
    font-size: 15px;
    padding: 5px 5px;
    width: auto;
}

/*kaikki kakut*/

.valikoima {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 15px;
    align-items: stretch;
    width: 100%;
    margin: 30px auto 0;
}

.kakku-kortti {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kakku-kortti img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.kakku-kortti .kuvaus {
    width: auto;
    min-height: 90px;
    margin: 0;
    font-size: 15px;
    line-height: 18px;
    text-align: left;
}

.kakku-kortti .hinta {
    width: auto;
    margin-top: auto;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
}

.kakku-kortti .nimi-valikko{
    font-size: 18px;
    margin: 10px 0 5px;
    padding: 0;
    font-family: OpenSans, sans-serif;
    text-align: left;
}

.hinta {
    color: #c93b61;
    font-family: OpenSans-SemiBold, sans-serif;
    padding: 0;
    margin: 10px 0;
    text-align: left;
    width: 200px;
}

.valikko-kakku:hover {
    transform: translateY(-5px);
}



/*CTA rivi*/
.cta-rivi {
    padding: 20px 0 50px 0;
}


.muokkaakakkuinfo {
    padding: 40px 20px;
}

.muokkaakakkuinfo h2 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.3;
    text-align: left;
}

.muokkaakakkuinfo h3 {
    margin: 25px 0 8px;
    font-size: 20px;
}

.muokkaakakkuinfo p {
    margin: 0;
    padding: 0;
}

.muokkaakakkuinfo #selitys {
    margin: 0;
    text-align: left;
}

/*Yhteystiedot sivun mobiili näkymä*/


#yh-hero{
    height: 800px;
}

#h1-yh{
    margin: 20px 20px;
}

    .container1{
        display: flex;
        flex-direction: column;
        width: 95%;
        margin: auto;
        padding: 5%;
        box-sizing: border-box;
    }
    aside{
        width: 100%;
        margin: 20px;
        text-align: center;
    }
    .kartta{
        width: 70%;
        height: auto;
    }

    .yhteystiedot{
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        margin: auto;
        gap: 5px;
    }
    header{
        display: flex;
        flex-direction: column;
        align-items: center;

         }
    .puhelin{
        text-decoration: underline;
        color: #c93b61;
    }
    

 /*Tilaa suoraan netistä mobile*/

.tilaa h2 {
    margin: 0 0 15px;
}
.tilaa {
   padding: 40px 20px;
   height: auto;
   z-index: 0;
}

.tilaa p {
    text-align: left;
    margin: 0 0 15px;
    padding-top: 0;
}

.tilaus-tiedot {
    width: 100%;
    min-width: 0;
    padding: 20px 15px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 30px auto 0;
}

.tilaus-tiedot fieldset {
        border: none;
        padding: 0;
        margin: 0 0 25px;
    }

    .tilaus-tiedot legend {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .tilaus-tiedot label {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .tilaus-tiedot input,
    .tilaus-tiedot select,
    .tilaus-tiedot textarea {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0 0 20px;
    }

    .tilaus-tiedot input,
    .tilaus-tiedot select {
        height: 48px;
    }

    .tilaus-tiedot textarea {
        min-height: 140px;
        resize: vertical;
    }

    .tilaus-tiedot button[type="submit"] {
        width: 100%;
        max-width: 280px;
        height: 45px;
        font-size: 16px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 5px auto 0;
        padding: 0;
        box-sizing: border-box;
    }
}