:root {
  --primary: #132A13;
  --secondary: #31572C;
  --dark: #212121;
  --light: #F3F3F3;
}

* {
  margin: 0;
  padding: 0;
}

.card {
  margin: 100px auto 0;
  width: 69%;
  height: 62rem;
  perspective: 1000px;
}

.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
}

.card-inner.is-flipped {
  transform: rotateY(180deg);
}


.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2);
}

.card-face--front {
  background-image: linear-gradient(to bottom right, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-face--front h1 {
  color: #FFF;
  font-size: 32px;
}

.card-face--back {
  background-color: var(--light);
  transform: rotateY(180deg);
}

.card-content {
  width: 100%;
  height: 100%;
}

.card-header {
  position: relative;
  padding: 30px 30px 40px;
}

.card-header:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom left, var(--primary) 10%, var(--secondary) 115%);
  z-index: -1;
  border-radius: 0px 0px 50% 0px;
}

.pp {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 30px;
  border-radius: 0%;
  background-color: #FFF;
  border: 5px solid #FFF;
  object-fit: cover;
}

.card-header h2 {
  color: #FFF;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.card-body {
  padding: 30px;
}

.card-body h3 {
  color: var(--dark);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-body p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.4;
}

.vocabulary-list
{
  cursor: pointer; 
  height: 5rem; 
  background-color: #4F772D; 
  color: white;
}

.navbar-brand
{
  font-size: 164%;
}

.nav-var
{
  left: 61%;  /*Responsive : 0%*/
  position: relative;
}

.navbar-var
{
  cursor: pointer; 
  font-size: 250%;
}

.navbar-text
{
  font-size: 100%; /*Responsive: 221%*/
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle:not(:focus) {
  outline: 0;
}

.header-text {
  font-size: 1.5rem!important;
}

.divider {
  width: 100%;
  height: 77rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, .1), inset 0 0.125em 0.5em rgba(0, 0, 0, .15);
  flex-wrap: wrap!important;
  display: flex;
}

.footer 
{
  background-color: #90A955;
}

.body 
{
  z-index: 5;
  margin: 0;
  color: black;
  background-color: #90A955;
  font-family: 'Kalam', cursive;
}

.bg-blobs 
{
  align-items: center;
  display: flex;
  top: 100%;
}

html 
{
  scroll-behavior: smooth;
}

.blob1 {
  top: 50px;
}

.blob2 {
  top: 832px;
}

.blob3
{
  top: 1314px;
}

.blob4
{
  top: 1700px;
  opacity: 0;
}

.blob5 {
  top: 50px;
}

.blob6 {
  top: 832px;
}

.blob7
{
  top: 1314px;
}

.blob8
{
  top: 1700px;
  opacity: 0;
}

.blob
{
  aspect-ratio: 960/300;
  width: fit-content;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;  
  background-size: cover;
  z-index: -1;
}

.blob:active
{
  opacity: 0;
}

.layerblob {
  background-image: url('blobs/blob.svg');
}

.layerblobflip
{
  background-image: url('blobs/blobflip.svg');
}

.backtotopbutton
{
  cursor: pointer; 
  color: #E0E1DD; 
  position: fixed;
  top: 95%; 
  right: .5%; 
  opacity: 0; 
  transition: all .3s; 
  pointer-events: none;
}

.backtotopbutton.active 
{
  bottom: 10%;
  pointer-events: auto;
  opacity:1;
}

.backtotopbutton.active1 
{
  top: 94%;
  pointer-events: auto;
  opacity:1;
}

.backtotopbutton.active2
{
  top: 91%;
  pointer-events: auto;
  opacity:1;
}

/* Resolution below */

@media (min-width: 600px) and (max-width: 700px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 22rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 39rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 56rem;
    opacity: 1;
  }
}

@media (min-width: 700px) and (max-width: 800px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 24.5rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 44rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 64rem;
    opacity: 1;
  }
}

@media (min-width: 800px) and (max-width: 900px) /*Done*/
{
  .blob 
  {
    
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 27.7rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 50rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 73rem;
    opacity: 1;
  }
}

@media (min-width: 900px) and (max-width: 1000px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 30rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 56rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 82rem;
    opacity: 1;
  }
}

@media (min-width: 1000px) and (max-width: 1100px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 33.5rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 62rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 90rem;
    opacity: 1;
  }
}

@media (min-width: 1100px) and (max-width: 1200px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 36.5rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 68rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 99rem;
    opacity: 1;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 39.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 73.9rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 108.5rem;
    opacity: 1;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 41.5rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 79rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 116rem;
    opacity: 1;
  }
}

@media (min-width: 1400px) and (max-width: 1500px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 44.5rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 85rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 125rem;
    opacity: 1;
  }
}

@media (min-width: 1500px) and (max-width: 1600px) /*Done*/
{
  .nav-var
  {
    left: 43rem;
  }

  .navbar-var
  {
    font-size: 100rem;
  }

  /*Main*/

  .blob 
  {
    width: 100%;
    background-size: cover;
    top: 3rem;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 32.4rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 62rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 91.4rem;
    opacity: 1;
  }

  .blob10 
  {
    width: 100%;
    background-size: cover;
    top: 120rem;
    opacity: 1;
  }
  
  .blob11 
  {
    width: 100%;
    background-size: cover;
    top: 149rem;
    opacity: 1;
  }

  /*Text to read*/

  .blob5 {
    width: 100%;
    background-size: cover;
    top: 4rem;
  }
  
  .blob6 {
    width: 100%;
    background-size: cover;
    top: 33rem;
  }

  /*Flash Cards*/
  .card
  {
    margin: 70px auto 0;
    width: 69rem;
    height: 36rem;
    perspective: 1000px;
  }
  
  .blob7
  {
    width: 100%;
    background-size: cover;
    top: -20.1rem;
  }
  
  .blob8
  {
    width: 100%;
    background-size: cover;
    top: 9rem;
    opacity: 1;
  }
  .blob9
  {
    width: 100%;
    background-size: cover;
    top: 38rem;
    opacity: 1;
  }

  /*Grmmar*/

  .blob12 
  {
    width: 100%;
    background-size: cover;
    top: 153rem;
    opacity: 1;
  }
  .backtotopbutton.active1
  {
    top: 42rem;
    pointer-events: auto;
    opacity: 1;
  }
}

@media (min-width: 1600px) and (max-width: 1700px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 50.1rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 96rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 141.9rem;
    opacity: 1;
  }
}

@media (min-width: 1700px) and (max-width: 1800px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 53.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 102rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 151rem;
    opacity: 1;
  }
}

@media (min-width: 1800px) and (max-width: 1900px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 56.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 108rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 160rem;
    opacity: 1;
  }
}

@media (min-width: 1900px) and (max-width: 2000px) /*Done*/
{
  .card
  {
    margin: 70px auto 0;
    width: 69rem;
    height: 50rem;
    perspective: 1000px;
  }

  .nav-var
  {
    left: 67rem;
    position: relative;
  }

  /*Main*/

  .blob 
  {
    width: 100%;
    background-size: cover;
    top: -18rem;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: -5.3rem;
  }

  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 31rem;
  }

  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 68rem;
    opacity: 1;
  }

  .blob11
  {
    top: 142rem;
    opacity: 1;
  }

  /*Vocabulary*/

  .blob12
  {
    opacity: 0;
  }
  .blob13
  {
    opacity: 0;
  }

  .blob14
  {
    top: 31rem;
    opacity: 1;
  }

  /*Text to read*/

  .blob5 {
    width: 100%;
    background-size: cover;
    top: -16rem;
  }
  
  .blob6 {
    width: 100%;
    background-size: cover;
    top: 21rem;
  }
  
  /*Flash Cards*/

  .blob7
  {
    width: 100%;
    background-size: cover;
    top: -3.3rem;
  }
  
  .blob8
  {
    width: 100%;
    background-size: cover;
    top: 33rem;
    opacity: 1;
  }

  .blob9
  {
    opacity: 0;
  }

  .blob10
  {
    top: 105rem;
  }
}

@media (min-width: 2000px) and (max-width: 2100px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 62.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 120rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 177rem;
    opacity: 1;
  }
}

@media (min-width: 2100px) and (max-width: 2200px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 65.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 120rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 180rem;
    opacity: 1;
  }
}

@media (min-width: 2200px) and (max-width: 2300px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 70.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 125rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 191rem;
    opacity: 1;
  } 
}

@media (min-width: 2300px) and (max-width: 2400px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 66.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 128rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 190rem;
    opacity: 1;
  } 
}

@media (min-width: 2400px) and (max-width: 2500px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 73.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 142rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 211rem;
    opacity: 1;
  }
}

@media (min-width: 2500px) and (max-width: 2600px) /*Done*/
{
  .nav-var
  {
    left: 106rem;
    position: relative;
  }

  /*Main*/

  .blob 
  {
    width: 100%;
    background-size: cover;
    top: -18rem;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 31.7rem;
  }

  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 81rem
  }

  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 130rem;
    opacity: 1;
  }

  .blob11
  {
    opacity: 0;
  }

  /*Vocabulary*/

  .blob12
  {
    opacity: 0;
  }
  .blob13
  {
    opacity: 0;
  }

  .blob14
  {
    opacity: 0;
  }

  /*Text to read*/

  .blob5 {
    width: 100%;
    background-size: cover;
    top: -16rem;
  }
  
  .blob6 {
    width: 100%;
    background-size: cover;
    top: 33rem;
  }
  
  /*Flash Cards*/

  .blob7
  {
    width: 100%;
    background-size: cover;
    top: -3.3rem;
  }
  
  .blob8
  {
    width: 100%;
    background-size: cover;
    top: 58rem;
    opacity: 1;
  }

  .blob9
  {
    opacity: 0;
  }
}

@media (min-width: 2600px) and (max-width: 2700px) /*Done*/
{ 
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 79.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 154rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 229rem;
    opacity: 1;
  }
}

@media (min-width: 2700px) and (max-width: 2800px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 82.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 160rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 238rem;
    opacity: 1;
  }
}

@media (min-width: 2800px) and (max-width: 2900px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 65.7rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 127rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 188rem;
    opacity: 1;
  }
}

@media (min-width: 2900px) and (max-width: 3000px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 87.7rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 171rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 254rem;
    opacity: 1;
  }
}

@media (min-width: 3000px) and (max-width: 3100px) /*Done*/
{
  .blob 
  {
    width: 100%;
    background-size: cover;
  }
  .blob2
  {
    width: 100%;
    background-size: cover;
    top: 91.3rem;
  }
  .blob3
  {
    width: 100%;
    background-size: cover;
    top: 178rem;
  }
  .blob4 
  {
    width: 100%;
    background-size: cover;
    top: 264rem;
    opacity: 1;
  }
}



/* Resolution above */

@media screen and (max-width: 768px) {
  .divider {
    height: 85rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .divider {
    height: 75rem;
  }
}

@media screen and (min-width: 993px) {
  .divider {
    height: 66rem;
  }
}