@charset "UTF-8";
.light {
  --background: #fef6dd;
  --color1: #9d8640;
  --color2: #e0ce93;
  --color3: #403d22;
  --white: #ffffff;
  --black: #000000;
  --grey: #d9d9d9;
}

.dark {
  --background: #0b0b0a;
  --color1: #e0ce93;
  --color2: #5f5025;
  --color3: #c7c3a0;
  --white: #000000;
  --black: #ffffff;
  --grey: #181818;
}

@font-face {
  font-family: "Burbank Big Condensed";
  src: url("../fonts/BurbankBigCondensed-Bold.otf");
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf");
}
:root {
  --background: #fef6dd;
  --color1: #9d8640;
  --color2: #e0ce93;
  --color3: #403d22;
  --white: #ffffff;
  --black: #000000;
  --grey: #d9d9d9;
}

.dark {
  --background: #0b0b0a;
  --color1: #e0ce93;
  --color2: #5f5025;
  --color3: #c7c3a0;
  --white: #000000;
  --black: #ffffff;
  --grey: #181818;
}

h1 {
  font-family: "Burbank Big Condensed", sans-serif;
  font-size: 3rem;
  color: var(--color1);
  text-transform: uppercase;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

#title {
  font-family: "Burbank Big Condensed", sans-serif;
  font-size: 3rem;
  color: var(--color1);
  text-transform: uppercase;
}
#title:hover {
  color: var(--color3);
}

@media (min-width: 1081px) {
  #side-bar {
    display: none;
  }
}
@media (min-width: 581px) and (max-width: 1080px) {
  #side-bar {
    position: absolute;
    width: 340px;
    height: auto;
    background: var(--background);
    border-right: 2px solid var(--color1);
    border-bottom: 2px solid var(--color1);
    top: 0;
    left: -340px;
    transition: 0.5s ease-out;
    z-index: 4;
  }
  .toggle-btn {
    position: absolute;
    top: 30px;
    left: 345px;
    cursor: pointer;
    height: 50px;
    width: 50px;
  }
  .toggle-btn span {
    width: 50px;
    height: 10px;
    border-radius: 5px;
    background: var(--color1);
    display: block;
    margin-top: 4px;
    transition: 0.3s ease;
  }
  .menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s ease;
  }
  .sidebar {
    color: var(--black);
    list-style: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
  }
  .sidebar a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    width: 100%;
    transition: 0.3s ease;
  }
  .sidebar i {
    text-align: center;
    font-size: 22px;
    min-width: 30px;
  }
  .sidebar:hover {
    background: var(--color1);
    color: var(--white);
  }
  #side-bar.active {
    left: 0;
  }
  .active span {
    position: absolute;
  }
  .active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .active #hidden {
    opacity: 0;
  }
  .active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .active ~ .content {
    opacity: 0.1;
  }
  .theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'icône et le texte */
    cursor: pointer;
    font-size: 18px;
    padding: 12px 20px;
    transition: 0.3s ease;
  }
  .theme-toggle span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    width: 100%;
    transition: 0.3s ease;
    position: relative;
  }
  .theme-toggle i {
    font-size: 22px; /* Taille de l'icône */
    min-width: 30px;
  }
  .theme-toggle:hover {
    background: var(--color1);
    color: var(--white);
  }
}
@media (max-width: 580px) {
  #side-bar {
    position: absolute;
    width: 335px;
    height: auto;
    background: var(--background);
    border-right: 2px solid var(--color1);
    border-bottom: 2px solid var(--color1);
    top: 0;
    left: -335px;
    transition: 0.5s ease-out;
    z-index: 4;
  }
  .toggle-btn {
    position: absolute;
    top: 30px;
    left: 345px;
    cursor: pointer;
    height: 40px;
    width: 40px;
  }
  .toggle-btn span {
    width: 40px;
    height: 10px;
    border-radius: 5px;
    background: var(--color1);
    display: block;
    margin-top: 4px;
    transition: 0.3s ease;
  }
  .menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s ease;
  }
  .sidebar {
    color: var(--black);
    list-style: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
  }
  .sidebar a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    width: 100%;
    transition: 0.3s ease;
  }
  .sidebar i {
    text-align: center;
    font-size: 22px;
    min-width: 30px;
  }
  .sidebar:hover {
    background: var(--color1);
    color: var(--white);
  }
  #side-bar.active {
    left: 0;
  }
  .active span {
    position: absolute;
  }
  .active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .active #hidden {
    opacity: 0;
  }
  .active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .active ~ .content {
    opacity: 0.1;
  }
  .theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'icône et le texte */
    cursor: pointer;
    font-size: 18px;
    padding: 12px 20px;
    transition: 0.3s ease;
  }
  .theme-toggle span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    width: 100%;
    transition: 0.3s ease;
    position: relative;
  }
  .theme-toggle i {
    font-size: 22px; /* Taille de l'icône */
    min-width: 30px;
  }
  .theme-toggle:hover {
    background: var(--color1);
    color: var(--white);
  }
}
.header {
  min-width: 400px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 15px 20px;
}
.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header nav h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  font-family: "Burbank Big Condensed", sans-serif;
  display: flex;
  align-items: center;
  letter-spacing: 1.1px;
  transition: 0.2s ease;
}
.header nav h1:hover {
  color: var(--black);
}
.header nav i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  justify-content: center;
  background: var(--color1);
  border-radius: 50%;
  padding: 30px;
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease;
}
.header nav i:hover {
  background: var(--black);
  color: var(--white);
}
@media (max-width: 1080px) {
  .header {
    visibility: hidden;
  }
}

main {
  display: grid;
  grid-template-columns: 22% 60% 10%;
  margin: 0 50px;
  align-items: start;
  justify-content: space-between;
}
@media (max-width: 1080px) {
  main {
    display: grid;
    grid-template-columns: 30% 60%;
  }
}
@media (max-width: 820px) {
  main {
    display: grid;
    grid-template-columns: 100%;
    margin: 0 25px;
  }
  main .navbar {
    display: none;
  }
}
main .profile {
  text-align: center;
  border: 2px solid var(--color1);
  border-radius: 20px;
  width: 100%;
  margin: 65px auto 0;
  position: relative;
  padding: 20px;
  background: var(--white);
}
main .profile img {
  height: auto;
  width: 150px;
  border: 3px solid var(--color1);
  border-radius: 20px;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: -17%;
  left: 50%;
  transform: translate(-50%, 50%);
  margin-bottom: 50px;
  background: var(--background);
}
@media (max-width: 450px) {
  main .profile img {
    top: -30%;
  }
}
main .profile h3 {
  margin-top: 100px;
}
main .profile .specialite p {
  margin: 10px;
  border: 1px solid var(--color1);
  border-radius: 10px;
  background: var(--background);
  padding: 5px 10px;
}
main .profile ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 80%;
  margin: 30px auto;
}
main .profile ul li {
  border: 1px solid var(--color1);
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 17px;
}
main .profile ul li:hover {
  transform: scale(1.1);
}
main .profile ul li:hover i {
  color: var(--color1);
}
main .profile .infoperso {
  background: var(--background);
  border-radius: 20px;
  padding: 10px 5px;
}
@media (max-width: 450px) {
  main .profile .infoperso {
    display: none;
  }
}
main .profile .infoperso .info {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 7px 0;
  position: relative;
}
main .profile .infoperso .info:first-child, main .profile .infoperso .info:last-child {
  margin: 0;
}
main .profile .infoperso .info:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 90%;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  border-bottom: 1px dashed var(--color1);
}
main .profile .infoperso .info .icons {
  background: var(--grey);
  border-radius: 10px;
  margin: 3px;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .profile .infoperso .info p {
  text-align: left;
  display: block;
  font-size: 14px;
  word-break: break-all;
  white-space: normal;
  max-width: 100%;
}
main .navbar {
  position: sticky;
  top: 50px;
  text-align: center;
  border: 2px solid var(--color1);
  border-radius: 20px;
  width: 100%;
  margin: 50px auto 0;
  padding: 15px;
  background: var(--white);
}
@media (max-width: 1080px) {
  main .navbar {
    display: none;
  }
}
main .navbar .menu-container {
  width: 100%;
  margin: 0 auto;
}
main .navbar .menu-container ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px 0;
  gap: 20px;
}
main .navbar .menu-container ul li {
  background: var(--background);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 0;
  font-weight: bold;
  transition: 0.3s ease;
  font-size: 10px;
}
main .navbar .menu-container ul li:hover {
  color: var(--white);
  background: var(--color1);
}
main .navbar .menu-container ul li.active {
  color: var(--white);
  background: var(--color1);
}
main .navbar .menu-container ul li i {
  font-size: 1.5rem;
}

footer {
  margin: 150px 0 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 820px) {
  footer {
    margin: 65px 0 50px 0;
  }
}
footer h2 {
  font-family: "Burbank Big Condensed", sans-serif;
  font-size: 4.5rem;
  color: var(--color1);
}
@media (max-width: 820px) {
  footer h2 {
    font-size: 3rem;
  }
}

.btn,
#cv-btn {
  padding: 15px;
  font-size: 17px;
  font-weight: bold;
  color: var(--color3);
  background: var(--white);
  border: 2px solid var(--color3);
  border-radius: 10px;
  margin: 20px 0 10px;
  cursor: pointer;
  letter-spacing: 1.1px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease-in-out;
}
.btn:hover,
#cv-btn:hover {
  background: var(--color1);
  color: var(--white);
  transform: scale(1.05);
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 50%;
}

@media (max-width: 1350px) {
  main .profile h3 {
    margin-top: 110px;
  }
  main .profile .specialite p {
    font-size: 14px;
  }
  main .profile ul {
    width: 80%;
  }
  main .profile ul li {
    width: 30px;
    height: 30px;
    padding: 9px;
    font-size: 15px;
  }
  main .profile ul li:hover {
    transform: scale(1.1);
  }
  main .profile ul li:hover i {
    color: var(--color1);
  }
  main .profile .infoperso .info .icons {
    padding: 8px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  main .profile .infoperso .info p {
    font-size: 13px;
  }
  #cv-btn {
    padding: 10px;
    font-size: 15px;
  }
}
@media (min-width: 1080px) and (max-width: 1260px) {
  .navbar li i {
    font-size: 4rem;
    padding: 10px 0;
  }
  .navbar .text {
    display: none;
  }
}
.news {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
  width: 100%;
}
@media (max-width: 820px) {
  .news {
    padding: 20px 0;
  }
}
.news .news-category {
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
}
.news .news-category h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.news .news-item {
  background: var(--white);
  border-radius: 10px;
  padding: 15px;
  transition: 0.3s ease-in-out;
  margin-bottom: 10px;
}
.news .news-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 5px;
}
.news .news-item p {
  text-align: justify;
  font-size: 14px;
  margin-bottom: 10px;
}
@media (max-width: 455px) {
  .news .news-item p {
    font-size: 13px;
  }
}
.news .news-item ul {
  padding-left: 20px;
}
@media (max-width: 820px) {
  .news .news-item ul {
    padding-left: 0;
  }
}
.news .news-item ul li {
  font-size: 14px;
  padding: 5px 0;
}
.news .todo-list {
  padding: 10px;
}
.news .todo-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}
@media (max-width: 455px) {
  .news .todo-list li {
    font-size: 14px;
  }
}
.news .todo-list li:hover {
  color: var(--color1);
  filter: brightness(0.9);
}
.news .todo-list li label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.news .todo-list input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color2);
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
}
.news .todo-list input[type=checkbox]:hover {
  filter: brightness(0.85);
}
.news .todo-list input[type=checkbox]:checked {
  background: var(--black);
  border-color: var(--black);
}
.news .todo-list input[type=checkbox]:checked::after {
  content: "✔";
  color: var(--white);
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.about {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 35px;
  margin: 20px auto;
  max-width: 900px;
}
.about h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.about p {
  text-align: justify;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
@media (max-width: 455px) {
  .about p {
    font-size: 13px;
  }
}
.about .card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px auto;
}
@media (max-width: 1080px) {
  .about .card-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 80%;
    margin: 20px auto 0;
  }
}
@media (max-width: 520px) {
  .about .card-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 5px auto 0;
  }
}
.about .cards {
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media (max-width: 1080px) {
  .about .cards {
    height: 400px;
  }
}
@media (max-width: 560px) {
  .about .cards {
    height: 330px;
  }
}
.about .cards:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}
.about .cards img {
  width: 100%;
  height: 200px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #4f5e8f;
}
@media (max-width: 560px) {
  .about .cards img {
    height: 100px;
  }
}
.about .cards .text {
  border-top: 1px solid var(--black);
  padding: 15px;
}
.about .cards .text h3 {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
}
.about .cards .text p {
  font-size: 14px;
  text-align: center;
}

.experience {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 35px;
  margin: 20px auto;
  width: 100%;
  max-width: 900px;
}
.experience h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.experience .experience-category {
  margin-bottom: 20px;
}
.experience .experience-item {
  background: var(--white);
  padding: 15px;
  margin-bottom: 10px;
  border: 1px dashed var(--color1);
}
.experience .experience-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 5px;
}
.experience .experience-item p {
  font-size: 14px;
  margin-bottom: 5px;
}
.experience .experience-item .date {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: bold;
  display: block;
  margin-top: 5px;
}
.experience .certification .experience-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 15px;
  text-align: center;
}
.experience .certification .certification-header {
  text-align: center;
  margin-bottom: 10px;
}
.experience .certification h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 5px;
}
.experience .certification p {
  font-size: 14px;
  margin-bottom: 5px;
}
.experience .certification img {
  width: 500px;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.experience .certification img:hover {
  transform: scale(1.05);
}
@media (max-width: 1260px) {
  .experience .certification img {
    width: 350px;
  }
}
@media (min-width: 820px) and (max-width: 1000px) {
  .experience .certification img {
    width: 300px;
  }
}
@media (max-width: 580px) {
  .experience .certification img {
    width: 300px;
  }
}

.projects {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 35px;
  margin: 20px auto;
  width: 100%;
  max-width: 1100px;
}
.projects h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 1080px) {
  .projects .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}
.projects .project-card {
  perspective: 1000px;
  cursor: pointer;
  display: flex;
  justify-content: center;
}
.projects .card-inner {
  width: 100%;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}
.projects .card-inner.flipped {
  transform: rotateY(180deg);
}
.projects .project-card:hover .card-inner {
  transform: rotateY(180deg);
}
.projects .card-front,
.projects .card-back {
  position: absolute;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.projects .card-front {
  border: 1px solid var(--color1);
  background-size: cover;
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 15px;
}
.projects .card-front h3 {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}
.projects .card-back {
  background: var(--background);
  transform: rotateY(180deg);
  color: var(--black);
  padding: 15px;
  text-align: center;
  height: 100%;
}
.projects .card-back p {
  font-size: 14px;
  margin-bottom: 10px;
}
@media (min-width: 1080px) and (max-width: 1450px) {
  .projects .card-back p {
    font-size: 12px;
    display: -webkit-box; /* Obligatoire */
    -webkit-line-clamp: 2; /* Nombre de lignes max */
    -webkit-box-orient: vertical; /* Direction du texte */
    overflow: hidden; /* Coupe le texte */
  }
}
@media (min-width: 820px) and (max-width: 930px) {
  .projects .card-back p {
    font-size: 12px;
  }
}
@media (max-width: 580px) {
  .projects .card-back p {
    font-size: 12px;
    display: -webkit-box; /* Obligatoire */
    -webkit-line-clamp: 3; /* Nombre de lignes max */
    -webkit-box-orient: vertical; /* Direction du texte */
    overflow: hidden; /* Coupe le texte */
  }
}
.projects .card-back .date {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}
.projects .card-back .technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.projects .card-back .technologies span {
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}
@media (min-width: 1080px) and (max-width: 1450px) {
  .projects .card-back .technologies span {
    padding: 4px 6px;
    font-size: 10px;
  }
}
.projects .card-back .technologies .html {
  background: #e34f26;
}
.projects .card-back .technologies .css {
  background: #1572b6;
}
.projects .card-back .technologies .javascript {
  background: #f7df1e;
  color: black;
}
.projects .card-back .technologies .sass {
  background: #cc6699;
}
.projects .card-back .technologies .api {
  background: #e0e0e0;
  color: black;
}
.projects .card-back .technologies .php {
  background: #777bb4; /* ✅ Couleur PHP (bleu-violet) */
  color: white; /* ✅ Texte blanc pour un bon contraste */
}
.projects .card-back .buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.projects .card-back .buttons .btn {
  background: var(--white);
  color: var(--color1);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}
@media (min-width: 1080px) and (max-width: 1450px) {
  .projects .card-back .buttons .btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}
@media (min-width: 821px) and (max-width: 900px) {
  .projects .card-back .buttons .btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}
@media (max-width: 580px) {
  .projects .card-back .buttons .btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}
.projects .card-back .buttons .btn:hover {
  background: rgba(255, 255, 255, 0.8);
}
.projects .hidden {
  display: none;
}
.projects .btn-container {
  margin-top: 20px;
  text-align: center;
}
.projects #show-more {
  padding: 10px 15px;
  background: var(--color1);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease-in-out;
}
.projects #show-more:hover {
  filter: brightness(0.85);
}

.skills {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
  width: 100%;
  max-width: 900px;
  text-align: left;
}
.skills h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 30px;
}
.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}
.skills .skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.skills .skill .icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--color1);
  overflow: hidden;
}
.skills .skill .icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 8px;
}
.skills .skill span {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--color1);
  margin-top: 5px;
}
.skills .qualities {
  margin-top: 30px;
  text-align: center;
}
.skills .qualities h3 {
  font-size: 18px;
  color: var(--color1);
  margin-bottom: 10px;
}
.skills .qualities .qualities-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.skills .qualities .badge {
  background: var(--background);
  color: var(--color3);
  border: 1px solid var(--color3);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact {
  background: var(--white);
  border: 2px solid var(--color1);
  border-radius: 20px;
  padding: 20px;
  margin: 60px auto;
  width: 100%;
  max-width: 1100px;
  text-align: left;
}
.contact h2 {
  font-size: 22px;
  color: var(--color1);
  border-bottom: 2px solid var(--color1);
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact .input-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.contact .input-group label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
.contact .input-group input,
.contact .input-group textarea {
  padding: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease-in-out;
  resize: none;
}
.contact .input-group input:focus,
.contact .input-group textarea:focus {
  border-color: var(--color1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.contact button {
  padding: 10px 15px;
  background: var(--color1);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease-in-out;
}
.contact button:hover {
  filter: brightness(0.85);
  transform: scale(1.05);
}/*# sourceMappingURL=style.css.map */