/*----------------------------------------------------------------| INICIO MENU LATERAL |---------------------------------------------------------------------------------*/
ul{
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 15px;
    border-top: 1px solid #fcb80a;
}
ul li{
    position: relative;
    /* display: flex; */
    align-items: center;
    padding-bottom: 4px;
    padding-top: 14px;
    /* border-top: 1px solid #dce7eb;    */
}
ul li input[type="checkbox"]{
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 30px;
    z-index: 1;
    opacity: 0;
}
ul li i{
    position: absolute;
    transform: translate(-6px,0);
    margin-top: -15px;
    right: 0;
} 
ul li input[type=checkbox]:checked ~ a p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateX(-50%);
}

ul li input[type="checkbox"]:checked~i::before{
    transform: translate(2px,0) rotate(45deg);
}
ul li input[type="checkbox"]:checked~i::after{
    transform: translate(-2px,0) rotate(-45deg);
}
ul li i::before,ul li i::after{
    content: "";
    position: absolute;
    background: white;
    width: 3px;
    height: 9px;
}
ul li i::before{
    transform: translate(-2px,0)rotate(45deg);
}
ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
p{
  font-size: 16px;
  color: rgba(48,69,92,0.8);
  line-height: 26px;
  letter-spacing: 1px;
  position: relative;
  padding: 0 11px;
  max-height: 800px;
  margin-top: 4px;
  opacity: 1;
  transform: translate(0,0);
  overflow: hidden;     
}
.transition, p, ul li i:before, ul li i:after {
  transition: all 0.25s ease-in-out;
  
}
.flipIn, h1, ul li {
  animation: flipdown 0.5s ease both;
}
/* ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
ul li:nth-of-type(3) {
  animation-delay: 8s;
} */
ul li:last-of-type {
  padding-bottom: 0;
}
h2 {
    font-size: 16px;
}
p{
    letter-spacing: 0px;
}
@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}
.menu-opcoes ul li p:hover, .menu-opcoes ul li h2:hover, .menu-opcoes ul li a h2:hover {
    cursor: pointer;
    scale: 1.02;
	/* border-bottom: 1px solid #fcb80a; */
	color: #fcb80a;
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.menu-opcoes ul li p:active {
    scale: .99;
}
.item-ativo {
	cursor: pointer;
    scale: 1.02;
	/* border-bottom: 1px solid #fcb80a; */
	color: #fcb80a !important;
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
/*----------------------------------------------------------------| FIM MENU LATERAL |---------------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  
  :root {
    --secondary-color: #151226;
    --contrast-color: #BF307F;
  }
  .overlay {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: -10;
  }
  
  .container {
    display: flex;
    width: 100%;
    background: #f7f7f7;
    height: 100vh;
    justify-content: space-around;
    align-items: center;
    color: #fff;
    /* animation: expand .8s ease forwards; */
	z-index: 999;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: all .8s ease;
  }
  
  .container_content {
   width: 50%;
  }
  
  .container_content_inner {
    width: 80%;
    /* margin-left: 80px; */
  }
  
  .container_outer_img {
    /* margin: 50px;
    width: 50%; */
    overflow: hidden;
  }   
      
  .container_img {
    width: 100%;
    animation: slideIn 1.5s ease-in-out forwards;
  }
  
  .par {
    height: auto;
    overflow: hidden;
  }
  
  p, h4 {
    line-height: 28px;
    transform: translateY(300px);
    animation: slideUp .8s ease-in-out forwards .8s;
    color: #666;
  }

  .title {
    overflow: hidden;
    height: auto;
    margin-bottom: 15px;
    p {
        padding: 0px;
    }
  }
  
  h1 {
      font-size: 40px;
      color: #666;
      margin-bottom: 4px;
      transform: translateY(100px);
      animation: slideUp .8s ease forwards .5s;
  }
  
  @keyframes slideIn {
    0% {
      transform: translateX(500px) scale(.2);
    }
    100% {
      transform: translateX(0px) scale(1);
    }
  }
  
  @keyframes slideUp {
    0% {
      transform: translateY(300px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @keyframes expand {
    0% {
      transform: translateX(1400px);
    }
    100% {
      transform: translateX(0px);
    }
  }

/* .container {
    width: 100%;
    height: 100vh;
    background: #f7f7f7;
    display: flex;
}
.container {
    box-sizing: border-box;
} */
.menu-lateral div a > div img {
    width: 180px;
    border-radius: 5px;
}
.menu-lateral div a > div  {
    background-color: #ffffff;
    width: 230px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.bar {
    z-index: 9999;
    display: flex;
    width: 100%;
    height: 25px;
    position: absolute;
    background: #182e71;
    left: 0px;
    top: 0px;
}
.bar::before {
    padding-left: 72px;
    text-align: center;
    z-index: 99999;
    display: flex;
    content: "Tutoriais";
    width: 160px;
    height: 35px;
    position: absolute;
    /* background: linear-gradient(to right, #fcb80a 70%, rgba(219, 150, 0, 0));  */
    background: #fcb80a;
    left: 245px;
    top: 25px;
    font-weight: 700;
    font-size: 17px;
    align-items: center;
    justify-content: start;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    box-shadow: rgba(0, 0, 0, 0.35) 6px 0px 10px;
    text-transform: uppercase;
}
.bar::after {
    z-index: 99999;
    display: flex;
    content: "";
    /* width: calc(100% - 27px); */
    width: 100%;
    position: absolute;
    height: 4px;
    top: 24px;
    margin-left: 15px;
    background: #fcb80a;
}
.menu-opcoes {
    /* padding-left: 15px; */
    a {
      position: relative;
      z-index: 99999;
    }
	h2 {
		padding-bottom: 2px;
	}
}
.container .menu-lateral {
	position: absolute;
    width: 260px;
    background: #182e71;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    transition: transform 0.7s ease-in-out;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 6px 0px 10px;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
    p {
        color: white;
    }
}
html, body {
    overflow: hidden; /* Evita que o body tenha scroll extra */
}
body.loading .container-tutorial {
	overflow-y: auto; /* Mostra o scroll após o carregamento */
}
.container-tutorial {
	height: auto;
    overflow-y: auto;
	scrollbar-width: thin;
	margin-left: 260px;
}
.conteudo-tutorial, .container-tutorial {
    width: 100%;
    height: 100vh;
}
.conteudo-tutorial {
    box-sizing: border-box;
    padding: 25px 35px;
    div {
        text-align: start;
        display: inline-table;
        h1 {
            margin-top: 50px;
            font-size: 32px;
            text-transform: uppercase;
            letter-spacing: -1px;
            color:#182e71;
        }
    }
}
.descricao-tutorial {
    /* border: solid 1px #d6d6d6; */
    height: auto;
    margin: 20px 0px;
    p {
      margin-bottom: 20px;
    }
}
/* Estiliza tags que vem do sql */
.descricao-sql {
    border-radius: 5px;
    border: solid 1px #d6d6d6;
    padding: 10px;
    p {
      margin-bottom: 10px;
    }
    h4 {
      color: #666;
    }
}
.descricao-sql > div {
    padding-left: 40px;
}
.descricao-sql > div > p {
  padding-left: 30px;

}
/* remove o redirecionamento da opção no menu que tenha sub itens */
li:has(i) a {
	z-index: -99999999 !important;
	position: relative;
}
.comprar {
	z-index: 9999;
    height: 108px;
	border: 1px solid #182e71;
    width: 118px;
    border-radius: 50%;
    background-color: #182e71d6;
    color: white;
    animation: 1s pulse infinite ease-in-out;
    position: absolute;
    right: 50px;
	bottom: 50px;
}
.comprar:hover {
	cursor: pointer;

}
@-webkit-keyframes pulse {
    0% {
      -webkit-box-shadow: 0 0 0 14px #043668;
    }
    70% {
        -webkit-box-shadow: 0 0 0 14px #01162c;
    }
    100% {
        -webkit-box-shadow: 0 0 0 18px #02366a;
        }
    }
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #a399998f;
        }
    70% {
        box-shadow: 0 0 16px 18px  #f7f7f700;
        }
    100% {
        box-shadow: 0 0 18px 20px #eeebeb00;
        }
    }
	@keyframes blinkCursor {
		50% {
		  border-right-color: transparent;
		}
}
	  
@keyframes typeAndDelete {
    0%,
    10% {
    width: 0;
    }
    45%,
    55% {
    width: 8.5em; /* Ajuste baseado no texto */
    }
    90%,
    100% {
    width: 0;
    }
}
.container_img {
    max-width: 1435px;
    max-height: 700px;
    aspect-ratio: 16 / 7.6;
}
.descricao-tutorial {
    max-width: 1435px;
}
.text-effect {
    text-transform: uppercase;
    overflow: hidden;
    font-size: 12px;
    z-index: 9999;
    position: absolute;
    right: 9px;
    bottom: 44px;
    color: white;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.2em solid white; /* Cursor */
    animation: typeAndDelete 4s steps(11) infinite, blinkCursor 0.5s step-end infinite alternate;
}
.bar-links {
    top: 28px;
    position: absolute;
    right: 0px;
    height: 32px;
    display: flex;
    gap: 0px;
    clip-path: polygon(3.5% 0, 100% 0, 100% 100%, 0% 100%);
    /* justify-content: end;
    background-color: #182e71;
    width: 100%; */
    a {
        height: 100%;
        font-size: 14px;
        display: inline-flex;
        box-sizing: border-box;
        padding: 5px 20px;
        background-color: #182e71;
        width: 200px;
        color: white;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: all 0.3s ease; 
        font-weight: 500;
    }
}
.bar-links a:hover {
    /* border: 1px solid white; */
    background-color: #fcb80a;
    scale: 1.01;
    letter-spacing: .1px;
    cursor: pointer;
}
.bar-links a:active {
    scale: .99;
}
/*------------------------------------------------| INICIO MENU BURGUER |-----------------------------------------------------------*/
.burger {
    display: none;
    position: relative;
    margin-left: 14px;
    width: 32px;
    height: 22px;
    background: transparent;
    cursor: pointer;
    z-index: 999999999;
  }
.burger input {
    display: none;
}
.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}
.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}
.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}
.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 5px;
}
.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}
.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 20px;
    left: 5px;
}
/*------------------------------------------------| FINAL MENU BURGUER |-----------------------------------------------------------*/
@media(max-width: 900px) {
    .burger {
        display: block;
    }
    .container-tutorial {
        margin-left: 0px;
        height: 100svh;
    }
    .container .menu-lateral {
        display: none;
        width: 100%;
        z-index: 99;
        top: 0px;
        justify-content: space-between;
        height: 100svh;
        align-items: start;
        padding-left: 0px;
        img {
            display: none;
        }
    }
    .menu-opcoes {
        padding-left: 15px;
    }
    .container .menu-lateral div:first-child {
        /* padding-top: 35px; */
        height: 0px;
        width: 100%;
    }
    .container .menu-lateral .by-construtiva {
        all: initial;
        width: 100%;
        P {
            font-size: 20px;
        }
    }
    .bar-links {
        width: 100%;
        top: 35px;
        clip-path: none;
        a {
            padding: 2px 4px;
            font-size: 12.2px;
            width: 33.3%;
        }
    }
    .bar-links a {
        border-right: .5px solid white;
        height: 35px;
    }
    .bar {
        align-items: center;
        height: 35px;
    }
    .bar::before {
        width: 100%;
        left: 0;
        top: 0;
        padding-left: 60px;
        clip-path: none;
    }
    .bar::after {
        display: none;
    }
    .conteudo-tutorial {
        padding: 25px 10px;
    }
    .descricao-sql {
        letter-spacing: -0.5px;
        padding: 10px 0px;        ;
        p {
            font-size: 14px;
        }
    }
    .conteudo-tutorial .title h1 {
        font-size: 22px;
        padding-top: 5px;
    }
}
@media (min-width: 900px) and (max-width: 1100px) {
    .bar::before {
        padding-left: 15px;
    }
    .bar-links a {
        padding: 5px 10px;
        width: 180px;
    }
}