@charset "UTF-8";
/*
Schule:		enter-it.ch
Lehrgang:	ICT Web Publisher SIZ Diplomlehrgang
Name:     	Julia Baumgartner
Modul:		SP2 - Web Publishing
Datum:		11.04.2021
*/
@media only screen and (min-width: 0em) and (max-width: 0em) {
 
}
.image-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 -.8em;
  height: 100vh;
}
.box {
  flex: 1;
  overflow: hidden;
  transition: .5s;
  margin: 0 1%;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}
.box > img {
  width: 200%;
  height: calc(100% - 10vh);
  object-fit: cover;
  transition: .5s;
}
.box > span {
  font-size: 1.8vh;
  display: block;
  text-align: center;
  line-height: 6;
}
.box:hover {
  flex: 1 1 60%;
}
.box:hover > img {
  width: 100%;
  height: 100%;
}
@media only screen and (min-width: 48em) {
  .image-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 1% 0;
    height: 50vh;
  }
.box:hover {
  flex: 1 1 30%;
}	
}