/*

Tooplate 2120 Ben Resume

https://www.tooplate.com/view/2120-ben-resume

*/

  @font-face {
      font-family: 'Plain';
      src: url('../localfonts/Plain-Regular.woff2') format('woff2'),
          url('../localfonts/Plain-Regular.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }

  @font-face {
      font-family: 'Plain';
      src: url('../localfonts/Plain-Light.woff2') format('woff2'),
          url('../localfonts/Plain-Light.woff') format('woff');
      font-weight: 300;
      font-style: normal;
  }

  @font-face {
      font-family: 'Plain';
      src: url('../localfonts/Plain-Bold.woff2') format('woff2'),
          url('../localfonts/Plain-Bold.woff') format('woff');
      font-weight: bold;
      font-style: normal;
  }

  :root {
    --primary-color:        #ffd500;
    --white-color:          #ffffff;
    --dark-color:           #010101;
    --menu-bg-color:        #212529;

    --gray-color:           #909090;
    --p-color:              #7d7a7a;

    --base-font-family:     "Plain", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --font-weight-bold:     600;
    --font-weight-normal:   400;
    --font-weight-light:    300;

    --h1-font-size:         56px;
    --h2-font-size:         48px;
    --h3-font-size:         38px;
    --h4-font-size:         34px;
    --h5-font-size:         30px;
    --h6-font-size:         24px;
    --p-font-size:          18px;
    --base-font-size:       16px;
    --button-font-size:     20px;

    --border-radius-large:  100%;
    --border-radius-medium: 80px;
    --border-radius-small:  40px;
  }


  body {
    font-family: var(--base-font-family);
  }


  /*---------------------------------------
     TYPOGRAPHY
  -----------------------------------------*/

  h1 {
    font-size: var(--h1-font-size);
  }

  h1,
  h3 {
    font-weight: var(--font-weight-light);
  }

  h2 {
    font-size: var(--h2-font-size);
  }

  h3 {
    font-size: var(--h3-font-size);
  }

  h4 {
    font-size: var(--h4-font-size);
  }

  h5 {
    font-size: var(--h5-font-size);
  }

  h6 {
    font-weight: var(--font-weight-bold);
    font-size: var(--h6-font-size);
  }

  p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3px;
    line-height: 2em;
  }

  .section-padding {
    padding: 6rem 0;
  }

  .custom-icon {
    font-size: 12px;
    position: relative;
    bottom: 3px;
    left: 5px;
    transform: rotate(-25deg);
  }
  
  .normal-text {
    text-align: justify;
}


  /* CUSTOM BUTTON */
  /* .custom-btn {
    background: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-medium);
    color: var(--white-color);
    letter-spacing: 0.2px;
    padding: 6px 36px 10px 36px;
    font-size: var(--button-font-size);
    white-space: nowrap;
  }

  .custom-btn:hover,
  .custom-btn:focus {
    color: var(--dark-color);
    background: var(--primary-color);
  } */


  /*---------------------------------------
     GENERAL
  -----------------------------------------*/

  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  *::before,
  *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.4s linear;
  }

  a:hover  {
    color: var(--dark-color);
    text-decoration: none;
  }


  /*---------------------------------------
     MENU
  -----------------------------------------*/

  .navbar {
    background: var(--menu-bg-color);
    padding: 0.3rem 1rem;
    transition: all 300ms ease-in-out;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    left: 0;
    opacity: 1;
  }

  .navbar.scroll {
    background: var(--menu-bg-color);
    padding: 0.5rem 1rem;
    position: fixed;
    opacity: 1;
  }

  .navbar-brand {
    color: var(--white-color);
    font-weight: var(--font-weight-light);
    font-size: var(--h4-font-size);
    
  }

  .navbar .custom-btn {
    background: var(--primary-color);
    color: var(--dark-color);
  }

  .contact-form #submit-button:hover,
  .navbar .custom-btn:hover {
    background: var(--dark-color);
    color: var(--white-color);
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    margin: 0 1.5rem;
    padding: 0;
    white-space: nowrap;
  }

  .nav-item .nav-link.active,
  .nav-item .nav-link:hover {
    color: var(--gray-color);
  }

  .nav-item .nav-link.active,
  .nav-item .nav-link:hover {
    border-bottom-color: var(--primary-color);
  }

  .nav-link {
    color: var(--gray-color);
    font-weight: var(--font-weight-light);
    font-size: var(--base-font-size);
    border-bottom: 1px solid transparent;
  }

  .navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0 10px 0 0;
    width: 30px;
    height: 35px;
    outline: none;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
  }


  .navbar-toggler .navbar-toggler-icon {
    background: var(--white-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
  }

  .navbar-toggler .navbar-toggler-icon::before,
  .navbar-toggler .navbar-toggler-icon::after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: '';
  }

  .navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
  }

  .menu-icon-square img {
    width: 9%; /* Tamanho do ícone */
    height: 9%; /* Tamanho do ícone */
    object-fit: cover; /* Ajusta a imagem dentro do espaço */
  }


  /* Estilo para o nome */
  .menu-name {
    font-weight: bold;
    color: #ffffff; /* Cor do nome */
    margin-right: 8px; /* Espaço entre o nome e o texto "Portfolio" */
  }

  /* Estilo para o texto "Portfolio" */
  .menu-role {
    font-style: italic;
    color: #7d7a7a; /* Cor do texto secundário */
  }



  /*---------------------------------------
     HERO
  -----------------------------------------*/
  .hero {
    position: relative; /* Necessário para posicionar a div do retângulo dentro */
    height: auto; /* Ajuste a altura conforme necessário */
    display: flex; /* Flexbox para centralizar o conteúdo */
    justify-content: center; /* Alinha o conteúdo horizontalmente */
    align-items: center; /* Alinha o conteúdo verticalmente */
    width: 100%; /* Largura total */
    background: linear-gradient(to right, #e6dace 45%, #ffffff 45%); /* Gradiente de duas cores */
    padding-top: 10%;
    padding-bottom: 10%;
  }

  /* Contêiner do retângulo */
  .rectangle {
      display: flex;
      width: 80%; /* Ajuste a largura do retângulo */
      height: 100%; /* Ajuste a altura do retângulo */
      margin: 0 auto; /* Adiciona margem automática para centralizar */
  }

  /* Parte esquerda do retângulo */
  .rectangle-left {
      display: flex;
      width: 40%; /* Largura do lado esquerdo */
      background-color: #f4ede7; /* Cor do primeiro retângulo */
      height: 100%;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Sombra no lado esquerdo */
      flex-direction: column;
      justify-content: flex-start; /* Centraliza o conteúdo horizontalmente */
      align-items: center; /* Centraliza o conteúdo verticalmente */
  }

  .profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Estilo para a imagem do perfil */
  .profile-image {
    max-width: 80%;
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 50%; /* Torna a imagem circular */
    object-fit: cover; /* Faz com que a imagem se ajuste ao tamanho do container sem distorção */
    display: block;
    margin-top: 30px;
  }

  .profile-text {
    font-size: 20px;
    color: #333;
    text-align: center;
    font-weight: bold;
  }

  .profile-subtext {
    font-size: 1.2em;
    color: #555; /* Ajuste a cor conforme necessário */
    margin-top: 10px; /* Distância do texto "Felipe Parfitt" */
    margin-bottom: 100px; /* Distância do retângulo na base */
    text-align: center; /* Centraliza o texto */
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .social-links {
    display: flex;
    gap: 15px; /* Espaçamento entre ícones */
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Estilo para cada ícone social */
  .social-links li a {
      font-size: 24px; /* Tamanho dos ícones */
      color: #333; /* Cor dos ícones, ajuste conforme necessário */
      transition: color 0.3s; /* Efeito de transição para hover */
      text-decoration: none;
  }

  /* Efeito hover para os ícones */
  .social-links li a:hover {
      color: #0077b5; /* Cor para LinkedIn, ajuste se desejar */
  }

  .rectangle-base {
    width: 100%;
    height: 12%;
    background-color: #ffffff; /* Cor do retângulo base */
    position: absolute;
    bottom: 0px; /* Distância da base do rectangle-left */
    align-items: center; /* Alinha os ícones verticalmente no centro */
    justify-content: center; /* Centraliza os ícones horizontalmente */
    display: flex;

  } 

  /* Parte direita do retângulo */
  .rectangle-right {
      width: 100%; /* Largura do lado direito */
      background-color: #ffffff00; /* Cor do segundo retângulo */
      height: auto;
      
  }

  .right-content {
    text-align: justify; /* Alinha o texto ao centro */
    width: 100%;
    margin-left: 15px;
}

  .right-content p {
      font-size: 1.2em; /* Tamanho de fonte */
      margin: 15px 0; /* Espaçamento entre os parágrafos */
      color: #333; /* Cor do texto */
  }

  .hello-text {
    font-size: 4em; /* Aumenta o tamanho da fonte */
    font-weight: bold; /* Coloca o texto em negrito */
    font-family: 'Arial', sans-serif; /* Altere a fonte como preferir */
    text-align: start;
  }

  /* Estilo dos botões */
  .buttons {
    display: flex;
    gap: 10px; /* Espaçamento entre os botões */
    justify-content: center; /* Centraliza os botões */
    margin-top: 20px;
}

  .buttons .btn {
      display: inline-block;
      padding: 10px 20px;
      font-size: 1.0em;
      background-color: #212529; /* Cor de fundo dos botões */ 
      color: #909090; /* Cor do texto dos botões */
      text-decoration: none;
      border-radius: 40px;
      transition: background-color 0.3s ease;
  }

  .buttons .btn:hover {
      background-color: #909090; /* Cor de fundo ao passar o mouse */
      color:#212529
  }



  /*---------------------------------------
     ABOUT
  -----------------------------------------*/

  .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .filter-buttons .btn {
    border: 2px solid #76c7c0;
    color: #76c7c0;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
  }

  .filter-buttons .btn.active,
  .filter-buttons .btn:hover {
    background-color: #76c7c0;
    color: white;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .project-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: pointer;
    min-height: 400px;
    text-align: justify;
  }

  .project-card:hover {
    transform: translateY(-10px);
  }

  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .project-title {
    font-size: 1.3em;
    margin: 10px 0;
    color: #333;
    margin-bottom: 20px;
  }


  .about-third {
	  margin: 2.2em -0.8em;
  }

  .about-image {
    border-radius: var(--border-radius-small);
  }

  .profile-list li {
    margin: 0.3rem 0;
  }

  .profile-list strong {
    display: inline-block;
    width: 30%;
    margin-right: 1rem;
  }

  /* Implemented by me*/
  
  .about-skill-container {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    padding: 20px;
    border: 3px solid #18425f; /* Borda azul para o quadro externo */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
  }

  .about-skill-title {
      text-align: center;
      font-size: 32px;
      color: #333;
      margin-bottom: 40px;
  }

  .about-skill-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Define colunas adaptáveis */
    gap: 10px; /* Espaço entre os itens */
    margin-bottom: 20px;
    padding: 20px;
  }

  .about-skill-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    border-top: 2px solid #18425f; /* Linha superior */
    border-bottom: 2px solid #18425f; /* Linha inferior */
    padding: 5px 0;
    font-weight: bold;
  }
 
  .about-skill-category {
      flex: 1 1 30%; /* Cada categoria ocupará 30% da largura disponível */
      margin-bottom: 20px;
      min-width: 280px; /* Garante que a largura mínima das seções seja de 280px */
  }

  .about-skill-category-title {
      font-size: 18px;
      color: #555;
      margin-bottom: 15px;
      text-align: center;
      font-weight: bold;
      padding-bottom: 10px;
  }

  .about-skill-items {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      align-items: center;
  }

  .about-skill-items li {
      display: flex;
      flex-direction: column; /* Coloca a imagem acima do texto */
      align-items: center;
      gap: 8px;
      border-radius: 8px;
      justify-content: center;
      text-align: center;
  }

  .about-skill-items a {
    text-decoration: none; /* Remove o sublinhado do link */
    color: inherit; /* Herda a cor do elemento pai */
    display: flex; /* Define um layout flexível */
    flex-direction: column; /* Organiza o ícone e o texto em coluna */
    align-items: center; /* Centraliza o conteúdo */
    gap: 8px; /* Adiciona espaço entre o ícone e o texto */
    text-align: center; /* Centraliza o texto */
  }

  .about-skill-items img {
    width: 40px;
    height: 40px;
  }

  .about-skill-items img:hover {
    transform: translateY(-2px);
  }


  /*---------------------------------------
     FAQ
  -----------------------------------------*/

  .faq .card-header {
    padding: 0;
  }

  .faq .btn-link {
    color: var(--dark-color);
    font-size: var(--h6-font-size);
    text-align: left;
    display: block;
    width: 100%;
    padding: 1rem 2rem;
  }

  .faq .btn-link:focus,
  .faq .btn-link:hover {
    color: var(--dark-color);
    text-decoration: none;
  }

  .faq .card-body {
    padding: 2rem;
  }

  .faq-info-text {
    font-size: var(--base-font-size);
    display: block;
    margin: 1.5rem 2rem 0 2rem;
  }


  /*---------------------------------------
     TESTIMONIALS
  -----------------------------------------*/

  .testimonials {
    background: #f9f9f9;
  }

  .testimonials-image {
    margin: 0 1rem 1rem 1rem;
  }

  .testimonials-image img {
    border-radius: var(--border-radius-medium);
  }

  .testimonials-info {
    width: 100%;
  }

  .testimonials .owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 2rem;
  }

  .testimonials .owl-theme .owl-dots .owl-dot {
    outline: none;
  }

  .testimonials .owl-theme .owl-dots .owl-dot span {
    width: 30px;
    height: 3px;
    margin: 5px;
  }

  .testimonials .owl-theme .owl-dots .owl-dot.active span,
  .testimonials .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
  }


  /*---------------------------------------
     CONTACT
  -----------------------------------------*/

  .contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(142, 140, 140, 0.35);
    box-shadow: none;
    border-radius: 0;
    /*-webkit-appearance: none;*/
    outline: none;
    color: var(--dark-color);
    font-weight: var(--font-weight-light);
    padding-left: 0;
    cursor: text;
  }

  .contact-form input {
    height: calc(2.25rem + 10px);
  }

  .contact-form .form-group {
    margin: 0 0 1rem;
    position: relative;
  }

  .contact-form .form-control,
  .webform-label {
    transition: all 0.4s;
    touch-action: manipulation;
  }

  .webform-label {
    cursor: text;
    font-size: 12px;
    font-weight: var(--font-weight-light);
    margin-bottom: 5px;
  }

  .contact-form .form-control:placeholder-shown + .webform-label {
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left bottom;
    transform: translate(0, 2.125rem) scale(1.5);
  }

  .contact-form ::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
  }

  .contact-form ::-moz-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
  }

  .contact-form .form-control:focus::-webkit-input-placeholder {
    opacity: 1;
  }

  .contact-form .form-control:focus::-moz-placeholder {
    opacity: 1;
  }

  .contact-form .form-control:not(:placeholder-shown) + .webform-label,
  .contact-form .form-control:focus + .webform-label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
    color: var(--gray-color);
  }

  .contact-form #submit-button {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-medium);
    color: var(--dark-color);
    cursor: pointer;
    font-size: var(--p-font-size);
    line-height: 0;
    margin-top: 2.5rem;
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    white-space: nowrap;
    max-width: 190px;
  }

  .copyright-text {
    font-size: var(--base-font-size);
  }


  /*---------------------------------------
     SOCIAL LINKS
  -----------------------------------------*/

  .social-links {
    margin: 40px 0;
    padding: 0;
  }

  .social-links li {
    display: inline-block;
    list-style: none;
  }

  .social-links a {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--h6-font-size);
    margin: 5px 20px 5px 0;
  }

  .social-links a:hover {
    color: var(--dark-color);
  }

  /*---------------------------------------
     PROJECT STYLES
  -----------------------------------------*/

  .proj-text {
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    color: var(--text-color);
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
    text-align: justify;
    margin-bottom: 1em;
  }

  .proj-heading {
      margin-top: 2em;
      margin-bottom: 1em;
      text-align: center;
  }

  .proj-subheading {
    margin-bottom: 0.7em;
    margin-top: 0.5em;
    border-bottom: 0.5px solid #e2e2e2; /* Linha inferior */
    padding-bottom: 0.2em;
  }

  .proj-container {
      background-color: var(--background-color);
      padding: 2em;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .image-container {
    display: flex;               /* Define o contêiner como flexível */
    justify-content: center;     /* Centraliza a imagem horizontalmente */
    margin-bottom: 20px;         /* Espaço abaixo da imagem para afastar o texto */
  }

  /* Estilo para a imagem */
  .image-center {
      max-width: 100%;             /* Limita a largura da imagem ao contêiner */
      height: auto;                /* Mantém a proporção da imagem */
      border-radius: 8px;          /* Opcional: arredonda levemente os cantos */
  }

  .proj-link {
      color: var(--highlight-color);
      text-decoration: none;
      font-weight: var(--font-weight-bold);
  }

  .proj-link:hover {
      text-decoration: underline;
  }

  .proj-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 2em;
    align-items: center;
    font-size: 16px;
  }

  .proj-author-date {
      font-weight: bold;
  }

  .proj-keywords {
      font-style: italic;
      color: #777;
  }

  .proj-github-link a {
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
  }

  .proj-github-link a:hover {
      text-decoration: underline;
  }

 
  /*---------------------------------------
     RESPONSIVE STYLES
  -----------------------------------------*/

  @media screen and (max-width: 1200px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }
  }

  @media screen and (max-width: 992px) {

    .hero-title {
      font-size: 1.8em;
      padding-bottom: 1rem;
    }

    .email-link {
      font-size: 22px;
      padding: 0.5rem 2rem 0.7rem 2rem;
    }
    
  }

  @media screen and (max-width: 991px) {
    .navbar-nav {
      margin: 1rem 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
      display: inline-block;
      margin: 5px 0.5rem;
    }
  }

  @media screen and (max-width: 768px) {

    .hero-text {
      position: relative;
      top: 1.5rem;
    }


  }

  @media screen and (max-width: 480px) {

    .hero-title {
      font-size: 26px;
    }

  }