/* Main Body Desktop */
@media (min-width: 761px) {
  #mainbody {
    width: 65%;
    margin-bottom: 0;
  }

  #info {
    display: inline-block;
    position: relative;
    float: left;

    height: 70vh;
    width: 30%;

    perspective: 1em;

    margin-right: 5%;
  }


  footer {
    height: 50px;
    width: 200px;

    position: absolute;
    top: 270px;
    left: calc((100% - 200px)/2);

    background-color: rgba(210,210,210,1);
  }

  .contact img {
    height: 25px;
    width: 25px;

    margin-top: 12.5px;
    margin-left: 12.5px;
  }

  /*Chrome only workaround*/
  @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
    footer .textOverlay {
      display: none;
    }
  }

  footer .textOverlay {
    position: fixed;
    width: 250px;
    height: 50px;

    top: 400px;
    left: calc((100% - 800px)/2);

    background-color: rgba(0,0,0,0);

    line-height: 50px;
    font-size: 0.75em;
    color: rgb(255, 128, 82);
  }

  #bubblehome {
    height: 155px;
    margin-top: 1em;

  }

  .bubble {
    display: inline-block;
    float: left;

    height: 150px;
    width: 30%;

    margin-left: 1.66%;
    margin-right: 1.66%;
  }

  .bubblecontainer {
    position: relative;

    height: 100%;
    width: 100%;

    text-align: center;
  }

  .bubblecontainer figure img {
    height: 130px;
    width: 130px;
  }

  .bubblecontainer figcaption {
    width: 100%;
    text-align: center;

    position: absolute;
    top: 140px;

    font-weight: 1000;
    color: silver;
  }

  .bubblecontainer .overlay {
    left: calc((100% - 130px)/2);

    border-radius: 65px;

  }

  .bubblecontainer:hover .overlay {
    opacity: 0.4;
  }

  .bubblecontainer:hover figcaption {
    color: rgb(255, 128, 82);
  }
}

/* Main Body Mobile */
@media (max-width: 760px) {
  #infoicon {
    display: none;
  }

  #bubblehome {
    height: 25vmin;
    width: 90vw;

    margin-bottom: 1em;
    margin-top: 1em;
  }

  .bubble {
    display: inline-block;
    float: left;

    height: 25vmin;
    width: 25vw;

    margin-left: 2.5vw;
    margin-right: 2.5vw;
  }

  .bubblecontainer {
    position: relative;

    height: 100%;
    width: 100%;

    text-align: center;
  }

  .bubblecontainer .overlay {
    background: none;
  }

  .bubblecontainer:hover .overlay {
    opacity: 0.4;
  }

  .bubblecontainer figure figcaption {
    display: none;
  }
}
