* {
  box-sizing: border-box;
}

.konteiner {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  gap: 0px;
}

/* Mobile first */
.konteiner > * {
  grid-column: col-start / span 12;
}

@media (min-width: 768px) {

 .yks {
   grid-column: col-start / span 4;
   border: 0px solid #000000;
   margin-top: 20px;
   margin-bottom: 20px;
   text-align: center;
}

 .kaks {
   grid-column: col-start 5 / span 4;
   border: 0px solid #000000;
   margin-top: 20px;
   margin-bottom: 20px;
   text-align: center;
}

 .kolm {
   grid-column: col-start 9 / span 4;
   border: 0px solid #000000;
   margin-top: 20px;
   margin-bottom: 20px;
   text-align: center;
}
 
 .sisu {
   grid-column: col-start / span 7;
   border: 0px solid #000000;
   margin-top: 20px;
   margin-bottom: 20px;
   text-align: center;
  }
  
}

body {
  background-color: #ffffee;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: "Amarante"
}

h1 {
  font-size: 6vw;
  color: #f8d9b0;
  text-shadow: -1px -1px 1px black, 2px 2px 2px black, 2px 2px 5px grey;
}

h2 {
  font-size: 2.5vw;
  color: #000000;
  font-variant: small-caps;
  text-shadow: 3px 3px 3px gray;
}

h3 {
  font-size: 2em;
  color: #000000;
}

h4 {
  font-size: 1.2em;
  color: #000000;
  text-align: center;
}

p {
  font-family: "Della Respira";
  font-size: 1em;
  text-align: left;
}

p a:link {
  font-size: 1.2em;
  font-weight: bold;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  display: inline-block;
}

img {
  border: 1px solid #000000;
  border-radius: 10px;
  opacity: 0.7;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2), 2px 2px 10px rgba(0, 0, 0, 0.2);
  padding: 0px;
  margin: 0px;
  width: 100%;
  transition: opacity 1s;
}

img:hover {
  opacity: 1.0;
}

ul {
  list-style-type: circle;
}

.header {
  border: 2px solid black;
  background-image: url(taustapilt.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
  }
  
.konteiner {
  border: 0px solid black;
  }

.konteiner_footer {
  border: 2px solid black;
  background-image: url(taustapilt.jpg);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 25px;
 }
 
.raam {
  border: 1px solid #ad9d71;
  border-radius: 10px;
  padding: 10px;
  margin: 25px;
  background-color: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 5px 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.right {
  float: right;
}

.left {
  float: left;
}

.center {
  text-align: center;
    margin: auto;
}

.copyright {
  color: #f8d9b0;
  text-align: center;
}
