/* Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-top: 60px; /* Espaço para o header fixo */
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #FFFFFF;
    line-height: 1.8;
    font-size: 16px;
}

/* Header */
header {
    padding: 10px 20px;
    background-color: #24292e;
    text-align: left;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
}

/* Botão de Tradução */
.translate-button {
    background-color: #1F7A8C;
    color: #FFFFFF;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.translate-button:hover {
    background-color: #5AB1BB;
    transform: translateY(-3px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #24292e;
    overflow: hidden;
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.open {
    left: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 20px;
}

.menu-list li {
    padding: 15px;
}

.menu-list li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.menu-list li a:hover {
    background-color: #444c56;
}

.menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* Container Principal */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: scale(1.02);
}

/* Links com Background */
.container a:not(.no-background),
.contact-buttons a:not(.no-background),
.learning-buttons a:not(.no-background),
#resume a {
    display: inline-block;
    margin: 10px 5px; /* Margem entre os botões */
    padding: 12px 20px;
    background: linear-gradient(135deg, #1F7A8C, #174A5F);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    text-align: center;
    min-width: 180px; /* Largura mínima dos botões */
    max-width: 250px; /* Largura máxima dos botões */
}

.container a:hover:not(.no-background),
.contact-buttons a:hover:not(.no-background),
.learning-buttons a:hover:not(.no-background),
#resume a:hover {
    transform: translateY(-3px);
    background: #5AB1BB;
}

/* Seção de Perfil */
.profile {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background: none;
}

.profile-picture {
    flex-shrink: 0;
    margin-right: 20px;
    background: none;
}

.profile-picture img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #516d7bb7;
    cursor: pointer;
}

.profile-details {
    flex-grow: 1;
    text-align: left;
    text-align: justify;
    background: none;
}

.profile-details h1 {
    color: #FFFFFF;
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

.profile-details p {
    margin: 5px 0;
    font-size: 18px;
}

/* Seção de Certificações */
.certifications-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    background: none;
}

.certifications-list li {
    display: inline-block;
    transition: transform 0.3s ease;
    background: none;
}

.certifications-list li:hover {
    transform: scale(1.1);
}

.certifications-list img {
    width: 100px;
    height: auto;
}

/* Ícones de Contato */
.contact-icon {
    filter: invert(100%) brightness(200%);
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Seção de Aprendizado */
.learning-buttons a {
    display: inline-block;
    margin: 10px 5px; /* Margem entre os botões */
    padding: 12px 20px;
    background: linear-gradient(135deg, #1F7A8C, #174A5F);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    text-align: center;
    min-width: 180px; /* Largura mínima dos botões */
    max-width: 250px; /* Largura máxima dos botões */
}

.learning-buttons a:hover {
    transform: translateY(-3px);
    background: #5AB1BB;
}

/* ===== Resume-specific overrides: place this at the end of styles.css ===== */

/* Override the global .container background and force a white card look */
#resume-container.container {
  background: #FFFFFF !important;
  color: #333333 !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
  border-radius: 10px !important;
  padding: 30px !important;
  margin: 40px auto !important;
}

/* Header (name / title / contact) */
#header-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

#header-container .left {
  text-align: left;
}

#header-container .right {
  text-align: right;
  color: #2F4F4F;
}

/* Name styling */
#header-container h1 {
  margin: 0 0 10px;
  font-size: 40px;
  color: #2F4F4F;
  font-weight: 700;
}

/* Job title */
#header-container .title {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #5AB1BB;
  margin: 0;
}

/* Section headings */
#resume-container h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 2px solid #5AB1BB;
  padding-bottom: 5px;
  color: #2F4F4F;
}

/* Paragraphs and list items */
#resume-container p,
#resume-container li {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 10px;
}

/* Nested lists: add left padding */
#resume-container ul {
  padding-left: 20px;
}

/* Spacing between sections */
#resume-container .section {
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #resume-container {
    margin: 20px 10px;
    padding: 15px;
  }
  #header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  #header-container h1 {
    font-size: 28px;
  }
  #resume-container h2 {
    font-size: 20px;
  }
  #resume-container p,
  #resume-container li {
    font-size: 14px;
  }
}
