@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

 /* responsive di hp, ipad, dan laptop. (iphone 12, ipad air, 1440px x 900px)*/
 /* Shelfinna - 0706012210002*/

html,
body {
  margin: 0;
  padding: 0;
  background-color: #495e55;
  background-image: linear-gradient(rgba(0, 0, 0, 0.375), rgba(0, 0, 0, 0.383)), url('https://i.pinimg.com/564x/fd/09/04/fd09040e559a9d88acc93f10cbba10f1.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  background-size: cover;
}

nav {
  background-color: #47745D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  z-index: 999;
  position: fixed;
}

.nav-logo-title {
  display: flex;
  align-items: center;
}

.nav-logo-title img {
  content: url("https://www.pngmart.com/files/22/Plant-Mom-Aesthetics-Theme-PNG-Pic.gif");
  height: 30px;
  margin-right: 10px;
}

.nav-logo-title a {
  color: #F5EBEB;
  font-size: 20px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 20px;
}

nav ul :hover {
  color: #2A2F4F;
  background-color: #C3CA85;
}

nav li {
  margin: 0 px;
  background-color: #47745D;
  height: 50px;
  width: 100px;
  text-align: center;
  line-height: 50px;
}

nav li a {
  color: #F5EBEB;
  text-decoration: none;
}

@media screen and (max-width: 1100px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    width: 100%;
    height: 50px;
    top: 2vh;
    left: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    position: relative;
    flex-direction: column;
    height: auto;
    background-color: transparent;
  }
  
  .nav-logo-title {
    display: flex;
    align-items: center;
  }
  
  .nav-logo-title img {
    content: url("https://www.pngmart.com/files/22/Plant-Mom-Aesthetics-Theme-PNG-Pic.gif");
    height: 30px;
    margin-right: 10px;
  }
  
  .nav-logo-title a {
    color: #F5EBEB;
    font-size: 3vh;
    text-decoration: none;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 20px;
  }
  
  nav li :hover {
    color: #2A2F4F;
    background-color: #ffffffe8;
  }
  
  nav li {
    margin: 2vh;
    background-color: transparent;
    height: 0vh;
    width: 100%;
    text-align: center;
    line-height: 0px;
  }
  
  nav li a {
    color: #F5EBEB;
    text-decoration: none;
  }
}

#header {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  flex-direction: row-reverse;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.header-texts {
  flex: 1;
  text-align: left;
  padding-right: 150px;
  padding-left: 40px;
  animation: fadeIn 1s ease-in-out forwards;
}

.header-texts h1 {
  font-size: 4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #FCFFF4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
}

.header-texts h3 {
  margin-top: -3rem;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #FCFFF4;
}

.header-texts p {
  border-top: 3px solid #F5EBEB;
  padding-top: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #FCFFF4;
}

.header-filler {
  content: url("https://64.media.tumblr.com/290a70e82fcb16e9ce54b452e1604599/tumblr_mxgghpxa7q1s0ia73o1_500.png");
  height: 520px;
  transition: 0.5s all ease-in-out;
}

.header-filler:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 1050px) {
  #header {
    flex-direction: column;
  }

  .header-texts {
    text-align: center;
    padding: 0;
  }

  .header-texts h1 {
    font-size: 2.5rem;
    margin: 2vw;
    margin-bottom: 3vw;
  }

  .header-texts h3 {
    margin: 2vw;
    font-size: 1.2rem;
  }

  .header-texts p {
    font-size: 1rem;
  }

  .header-filler {
    height: 250px;
  }
}

.content-first {
  border-top-left-radius: 40% 10%;
  border-top-right-radius: 40% 10%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.442), rgba(255, 255, 255, 0.425)), url('https://i.pinimg.com/originals/67/49/09/6749094ff9a474fa3ceed7f51a684e82.png');
  background-color: #ffffff;
  padding: 50px;
  text-align: center;
  height: auto;
  position: relative;
  z-index: 2;
}

.content-first::before {
  content: "";
  position: absolute;
  top: 2.5%;
  left: 2%;
  right: 2%;
  bottom: 2.5%;
  border-top-left-radius: 40% 10%;
  border-top-right-radius: 40% 10%;
  background-color: #FCFFF4;
  z-index: -1;
  border: solid 2px #284E3A;
}

.content-first h2 {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #47745D;
  display: inline-block;
  animation: typing 2s steps(30), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  animation-iteration-count: infinite;
}

.content-first p {
  padding-left: 3rem;
  padding-right: 3rem;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: justify;
  color: #6E724E;
}

@keyframes typing {
  from {
    width: 0
  }
  to {
    width: 100%
  }
}

@media only screen and (max-width: 480px) {
  .content-first {
    padding: 3vw;
    padding-top: 15vw;
    padding-bottom: 15vw;
  }

  .content-first h2 {
    font-size: 2rem;
  }

  .content-first p {
    font-size: 1rem;
  }
}

.content-second {
  background-image: linear-gradient(rgba(255, 255, 255, 0.442), rgba(255, 255, 255, 0.425)), url('https://i.pinimg.com/564x/b9/6a/39/b96a392f7fdafffb38304590014bceb1.jpg');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 30px 100%;
  border: 2px solid #284E3A;
  background-color: #FCFFF4;
  padding: 20px;
  margin: 2%;
  align-items: center;
  height: auto;
  flex: 1;
  float: left;
  width: 55%;
}

.content-second h2 {
  font-size: 3rem;
  padding-left: 4.5rem;
  padding-right: 3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #47745D;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
  display: inline-block;
  animation: typing 2s steps(30), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  animation-iteration-count: infinite;
}

.content-second h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 4.5rem;
  padding-right: 3rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #6E724E;
}

.content-second p {
  padding-left: 4.5rem;
  padding-right: 3rem;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: justify;
  color: #6E724E;
  padding-bottom: 1.5rem;
}

@media (max-width: 1148px) {
  .content-second {
    float: none;
    margin: auto;
    width: 90%;
    padding-left: 0rem;
    padding-right: 0rem;
    margin-top: 5vw;
  }

  .content-second h2 {
    font-size: 2rem;
    padding-left: 4.5rem;
    padding-right: 4rem;
  }

  .content-second h4 {
    font-size: 1rem;
  }

  .content-second p {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 480px) {
  .content-second p {
    font-size: 1rem;
  }
}

aside {
  margin: 2%;
  margin-left: 0;
  align-items: left;
  padding-bottom: 40px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: left;
  display: inline-block;
}

aside h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  padding: 3rem 3rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #cdeadb;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    color: #cdeadb;
  }
  50% {
    color: #FCFFF4;
  }
  100% {
    color: cdeadb;
  }
}

aside ul {
  list-style: none;
}

aside ul li {
  text-decoration: none;
  padding-right: 3rem;
  padding-top: 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #6E724E;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
}

aside ul li a {
  text-decoration: none;
  color: #FCFFF4;
}

aside ul li a:hover {
  text-decoration: underline;
  color: #3f713e;
  background-color: #ffffffd6;
}

aside ul li a:focus {
  color: #6E724E;
  text-decoration: none;
}

aside ul:first-of-type li:nth-of-type(4) {
  border-bottom: 3px solid #FCFFF4;
  padding-bottom: 5rem;
}

@media screen and (max-width: 1148px) {
  aside h2 {
    text-align: center;
  }

  aside ul li {
    text-align: center;
  }

  aside {
    align-self: center;
    align-items: center;
    padding-bottom: 40px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  aside ul:first-of-type li:nth-of-type(4) {
    border-bottom: none;
    padding-bottom: 0rem;
  }
}


#articles table {
  width: 100%;
  border-spacing: 3rem;
  table-layout: fixed;
}

#articles td {
  text-align: left;
  padding: 1rem;
}

#articles th {
  background-color: #FCFFF4;
  font-weight: bold;
  text-align: left;
  padding: 8px;
}

.article {
  background-color: #FCFFF4;
}

#articles .article img {
  max-width: 100%;
  height: auto;
  padding-top: 1.5rem;
}

.row-first td {
  vertical-align: top;
  background-image: url('https://i.pinimg.com/564x/92/02/10/9202101d85e0dde99b873becaafd13aa.jpg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 1.5rem;
}


td.article:nth-child(1) img {
  content: url('https://i.pinimg.com/564x/8c/4e/4a/8c4e4a533f886ff761ec8953d9ab5060.jpg');
}

td.article:nth-child(2) img {
  content: url('https://i.pinimg.com/736x/7a/81/e8/7a81e8568ea858af4d6dba54e7680aaa.jpg');
}

td.article:nth-child(3) img {
  content: url('https://i.pinimg.com/564x/d4/ed/d4/d4edd41979c6fe4364a213d46cdbad1d.jpg');
}

.article h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #47745D;

}

.article p,
.article a {
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: justify;
  color: #6E724E;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 0;
  margin-right: 1rem;
  /* add some margin to separate the text */
}

.article a {
  margin-top: 1rem;
  display: inline-block;
}

.article a:hover {
  color: #284E3A;
}

.row-second h3 {
  font-size: 2rem;
  padding-left: 1.5rem;
  padding-right: 6rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #47745D;
}

.row-second p {
  font-size: 1.2rem;
  padding-left: 1.5rem;
  line-height: 1.8;
  padding-right: 6rem;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: justify;
  color: #6E724E;
}

.article-long {
  background-color: #FCFFF4;
  position: relative;
  background-image: url('https://i.pinimg.com/564x/b9/6a/39/b96a392f7fdafffb38304590014bceb1.jpg');
  background-repeat: no-repeat;
  background-position: right;
  background-size: 1.5rem 100%;
}

.row-second img {
  content: url('https://i.pinimg.com/564x/b8/d8/b6/b8d8b663d8d4b76acccc708650db0eca.jpg');
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  padding: 0;
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.row-second img:hover {
  content: url('https://i.pinimg.com/564x/28/d9/7c/28d97c864af7f0515ebe138d68a71297.jpg');
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 0;
  position: relative;
  transform: rotateY(180deg);
}

@media screen and (max-width: 1000px) {
  #articles table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  #articles th,
  #articles td {
    display: block;
    text-align: center;
    padding: 1.5rem;
    margin: 3rem;
  }

  #articles th {
    font-weight: bold;
  }


  .row-first td {
    background-image: none;
  }

  .article {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    overflow: hidden;
  }

  .article img {
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
  }

  .article h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #47745D;
    text-align: center;
    padding: 1rem;
  }

  .row-first td {
    vertical-align: top;
    background-image: url('https://i.pinimg.com/564x/92/02/10/9202101d85e0dde99b873becaafd13aa.jpg');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% 1.5rem;
  }

  .article p,
  .article a {
    font-size: 1rem;
    line-height: 1.8;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: justify;
    color: #6E724E;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0;
    margin: 1rem;
    /* add some margin to separate the text */
  }

  .article a {
    margin-top: 1rem;
    display: inline-block;
  }

  .article a:hover {
    color: #284E3A;
    background-color: #f2f2f2;
  }

  .article-long {
    position: relative;
  }

  .row-second img {
    position: relative;
  }

  .row-second img:hover {
    position: relative;
  }
}

@media only screen and (max-width: 480px) {
  .row-second p {
    font-size: 1rem;
  }

  .row-second h3 {
    font-size: 1.5rem;
    text-align: left;
  }

  #articles th,
  #articles td {
    display: block;
    text-align: center;
    padding: 1.5rem;
    margin: 2rem;
  }
  
  .row-second h3, .row-second p {
    padding-right: 4rem;
  }
  
}

.creativity-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  flex-wrap: wrap;
}

.creativity-wrapper .mini-one,
.mini-two,
.mini-three,
.mini-four {
  position: relative;
  width: 280px;
  height: 215px;
  background-color: #FCFFF4;
  margin: 30px 10px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease-in-out;
  border-radius: 15px;
  margin-top: 7rem;
}

.creativity-wrapper .mini-one:hover {
  height: 480px;
}

.creativity-wrapper .mini-two:hover {
  height: 500px;
}

.creativity-wrapper .mini-three:hover {
  height: 530px;
}

.creativity-wrapper .mini-four:hover {
  height: 530px;
}

.creativity-wrapper .mini-one img {
  content: url('https://i.pinimg.com/564x/38/10/38/3810389128a933c24af7ae0f1575b34d.jpg');
}

.creativity-wrapper .mini-two img {
  content: url('https://i.pinimg.com/564x/4f/6a/97/4f6a97696885f19f02d100761d61fb5b.jpg');
}

.creativity-wrapper .mini-three img {
  content: url('https://i.pinimg.com/564x/24/5f/bf/245fbf1926968d7288b8bee2fd20818c.jpg');
}

.creativity-wrapper .mini-four img {
  content: url('https://i.pinimg.com/564x/68/97/9c/68979cb6f2f86cfc9bd86e6ea1c453e5.jpg');
}

.creativity-wrapper img {
  position: relative;
  width: 280px;
  height: 280px;
  top: -50%;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-width: 100%;
  border-radius: 15px;
}

.creativity-wrapper .mini-content {
  position: relative;
  top: -240px;
  padding: 10px 15px;
  color: #111;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.creativity-wrapper .mini-one:hover .mini-content {
  margin-top: 30px;
  visibility: visible;
  opacity: 1;
  transition-delay: 0.2s;
}

.creativity-wrapper .mini-two:hover .mini-content {
  margin-top: 30px;
  visibility: visible;
  opacity: 1;
  transition-delay: 0.2s;
}

.creativity-wrapper .mini-three:hover .mini-content {
  margin-top: 30px;
  visibility: visible;
  opacity: 1;
  transition-delay: 0.2s;
}

.creativity-wrapper .mini-four:hover .mini-content {
  margin-top: 30px;
  visibility: visible;
  opacity: 1;
  transition-delay: 0.2s;
}

.mini-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #47745D;
}

.mini-content p {
  font-size: 1rem;
  line-height: 1.2;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: center;
  color: #6E724E;
}


footer {
  float: left;
}

footer {
  background-color: #253b2f;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Sans', sans-serif;
  width: 100%;
  /* Add this line */
}

footer h3 {
  font-size: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.footer-logo {
  flex-basis: 30%;
  padding: 2rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-logo p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-form {
  margin-top: 2rem;
  margin-bottom: 2rem;
  flex-basis: 40%;
}

.footer-form p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-form form {
  display: block;
  flex-wrap: wrap;
}

.footer-form label {
  font-size: 1rem;
  margin-bottom: 5px;
}

.footer-form input[type="text"],
.footer-form select {
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  width: 100%;
}

.footer-form button {
  background-color: transparent;
  border: 1px solid #fff;
  color: #ffffff;
  padding: 10px;
  margin-top: 1rem;
  align-self: flex-start;
  animation: wiggle 2s linear infinite;
}

@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }

  15% {
    transform: rotateZ(-15deg);
  }

  20% {
    transform: rotateZ(10deg);
  }

  25% {
    transform: rotateZ(-10deg);
  }

  30% {
    transform: rotateZ(6deg);
  }

  35% {
    transform: rotateZ(-4deg);
  }

  40%,
  100% {
    transform: rotateZ(0);
  }
}

.footer-credit {
  flex-basis: 30%;
  text-align: right;
  padding: 2rem;
}

.footer-credit h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

@media only screen and (max-width: 480px) {
  footer {
    float: left;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }

  .footer-logo,
  .footer-credit,
  .footer-form {
    text-align: center;
  }

  .footer-form button {
    animation: wiggle 2s linear infinite;
  }
}