
ul {
  text-align:left;
}

.container {
  display: grid;
  margin: 10px;
}

.flex-inner {
  display:flex;
  flex-wrap: wrap;
}

/* STYLING FOR BLOB CARD */
.blob-card {
  width:100px;
  height:100px;
  background: darkgreen;
  transition: all 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  color:#fff;
  z-index: 1;
}

.card-text {
  font-size: smaller;
  font-weight: bolder;
  color:#564e07;
  margin: 0;
  padding: 0;
}

.card {
  background: #065f2b;
}

.work-section {
  display: flex;
  padding: 25px;
  flex-wrap: wrap;
  justify-content:center;
}

/* STYLING FOR BODIES */
.about-body {
  background: rgb(29, 71, 4);
  text-align:center;
  margin-left: 30px;
  margin-right:30px;
 }

.work-body {
  background: rgb(237, 255, 209);
  text-align:center;
  margin-left: 30px;
  margin-right:30px;
 }

.home-body {
  margin: 0px;
  overflow: hidden;
  background: black;
  position: relative;
}

.about-body h1,
.about-body h2,
.about-body h3,
.about-body p {
  color:rgb(237, 255, 209);
}

.work-body h1,
.work-body h2,
.work-body h3 {
  color:darkgreen;
}

.work-body p {
  color:#09620d;
}

.home-body .nav-image {
  background-color:#564e07;
}

/* STYLING FOR NAVIGATION */
nav {
  margin-top: 10px;
  border-radius: 10px;
  text-align: center;
}

.nav-logo {
  width: 30px;
  height: 30px;
}

.nav-logo:hover
{
  width: 40px;
  height: 40px;
  transition: width 0.3s, height 0.3s;
}

.nav-item {
  display: inline-block;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 4px;
  background-color:rgb(112, 179, 26)
}

.nav-item a {
  color: white;
}

.nav-image {
  display: inline-block;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 4px;
}

.nav-item:hover, .collapsible-top:hover,.nav-image:hover {
  background-color: rgb(141, 132, 12);
  transition: background-color 0.3s;
}

/* From Uiverse.io by eslam-hany */ 
.book {
  position: relative;
  border-radius: 10px;
  width: 220px;
  height: 300px;
  background-color: rgb(242, 246, 222);
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  -webkit-transform: preserve-3d;
  -ms-transform: preserve-3d;
  transform: preserve-3d;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #000;
  margin: 20px;
}

.cover {
  top: 0;
  position: absolute;
  background-color: lightgray;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform-origin: 0;
  -ms-transform-origin: 0;
  transform-origin: 0;
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background:url(/assets/book-cover.png) no-repeat center center;
}
.book:hover .cover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: rotatey(-80deg);
  -ms-transform: rotatey(-80deg);
  transform: rotatey(-80deg);
}

/* STYLING FOR BG EFFECTS */
.star {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  background: rgb(132, 106, 0);
  animation: twinkle 3s infinite ease-in-out;
}

.polka-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  background: rgb(166, 255, 0);
  animation: twinkle 3s infinite ease-in-out;
  z-index: -3;
}

.glow {
  -webkit-animation: glow-box 2s ease-in-out infinite alternate;
  -moz-animation: glow-box 2s ease-in-out infinite alternate;
  animation: glow-box 2s ease-in-out infinite alternate;
}

/* STYLING FOR DROPDOWN */
.collapsible-outer {
  border: 1px solid #c8ffbe;
  border-radius: 10px;
  background-color:#beaf09;
  max-width: 100vw;
  overflow: hidden;
}

.collapsible-top {
  padding: 10px;
  background-color:darkgreen;
  color:aliceblue;
}

.collapsible-inner {
  padding: 10px;
  background-color: white;
  border-top: 4px solid #043a04;
}

@-webkit-keyframes glow-box {
  from {
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #09620d, 0 0 40px #09620d, 0 0 50px #09620d, 0 0 60px #09620d, 0 0 70px #09620d;
  }
  to {
    box-shadow: 0 0 20px #fff, 0 0 30px #beaf09, 0 0 40px #beaf09, 0 0 50px #beaf09, 0 0 60px #beaf09, 0 0 70px #beaf09, 0 0 80px #beaf09;
  }
}

@keyframes glow-box {
  from {
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #beaf09, 0 0 40px #beaf09, 0 0 50px #beaf09, 0 0 60px #beaf09, 0 0 70px #beaf09;
  }
  to {
    box-shadow: 0 0 20px #fff, 0 0 30px #f0edd2, 0 0 40px #f0edd2, 0 0 50px #f0edd2, 0 0 60px #f0edd2, 0 0 70px #f0edd2, 0 0 80px #f0edd2;
  }
}


@keyframes twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}