@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap');

@font-face {
  font-family: 'customFont';
  src: url('https://www.m4oh.com//assets/fonts/SQR721EE.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

/* latin */
@font-face {
  font-family: 'Love Ya Like A Sister';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Love Ya Like A Sister Regular'),
    local('LoveYaLikeASister-Regular'),
    url('/assets/fonts/LoveYaLikeASister.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

html,
body {
  margin: 0px;
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
}

b,
strong {
  font-weight: 700;
}

main.authors {
  background-image: url(/assets/images/background.jpg);
  background-repeat: no-repeat repeat;
  background-size: initial;
  border-top: #004a69 5px solid;
}

nav.social-icons {
  margin-top: 4%;
}

.navbar-light .navbar-toggler {
  color: #004a69;
}

.navbar-toggler {
  font-size: 1.8rem;
  border: none;
}

nav img {
  width: 60px !important;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link {
  color: rgb(0, 74, 105);
}

a {
  color: #004a69;
}

.navbar-light {
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Love Ya Like A Sister', cursive;
  background-image: url(/assets/images/backgroundMenu.jpg);
  background-repeat: no-repeat no-repeat;
  background-size: cover;
}

.logo {
  height: 6vh;
  width: auto !important;
}

main.home {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  background-image: url('/assets/images/backgroundM4oh.png');
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  background-size: cover;
  /* Resize the background image to cover the entire container */
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: 50px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
  }
}

.home .hide,
.home .show {
  position: relative;
  animation: animatetop 3s;
}

.homeTitle {
  font-size: 0.65in;
  font-family: 'Love Ya Like A Sister', cursive;
  color: #008dd2;
  text-align: center;
  position: relative;
  animation: animatetop 3s;
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Love Ya Like A Sister', cursive;
  color: #008dd2;
}

img.mascot {
  width: auto !important;
  max-height: 70vh;
  float: right;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  /* Firefox */
  -webkit-animation: fadein 2s;
  /* Safari and Chrome */
  -o-animation: fadein 2s;
  /* Opera */
}

.alert-dark p {
  font-weight: bold;
}

.rotate {
  animation: rotate 1s 2s linear;
}

.sponsors img {
  height: 60px;
  width: auto;
  max-width: 100%;
}

.speechBalloon {
  display: flex;
  float: left;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  border: solid 5px #004a69;
  height: auto;
  padding: 2%;
  position: relative;
  animation: animatezoom 4s;
}

.authors .speechBalloon {
  width: 80%;
  margin-top: 30px;
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.speechBalloon:after {
  /*Triangulo*/
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  /*Faz seta "apontar para baixo. Definir o valor como 'top' fará ela "apontar para cima" */
  /*Aqui entra a cor da "aba" do balão */
  border-right: 20px solid #004a69;
  left: -22px;
  /*localização. Experimente alterar para 'bottom'*/
  top: 20%;
}

.speechBalloonLanguage {
  float: left;
  margin: 0 auto;
  /*
    width: 80%;
    height: auto;*/
  padding: 2%;
  position: relative;
  margin-top: 30px;
  animation: animatezoom 4s;
  background-image: url(/assets/images/speech_bubble.png);
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}

.selectLanguage {
  float: left;
  height: auto;
  padding: 10px;
  animation: animatezoom 4s;
}

.selectLanguage h1 {
  display: block;
  cursor: pointer;
  color: #000;
  font-size: x-large;
}

.selectLanguage h1:hover {
  transform: scale(1.1);
}

.selectLanguage h1:nth-child(odd) {
  margin-left: 20px;
  margin-top: 0px;
}

.selectLanguage h1:nth-child(even) {
  margin-left: 70px;
  margin-top: 10px;
}

.selectLanguage h1:nth-child(2) {
  margin-left: 70px;
  margin-top: -10px;
}

.selectLanguage h1:nth-last-child(2) {
  margin-left: 40px;
  margin-top: 0px;
}

.selectLanguage h1:first-child,
.selectLanguage h1:last-child {
  margin-left: 0px;
}

.highlight {
  background-color: #fecc00;
  font-weight: bold;
}
.attentionRow,
.instructionsRow {
  display: none;
}

.acceptConditions h5 {
  text-align: center;
}

.speechBalloon input[type='checkbox'] {
  margin: 0 2% 0 0;
}

.speechBalloon hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.btn-primary:hover {
  color: #fff;
  background-color: #008dd2;
  border-color: #008dd2;
}

.btn:hover {
  color: #fecc00;
}

.btn-primary {
  color: #fff;
  background-color: #008dd2;
  border-color: #008dd2;
}

.footer {
  letter-spacing: 1.2px;
}

.bg-dark.footer-copyright {
  color: #fff;
  font-size: 0.7rem;
}

.footer-copyright a {
  color: #fecc00;
}

.footer-copyright .text-right a {
  padding: 0px 10px;
}

footer.bg-light {
  background-color: #fff !important;
  margin-top: auto;
}

footer .alert-dark {
  background-color: #dee9ef !important;
  border: none;
  font-size: 0.7rem;
}

/* AUTHOR PAGE */

.authorList .row:first-child {
  margin-bottom: 20%;
}

.authorList .category {
  margin-bottom: 5%;
  background-color: #008dd2;
}

.authorList .speechBalloon {
  margin-top: 0px;
  animation: none;
  width: 65%;
  max-width: 100%;
  min-width: 200px;
  float: left;
  text-align: center;
}

.authorList .speechBalloon img {
  width: 100% !important;
}

p.authorFunction {
  font-size: 0.7rem;
}
.authorList .rowAuthor:nth-child(even) {
  text-align: left;
}

.authorList .rowAuthor:nth-child(odd) {
  text-align: right !important;
}

.rowAuthor img {
  border: 2px solid #ddd;
  padding: 5%;
}

.container:hover .imageAuthor {
  opacity: 0.9;
}

.container:hover .middle {
  opacity: 1;
}

.authorName {
  background-color: #008dd2;
  opacity: 0.6;
  color: white;
  font-size: 11px;
  padding: 8px 12px;
}

/* ABOUT PAGE  */

p.paragrafo3 {
  font-size: 14px;
}

/* BOOK PAGE */

#bookViewer {
  /*  z-index: 0 !important;*/
  margin: auto;
  margin-top: 4vh;

  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.openBook {
  position: relative !important;
  display: inline-flex;
  /* overflow: hidden !important;*/
}

.exterior {
  height: 100% !important;
  display: block !important;
  /*   z-index: 0 !important;*/
}

.exterior button {
  background-color: transparent !important;
  border: 0px transparent !important;
  width: 100% !important;
  height: 100% !important;
}

#page,
#page2 {
  height: 100%;
  width: auto;
  /* width: inherit;*/
  margin-left: auto !important;
  margin-right: auto !important;
  position: absolute !important;
}
#page {
  border-bottom-right-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

#page2 {
  border-bottom-left-radius: 0.5em;
  border-top-left-radius: 0.5em;
}

#cam {
  width: 150% !important;
  height: auto !important;
  margin-left: -25% !important;
  margin-right: auto !important;
  margin-top: 15% !important;
  position: absolute !important;
  display: block;
  z-index: 1;
}

#cam2 {
  width: 150% !important;
  height: auto !important;
  margin-left: -25% !important;
  margin-right: auto !important;
  margin-top: 15% !important;
  position: absolute !important;
  display: block;
  z-index: 1;
}

.bookMain {
  /* height: 92vh !important; */
  background-color: rgb(221, 232, 239);
}

.openBook img {
  fill: none;
  stroke: rgb(0, 0, 0);
  stroke-width: 4;
  transform: translate(9, 22);
}

#content,
#content2 {
  width: calc((2056 * 72vh) / 2906);
  height: 72vh !important;
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d;
}

.bookSheet {
  width: calc((2056 * 70vh) / 2906);
  height: 70vh !important;
  z-index: -2; /*!important;*/
  backface-visibility: hidden;
}

#book.fullScreen {
  background-color: rgb(221, 232, 239);
  padding-top: 1vh;
  display: flex;
  justify-content: center;
}

.fullScreen #content,
.fullScreen #content2 {
  width: calc((2056 * 98vh) / 2906);
  height: 98vh !important;
}

.fullScreen .bookSheet,
.fullScreen .bookSheet {
  width: calc((2056 * 96vh) / 2906);
  height: 96vh !important;
}
.containerNavBook {
  display: flex;
  margin: auto;
}
.navBook {
  height: 8vh;
  min-height: 30px;
  background-color: rgb(221, 232, 239);
  padding-top: 5px;
  text-align: center;
  color: rgb(0, 74, 105);
}

.navBook button {
  background-color: transparent;
  border: 0px;
  margin: 0px 60px;
  opacity: 1;
}

.navBook button:disabled {
  opacity: 0.4;
}

.navBook img {
  max-width: 6vh;
}

.w3-animate-left {
  position: relative;
  -webkit-animation: animateleft 0.4s;
  animation: animateleft 0.8s;
  animation-duration: 2s;

  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: animateleft;
}

.w3-animate-right {
  position: relative;
  -webkit-animation: animateright 0.4s;
  animation: animateright 0.8s;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: animateright;
}

.authorList {
  width: 100% !important;
}

.openBook,
.centerFullScreen {
  transform-style: preserve-2d;
  position: relative;
  /* height: 80%;*/
  cursor: pointer;
  backface-visibility: visible;
  display: inline-flex;
}

#content {
  /* transform: rotateY(-5deg);
  -webkit-transform: rotateY(-5deg);*/
  position: absolute;
  top: 0;
  left: -6px;
  background: rgb(0, 74, 105);
  transform-origin: left center;
  border-bottom-right-radius: 0.5em;
  border-top-right-radius: 0.5em;
  display: flex;
}

#content2 {
  /* transform: rotateY(5deg);
  -webkit-transform: rotateY(5deg);*/
  position: absolute;
  top: 0;
  left: 0px;
  display: none;
  background: rgb(0, 74, 105);
  transform-origin: right center;
  border-bottom-left-radius: 0.5em;
  border-top-left-radius: 0.5em;
}

.page1,
.page3,
.page5,
.page7,
.page9,
.page11,
.page13,
.page15,
.page17,
.page19,
.page21,
.page23,
.page25,
.page27,
.page29,
.page31,
.page33 {
  transform-style: preserve-3d;
  position: absolute;
  height: 90%;
  top: 9px;
  left: 3px;
  transform-origin: left center;
  transition: transform 0.5s ease-in-out, box-shadow 0.35s ease-in-out;

  /*  box-shadow: rgba(0, 0, 0, 0.2) 0px 1em 3em 0px;*/
}

.page2,
.page4,
.page6,
.page8,
.page10,
.page12,
.page14,
.page16,
.page18,
.page20,
.page22,
.page24,
.page26,
.page28,
.page30,
.page32,
.page34 {
  transform-style: preserve-3d;
  position: absolute;
  height: 90%;
  top: 9px;
  left: 9px;
  transform-origin: right center;
  transition: transform 0.5s ease-in-out, box-shadow 0.35s ease-in-out;
  /*  box-shadow: rgba(0, 0, 0, 0.2) 0px 3em 1em 0px;*/

  /* transition: width 2s, height 2s, transform 2s;*/
}

.front {
  /* transform: rotateY(5deg) scale(1.07);*/
  transform: scale(1.07);
  background: rgb(0, 74, 105);
  z-index: 1;
  transform-origin: left center;
  border-bottom-left-radius: 0.5em;
  border-top-left-radius: 0.5em;
}

.back {
  /* transform: rotateY(-5deg) scale(1.07);*/
  transform: scale(1.07);
  background: rgb(0, 74, 105);
  z-index: 1;
  transform-origin: left center;
  border-bottom-right-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

/** LOADING **/

.showbox {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5%;
  z-index: 9999;
  /* background-color: rgba(0, 141, 210, 0.4);*/
  background-color: rgba(255, 255, 255, 0.4);
  display: block;
}

.loader {
  position: relative;
  margin: auto;
  width: 150px;
}

.loader:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.circular {
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 40vh;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: dash 1.5s ease-in-out infinite,
    color 6s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}
@-webkit-keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@-webkit-keyframes color {
  100%,
  0% {
    stroke: #008dd2;
  }
  40% {
    stroke: #fecc00;
  }
  66% {
    stroke: #004a69;
  }
  80%,
  90% {
    stroke: #a2d9f7;
  }
}
@keyframes color {
  100%,
  0% {
    stroke: #008dd2;
  }
  40% {
    stroke: #fecc00;
  }
  66% {
    stroke: #004a69;
  }
  80%,
  90% {
    stroke: #a2d9f7;
  }
}
.tableCookies table {
  width: 100% !important;
  min-width: 600px;
  table-layout: fixed;
  border: 1px solid #000000;
  border-collapse: collapse;
}

.tableCookies td {
  padding: 2% 1%;
}

.tableCookies thead td {
  width: 18%;
}

.tableCookies thead td:nth-child(3) {
  width: 46%;
}

.acceptCookies {
  top: 0;
  left: 0;
  right: 0;
  padding: 1% 5%;
  z-index: 9999;
  background-color: rgba(0, 141, 210, 0.4) !important;
  display: block;
  text-align: center;
}

.home .acceptCookies {
  position: fixed;
}

#fullScreen {
  font-size: larger;
  margin-left: 20px;
}

@media only screen and (max-width: 992px) {
  /* only show fullscreen button in desktop */
  #fullScreen {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .homeTitle {
    font-size: 0.35in;
    padding-top: 0.1in;
  }
  .speechBalloon {
    border-radius: 15px;
    width: 100%;
    padding: 1%;
    margin-top: 10px;
    font-size: 11px;
  }

  .authors .speechBalloon {
    width: 100%;
    margin-top: 10px;
  }

  .speechBalloon:after {
    /*Triangulo*/
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    /*Faz seta "apontar para baixo. Definir o valor como 'top' fará ela "apontar para cima" */
    /*Aqui entra a cor da "aba" do balão */
    border-right: 10px solid #004a69;
    left: -12px;
    /*localização. Experimente alterar para 'bottom'*/
    top: 20%;
  }
  .sponsors img {
    height: 35px;
    width: auto;
  }
  .bookMain {
    /*height: 70vh !important;*/
    margin-top: 5vh;
  }
  #content {
    width: calc((2056 * 65vh) / 2906);
    height: 65vh !important;
  }
  .bookSheet {
    width: calc((2056 * 63vh) / 2906);
    height: 63vh !important;
  }
  #content2 {
    display: none !important;
  }

  .page2,
  .page4,
  .page6,
  .page8,
  .page10,
  .page12,
  .page14,
  .page16,
  .page18,
  .page20,
  .page22,
  .page24,
  .page26,
  .page28,
  .page30,
  .page32,
  .page34 {
    transform-origin: left center;
    top: 9px;
    left: 3px;
    transform-origin: left center;
    transition: transform 0.5s ease-in-out, box-shadow 0.35s ease-in-out;
  }

  .navBook button {
    margin: 0px 30px;
  }

  footer .text-right {
    text-align: center !important;
  }

  .authorList h3,
  nav {
    text-align: center;
  }

  .authorList img {
    max-height: 330px;
    width: auto;
  }

  .authorList div.col-md-5 > img {
    text-align: center;
  }
}

@media only screen and (max-width: 460px) {
  .sponsors img {
    height: 30px;
  }

  .homeTitle {
    font-size: 0.3in;
    padding-top: 0in;
  }

  .navBook button {
    margin: 0px 15px;
  }
}

@media only screen and (min-width: 769px) {
  .nav-link {
    background-color: rgba(221, 232, 239, 0.7);
  }
  #bookViewer {
    height: 80vh !important;
  }
}

@media only screen and (min-width: 1200px) {
  .authors .speechBalloon {
    width: 70%;
  }
}

.video-container {
    position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.video {
     position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
