/* Hei näin kommentoit css:sää */
/* Laita tänne omat tyylittelyt :D */


html{
  scroll-behavior: smooth;
}

header a {
  box-shadow: inset 0 0 0 0 #1C411E;
  color: #1C411E;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  text-decoration: none;
}
header a:hover {
  box-shadow: inset 100px 0 0 0 #1C411E;
  color: #FFF9EB !important
}

.roboto-slab-font {
  font-family: "Roboto Slab", serif;
  font-weight: 200;
  font-style: normal;
}

body {
  background-color: #FFF9EB;
  font-family: Roboto Slab;
  font-size: 16px;
  color: #1C411E;
  padding: 0;
  max-width: 160ch;
  margin: 40px;
  align-items: start;
  overflow-x: hidden;
}
.cont{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 90vw;
  font-size: 24px;
}
.kuva2{
  flex: 1;
  max-width: 40vw;
  max-height: 60vw;
  border-radius: 10px;
}

.intro {
  display:flex;
  color: #FFF9EB;
  font-size: 24px;
  align-items: start;
}

.header {
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  font-family: Roboto Slab;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

figure{
  display: flex;
  max-width: 100%;
  height: auto;
  border-radius: 15px ;
}

img {
  display: flex;
  max-width: 100%;
  height: auto;
  border-radius: 15px ;
  
}
h2 {
  font-size: 2em;
  text-align: left;
}
h1 {
  font-size: 2em;
  text-align: center;
}

.wrapper {
  display: flex;
  flex-direction: column;
  
  
}
.laatikko {
  width: 100vw;
  height: 100px;
  background-color: #1C411E;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: start;
  justify-content: space-around;
  font-family: Roboto Slab;
  margin-bottom: 30px;
  margin-left: -40px;
  
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }

  .cont{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: auto;
  }
  .kuva2{
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }

  .intro {
    display:flex;
    color: #FFF9EB;
    font-size: 18px;
    align-items: center;
    margin-left: 40px;
  }

  .header {
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-family: Roboto Slab;
    margin-bottom: 30px;
  }

  .laatikko {
    width: 100vw;
    height: 120px;
    background-color: #1C411E;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-family: Roboto Slab;
    margin-bottom: 30px;
    margin-left: -40px;
    
  }
}