@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: #fff;
  height: auto;
}

h1 {
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 0;
}

#header h2 {
  font-weight: 400;
  font-size: 1rem;
  margin: 0;
}

img {
  display: block;
  width: 100%;
}

.caption img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 500px;
}

li {
  padding: 0.8rem 0 0 0;
}

p {
  margin: 1rem 0 1rem 0;
  font-size: 1rem;
}

p:not(.read-more) a:link {
  text-decoration: none;
}

p:not(.read-more) a:visited {
  text-decoration: none;
}

p:not(.read-more) a:hover {
  text-decoration: underline;
}

p:not(.read-more) a:active {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: auto;
  box-shadow: 30px 0px 40px rgba(0,0,0,0.1),
             -30px 0px 40px rgba(0,0,0,0.1);
}

#landing {
  background: #fff;
}

#landing-text {
  display: flex;
  flex: 0 1 40vw;
  height: 50vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-right: 1rem;
  padding-left: 1rem;
}

#landing-text h2 {
  color: #888;
  font-weight: 400;
  font-size: 1rem;
  margin: 0
}

#landing-image {
  background: url("../pics/john-mark-kuznietsov-174918.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
  flex: 0 1 60vw;
  margin: 0;
}

.btn {
  padding: 0.5rem 2rem;
  border: 1px #ccc solid;
  display: inline-block;
  margin: 1.5rem 0 0;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  background: white;
  transition: background 500ms ease;
  box-shadow: 0px 10px 5px rgba(0,0,0,0.1);
}

.btn:hover {
  background: #f4f4f4;
}

.btn:active {
  background: #ddd;
}

#header {
  padding: 1.5rem;
  text-align: center;
  background: #333;
  color: #fff;
}

#header h2 {
  border-left: dotted 1px #fff;
  border-right: dotted 1px #fff;
  display: inline-block;
  padding-right: 1rem;
  padding-left: 1rem;
}

#purpose, #osab, #old {
  display: flex;
  flex-direction: column;
}

.caption {
  padding: 0.5rem;
}

.caption p {
  text-align: justify;
  text-justify: inter-word;
}

.caption h2, h3, h4 {
  text-align: center;
}

/* .caption h2 {
  font-weight: 400;
  font-size: 2rem;
  margin: 0;
} */

footer {
  height: 50vh;
  text-align: center;
  padding: 2rem 1rem;
  margin: auto;
  color: #333;
}

footer h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

.plain-div {
  margin: 0 1rem 1rem 0;
  max-height: 8rem;
  position: relative;
  padding: 0.5rem;
}

.read-more-div {
  margin: 0 1rem 0 0;
  max-height: 8rem;
  position: relative;
  padding: 0.5rem;
  overflow: hidden;
}

.read-more-div .read-more {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: auto;
  text-align: center;
  margin: 0;
  padding: 1.5rem 0 1.5rem 0;

  background-image: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,100));
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, rgba(255,255,255,0)),color-stop(1, rgba(255,255,255,100)));
}

/* Screen sizes 500px and up */
@media(min-width: 500px) {
  #landing {
    display: flex;
    height: 100%;
  }

  #landing-text {
    height: 100vh;
  }

  #landing-image {
    height: 100vh;
  }
}
