* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: rgb(50, 50, 50);
}

.header {
    padding: 60px;
    text-align: center;
    background: #280315;
    color: rgb(142, 142, 142);
    font-size: 2em;
}

.header > p {
    color: rgb(99, 99, 99);
}

.navbar {
    display: flex;
    background-color: rgb(20, 20, 20);
}

.navbar a {
    color: rgb(96, 96, 96);
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

.navbar a:hover {
    background-color: black;
}

.active {
    background-color: rgb(0, 0, 0);
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.side {
    flex: 30%;
    background-color: rgb(36, 36, 36);
    padding: 20px;
    color: rgb(149, 149, 149);
}

.main {
    padding: 20px;
    color: antiquewhite;
    flex: 70%;
    background-color: rgb(56, 56, 56);
	background-image: url(/images/facesbg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.kuvaesimerkki {
    background-color: rgb(132, 127, 121);
    width: 60%;
    margin: 5px 0;
    padding: 20px;
    border-radius: 8px;
    opacity: 0.7;
}

.ytlinkki {
    background-color: rgb(132, 127, 121);
    width: 100%;
    margin: 5px 0;
    padding: 20px;
    border-radius: 8px;
    font-family: cursive;
}

.ytlinkki a:link {
    text-decoration: none;
    color: antiquewhite;
}

.ytlinkki a:visited {
    text-decoration: none;
    color: antiquewhite;
}

.ytlinkki a:hover {
    text-decoration: none;
    color: antiquewhite;
}

.ytlinkki a:active {
    text-decoration: none;
    color: antiquewhite;
}

.omakuva {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 4px 8px 0;
    color: rgb(0, 0, 0);
}

.footer {
    padding: 2px;
    text-align: center;
    background-color: rgb(225, 212, 199);
}

/* puhelimet: */
[class*="col-"] {
    width: 100%;
  }
  
  @media only screen and (min-width: 600px) {
    /* tabletit: */
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 33.33%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}
  }
  @media only screen and (min-width: 768px) {
    /* isot näytöt: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
  }