body {
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: white;
  background: #36182c;
}


/* HEADER */
header {
  background-color: #4b4b4b;
  box-shadow: 0px 4px 10px rgb(59, 57, 57);
  color: white;
  padding: 10px;
  height: 50px;
  margin-left: 11rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fa-dark{
  position: absolute;
  right: 0;
  font-size: 20px;
  margin-right: 2%;
  cursor: pointer;
}
#dash-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.fa-shadow {
  font-size: 25px;
  text-shadow: 0 0 3px rgb(255, 251, 251);
}

/* SIDEBAR */
#sidebar {
  width: 10rem;
  height: 100vh;
  background-color: #6d3b55;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px;
  transition: transform 0.3s ease;
}

.navbar {
  list-style: none;
  margin-top: 50px;
}

.navbar li {
  margin:50px 0;
  font-size: 18px;
  width: 7.5em;
  height: 4em;
  display: flex;
  align-items: center;
  transition: 0.7s ease;
}
.navbar li:hover {
  background-color: #4b4b4b;
  border-radius: 40px 0 ;
}
.navbar li a {
  text-decoration: none;
  color: white;
  padding: 10px;
}

main {
  margin-left: 11rem;
  padding: 5%;
}

/* HOME */
#home {
  text-align: center;
}

#home h2 {
  font-size: 2rem;
  margin-bottom: 1.5em;
  color: #ffb3d1;
  text-shadow: 0 0 8px rgba(255, 179, 209, 0.6);
}

#home .intro {
  font-size: 1.1rem;
  max-width: 60%;
  margin: auto;
  line-height: 2;
}

#home .cta {
  display: inline-block;
  padding: 12px 25px;
  background-color: #993254;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 4%;
  text-decoration: none;
  transition: background-color 0.5s ease-in;
}

#home .cta:hover {
  background-color: #ff6aa2;
}
#home li {
  list-style: none;
  line-height: 2.5;
}
/* ABOUT */
.section-title {
  background-color: #713b50;
  text-align: center;
  padding: 0.5em;
}

.imgdevelop {
  display: flex;
  justify-content: center;
  margin: 3em 0;
}

.imgdevelop img {
  width: 100%;
  max-width: 30em;
  height: auto;
  border-radius: 20px;
}
#about {
  background-color: whitesmoke;
}
#about p{
  color: #562b48;
  padding: 2%;
  font-size: 20px;
  font-style: italic;
}
.skills {
  background-color: #6d3b55;
  padding: 2%;
  border-radius: 20px;
  border: 4px double whitesmoke;
}
.skillslist {
  line-height: 1.7;
} 
/* PROJECTS */
.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.projects img {
  width: 300px;
  height: auto;
  border-radius: 30px;
}

.projects p {
  color: #6d3b55;
  font-weight: bold;
}

.project1, .project2, .project3, .project4 {
  background-color: white;
  border-radius: 20px;
  padding: 2%;
  box-shadow: 0 0 6px rgb(211, 143, 154);
  width: 300px;
  height: 370px;
}
.returnTop {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: white;
  border-radius: 50%;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.fa-size{
  font-size: 20px;
}

/* FOOTER */
#contact {
  padding: 5px;
  background: white;
  text-align: center;
  margin-left: 11rem;
}

.contact h2 {
  color: #ab367a;
  text-decoration: underline;
}

.contact p {
  color: #333;
}

.contact a {
  color: #333;
  text-decoration: none;
}

.contact a:hover {
  color: #ab367a;
}
#sidebar.active {
  transform: translateX(0);
}


/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
  }
  header {
    margin-left: 0;
  }
  main {
    margin-left: 0;
  }
  #contact {
    margin-left: 0;
  }
  
}

/*  dark mode */
body.dark-mode {
  background: #1a1a1a;
  color: #f5f5f5;
}

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

body.dark-mode #sidebar {
  background-color: #333;
}

body.dark-mode .navbar li:hover {
  background-color: #444;
}

body.dark-mode main {
  background-color: #1a1a1a;
}
body.dark-mode #about {
  background-color: #999999;
  color: #f5f5f5;
}
body.dark-mode #contact {
  background-color: #222;
  color: #f5f5f5;
}

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

body.dark-mode .cta {
  background-color: #444;
  color: white;
}

body.dark-mode .cta:hover {
  background-color: #666;
}

body.dark-mode .project1,
body.dark-mode .project2,
body.dark-mode .project3,
body.dark-mode .project4 {
  background-color: #2a2a2a;
}body.dark-mode .project1 p,
body.dark-mode .project2 p,
body.dark-mode .project3 p,
body.dark-mode .project4 p{
  color: #e0dbdb;
}