body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  padding: 5rem;
}

/* Header Component : START */
.header {
  display: flex;
  justify-content: space-between;
}

.main-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: url(https://picsum.photos/200);
  background-size: cover;
  background-position: center;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
}

nav > a,
.toggle-banner > button {
  border: 1px solid green;
  background-color: beige;
  padding: 8px;
  color: black;
  text-decoration: none;
  border-radius: 4px;
}

nav > a:hover,
.toggle-banner > button:hover {
  border: 1px solid lightgreen;
  background-color: lightgreen;
  color: blue;
}
/* Header Component : END */

/* Main Component : START */
section {
  height: fit-content;
}

/* Home Section */
#home {
  display: flex;
  flex-direction: column;
}

/* Banner Image with Autoslide */
.banner-img {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
}

.img-1 {
  background-image: url(https://picsum.photos/800/300?random=1);
}

.img-2 {
  background-image: url(https://picsum.photos/800/300?random=2);
}

.img-3 {
  background-image: url(https://picsum.photos/800/300?random=3);
}

.toggle-banner {
  display: flex;
  justify-content: space-between;
}

/* Profile Section */
#profile > p {
  text-align: justify;
}

/* Portfolios Section */
.portfolio-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: start;
  list-style: none;
  list-style-position: inside;
  gap: 50px;
  padding-left: 0;
}

.portfolio-list li {
  border: 1px solid chartreuse;
  border-radius: 20%;
  width: 20rem;
  height: 20rem;
  padding: 1rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.portfolio-list li .portfolio-icon {
  font-size: 2rem;
  color: darkblue;
}

.portfolio-list li a {
  text-decoration: none;
  color: forestgreen;
}

.portfolio-list li a:hover {
  color: darkblue;
}

/* Contact Section*/
.contact-container {
  display: flex;
  gap: 50px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.user-information {
  border: 2px solid black;
  border-radius: 4px;
  width: 50%;
  padding: 1rem;
  height: max-content;
}
/* Main Component : END */

/* Footer Component : START */
footer {
  text-align: end;
}

#copyright-year a {
  color: forestgreen;
  text-decoration: none;
}

#copyright-year a:hover {
  color: darkblue;
}
/* Footer Component : END */

/* Responsive: Mobile */
@media (max-width: 768px) {
  body {
    padding: 2rem;
  }

  .header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 8px;
  }

  .banner-img {
    height: 200px;
  }

  .portfolio-list {
    flex-direction: column;
    align-items: center;
  }

  .portfolio-list li {
    width: 15rem;
    height: 15rem;
    padding: 0.5rem;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  footer {
    text-align: center;
  }
}
