@charset "UTF-8";

/* Importação de fontes */
@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Karla", sans-serif;
  background-color: #fdf8f3;
  color: #111;
  line-height: 1.6;
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: "Bebas Neue", cursive;
  letter-spacing: 1px;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

#toggle-theme {
  background: none; /* Remove background */
  border: none; /* Remove border */
  padding: 0; /* Remove padding */
  cursor: pointer; /* Indicate it's clickable */
  font-size: 1.5rem; /* Adjust icon size as needed */
  color: inherit; /* Inherit color from parent, or set a specific color */
  display: flex; /* Use flexbox for easy centering of the icon */
  align-items: center; /* Center icon vertically */
  justify-content: center; /* Center icon horizontally */
}

#toggle-theme:hover {
  opacity: 0.7; /* Slight fade on hover for interaction feedback */
}

#toggle-theme:focus {
  outline: none; /* Remove outline on focus for a cleaner look */
}

a:hover {
  color: #777;
}

/* Animações */
@keyframes floating {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.floating-text {
  animation: floating 4s ease-in-out infinite;
}

@keyframes blink {
  0% { color: #aaa; }
  50% { color: #444; }
  100% { color: #aaa; }
}

.logo-name {
  animation: blink 2s infinite;
}

/* Cards */
.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  transition: all 0.3s ease-in-out;
}

.img-card {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Skills */
.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #111;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* Social */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 24px;
  margin-top: 15px;
}

.social-icons a {
  color: #111;
}

.social-icons a:hover {
  color: #444;
}

/* Seções */
section {
  padding: 4rem 1rem;
}

#about, #skills, #portfolio, #contact {
  background-color: #fdf8f3;
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .circle {
    width: 80px;
    height: 80px;
    font-size: 14px;
  }

  .social-icons {
    font-size: 20px;
  }
}

/* DARK MODE */
body.dark-mode {
  background-color: #121212;
  color: #eee;
}

body.dark-mode a {
  color: #ddd;
}

body.dark-mode .card {
  background-color: #1e1e1e;
  color: #eee;
  border: 1px solid #333;
}

body.dark-mode .card:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3 {
  color: #fff;
}

body.dark-mode .circle {
  background-color: #444;
  color: #fff;
}

body.dark-mode footer {
  background-color: #222;
  color: #aaa;
}

body.dark-mode .button.is-dark {
  background-color: #333;
  color: #fff;
  border: none;
}

body.dark-mode .button.is-dark:hover {
  background-color: #555;
}

