body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
body {
  background-color: #fff9e5;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 2100px;
}

/* Nav */
nav {
  background-color: #fff9e5;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #333;
  margin: 0;
  padding: 1rem;
}

.nav-logo-title a {
  color: #1D293F;
  text-decoration: none;
  padding: 5px 10px;
}

.nav-logo-title img {
  content: url("./uc.png");
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  width: 30%;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: #231a00;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
}

/* Header Section */
#header {
  background-color: #fff9e5;
  height: 700px;
  display: flex;
  flex-direction: column;
  color: rgb(46, 34, 8);
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.header-texts {
  width: 70%;
}

.header-texts h1 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #0FBC49;
  margin-bottom: 1rem;
}

.header-texts h3 {
  font-size: 2rem;
  color: #1D293F;
  margin-bottom: 2rem;
}

.header-texts p {
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.header-texts abbr {
  color: #0FBC49;
  font-size: 1.5rem;
  line-height: 2.5rem;
  text-shadow: 1px 3px 3px rgba(63, 57, 57, 0.8);
}

.header-filler {
  width: 100%;
  content: url("./01.png");
}

/* Aside Content */
.content-aside {
  border-top: dashed #0FBC49;
  border-bottom: dashed #0FBC49;
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.content {
  width: 70%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content-first h2 {
  color: #1D293F;
  margin-bottom: 1rem;
  text-align: center;
}

.content-first p {
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: justify;
  
}

.content-second h2 {
  color: #1D293F;
}

.content-second h4 {
  color: #0FBC49;
  font-weight: 500;
}

.content-second h2,
.content-second h4 {
  margin-bottom: 1rem;
  text-align: center;
}

.content-second p {
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: justify;
}

aside {
  border-left: solid #0FBC49;
  padding-left: 50px;
  width: 20%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

aside h2 {
  color: #0FBC49;
  margin-bottom: 1srem;
}

aside ul {
  margin-bottom: 2rem;
  list-style-image: url("job.png");
}

aside ul li {
  margin-bottom: 1rem;
}

aside ul li a {
  color: #333;
  text-decoration: none;
}

aside ul li a:hover {
  text-decoration: underline;
}

/* Articles Content */
#articles table td.article img {
  max-width: 100%;
  max-height: 200px;
}

.row-second img {
  content: url("./mil.png");
  margin-left: 150px;
  max-width: 100%;
  max-height: 200px;
}
.articles {
  padding-top: 50px;
  
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 12px;
}

.row-first,
.row-second {
  border-top: 1px solid #ccc;
}

.row-second td {
  padding-top: 30px;
  padding-bottom: 75px;
}

.row-second img {
  border-radius: 20px;
  margin-left: 50px;
  content: url(https://source.unsplash.com/featured/400x204);
}

.article {
  width: 33.33%;
  border: solid #0FBC49;
  background-color: #fffde5;
  border-radius: 50px;
  padding: 20px;
  text-align: center;
  vertical-align: top;
}

.article img {
  content: url(https://source.unsplash.com/featured/300x201);
  width: 30%;
  height: auto;
  clip-path: circle();
  z-index: 2;
}

.article h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.article p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.article a {
  display: inline-block;
  font-size: 1rem;
  padding: 10px 20px;
  background-color: #0FBC49;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.article a:hover {
  background-color: #0056b3;
}

.article-long {
  width: 66.66%;
  padding-left: 20px;
  text-align: justify;
  vertical-align: top;
}


.article-long h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Mengatur tampilan wrapper */
.creativity-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
  margin-bottom: 30px;
}

/* Mengatur tampilan card */
.mini-content {
  padding: 20px;
  text-align: center;
}

.mini-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.mini-content p {
  font-size: 16px;
}

.mini-one,
.mini-two,
.mini-three,
.mini-four {
  background-color: #fffde5;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  overflow: hidden;
  width: 350px;
}

/* Mengatur tampilan gambar */
.mini-one img,
.mini-two img,
.mini-three img,
.mini-four img {
  content: url("https://source.unsplash.com/1600x900/?programming");
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
}

/* Animasi untuk gambar */
.mini-one img,
.mini-two img,
.mini-three img,
.mini-four img {
  transition: transform 0.3s ease;
}

.mini-one img:hover,
.mini-two img:hover,
.mini-three img:hover,
.mini-four img:hover {
  transform: scale(1.3);
}

/* Animasi untuk konten */
.mini-content {
  transition: opacity 1s ease, visibility 0s linear 1s;
  height: 0px;
  opacity: 0;
  visibility: hidden;
}

.mini-one:hover .mini-content,
.mini-two:hover .mini-content,
.mini-three:hover .mini-content,
.mini-four:hover .mini-content {
  transition-delay: 0.3s;
  opacity: 1;
  height: 100%;
  visibility: visible;
}


/* Footer */
footer {
  border-top: dashed #0FBC49;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff9e5;
  padding: 40px;
}

.footer-logo h3 {
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
}

.footer-logo p {
  font-size: 14px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.footer-form p {
  font-size: 18px;
  font-weight: bold;
}

.footer-form p:nth-child(1) {
  text-align: center;
}

.footer-form label {
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.footer-form select {
  margin: 5px 0 10px 0;
  padding: 5px;
  font-size: 16px;
  border-radius: 5px;
}

.footer-form input[type="radio"] {
  margin: 10px 5px 10px 0;
}

.footer-form input[type="text"] {
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  width: 95%;
  transition: border-bottom-color 0.3s ease;
}

.footer-form input[type="text"]:focus {
  border-bottom-color: #0FBC49;
}

.footer-form select {
  background-color: #ffffff;
  border: none;
  color: #555;
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  width: 100%;
  -webkit-appearance: none; /* untuk menghilangkan default appearance pada Safari */
  -moz-appearance: none; /* untuk menghilangkan default appearance pada Firefox */
  appearance: none; /* untuk menghilangkan default appearance pada browser lain */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="M 0,2 L 5,8 L 10,2"></path></svg>'); /* untuk menambahkan custom arrow */
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: auto 30%;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

.footer-form select:focus {
  border: solid #0FBC49;
  box-shadow: none !important;
  outline: none;
}


.footer-form button {
  margin-top: 20px;
  background-color: #0FBC49;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-form button:hover {
  background-color: #0fbc498d;
}


.footer-credit h3 {
  font-size: 14px;
  margin: 0;
  text-align: right;
  text-transform: uppercase;
}

/* RESPONSIVE */

@media only screen and (max-width: 640px) {
  nav {
    flex-direction: column;
    text-align: center;
    max-width: 640px;
  }

  nav ul {
   margin-left: -250px;
  }

  nav ul li a {
    padding: 5px 10px;
  }

  #header {
    display: inline;
    width: 500px;
    text-align: justify;
    margin-bottom: 180px;
  }

  .header-filler {
    width: 350px;
  }

  .content-aside {
    flex-direction: column;
    width: 500px;
  }

  .content-aside aside {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-top: dashed #0FBC49;
    padding-top: 50px;
  }
  .article {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 320px;
  }

  .articles table tr.row-second {
    display: flex;
    flex-direction: column-reverse;
    width: 500px;
  }

  .articles table .row-second td:nth-child(2) img {
    width: 100%;
    border-radius: 10px;
    content: url(https://source.unsplash.com/featured/380x204);
    margin-left: 0px;
    margin-bottom: -60px;
  }

  footer {
    display: flex;
    flex-direction: column;
  }

  .footer-credit {
    margin-top: 20px;
  }
}

