@font-face {
  font-family: 'Margin';
  src: url('font/Margin DEMO.otf') format('opentype');
  font-style: normal;

}

.fundo{
  background-image: url('img/fundo.png');
  background-size: 20%;
  background-color: #2db35a;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow-x: hidden;
}
.toalha{
  z-index: 0;
  background-color: #c42b2b;
  background-image: url('img/toalha.png');
  background-size: 15vw;
  top: 0;
  min-height: 100vh;
  width:40vw;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding-top: 0;
  padding-bottom: 25px;
  box-sizing: border-box;
}

.toalha::before,
.toalha::after {
  content: '';
  position: absolute;
  top: -13px;
  bottom: -13px;
  width: 384px;
  pointer-events: none;
}

.toalha::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -380px;
  width: 384px;
  background-image: url('img/bordado.png');
  background-repeat: repeat-y;
  background-size: 384px auto;
  background-color: transparent;
  z-index: 0;
  pointer-events: none;
}

.toalha::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 384px;
  right: -380px;
  background-image: url('img/bordado.png');
  background-repeat: repeat-y;
  background-size: 384px auto;
  background-color: transparent;
  transform: scaleX(-1); /* espelha a mesma tira no lado direito */
  z-index: -1;
  pointer-events: none;
}
:root{
  --tamborda: 4px;
  --negtamborda: -4px;
}
.logo{
  display: block;
  width: min(40vw, 100%);
  margin: 0 auto;
}
.botao{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #851563;
  font-family: 'Margin';
  font-size: 2.5vw;
  color: #fff;
  height: 8vh;
  width: 15vw;
  margin: 0.5vw;
  margin-bottom: 3vh;
  border: 4px double #f8ead9;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18), 0 3px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.botao::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.65);
  border-radius: inherit;
  pointer-events: none;
  
}

.botao:hover {
  transform: translateY(-1px);
}

.botao:active {
  transform: translateY(1px);

}
.cabecalho{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.conteudo1{
  background-color: #eacaff;
  position: relative;
  isolation: isolate;
  display: flex;
  margin-top: -20px;
  padding: 20px;
  height: auto;
  margin-left: 2vw;
  margin-right: 5vw;
  flex-direction: column;
  border: 2px solid #833bad;
}
.conteudo1::after {
  content: '✕  ◻  —';
  position: absolute;
  top: 2px;
  left: 15px;
  z-index: 2;
}
.conteudo1::before {
  content: '';
  position: absolute;
  margin-top: 20px;
  inset: 5px;
  border: 2px solid #833bad;
  background-color: #fffaee;
  z-index: 0;
}
.conteudo1 > *{
  position: relative;
  z-index: 1;
}
.conteudo2{
  background-color: #eacaff;
  display: flex;
  position: relative;
  isolation: isolate;
  padding: 20px;
  margin-top:-20px;
  margin-right: 2vw;
  margin-left: 5vw;
  flex-direction: column;
  border: 2px solid #833bad;
}
.conteudo2::after {
  content: '✕  ◻  —';
  position: absolute;
  top: 2px;
  left: 15px;
  z-index: 2;
}
.conteudo2::before {
  content: '';
  position: absolute;
  margin-top: 20px;
  inset: 5px;
  border: 2px solid #833bad;
  background-color: #fffaee;
  z-index: 0;
}
.conteudo2 > *{
  position: relative;
  z-index: 1;
}
.caderno{
  position: relative;
  background-image: url('img/capaCaderno.png');
  font-size: 1.5vw;
  z-index: 15;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  inset: 0;
}
.capabaixocaderno{
  position: relative;
  margin-top: -5vh;
  background-image: url('img/capaFolhaCaderno.png');
  z-index: 1;
  width: 35vw;
  height: auto;
  aspect-ratio: 0.7 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  box-sizing: border-box;
}
.caderno-container{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.7 / 1;
}
.marcadores{
  position: absolute;
  z-index: 10;
  top: 7vw;
  right: -7vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.marcador{
  background-color: #c42b2b;
  border: 3px dashed #851563;
  min-height: 5vh;
  min-width: 12vw;
  border-radius: 0 15px 15px 0;
  cursor: pointer;
  pointer-events: auto;
  font-family: 'Margin';
  font-size: 1.5vw;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
  touch-action: manipulation;
  text-align: right;
}
.marcador:hover{

  transform: translateX(10px);
  background-color: #a02525;
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.3);
}
.marcador:active{
  transform: translateX(5px);
}
.folha{
  font-size: 1.5vw;
  position: relative;
  z-index: 20;
  background-image: url('img/folhaCaderno.png');
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6vw 6.5vw;
  position: absolute;
  inset: 0;
}

.folha h3{
  margin-bottom: -1vh;
  margin-left: 1vw;
  width: 100%;
  text-align: left;
}

.folha p{
  text-align: justify;
  margin-left: 1vw;
  width: 100%;
  margin-top: 1vw;
}

.caderno.is-hidden,
.folha.is-hidden{
  display: none;
}


