@import "content.css";

.content-chapter {
  margin: auto;
  margin-top: 25px;
  width: 95%;
}

.content-chapter__text {
  margin: 0;
  font-size: 1.05em;
}

.content-chapter__title {
  margin: 0;
  font-size: 1.2em;
}

.img-left, .img-right {
  width: auto;
  height: 150px;
  border: 10px outset var(--accent-color);
  display: block;
  margin: 0 auto 10px;
}

/* Mobile-specific rules */
.content-text {
  word-wrap: break-word;
  text-align: center;
  font-size: 1.5vmax;
}
  
.content-title {
  margin-top: 2%;
  font-size: 2vmax;
  text-align: center;
}
  
.content-headtitle {
  font-size: 2.5vmax;
}
  
.content-headtext {
  font-size: 2vmax;
}

/* Desktop-specific rules */
@media only screen and (min-width: 730px) {
  .img-left, .img-right {
    display: initial;
    margin: 0;
    height: calc(100% - 20px); /* Subtract 20px for the border */
  }

  .img-left {
    float: left;
    margin-right: 10px;
  }
  
  .img-right {
    float: right;
    margin-left: 10px;
  }

  .content-chapter {
    height: 250px;
  }
}