#panorama {
  width: 98%;
  margin: 0 auto;
  margin-bottom: 20px;
  height: 300px;
}

.container {
  display: flex;
  flex-direction: row;
  padding: 0;
}

.holder {
  flex: 1;
  margin: 1%;
  border-radius: 3%;

  position: relative;

  box-shadow: 0px 0px 10px 1px black;
  transition: all .3s cubic-bezier(0.5, -1, 0.5, 2);
}

.holder:before {
  content: "";
  display: inline-block;
  padding-top: 133%;
}

.backgroundImage, .backgroundOpacity{
  position: absolute;
  border-radius: 3%;
  width: 100%;
  height: 100%;
  top: 0%;
  transition: all .3s cubic-bezier(0.5, -1, 0.5, 2);
}

.backgroundImage{
  background-size: cover;
  background-position: center;
}

.circleTabelao, .circleTabelinha, .circleLaboratorio{
  background-size: cover;
}

/* Página Tabelao*/

.sobreOTabelao {
  background-image: url("../images/tabelao_background_v.jpg");
}

.QuadroSM {
  background-image: url("../images/quadroSM_background_v.jpg");
}

.gasesNobres {
  background-image: url("../images/gasesNobres_background_v.jpg");
}

.elementosRadioativos {
  background-image: url("../images/elementosRadioativos_background_v.jpg");
}

.metaisPreciosos{
  background-image: url("../images/metaisPreciosos_background_v.jpg");
}

/* Página Tabelinha*/

.sobreATabelinha{
  background-image: url("../images/tabelinha_background.jpg");
}

.densidade{
  background-image: url("../images/densidade_background_v.jpg");
}

.cores{
  background-image: url("../images/cores_background_v.jpg");
}

.estadoFisico{
  background-image: url("../images/estadoFisico_background_v.jpg");
}

.magnetismo{
  background-image: url("../images/magnetismo_background_v.jpg");
}

/* Página Laboratorio*/

.sobreLaboratorio{
  background-image: url("../images/sobreLaboratorio_background_v.jpg");
}

.alcalinosEAlcalinosTerrosos{
  background-image: url("../images/alcalinosEAlcalinosTerrosos_background_v.jpg");
}

.propFisicasAlcEAlcTerrosos{
  background-image: url("../images/propFisicasAlcEAlcTerrosos_background_v.jpg");
}

.reatividadeAlcEAlcTerrosos{
  background-image: url("../images/reatividadeAlcEAlcTerrosos_background_v.jpg");
}

.testeHidrogenio{
  background-image: url("../images/testeHidrogenio_background_v.jpg");
}

.backgroundOpacity{
  background-color: rgba(255,255,255,0.4);
  border: 5px solid black;
}

.holder:hover{
  transform: scale(1.1);
  box-shadow: 0px 0px 15px 4px black;
}

.holder:hover .backgroundImage{
}

.holder:hover .backgroundOpacity{
  background-color: rgba(255,255,255,0.0);
  border: 3px solid black;
}

.titleText {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;

  text-align: left;
  font-size: 30px;
  font-family: arial, sans-serif;
  font-weight: bold;
  color: white;
  text-shadow: 2px 0 2px #000000, -2px 0 2px #000000, 0 2px 2px #000000, 0 -2px 2px #000000, 1px 1px 2px #000000, -1px -1px 2px #000000, 1px -1px 2px #000000, -1px 1px 2px #000000;
}

@media screen and (max-width: 480px) {
  body{
    background-color: red;
  }

  .container{
    flex-direction: column;
    padding: 0 1.5%;
  }

  .holder{
    margin-bottom: 5%;
  }

  .holder:before{
    padding-top: 66%;
  }

  /* Página Tabelao*/

  .sobreOTabelao {
    background-image: url("../images/tabelao_background_h480.jpg");
  }

  .QuadroSM {
    background-image: url("../images/quadroSM_background_h480.jpg");
  }

  .gasesNobres {
    background-image: url("../images/gasesNobres_background_h480.jpg");
  }

  .elementosRadioativos {
    background-image: url("../images/elementosRadioativos_background_h480.jpg");
  }

  .metaisPreciosos{
    background-image: url("../images/metaisPreciosos_background_h480.jpg");
  }

  /* Página Tabelinha*/

  .sobreATabelinha{
    background-image: url("../images/tabelinha_background.jpg");
  }

  .densidade{
    background-image: url("../images/densidade_background_h480.jpg");
  }

  .cores{
    background-image: url("../images/cores_background_h480.jpg");
  }

  .estadoFisico{
    background-image: url("../images/estadoFisico_background_h480.jpg");
  }

  .magnetismo{
    background-image: url("../images/magnetismo_background_h480.jpg");
  }

  /* Página Laboratorio*/

  .sobreLaboratorio{
    background-image: url("../images/sobreLaboratorio_background_h480.jpg");
  }

  .alcalinosEAlcalinosTerrosos{
    background-image: url("../images/alcalinosEAlcalinosTerrosos_background_h480.jpg");
  }

  .propFisicasAlcEAlcTerrosos{
    background-image: url("../images/propFisicasAlcEAlcTerrosos_background_h480.jpg");
  }

  .reatividadeAlcEAlcTerrosos{
    background-image: url("../images/reatividadeAlcEAlcTerrosos_background_h480.jpg");
  }

  .testeHidrogenio{
    background-image: url("../images/testeHidrogenio_background_h480.jpg");
  }

}

@media screen and (min-width: 481px) and (max-width: 768px) {
  body{
    background-color: blue;
  }

  .container{
    flex-direction: column;
    padding: 0 1.5%;
  }

  .holder{
    margin-bottom: 5%;
  }

  .holder:before{
    padding-top: 66%;
  }

  /* Página Tabelao*/

  .sobreOTabelao {
    background-image: url("../images/tabelao_background_h768.jpg");
  }

  .QuadroSM {
    background-image: url("../images/quadroSM_background_h768.jpg");
  }

  .gasesNobres {
    background-image: url("../images/gasesNobres_background_h768.jpg");
  }

  .elementosRadioativos {
    background-image: url("../images/elementosRadioativos_background_h768.jpg");
  }

  .metaisPreciosos{
    background-image: url("../images/metaisPreciosos_background_h768.jpg");
  }

  /* Página Tabelinha*/

  .sobreATabelinha{
    background-image: url("../images/tabelinha_background.jpg");
  }

  .densidade{
    background-image: url("../images/densidade_background_h768.jpg");
  }

  .cores{
    background-image: url("../images/cores_background_h768.jpg");
  }

  .estadoFisico{
    background-image: url("../images/estadoFisico_background_h768.jpg");
  }

  .magnetismo{
    background-image: url("../images/magnetismo_background_h768.jpg");
  }

  /* Página Laboratorio*/

  .sobreLaboratorio{
    background-image: url("../images/sobreLaboratorio_background_h768.jpg");
  }

  .alcalinosEAlcalinosTerrosos{
    background-image: url("../images/alcalinosEAlcalinosTerrosos_background_h768.jpg");
  }

  .propFisicasAlcEAlcTerrosos{
    background-image: url("../images/propFisicasAlcEAlcTerrosos_background_h768.jpg");
  }

  .reatividadeAlcEAlcTerrosos{
    background-image: url("../images/reatividadeAlcEAlcTerrosos_background_h768.jpg");
  }

  .testeHidrogenio{
    background-image: url("../images/testeHidrogenio_background_h768.jpg");
  }

}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  body{
    background-color: green;
  }

  .titleText{
    padding: 8px;
    font-size: 18px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  body{
    background-color: purple;
  }

  .titleText{
    font-size: 25px;
  }
}

@media screen and (min-width: 1201px) {
  body{
    background-color: orange;
  }
}
