.bg1 {
  background-image: url("../images/bg3.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: right;
  width: 100%;
  height: 700px;
}
.bg2 {
  background-image: url("../images/bg4.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 500px;
}

.menu {
  background-color: transparent;
  position: fixed;
  top: 0;
  margin-top: 40px;
  margin-left: 40px;
}

.vertical-menu {
  width: 162px;
  margin-top: 40px;
}
.vertical-menu a {
  background-color: rgba(255, 255, 255, 0.5);
  color: rgb(43, 43, 43);
  display: block;
  padding: 12px;
  text-decoration: none;
}
.vertical-menu a:hover {
  background-color: #ccc;
}
.vertical-menu a.active {
  background-color: #f5f5f5;
  color: rgb(0, 0, 0);
}

body,
html {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Raleway", "open sans", sans-serif;
}
.name {
  color: black;
  font-weight: 600;
  margin: 0;
}

/* juttujen rakenne */
/* kuvatekstit */
.img-caption {
  font-size: 14px;
  margin-top: 0;
}

.main-content {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
}
.article {
  margin-bottom: 200px;
}
/* ingressi */
.article-lead {
  font-style: italic;
}
/* tekstikappleet */
.article-leadin {
  text-transform: uppercase;
  font-weight: 800;
}
/* ihmisten nimet */
.article-personname {
  font-weight: 800;
}
/* kirjoittajan nimi */
.article-author {
  font-size: 16px;
  font-weight: 600;
}

/* juttujen rakenne päättyy */

.container {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 60px 20px;
}

@media screen and (max-width: 1160px) {
  /* CSS rules here for screens lower than 750px */
  .container {
    margin-left: 220px;
  }
}

.img-horizontal {
  max-width: 600px;
}

.img-tiny {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

.one-row-title {
  margin: 0;
  height: 55px;
  padding-top: 20px;
}

.two-row-title {
  margin: 0;
  height: 70px;
  padding-top: 0px;
}

.about-content {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.img-profile {
  max-width: 300px;
  max-height: 400px;
  padding-left: 60px;
}

.profile-title {
  font-weight: 800;
}

.links {
  color: rgb(34, 34, 34);
  text-decoration: none !important;
  text-align: center;
  width: 40%;
  background-color: rgb(238, 238, 238);
  box-shadow: 2px 2px 10px lightgray;
}

.archive-link {
  color: rgb(34, 34, 34);
  text-decoration: none !important;
  height: 210px;
  width: 200px;
  padding: 20px;
  background-color: rgb(238, 238, 238);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  box-shadow: 2px 2px 10px lightgray;
}

footer {
  padding: 100px;
  text-align: right;
  background-color: darkgray;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.links-footer {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.img-logo {
  max-width: 40px;
}
