:root {
  --primary-color: #007bff;
}
* {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #202020;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #1a1a1a;
  scroll-behavior: smooth;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 102, 0, 0.02) 0px,
    rgba(255, 102, 0, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
}

header {
  background: #20202000;
  padding: 40px 37%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  transition: 0.5s;
}
header.roll {
  background: #ee4406;
  padding: 20px 37%;
  border-radius: 0px 0px 10px 10px;
}
header.roll a {
  color: black;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ee4406;
}
nav.roll a:hover {
  color: #ececec;
}

section {
  padding: 4rem 2rem;
  text-align: center;
}

.home {
  display: flex;
  height: 45rem;
  background-size: 200% 200%;
  /*animation: backgroundMove 15s ease-in-out;*/
  color: #ffffff;
  padding: 7rem 2rem;
  background-color: #1a1a1a;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 102, 0, 0.02) 0px,
    rgba(255, 102, 0, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
}
/*.homebg {
  height: 427px;
  width: 626px;
  margin-left: 25%;
  background-color: rgb(0, 255, 13);
}*/
/* ---- Background ---- */
.container-home {
  display: flex;
  justify-content: center;
  padding-right: 20%;
  height: 800px;
  width: 1900px;
}
.background {
  position: absolute;
  width: 600px;
  height: 600px;
  display: flex;
  margin-left: 58%;
  padding-top: 25%;
  background-repeat: no-repeat;
  background-image: url(./assets/imgs/==\ jc.svg);
}
/* Ajuste do canvas */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
/* Estilo do código */
pre {
  font-size: 16px;
  line-height: 1.5;
  white-space: pre;
}

/* Cores para palavras-chave */
.function {
  color: #ffdd57;
  font-weight: bold;
}

.keyword {
  color: #ee4406;
  font-weight: bold;
}

.text {
  color: #ececec;
}

/* Efeito de digitação */
.code-line {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid #ee4406;
  animation: typing 4s steps(40, end) forwards, blinkCursor 0.6s infinite;
}

/* Cursor piscando */
@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

/* Efeito de digitação */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 75%;
  }
}
.code-container {
  margin-left: 15%;
  padding-top: 17%;
  padding-right: 15%;
  width: 800px;
  height: 200px;
}

/* ---- Scrolling Effect ---- */
@keyframes scroll {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.about,
.projects,
.contact {
  color: #ffffff;
  background-color: #1a1a1a;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 102, 0, 0.02) 0px,
    rgba(255, 102, 0, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
}

.contact a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin: 1rem;
  border: 1px solid #ff7b00;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.contact a:hover {
  background: #ff7b00;
  color: #0a0a0a;
}

form {
  max-width: 500px;
  margin: 0 auto;
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ee4406;
  border-radius: 4px;
  background: #0a0a0a;
  color: #ffffff;
}

form button {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #ee4406;
}

footer {
  background: #0a0a0a;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #ee4406;
}

/* Animações */
@keyframes backgroundMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.element {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

button {
  background: #ee4406;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

button:hover {
  background: #ee4406;
  transform: scale(1.1);
  box-shadow: 0 0 10px #ff660088;
}

/* START OUR EXPERTISE*/

.container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem;
  margin-left: 15%;
}
.card {
  background-color: #1e1e1e;
  border-radius: 16px;
  padding: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
}
.card2 {
  background-color: #1e1e1e;
  border-radius: 16px;
  padding: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex: 1;
  min-width: 400px;
  max-width: 450px;
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card-beautify {
  display: flex;
  text-align: justify;
  font-size: small;
}

.right-beautify {
  margin-left: 30px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h2 .highlight-pink {
  color: #ff007f;
}

.card h2 .highlight-blue {
  color: #007bff;
}

.card h2 .highlight-orange {
  color: #ff4500;
}

.card h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
    margin-left: -36%;
    width: 100%;
    height: 100%;
  }
  .Expertise h1 {
    font-size: 2.5rem;
    margin-left: -15%;
  }
}
section h2 {
  font-size: 2rem;
}
section h1 {
  font-size: 5rem;
  text-align: center;
}

.citation {
  font-size: small;
  font-style: italic;
  text-align: center;
}

.line {
  display: flex;
  position: relative;
  max-width: 1200px;
}

.line::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}
/*** END OF OUR EXPERTISE ***/

/* START OF EXPERIENCE DETAILS */
h1 {
  text-align: left;
  font-size: 2.5rem;
}

/* END OF EXPERIENCE DETAILS */

.experience-content {
  width: 80%;
  background-color: white;
  margin-top: 70px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 25px;
  color: black;
}
.top-title {
  display: flex;
  width: 100%;
}

.experience-content .btn {
  border-radius: 10px;
  background-color: #000000;
}

.experience-content-text {
  height: 230px;
  text-align: justify;
  padding: 15px;
  margin-right: 15px;
  border: #000000 solid 2px;
  background-color: white;
  border-radius: 40px;
  color: black;
}

.experience-content-text .btn {
  border-radius: 45px;
  text-align: end;
  background-color: #000000;
  border: #111;
}

.experience-section {
  margin: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-container {
  margin: auto;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.features-box {
  height: 230px;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  border: #000000 solid 2px;
  display: flex;
  margin: 10px;
  text-align: justify;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.features-box img {
  width: 30px;
  margin-inline: auto;
  margin-bottom: 10px;
}

.skills {
  margin: auto;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 10px;
}

.gallery {
  display: flex;
  margin-right: 10px;
}

.complete-gallery {
  display: flex;
}

.separator {
  display: block;
  width: 1px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.3) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  @media (max-width: 768px) {
    display: none;
  }
}

hr {
  unset: all;
  content: "";
  height: 1px;
  width: 100%;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

hr.line-left-to-right {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(8, 7, 7, 0.3) 15%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(255, 255, 255, 0) 70%
  );
}

.gallery img {
  width: 150px;
  border-radius: 25px;
}

.complete-gallery img {
  margin: auto;
  margin-left: 10px;
  width: 580px;
  height: 300px;
  border-radius: 25px;
}

.complete-gallery video {
  margin: 15px;
  border-radius: 25px;
}

/* END OF EXPERIENCE DETAILS */

/* PROJECTS TIMELINE */

.projects {
  flex-wrap: wrap;
}

.project-left {
  flex-wrap: wrap;
  max-width: 300px;
  height: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  left: 9.9%;
}

.project-right {
  max-width: 300px;
  height: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  left: 55%;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: #ee4406;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 100%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #ee4406;
  border: 3px solid #ee4406;
  top: -15px;
  border-radius: 50%;
  z-index: 1;
}

.project-left-circule::after {
  right: -20%;
}

.project-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}
.project-left {
  height: 400px;
  width: 400px;
  background-color: #3a3939;
  padding-top: 4%;
}

.project-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}
.project-right {
  height: 600px;
  width: 1000px;
  background-color: #3a3939;
  padding-top: 4%;
}

.project-right::after {
  left: -24.3%;
}

a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

.knowrow {
  width: 89%;
  height: 50%;
  margin-top: -15%;
  margin-left: -10%;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 30px;
}
.knowrow .icones i {
  font-size: 100px;
  justify-content: center;
}
.knowrow :nth-child(2) {
  transition-delay: 300ms;
}
.knowrow :nth-child(3) {
  transition-delay: 400ms;
}
.knowrow :nth-child(4) {
  transition-delay: 500ms;
}
.knowrow :nth-child(5) {
  transition-delay: 600ms;
}
.knowrow :nth-child(6) {
  transition-delay: 700ms;
}
.knowrow a {
  text-decoration: none;
}
.icones i {
  font-weight: 600;
  color: #ff6600;
  text-shadow: 0 0 5px #ff660044;
  background: linear-gradient(45deg, #ff7300, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.icones {
  width: 250px;
  height: 230px;
  border-radius: 30px 30px 30px 30px;
  border-color: #ee4406;
  border-style: none none inset;
  text-align: center;
  padding-top: 5%;
  opacity: 0;
  filter: blur(15px);
  transition: all 0.2s;
  transform: translateX(-100%);
  scroll-behavior: smooth;
  overflow: hidden;
  box-shadow: 0px 0px 25px #1a1a1a;
  backdrop-filter: blur(4px);
  background: rgba(30, 30, 30, 0.6);
}
.icones:hover {
  transition: 25ms ease-in-out;
  transform: scale(1.1);
  border: 1px solid #ff6600;
  box-shadow: 0 0 10px #ff660088;
}
.iconess {
  border-radius: 30px 30px 30px 30px;
  margin: 0 0 10% 0;
}

.showicones {
  opacity: 1;
  transition: all 0.5s;
  filter: blur(0px);
  transform: translateX(0);
}

.content1 {
  position: relative;
  margin: 130px auto;
  text-align: center;
  padding: 0 20px;
}
.content1 .text {
  font-size: 2.5rem;
  font-weight: 600;
  color: #202020;
}
.content1 .p {
  font-size: 2.1875rem;
  font-weight: 600;
  color: #202020;
}
footer {
  position: relative;
  bottom: 0px;
  width: 100%;
  background: #111;
  border-radius: 15px 15px 0px 0px;
  box-shadow: 0px 0px 10px #000000;
}
.main-content {
  display: flex;
}
.main-content .box {
  flex-basis: 50%;
  padding: 10px 20px;
}
.box h2 {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
}
.box .content {
  margin: 20px 0 0 0;
  position: relative;
}
.box .content:before {
  position: absolute;
  content: "";
  top: -10px;
  height: 2px;
  width: 100%;
  background: #1a1a1a;
}
.box .content:after {
  position: absolute;
  content: "";
  height: 2px;
  width: 20%;
  background: #ee4406;
  top: -10px;
}
.left .content p {
  text-align: justify;
}
.left .content .social {
  margin: 20px 0 0 0;
}
.left .content .social a {
  padding: 0 2px;
}
.left .content .social a span {
  height: 40px;
  width: 40px;
  background: #1a1a1a;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.3s;
}
.left .content .social a span:hover {
  background: #ee4406;
}
.center .content .fas {
  font-size: 1.4375rem;
  background: #1a1a1a;
  height: 45px;
  width: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
}
.center .content .fas:hover {
  background: #ee4406;
}
.center .content .text {
  font-size: 1.0625rem;
  font-weight: 500;
  padding-left: 10px;
}
.center .content .phone {
  margin: 15px 0;
}
.right form .text {
  font-size: 1.0625rem;
  margin-bottom: 1px;
  margin-right: 83%;
  color: #656565;
}
.right form .msg {
  margin-top: 10px;
}
.right form input,
.right form textarea {
  width: 100%;
  font-size: 1.0625rem;
  background: #151515;
  padding-left: 10px;
  border: 0px solid #222222;
}
.right form input:focus,
.right form textarea:focus {
  outline-color: #000000;
}
.right form input {
  height: 35px;
}
.right form .btn {
  margin-top: 10px;
  justify-content: center;
  margin-left: 4%;
}
.right form .btn button {
  height: 40px;
  width: 100%;
  border: none;
  outline: none;
  background: #ee4406;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}
.right form .btn button:hover {
  background: #fca402;
}
.bottom center {
  padding: 5px;
  font-size: 0.9375rem;
  background: #151515;
}
.bottom center span {
  color: #656565;
}
.bottom center a {
  color: #ee4406;
  text-decoration: none;
}
.bottom center a:hover {
  text-decoration: underline;
  color: #ff7b00;
}
@media screen and (max-width: 900px) {
  footer {
    position: relative;
    bottom: 0px;
  }
  .main-content {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .main-content .box {
    margin: 5px 0;
  }
}
.grid-container {
  width: 100%;
  height: 2400px;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  grid-gap: 160px;
  user-select: none;
}

.shape {
  opacity: 0;
  box-shadow: #0a0a0a 0px 0px 20px;
  transform: translateY(60px) scale(0.5);
  transform: translateX(-60px) scale(0.5);
  transition: opacity 1s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
  cursor: pointer;
}

.shape.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transform: translateX(0) scale(1);
}

/* Quadrado: largura e altura iguais */
.square {
  width: 600px;
  height: 400px;
  margin-top: 70%;
  background-color: #ff007f;
  user-select: none;
  cursor: pointer;
  box-shadow: 0px 0px 25px #1a1a1a;
}
.square :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
}

.square1 {
  width: 600px;
  height: 400px;
  margin-top: 68%;
  background-color: #007bff;
  overflow: hidden;
  position: relative;
  user-select: none;
  cursor: pointer;
  box-shadow: 0px 0px 25px #1a1a1a;
}
.square1 :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.square1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
}
.square2 {
  width: 600px;
  height: 400px;
  margin-top: -120%;
  background-color: red;
  user-select: none;
  cursor: pointer;
  box-shadow: 0px 0px 25px #1a1a1a;
}
.square2 :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.square2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
}
/* Retângulo em pé: mais alto que largo */
.rectangle {
  width: 290px;
  height: 600px;
  margin-top: 0%;
  margin-left: 38%;
  box-shadow: 0px 0px 25px #1a1a1a;
  border-radius: 25px;
}
.rectangle :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.rectangle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
  border-radius: 25px;
}
.rectangle1 {
  width: 290px;
  height: 600px;
  margin-top: -80%;
  margin-left: 38%;
  box-shadow: 0px 0px 25px #1a1a1a;
  border-radius: 25px;
}
.rectangle1 :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.rectangle1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
  border-radius: 25px;
}
.rectangle2 {
  width: 290px;
  height: 600px;
  margin-top: -80%;
  margin-left: 38%;
  box-shadow: 0px 0px 25px #1a1a1a;
  border-radius: 25px;
}
.rectangle2 :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.rectangle2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  user-select: none;
  border-radius: 25px;
}

/* dispositivos moveis */
#sidebar {
  display: fixed !important;
  flex-direction: column;
  justify-content: space-between;
  background-color: #1f1f1f;
  top: 0; /* ANCORAR no topo */
  left: -80px; /* ANCORAR na esquerda */
  bottom: auto;
  height: 100%;
  width: 40px;
  border-radius: 0px 18px 18px 0px;
  position: fixed !important;
  transition: all 0.5s;
  min-width: 82px;
  z-index: 99999;
}
/* Sidebar visível */
#sidebar.open-sidebar {
  left: 0;
}
#sidebar_content {
  padding: 12px;
  padding-top: 70px;
  position: fixed;
}
#user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
#user_avatar {
  width: 55px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
}
#user_infos {
  display: flex;
  flex-direction: column;
}
#user_infos span:last-child {
  color: #6b6b6b;
  font-size: 12px;
}
#side_items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0; /* remove espaçamento interno */
  margin: 0; /* remove espaçamento externo */
  align-items: flex-start; /* garante que itens fiquem colados à esquerda */
}
.side-item {
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  margin-right: 0px;
  left: 0px;
}
.side-item.active {
  background-color: #fa4802;
}

.side-item:hover:not(.active),
#logout_btn:hover {
  background-color: #f7f4f4;
}
.side-item a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* <-- muda para alinhar à esquerda */
  color: #0a0a0a;
  width: 100%; /* faz o link ocupar toda a largura disponível */
}
.side-item.active a {
  color: #f7eae3;
}
.side-item a i {
  display: flex;
  align-items: left;
  justify-content: center;
  width: 20px;
  height: 20px;
}

#open_btn {
  position: absolute;
  align-items: center;
  justify-content: center;
  display: flex;
  top: 30px;

  right: -50px;
  background-color: #ee4406;
  color: #e3e9f7;
  clip-path: polygon(
    25% 6.7%,
    75% 6.7%,
    100% 50%,
    75% 93.3%,
    25% 93.3%,
    0% 50%
  );
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
}
#open_btn_icon {
  transition: transform 3s ease;
}

.open-sidebar #open_btn_icon {
  transform: rotate(180deg);
}
.item-description {
  width: 0px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  transition: width 0.6s;
  height: 0px;
}
#sidebar.open-sidebar {
  min-width: 60%;
}
#sidebar.open-sidebar .item-description {
  width: 150px;
  height: auto;
}
#sidebar.open-sidebar .side-item a {
  justify-content: flex-start;
  gap: 14px;
}
/* Animated Slider cards mobile Styles */
.animated-slider-container {
  position: relative;
  margin: auto;
  padding-top: 36px;
  width: 80%;
  /* height: 560px; */

  height: 100%;
  min-height: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (max-width: 1024px) {
    flex-direction: column;
    width: 60%;
    left: -21%;
  }
}
.animated-slider-card-block {
  position: relative;
  display: flex;
  justify-content: center;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 500px;
  perspective: 800px;
  height: 360px;
  @media (max-width: 991px) {
    margin-left: -360px;
  }
}

.animated-slider-card-block .card {
  position: absolute;
  justify-content: center;
  align-items: center;
  display: block;
  height: 360px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  border-radius: 32px;
  overflow: hidden;
  @media (max-width: 640px) {
    height: 190px;
    max-width: 190px;
    margin-left: 24px;
  }
}

.animated-slider-card-block .card img {
  height: 190px;
  max-width: 320px;
  object-fit: cover;
}
.animated-slider-card-block .card .play {
  position: relative;
  top: -100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.animated-slider-card-block .card .play i {
  color: rgba(248, 245, 245, 0);
  font-size: 64px;

  transition: all 0.2s ease-in-out;
}

.animated-slider-card-block .card:hover .play i {
  color: rgba(255, 255, 255, 0);
  font-size: 96px;
}

.animated-slider-container .card-content {
  padding-left: 400px;
  width: 100%;
  color: #ff4500;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  @media (max-width: 991px) {
    padding-left: 0px;
    padding-top: 50px;
  }
}
.animated-slider-container .card-content h1 {
  font-size: 3.4rem;
  font-weight: 600;
  color: #ff4500;
  padding-top: 16px;
  padding-bottom: 0;
  @media (max-width: 768px) {
    font-size: 2.4rem;
  }
}
.animated-slider-container .card-content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #ff4500;
  padding-bottom: 16px;
  @media (max-width: 768px) {
    font-size: 1.8rem;
  }
}
.animated-slider-container .card-content p {
  color: #ff4500;
  font-size: 1.2rem;
  text-align: justify;
}

.animated-slider-card-block .card-block-wrap {
  height: 289px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.animated-slider-container .btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 0px;
  @media (min-width: 991px) {
    position: absolute;
    bottom: 48px;
    left: 50%;
  }
  .btn-wrap {
    margin-right: -40%;
  }
}

.animated-slider-container .btn-wrap .btn {
  width: 10px;
  height: 10px;
  aspect-ratio: 1;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 0.6;
  border-radius: 8px;
  background-color: #444343;
}

.animated-slider-container .btn-wrap .focus {
  width: 20px;
  height: 20px;
  -webkit-transform: translate(0px, -3px);
  transform: translate(0px, -3px);
  opacity: 1;
  background-color: #ff4500;
}

.animated-slider-card-block #one {
  left: 0;
}

.animated-slider-card-block #two {
  left: 25px;
}

.animated-slider-card-block #three {
  left: 50px;
}
.container-title {
  width: 100%;
  color: #ffffff;
  font-size: 2.8rem;
  padding-bottom: 24px;
  padding-left: -50px;
  @media (max-width: 1025px) {
    font-size: 2rem;
  }
}

/* mobile screens */
@media screen and (max-width: 1025px) {
  body {
    overflow-x: hidden;
  }
  header {
    display: none;
  }
  .code-container {
    display: none;
  }
  .background {
    margin-left: -72%;
  }
  .knowrow {
    flex-direction: column;
    margin-left: 13%;
  }
  h1 {
    font-size: 1px;
    margin-right: 155px;
  }
  .card {
    margin-right: 40%;
  }
  .projects {
    display: none;
  }
  .grid-container {
    display: none;
  }
}

@media (min-width: 1024px) {
  #sidebar {
    display: none;
  }
  .page {
    display: none;
  }
}
