@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  min-height: 100vh;
  font-family: "Poppins", system-ui;
  line-height: 1.6;
  background-color: #1D1E6E;
  background-image: url(/img/doodle_changelog.webp);
  background-repeat: repeat;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 100vh;
  padding-top: 22vh;
  flex-grow: 1;
  padding-bottom: 2%;
  z-index: 0;
}

.bar {
  background: #ffffff !important;
}

.navbar .back-btn {
  filter: invert(1) !important;
}

/*_________________________________________________________*/

.gradient-wrapper {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('/img/light_banner_changelog.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.gradient-wrapper h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-top: -30px;
}

.gradient-wrapper p {
  font-size: 18px;
  font-weight: 400;
  color: #ddd;
  margin: 0;
}

/*----------------------------------------------------*/

.boxed-changelog {
display: flex;
justify-content: center;
margin-left: -5vw;
padding: 1.3%;
margin-top: -1%;
}

.section-changelog {
  display: flex;
  padding: 0 15px;
  max-width: 800px;
  width: 100%;
  align-items: flex-start;
}

.version-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
  margin: 10px 15px 15px 15px;
  text-align: center; 
}

.version-number {
  font-weight: bold;
  font-size: 18px;
  color: #f8ecff;
  background-color: rgba(182, 158, 255, 0.767);
  border-radius: 8px;
  padding: 5px 20px;
}

.release-date {
  font-weight: 500;
  font-size: 14px;
  color: #bcbcbc;
}

/*----------------------------------------------------*/

.container-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-grow: 1;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 15px 20px 30px 30px;
  margin-left: 15px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -9px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid rgb(255, 255, 255);
}

.changelog-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.changelog-content h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #333;
}

.changelog-content p {
  font-size: 16px;
  color: #555;
}

ul {
  padding-left: 20px;
}

li {
  font-size: 16px;
  color: #555;
}

/*▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬*/

/*█▀█ █▀▀ █▀ █▀█ █▀█ █▄ █ █▀ █ █ █ █▀▀
  █▀▄ ██▄ ▄█ █▀▀ █▄█ █ ▀█ ▄█ █ ▀▄▀ ██▄*/

@media (max-width: 481px) {

  #changelog-container { 
    margin: 20px 4vw 3vh 6vw;
   }

   main {
    padding-top: 28vh;
  }

/*----------------------------------------------------*/

  .gradient-wrapper {
    background-image: none;
  }

  body.dark-theme .gradient-wrapper {
    background-image: none !important;
  }

  .gradient-wrapper h1 {
    font-size: 1.7rem;
    margin-top: 16vh;
    padding: 0 1rem;
  }

  .gradient-wrapper p {
    font-size: 0.8rem;
  }

  .section-changelog {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .version-info {
    justify-content: space-between;
    width: 95%;
    flex-direction: unset;
  }

  .version-number {
    font-size: 14px;
    padding: 4px 10px;
  }

  .release-date {
    text-align: right;
    margin-top: 9px;
  }

/*----------------------------------------------------*/

  .container-content::before {
    visibility: hidden;
  }

  .changelog-content h2 {
    font-size: 1.28rem;
  }
  
  .changelog-content p {
    font-size: 0.8rem;
  }

  ul {
    padding-left: 10px;
  }
  
  li {
    font-size: 13px;
  }
}

/*_________________________________________________________*/

@media (min-width: 481px) and (max-width: 769px) {
  #changelog-container { 
    margin: 0 5vw 3vh 7vw;
   }
   
   main {
    padding-top: 22vh;
  }

  /*----------------------------------------------------*/  

   .gradient-wrapper {
    height: 33vh;
    background-size: 100% 80%;
  }

  .gradient-wrapper h1 {
    font-size: 1.9rem;
    padding: 0 1rem;
  }

  .gradient-wrapper p {
    font-size: 1rem;
  }

  .section-changelog {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .version-info {
    justify-content: space-between;
    width: 95%;
    flex-direction: unset;
  }

  .version-number {
    font-size: 14px;
    padding: 4px 10px;
  }

  .release-date {
    text-align: right;
    margin-top: 9px;
  }

/*----------------------------------------------------*/

  .container-content::before {
    visibility: hidden;
  }

  .changelog-content h2 {
    font-size: 1.28rem;
  }
  
  .changelog-content p {
    font-size: 0.9rem;
  }

  ul {
    padding-left: 10px;
  }
  
  li {
    font-size: 13px;
  }
}

  /*_________________________________________________________*/

@media (min-width: 769px) and (max-width: 1024px) {
  #changelog-container { 
    margin: 0 5vw 3vh 7vw;
   }
   
   main {
    padding-top: 20vh;
  }

  /*----------------------------------------------------*/  

  .gradient-wrapper {
    height: 23vh;
    background-size: 100% 90%;
  }

  .gradient-wrapper h1 {
    font-size: 2rem;
  }

  .gradient-wrapper p {
    font-size: 1rem;
  }

  .version-number {
    font-size: 15px;
    padding: 6px 13px;
  }

  .changelog-content h2 {
    font-size: 1.3rem;
  }
  
  .changelog-content p {
    font-size: 1rem;
  }

  li {
    font-size: 15px;
  }

}

/*_________________________________________________________*/

@media (min-width: 3440px) {

  #changelog-container { 
    margin: 0;
   }
   
   main {
    padding-top: 20vh;
  }

  .gradient-wrapper h1 {
    font-size: 4.5rem;
  }

  .gradient-wrapper p {
    font-size: 2.5rem;
  }

  .version-number {
    font-size: 2rem;
    padding: 8px 15px;
  }

  .release-date {
    font-size: 1.6rem;
  }

/*----------------------------------------------------*/

  .container-content {
    padding: 35px 100px 50px 90px;
  }

  .changelog-content h2 {
    font-size: 3.3rem;
  }
  
  .changelog-content p {
    font-size: 2rem;
  }

  li {
    font-size: 2rem;
  }

  .section-changelog {
    padding: 0 45px;
    max-width: 2200px;
  }
}

/*▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬*/

/* █▀▄ ▄▀█ █▀█ █▄▀   ▀█▀ █ █ █▀▀ █▀▄▀█ █▀▀
   █▄▀ █▀█ █▀▄ █ █    █  █▀█ ██▄ █ ▀ █ ██▄ */


body.dark-theme main {
  background-color: #060821;
  background-image: url(/img/doodle_changelog.webp);
}

body.dark-theme .gradient-wrapper {
  background-image: url('/img/dark_banner_changelog.webp');
}

body.dark-theme .version-number {
  background-color: rgba(121, 101, 179, 0.767);
}

body.dark-theme .container-content {
  background-color: rgb(48, 56, 103);
}

body.dark-theme .container-content::before {
  border-right: 10px solid rgb(48, 56, 103);
}

body.dark-theme .changelog-content h2 {
  color: #ffffff;
}

body.dark-theme p,body.dark-theme li {
  color: #e2e2e2;
}