/*
Offwhite background: #ECF0F1
Splash blue: #2BBFBD
Splash red: #F22E2E
Splash Grey: #3D3D3D
Splash Orange: #F29B30

*/

@font-face {
  font-family: "CovesLight";
  src: url("fonts/CovesLight.otf") format("opentype");
}

body,
html {
  font-size: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "CovesLight";
  color: #ecf0f1;
  background: #ecf0f1;
  font-size: 16px;
  font-weight: 500;
}

a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0 5px;
  text-transform: lowercase;
  font-size: 80%;
}

a:hover {
  color: #fff;
}

.container {
  height: 100%;
}

.splash-main {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.splash-main > section {
  position: absolute;
  width: 50%;
  height: 50%;
}

.splash-main > section:first-child {
  top: 0;
  left: 0;
  background: #2988bc;
}

.splash-main > section:nth-child(2) {
  top: 0;
  left: 50%;
  background: #d8412f;
}

.splash-main > section:nth-child(3) {
  top: 50%;
  left: 0;
  background: #282623;
}

.splash-main > section:nth-child(4) {
  top: 50%;
  left: 50%;
  background: #f9ba32;
}

.splash-box,
.box-nw,
.box-ne,
.box-se,
.box-sw {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 1;
  /* Centering with flexbox */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.splash-box h2 {
  text-align: center;
  padding: 20px;
  width: 100%;
  font-size: 1.8em;
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: lowercase;
}

.splash-icon {
  font-family: "CovesLight";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

.splash-icon:before {
  position: relative;
  top: 50%;
  left: 50%;
  margin-top: -32px;
  margin-left: -32px;
  margin-bottom: 10px;
  display: block;
  font-size: 2em;
}

.splash-icon-operas:before {
  display: block;
  width: 64px;
  height: 64px;
  content: "";
  background: url("../media/icons/operas.png");
  background-size: 100%;
}

.splash-icon-arias:before {
  display: block;
  width: 64px;
  height: 64px;
  content: "";
  background: url("../media/icons/arias.png");
  background-size: 100%;
}

.splash-icon-artsong:before {
  display: block;
  width: 64px;
  height: 64px;
  content: "";
  background: url("../media/icons/artsong.png");
  background-size: 100%;
}

.splash-icon-zarzuela:before {
  display: block;
  width: 64px;
  height: 64px;
  content: "";
  background: url("../media/icons/zarzuela.png");
  background-size: 100%;
}

.splash-main > section {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.splash-box h2,
.splash-icon:before {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.splash-box:hover h2 {
  -webkit-transform: translateY(-15px);
  -moz-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  transform: translateY(-15px);
}

.logo-box {
  position: fixed;
  top: 50%;
  left: 50%;
  display: block;
  width: 260px;
  height: 260px;
  background: transparent;
  -webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-top: -130px;
  margin-left: -130px;
}

.logo-icon:before {
  position: fixed;
  top: 50%;
  left: 50%;
  display: block;
  width: 256px;
  height: 256px;
  content: "";
  background: url("../media/icons/opdb100.png");
  background-size: 100%;
  margin-top: -128px;
  margin-left: -128px;
}

@media screen and (max-width: 46.5em) {
  .bl-content,
  .splash-box {
    font-size: 75%;
  }

  .splash-icon-zarzuela:before,
  .splash-icon-operas:before,
  .splash-icon-arias:before,
  .splash-icon-artsong:before {
    width: 32px;
    height: 32px;
  }

  .splash-icon:before {
    margin-top: -16px;
    margin-left: -16px;
  }

  .bl-content > ul li {
    width: 40%;
  }
}
