
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* Style the header */
.header {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
  font-size: 35px;
}

/* Create three unequal columns that floats next to each other */
.column {
  float: left;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Left and right column */
.column.side {
  width: 25%;
}

/* Middle column */
.column.middle {
  width: 50%;
}

/* Sivun yleiset asetukset */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #eef2f7;
  color: #222;
  line-height: 1.6;
}

/* Yläosa */

.header {
  background-color: #172554;
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  margin: 0;
  font-size: 42px;
}

.header p {
  font-size: 18px;
  margin: 5px 0 0 0;
}

/* Kolmen palstan rakenne */

.row {
  width: 100%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Palstat */

.column {
  float: left;
  padding: 20px;
  min-height: 500px;
}

.column.side {
  width: 25%;
  background-color: #dbeafe;
}

.column.middle {
  width: 50%;
  background-color: white;
}

/* Otsikot */

.column h2 {
  color: #172554;
  margin-top: 0;
}

.column h3 {
  color: #2563eb;
}

/* Teksti */

.column p {
  font-size: 16px;
}

.column li {
  margin-bottom: 8px;
}

/* Kuva */

.column.middle img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* Linkit */

a {
  color: #1d4ed8;
}

a:hover {
  color: #dc2626;
}

/* Alatunniste */

.footer {
  background-color: #172554;
  color: white;
  padding: 20px;
  text-align: center;
  clear: both;
}

.footer h3 {
  margin-top: 0;
}

.footer p {
  font-size: 14px;
}

.footer a {
  color: #bfdbfe;
}

/* Responsiivisuus */

@media (max-width: 800px) {
  .column.side,
  .column.middle {
    width: 100%;
  }

  .header h1 {
    font-size: 34px;
  }
}