::before, ::after {
    box-sizing: border-box;
}

:root {
    font-size: 1.1rem;

    --bg-color--dark:#2a2a2a;
    --bg-color--medium:#505252;
    --bg-color--light: hsl(299, 61%, 86%);
    --main--color--light: hsl(300, 23%, 91%);
    --accent-color--pink:hsl(318, 82%, 35%);
    --accent-color2--pink: hsl(286, 57%, 75%);
    --main-font-color--dark:hsl(15, 0%, 10%);
    --main-padding: 1.5em;
    --margin--auto: 0 auto;

}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Arima Madurai', cursive;
}

/*sivun alkuun -nappi */
#myBtn {
	display: none; /* Hidden by default */
	position: fixed; /* Fixed/sticky position */
	bottom: 25px; /* Place the button at the bottom of the page */
	right: 50px; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	background-color: var(--bg-color--light); /* Set a background color */
	color: var(--accent-color--pink); /* Text color */
	cursor: pointer; /* Add a mouse pointer on hover */
	padding: 0.5em; /* Some padding */
	margin: 0;
    /* Rounded corners */
	font-size:2rem; /* Increase font size */
	opacity:0.8;
    transform: rotate(270deg);
  }

  #myBtn:hover {
	background-color: #555; /* Add a dark-grey background on hover */
  }

  .header {
      background-color:var(--bg-color--dark);
      text-align: center;
      margin: 0;
  }

  .logo {
      width: 100%;
      max-width: 300px;
  }

  /*************** VALIKON MUOTOILUT **************************************/

.topnav {
    position:sticky;
    position:-webkit-sticky;
    top:0;
    z-index: 99;
    margin: 0;
    background-color:var(--bg-color--light);
    color: var(--bg-color--dark);
    /*box-shadow: 3px 3px 5px var(--bg-color--dark);*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.navlist {
    list-style-type: none;
    flex-direction: column;
    display: none;
    width: 100%;
    margin: 0;
    padding-top: 1em;
}

.navlist li {
    padding: .5em 0;
}

i {
    color:var(--accent-color--pink);
    font-size: 1.2rem;
    
}

#menu {
    padding: 1em;
    background-color:#2a2a2a;
    border-radius: 50%;
    opacity: 0.85;
}

a {
    text-decoration: none;
    color:var(--bg-color--dark);
}

 
#check {
    display: none;
}

.checkbtn {
    right: 0;
    top: 10px;
    padding: 1rem;
    display: block;
    cursor: pointer;
    float: right;
}

#check:checked ~ ul{
    left: 0;
    display: block;
}

#check:checked >* i#menu {
    background-color: var(--bg-color--light);
}



  /*                                    tekstin muotoilut       ***********/

  h1, h2, h3 {
      font-family: 'Lobster', cursive;
      text-align: center;
}
  
h1 {
      color:#fff;
      text-shadow: 3px 3px 6px var(--bg-color--dark);
      text-align: center;
      width:100%;
      max-width: 400px;
      padding-block: 2em;
      font-size: 3rem;
}

h2 {
      font-size: 2.1rem;
      text-shadow: 2px 2px 2px var(--main--color--light);
 

}

h2.some {
    color: var(--bg-color--light);
    margin-inline: auto;
    font-weight: 300;
}

h3 {
      color:var(--accent-color--pink);
      font-size: 2rem;   
      font-weight: 300;   
}

h3.hinnasto {
    color:var(--bg-color--light);
}

h4 {
    font-size: 1.25rem;
    color:var(--main--color--light);    
    
}


a.palvelut {
    color: var(--bg-color--light);
    font-size: 1.7rem;
    font-weight: 200;
    text-shadow: 1px 1px 2px black;
}

.section--palvelut h4 {
    color:#000;
    font-weight: strong;
    text-shadow: 2px 2px 2px var(--main--color--light);
}

p {
    color:var(--main-font-color--dark);
    font-weight: 500;
}

.content p {
    color: var(--bg-color--light);
}

ol {
    color: var(--bg-color--light);
}


  /*                                    divien muotoilut **********************/

  .main--container {
      margin: 0;
      padding: 0;
  }

  .main--bg-content {
    background-image:url(img/slide-3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2em;
  }

.hero {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

.callbtn {
    background-color:var(--bg-color--dark);
    border-radius: 12px;
    text-align: center;
    padding: .25em .75em;
    color: var(--main--color--light);
}

.card {
    background-color:var(--bg-color--light);
    border-radius: 10px;
    color:var(--accent-color--pink);
    text-align: center;
    padding: .25em .5em;
    font-size: 2rem;
}

.section--padding {
    padding: 1em;
    opacity: 1;
}

.section--palvelut {
    background-image: url(img/slide-1.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 2em;
}



.section--hieronnat{
    background-image:linear-gradient(to bottom, #fff, #f9bae5);
}

.decor_btm {
    background-image:url(img/decor_bottom-right.png);
    background-size: cover;
    background-position: right;
}

.decor_top {
    background-image:url(img/decor_top-left.png);
    background-size: cover;
    background-position: right;
}

.section--hoidot{
    background-image:linear-gradient(to top, #fff, #f9bae5);
}

.section--image {
    background-image:linear-gradient(to top, #fff, #f9bae5);
   
}

.section--image h4 {
    color:var(--main-font-color--dark);
}

.section--contain {
    
    background-size:cover;
    background-repeat:no-repeat;
}

.detox {
    display:block;
    list-style: disc;
}

.some {
    margin: 0 auto;
    padding: .5em;    
    text-shadow: none;
}

.footer {
    margin: 0 auto;
    padding: 2em;
    text-align: center;
    background-color:var(--bg-color--dark);
    color:hsl(299, 61%, 86%);
}

.row {
    display: flex;
    flex-direction:column;
    margin: 0 auto;
}

.col {
    width: 100%;
    text-align: center;
    margin: 0.5em;
}

.col--about {
    padding-right: 2em;
    text-align: center;
}


.collapsible {
	background-color: var(--bg-color--dark);
	color: var(--main--color--light);
	cursor: pointer;
	padding: 2em;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 1.2rem;
	font-family: 'Lobster', cursive;
	margin-top: 1em;
    border-radius: 1%;
  }

  .active, .collapsible:hover {
	background-color: var(--bg-color--medium);
  }

  .collapsible:after {
	content: '\276F';
	font-weight: bold;
	float: right;
	margin-left: 5px;
	margin-bottom:10px;
    transform:rotate(90deg);
  }

  .active:after {
	content: "\276F";
    transform:rotate(270deg);
  }

  .content {
	padding: 0 18px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 400ms ease-in-out;
	background-color: var(--accent-color--pink);
  }


/***** kuvien muotoilut ***********************************************/


img:not.logo {
    max-width: 90%;
    max-width: 350px;
    border-radius: 1%;
    
}

.collab-img
{
    max-width:90%;
    border-radius: 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.lahja {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.profi {
    border-radius: 1%;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

img.some {
    width: 100%;
    max-width: 65px;
}

.span {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer__logo {
    width: 100%;
    max-width: 30em;
}

/* ***************** LOMAKKEEN MUOTOILUT *******************/

.formrequiredincomplete {
	background: #FF9999;
	color: #000000;
	border: #FF0000 2px solid;
}

form {
    text-align: left;
    margin-right: 1em;
    border: none;
}

fieldset {
    width: 100%;
    border: none;
    inset: none;
}

label {
    padding-bottom: 0.75em;
    
}

input {
    box-sizing: border-box;
    margin-bottom: 1em;
    padding: 0.75em;
    width: 100%;
    box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 12px 0 rgba(0, 0, 0, 0.19);
    border:none;
}

select  {
    width: 100%;
    margin-bottom: 1em;
    padding: 0.75em;
    border-radius: none;
    box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 12px 0 rgba(0, 0, 0, 0.19);
    border: none;
}

option {
    padding: 0.5em;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    resize: none;
    margin-bottom: 1em;
    box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 12px 0 rgba(0, 0, 0, 0.19);
    border: none;
    padding: 0.25em;
}

input#submit {
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 25px 0 rgba(0, 0, 0, 0.19);
    background-color: var(--bg-color--dark);
    color: var(--bg-color--light);
    font-size: 1.25rem;
    font-family: 'Arima Madurai', cursive;
    border-radius: 10px;
    border: none;
    display: inline-block;
    padding: 0.75rem;
}

#submit:hover {
    box-shadow: none;
}

#submit.active {
    box-shadow: none;
  }

#map {
    width: 100%;
    margin-top: 1.5em;
    border-radius: 2px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/**** MEDIA QUERIES *******************************************/


  @media screen and (min-width:670px) {

    .checkbtn {
        cursor: pointer;
        float: right;
        display: none;
    }
    
    #check {
        display: none;
    }

    
.topnav {
    width: 100%;
    height: 3.5em;
    z-index: 1;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    font-size: 1.3rem;
    box-shadow: 4px 4px 8px black;
}

.navlist {
    flex-direction: row;
    display: flex;
}

ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
}

li {
    margin-right: 1em;
    padding-top: 1em;
}

a {
    text-decoration: none;
    color: var(--bg-color--dark);
    font-size: 1.1rem;
}

a:hover {
    color: var(--accent-color--pink);
}

h1 {
    font-size: 5rem;
    padding: 1em 0;
    margin-inline: auto;
}

p {
    font-size: 1rem;
}

.callbtn {
    display:none;
}

.row {
    flex-direction: row;
}


  }