.philosophy {
  background-image: url("../media/school_of_athens.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

@media only screen and (max-width: 586px) {
  .philosophy { background-size: auto 100%; }
}

.school-of-athens {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.school-of-athens #background {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

#phil-titles {
  position: absolute;
  width: 100vw;
}

.school-of-athens .title { flex: 50%; text-align: center; }

.school-of-athens .title img {
  padding-top: 45vh;
  width: 300px;
}

.school-of-athens .row { display: flex; }

.school-of-athens .row .column {
  flex: 50%;
  height: 100vh;
  background-color: rgb(215, 215, 215);
  transition: 0.7s;
  opacity: 50%;
}

#left-column {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,0));
          mask-image: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,0));
}
#right-column {
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.6), rgba(0,0,0,0));
          mask-image: linear-gradient(to left, rgba(0,0,0,.6), rgba(0,0,0,0));
}

.school-of-athens .row .column:hover { opacity: 100%; }

@media (max-width: 820px) {
  #phil-titles img {
    width: 75%;
    height: auto;
  }
}
