
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
.outerwrapper {
  position: absolute;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.innerwrapper {
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
}

/* BACKGROUND */
.first, .second {
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  transition: top 600ms linear, left 600ms linear;
}
.first {
  bottom: 0;
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  transform-origin: 0 100%;
  background: rgba(107,196,232,.4);
}
.second {
  bottom: -100%;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  transform-origin: 0 0;
}
.first-img, .second-img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
}
.first-img {
  background-image: url("../images/baco-sbn.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  top: 50%;
}
.first-img:before {
  content: '';
  background: rgba(107,196,232,.7);
  width: 100%;
  height: 100%;
  position: absolute;
}
.first-img img, .second-img img {
  min-width: 100%;
  height: auto;
  min-height: 100%;
  
}
.second-img {
  background-image: url("../images/baco-trp.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  top: -50%;
}
.second-img:before {
  content: '';
  background: rgba(245,168,0,.6);
  width: 100%;
  height: 100%;
  position: absolute;
}

/* CONTAINER */


.intro {
  display: table-cell;
  vertical-align: middle;
}
.intro .container {
  margin: 0 auto;
  width: 750px;
  background: white;
  padding: 60px;
  animation-duration: 1s;
  animation-delay: .2s;
  -webkit-box-shadow: 10px 10px 23px -1px rgba(0,0,0,0.16);
  -moz-box-shadow: 10px 10px 23px -1px rgba(0,0,0,0.16);
  box-shadow: 10px 10px 23px -1px rgba(0,0,0,0.16);
}
.logo {
  margin: 20px auto 90px;
  width: 320px;
}
.intro_icon {
  text-decoration: none;
  display: block;
  transition: all .2s ease-in-out;
  position: relative;
  width: 320px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.intro_icon.trp {
  padding-bottom: 80px;
}
.intro_icon:hover { 
  transform: scale(1.1); 
}
.intro_icon img {
  width: 100px;
  padding-right: 15px;
}
.intro_icon.sbn h1 {
  top: 55px;
}
.intro_icon.sbn.fr h1 {
  top: 17px;
}
.intro_icon h1 {
  color: #122059;
  position: absolute;
  top: 19px;
  left: 120px;
  margin: 0;
  font-size: 1.7rem;
  line-height: 2.4rem;
}
.topBar-right .language {
  position: static;
}
.topBar-right .active a {
  color: #f5a800;
}
.language {
  font-size: 1.3rem;
  position: absolute;
  top: 50px;
  right: 50px;
}
.language a {
  color: #122059;
  text-decoration: none;
  transition: all .2s ease-in-out;
}
.language a:hover {
  color: #f5a800;
  transform: scale(1.2); 
  display: inline-block;
}
.language a.active {
  color: #f5a800;
}
.address {
  line-height: 1.5rem;
  margin-bottom: 0;
  position: absolute;
  bottom: 40px;
  text-align: center;
}
.address a {
  color: #122059;
  text-decoration: none;
}
.address a:hover {
  color: #f5a800;
}

/* Media Queries */

@media (max-width: 900px) {
  
  .intro .container {
    width: 650px;
  }
  .intro_icon.trp {
    margin-bottom: 90px;
  }
  .address {
    right: 70px;
    left: 70px;
    line-height: 1.8rem;
  }
  .address span:last-of-type {
    display: none;
  }
  
}

@media (max-width: 700px) {
  
  .intro .container {
    width: 90%;
    padding: 60px 60px 0;
  }
  .address {
    right: auto;
    left: auto;
    position: relative;
  }
  .logo, .intro_icon {
    width: 280px;
  }
  .intro_icon img {
    width: 80px;
  }
  .intro_icon h1 {
    font-size: 1.5rem;
    line-height: 2.1rem;
    top: 7px;
    left: 100px;
  }
  .intro_icon.sbn h1 {
    top: 40px;
  }
  .intro_icon.sbn.fr h1 {
    top: 5px;
  }
  
}

@media (max-width: 480px) {
  
  .outerwrapper {
    height: 100vh;
    top: 0;
  }
  .innerwrapper {
    display: block;
    position: static;
    top: auto;
    left: auto;
  }
  .intro {
    display: block;
  }
  .intro .container {
    padding: 70px 50px;
    margin-top: 20px;
  }
  .intro_icon img {
    width: 70px;
  }
  .intro_icon h1 {
    font-size: 1.3rem;
    line-height: 1.9rem;
    top: 3px;
    left: 85px;
    margin: 0;
  }
  .intro_icon.sbn h1 {
    top: 32px;
  }
  .intro_icon.trp {
    margin-bottom: 25px;
  }
  .logo, .intro_icon {
    width: 100%;
  }
  .logo {
    margin: 0 auto 60px;
  }
  .first, .second {
    position: static;
    left: auto;
    height: 50vh;
    overflow: hidden;
  }
  .first-img, .second-img {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .first-img {
    top: 0;
    height: 50vh;
  }
  .language {
    top: auto;
    left: 40px;
    right: 40px;
    bottom: 30px;
    text-align: center;
  }
  .address {
    text-align: left;
  }
  .address span {
    display: block;
    visibility: hidden;
    height: 0;
  }
  .address a[href^="mailto:"] {
    display: block;
  }
  
}

