:root {
--sectiontitle: #3b3770;
--sectionheader: #d3b6ef;
--sectionheaderdec: #c60000;
--body-bg: #4b487f;
--eventbg: #f1f1f1;
--eventborder: #dddddd;
--darkaccent: #2d2a56;
--orange: #ffae2d;
--purple: rgb(121, 110, 199);
--navbar: rgb(58, 55, 111);
--white: #ffffff;

--themepurple: rgb(211,182,239);
--themegreen: rgb(180 212 65);
--themeaqua: rgb(55,184,181);
--themeaqualighter: rgb(147, 192, 192);
--themeaquadarker: rgb(62, 183, 181);
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background-size: cover;
  height: 100%;
  background-color: var(--body-bg);
}
@font-face {
  font-family: "Poppins" ;
  src: url('../fonts/Poppins-Regular.ttf');
  font-style: normal;
  font-weight: 100;
}
@font-face {
  font-family: "Poppins";
  src: url('../fonts/Poppins-Bold.ttf');
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Besty";
  src: url('../fonts/Besty.ttf');
  font-style: normal;
  font-weight: 100;
}
.page-header {
  margin-top: 3.5rem;
  font-size: 1rem;
}
.background-image {
  /* background-image: url('../img/paula_background.jpg') !important; */
  background-image: url('../img/laplanoel-fade.png') !important;
  width: 100vw;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
}
.logo-resize {
    max-width: 50%;
    max-height: 50%;
}
.dropdown-aqua {
  background-color: var(--themeaqua);
  border: none;
  font-weight: 600;
  border-radius: .50rem;
}
.dropdown-aqua:hover, .dropdown-aqua:focus {
  background-color: var(--themeaquadarker);
}

/* new buttons */

.btn-grad {
  background-image: linear-gradient(to right, #b4d441 0%, #00CDAC  51%, #02AAB0  100%);
  padding: 0.3rem 1rem;
  font-size: 16pt;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 30px #eee;
  border-radius: 10px;
  display: block;
  border: 2px outset lightgray;
}
.btn-solid-aqua {
  background-image: linear-gradient(to right, var(--themeaquadarker) 0%, #02AAB0 51%, #4bc3c7   100%);
  padding: 0.3rem 1rem;
  font-size: 16pt;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 30px #eee;
  border-radius: 10px;
  display: block;
  border: 2px outset lightgray;
}
.btn-solid-green {
  background-image: linear-gradient(to right, #238d5b 0%, #2dae72  51%, #32c581  100%);
  padding: 0.3rem 1rem;
  font-size: 16pt;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 30px #eee;
  border-radius: 10px;
  display: block;
  border: 2px outset lightgray;
}
.btn-grad a, .btn-solid-aqua a {
  color: white !important;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
.btn-grad:hover, .btn-solid-aqua:hover, .btn-solid-green:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}
  
/*-- colors --*/
.maroon-text {
    color: #4b487f;
}

/*-- forms --*/
.main-w3layouts {
    padding: 3em 0 1em;
  }
  
.main-agileinfo {
    max-width: 500px; /* Adjust the maximum width as needed */
    margin: 3em auto;
    background: rgba(0, 0, 0, 0.5);
    background-size: cover;
    padding: 3em;
  }

  /* Additions By Arissi Start Here */

  /* Old Carousel */
  .slider {
    width: 650px;
    max-width: 100vw;
    height: 200px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0.1rem 0.2rem .5rem rgba(0, 0, 0, 0.751);
  }
  .list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
  }
  .item {
    position: relative;
  }
  .list img {
   width: 650px;
   max-width: 100vw;
   height: 100%;
   object-fit: cover;
  }
  .list a {
    position: relative;
  }
  .buttons {
    position: absolute;
    top: 35%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.36);
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
  }
  .dots {
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
  }
  .dots li:hover {
    cursor: pointer;
  }
  .dots li.active {
    width: 30px;
  }

  /*...*/

  .flex-row-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .fuse-gif {
    row-gap: 0.5rem; 
    flex-wrap: wrap;
  }
  .fuse-gif img {
    margin: 0.5rem;
  }
  .flex-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .flex-col-center p, .flex-col-center span {
    text-align: center;
  }
  /* Patch Header */
  #patch section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #patch .card {
    height: 100%;
  }
  #patch .card:hover {
    cursor: auto;
    box-shadow: none;
  }
  .event section {
    padding-bottom: 1rem;
  }
  #patch ul li, .event ul li {
    font-size: 1.1rem;
  }
  #patch ol > li, .event ol > li {
    font-size: 1.1rem;
    padding-bottom: 1rem;
  }
  /*Alter section header color for seasonal updates*/
  #patch h3, .event h3 {
    color: var(--sectionheader);
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Besty', 'Arial', sans-serif;
  }
  #patch h3 {
    padding-top: 2rem;
  }
  .event h3 {
    color:#000;
  }
  #patch h4, .event h4 {
    color: var(--sectiontitle);
    font-size: 1.5rem;
  }
  #patch h4 {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
  #patch h4 + p {
   text-align: center;
  }
  #patch p, .event p {
    font-size: 1.1rem;
  }
  .small-img {
    margin: 1rem;
  }
  .small-icon {
    margin: 0.5rem;
  }
  .link {
    text-decoration: none;
    color: var(--purple);
  }
  .link :hover {
    color: var(--sectiontitle);
  }
  .patch-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
    height: 35vh;
    border-radius: .8rem;
    background-image: url("../img/header1.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .patch-header.halloween {
    background-image: url("../img/halloween_epto_hero.png");
  }
  .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    left: -15%;
  }
  .header-text > h2 {
    position: relative;
    color: var(--white);
    font-size: 3.8rem;
    font-family: 'Besty', 'Arial', sans-serif;
    font-weight: 100;
    text-shadow: .3rem .3rem .5rem rgb(33, 32, 34);
  }
  .header-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    border-bottom: 1px solid lightgray;
  }
  #patch-message {
    font-size: 1.1rem;
    text-align: justify;
    padding-top: 1rem;
  }
  .patch-header-gif {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2rem;
    align-items: center;
  }
  #patch span, .event span {
    color: var(--darkaccent);
    font-weight: bold;
  }
  .patch-text {
    width: 60%;
  }
  .contents-icon {
    width: 4rem;
  }
  #small-paula {
    width: 15rem;
  }
  #last {
    border-bottom: 1px solid lightgray;
    justify-content: space-around;
    position: relative;
    top: -3rem;
    padding-bottom: 2rem;
  }
  .note {
    text-align: center;
    font-style: italic;
  }
  /*...*/

  /*Table of Contents*/
 .contents-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 1rem;
 }
 .contents-list {
  display: flex;
  flex-direction: column;
 }
 .contents-list a {
  padding: .3rem;
  text-decoration: none;
  color: var(--purple);
 }
 .contents-list a:hover {
  color: var(--sectiontitle);
  transform: translateX(-10px);
  transition: .4s ease-in;
 }
 #top {
  transform: none;
  transition: none;
 }
  /*...*/

  /* Myshop Section */
  .myshop {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid lightgray;
  }
  .myshop h5 {
    text-align: center;
  }
  .ms-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    row-gap: 0.5rem;
    margin: 1rem;
  }
  .fuse {
    border-radius: 1rem;
    width: 30rem;
    max-width: 95%;
  }
  .fuse + p, .fuse + span {
    padding-top: 0.8rem;
  }
  #arin, #kooh {
    padding-top: .5rem;
  }
  .ms-row, .event-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
  }
  .event-row {
    width: 100%;
    column-gap: 4rem;
  }
  .purple-box {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border: .3rem outset var(--purple);
    border-radius: .7rem;
  }
  .ms-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    row-gap: 1rem;
    flex-wrap: wrap;
  }
  .custom {
    width: 35rem;
  }
  .custom-2 {
    width: 20rem;
  }
  .list-left-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
  }
  .flex-wrap-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    row-gap: 2rem;
    justify-content: center;
    align-items: start;
  }
  .set {
    width: 50rem;
  }
  /*...*/

  /* Egg Shop Section */
  .egg-shop-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    row-gap: 2rem;
    border-bottom: 1px solid lightgrey;
    padding: 2rem 0 2rem 0;
  }
  /*...*/

/*Events Section*/
.events-container, .new-events-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 4rem;
  align-items: center;
  border-bottom: 1px solid lightgrey;
  padding-bottom: 2rem;
  width: 100%;
}
.align-start {
  align-items: start;
}
.Paula {
  width: 30rem;
  border-radius: 1rem;
}
#Yuna, #Sheep {
  width: 20rem;
}
#med-Pic {
  width: 25rem;
}
#Buffalo, #Cat, #Dragon {
  width: 25rem;
}
#Marx {
  width: 20rem;
  padding-bottom: 1rem;
}
#Mint {
  width: 15rem;
}
.gif-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem;
}
.event-text {
  display: flex;
  flex-direction: column;
  width: 40%;
  padding: 1rem;
}
.center-text {
  display: flex;
}
.big-list {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
  justify-content: center;
  align-items: center;
}
.big-list > ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
}
.big-list li {
width: 50%;
}
/*...*/

/*Game Changes Section*/
.event-row > img {
  width: 70%;
  border-radius: 1rem;
}
#egg-vendors {
  margin-bottom: 3rem;
  margin-top: 2rem;
}
.small-list {
  display: flex;
  flex-direction: column;
}
.small-list ul {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.small-list ul + h5 {
  padding-top: 1.5rem;
}
.patch-footer {
  text-align: center;
  margin: 2rem;
}
/*...*/

/*Recharge Page*/
.container-fluid > .row {
display: flex;
justify-content: center;
align-items: start;
}
/* Additions By Arissi End Here */

.agileits-top {
  padding: 3em;
}

.title-text {
  text-align: center;
  /* color: white; */
  color: #ffffff;
}

input[type="text"], input[type="email"], input[type="password"] {
  font-size: 0.9em;
  /* color: rgb(46, 7, 7); */
  font-weight: 400;
  width: 94.5%;
  display: block;
  border: none;
  padding: 0.8em;
  border: solid 1px rgba(255, 255, 255, 0.37);
  -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, #fff 4%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #fff 4%);
  background-position: -800px 0;
  background-size: 100%;
  background-repeat: no-repeat;
  color: #fff;
  /* color: black; */
  font-family: 'Roboto', sans-serif;
}

input.email, input.text.w3lpass {
  margin: 2em 0;
}

.text:focus, .text:valid {
  box-shadow: none;
  outline: none;
  background-position: 0 0;
}

.text:focus::-webkit-input-placeholder, .text:valid::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: .9em;
  -webkit-transform: translateY(-30px);
  -moz-transform: translateY(-30px);
  -o-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  transform: translateY(-30px);
  visibility: visible !important;
}

::-webkit-input-placeholder {
  color: white;
  /* font-weight: 100; */
  /* font-weight: bold; */
  opacity: 1 !important;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: white;
  /* font-weight: bold; */
  opacity: 1 !important;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: white;
  /* font-weight: bold; */
  opacity: 1 !important;
}

:-ms-input-placeholder {
  color: white;
  /* font-weight: bold; */
  opacity: 1 !important;
}

input[type="forget"] {
  font-size: .9em;
  /* color: #fff; */
  color: #ffffff;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 0.9em;
  -webkit-appearance: none;
  width: 100%;
  /* margin: 2em 0; */
  /* letter-spacing: 4px; */
  text-align: center;
}

input[type="forget"]:hover {
  -webkit-transition: .5s all;
  -moz-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  transition: .5s all;
  background: none;
}

input[type="submit"] {
  font-size: .9em;
  color: #fff;
  background: #4b487f;
  outline: none;
  border: 1px solid #4b487f;
  cursor: pointer;
  padding: 0.9em;
  -webkit-appearance: none;
  width: 100%;
  margin: 2em 0;
  letter-spacing: 4px;
}

input[type="submit"]:hover {
  -webkit-transition: .5s all;
  -moz-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  transition: .5s all;
  background: #4b487f;
}

.agileits-top p {
  font-size: 1em;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 300;
}

.agileits-top p a {
  color: #fff;
  -webkit-transition: .5s all;
  -moz-transition: .5s all;
  transition: .5s all;
  font-weight: 400;
}

.agileits-top p a:hover {
  color: #fff;
}

/*-- //main --*/
/*-- checkbox --*/
.wthree-text label {
  font-size: 0.9em;
  color: #fff;
  font-weight: 200;
  cursor: pointer;
  position: relative;
}

input.checkbox {
  background: #4b487f;
  cursor: pointer;
  width: 1.2em;
  height: 1.2em;
}

input.checkbox:before {
  content: "";
  position: absolute;
  width: 1.2em;
  height: 1.2em;
  background: inherit;
  cursor: pointer;
}

input.checkbox:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  z-index: 1;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid #fff;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

input.checkbox:checked:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  height: .5rem;
  border-color: #fff;
  border-top-color: transparent;
  border-right-color: transparent;
}

.anim input.checkbox:checked:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  height: .5rem;
  border-color: transparent;
  border-right-color: transparent;
  animation: .4s rippling .4s ease;
  animation-fill-mode: forwards;
}

@keyframes rippling {
  50% {
    border-left-color: #fff;
  }

  100% {
    border-bottom-color: #fff;
    border-left-color: #fff;
  }
}


.nav-tabs {
/* background-color: #6d6aaf; */
color: white !important;
}
.nav-link {
color: white !important;
}
.nav-bg-color {
  background-color: #6d6aaf;
}
#desktop-logo {
width: 12rem;
}
#mobile-logo {
display: none;
}
/*Arissi added the rule below*/
.navbar-nav {
display: flex;
column-gap: 1.5rem;
align-items: center;
}
.navbar-nav li a {
font-family: "Poppins", "Arial", sans-serif;
}
.navbar-nav li a:hover {
transition: .2s ease-in;
transform: translateY(.15em);
}
.nav-link.active {
background-color: #8e88bf !important;
color: white !important;
}
/* New nav dropdown */
.navbar-nav .dropdown-menu {
  background-color: var(--navbar);
  border: none;
}
.navbar-nav .dropdown-item {
  color: white;
}
.navbar-nav .dropdown-item:hover {
  background-color: var(--themepurple);
  color: black;
}

/* Additional styling for stacked navbars */
.nav-tabs, .nav-pills {
  border: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);  /* subtle shadow for depth */
  margin-bottom: 10px;  /* spacing between the two navbars */
}

.nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);  /* subtle bottom border for nav-tabs */
}

.nav-link.active {
  background-color: #8e88bf !important;
  color: white !important;
  border-radius: 3px;  /* slight rounded corners for active state */
}

.nav-pills .nav-link {
  border-radius: 3px;  /* consistent rounded corners for nav-pills */
}

.nav-pills .nav-link.active {
  background-color: #8e88bf !important;
}

/* Market Sub-Nav Styles */
#market-tabs {
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 15px; /* Increased spacing between the nav and its content */
}

#market-tabs .nav-link {
  color: #ccc !important;  /* Lighter font color */
  font-size: 0.9rem;  /* Slightly smaller font */
  border-bottom: 2px solid transparent;  /* Prepare for the underline */
  padding-bottom: 5px;  /* Padding to give space for the underline */
  /* border: 1px solid transparent;
  margin: 1px;  */
}

#market-tabs .nav-link:hover {
  color: #fff !important;  /* Brighter color on hover */
}

#market-tabs .nav-link.active {
  /* background-color: transparent !important; */
  color: #fff !important;
  border-bottom: 2px solid #8e88bf;  /* Underline for the active state */
  /* border: 1px solid #fff; */
}

.welcome-text {
display: none;
font-size: 24px;
font-weight: bold;
color: #000;
padding: 3rem;
}

.welcome-text.active {
  display: block;
}
.account-section {
  display: none;
  position: relative;
  z-index: 2;
  padding: 3rem;
  margin-top: 3rem;
}

.account-section.active {
  display: block;
}


.option-outline {
  /* border: 1px solid #FBB6CE; */
  border: 2px solid black;
  border-radius: 7px;
  /* background-color: #FBB6CE;
  color: white; */
}

/* checkboxes */
.form-check .form-check-input {
  float: left;
  margin-left: -0.5em;
}


.icon-size {
  font-size: 1em;
}

/* alerts */
.alert {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 225px;
  z-index: 9999;
  /* background-color: #FBB6CE; */
  /* color: white; */
}

.full-height {
  min-height: 100vh;
}

/* profile buttons */
.profile-btn-custom {
width: 160px;
}


.card:hover {
box-shadow: 0 0 10px rgba(0,0,0,0.3);
cursor: pointer;
}

.card-img-top {
width: auto;
height: 70px;
}

.product, .total {
text-align: right;
}


#product {
text-align: left;
}
#product span {
float: right;
color: green;
}

#total {
text-align: left;
}
#total span {
float: right;
color: black;
}
.order-summary {
padding-bottom: 80px;
}


#main-container .row {
margin-right: 0;
margin-left: 0;
padding-right: 0;
padding-left: 0;
}

#main-container  .d-flex {
margin-top: -20px;
}

.slick-dots {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}

.slick-dotted.slick-slider {
margin-bottom: 0;
}

p.welcome-message {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
text-align: center;
}

#bg-image {
background-size: cover;
height: 100vh;

}

#pet-gif {
animation-duration: 30s;
animation-iteration-count: infinite;
}

table.no-border td {
border-style: none;
}

.table.no-padding {
padding: 0;
}

/*Advent Calendar*/
.event {
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  width: 80%;
  background-color: var(--eventbg);
  border-radius: 1rem;
  border: 0.4rem solid var(--eventborder);
}
.advent-header {
  display: flex;
  justify-content: center;
}
.advent-header > img {
  width: 80%;
  border-radius: 2rem;
}
.daily-check-in {
  margin: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.daily-check-in .event-text{
  margin: 0;
}
.daily-check-in-top {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem .5rem 1.5rem 0.5rem;
  padding: 1rem;
  border-radius: .4rem;
  background-color: #ffffff;
  border: .08rem solid var(--eventborder);
  box-shadow: 0 .05rem .5rem var(--eventborder);
  overflow: hidden;
}
.half-width {
  width: 50%;
}

/*Advent Calendar*/
.daily-box-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem;
}
.daily-box-container {
  width: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 .5rem 1.5rem 0;
  border-radius: .4rem;
  background-color: var(--themeaqua);
  border: .05rem solid var(--themeaquadarker);
  box-shadow: 0 .04rem .4rem var(--themeaquadarker);
}
.daily-box-container.advent-calendar  {
  background-color: #ff7e8f;
  border: .05rem solid #be3841;
  box-shadow: 0 .04rem .4rem #be3841;
}
.daily-box-item:first-child {
  height: 33%;
}
.daily-box-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.daily-box-item p {
  margin: 0;
  color: #ffffff;
}
#button-box {
  background-color: #ffffff;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.daily-box-button {
  background-color: #ffffff;
  border: none;
  width: 100%;
  border-bottom-left-radius: .4rem;
  border-bottom-right-radius: .4rem;
  text-align: center;
  color: black;
  transition-duration: 0.3s;
}
.daily-box-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.daily-box-button:hover {
  background-color: var(--themegreen);
  color: #ffffff;
}
.daily-box-button.advent-calendar:hover {
  background-color: #6daf56;
}
.daily-box-img-container {
  border-radius: 0.5rem;
  width: 4rem;
  height: 4rem;
  margin: .5rem;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.daily-box-img-container > img {
  width: 65%;
}
.daily-check-in h3 + h4 {
  text-align: center;
  margin-bottom: 2rem;
}
.circle-img {
  border-radius: 2rem;
}
/*...*/

/*Poppuri*/
#curr-stage {
background: linear-gradient(to left, var(--eventbg), var(--eventbg) 50%, #ffffff 75%, #e4f1e9);
}
.completed-stage {
  opacity: 0.5;
}

@media screen and (width >= 1400px) {
  .ms-box {
    width: 45%;
  }
}

@media screen and (width <= 1200px) {
  .slider {
    width: 500px;
  }
  .list img {
   width: 500px;
  }
  .navbar-nav {
    column-gap: 1rem;
  }
  .ms-box {
    width: 100%;
  }
}

/*tablet*/
@media screen and (width > 480px) and (width <= 1080px) {
  .baldy-table {
    width: 100%;
  }
  .slider {
    width: 650px;
  }
  .list img {
   width: 650px;
  }
  .navbar-nav {
    column-gap: 0.8rem;
  }
  .patch-header {
    height: 40vh;
  }
  .patch-header-gif {
    display: none;
  }
  #last {
    padding-top: 2rem;
  }
  .header-text > h2, .advent-text > h2 {
    font-size: 2.5rem;
    left: -1rem;
  }
  .header-section {
    column-gap: 2rem;
  }
  .patch-text {
    width: 100%;
  }
  #desktop-logo {
    width: 10rem;
  }
  .myshop {
    row-gap: 2rem;
  }
  .ms-box {
    width: 100%;
  }
  .set {
    width: 80%;
  }
  .contents-list a {
    transform: none;
    transition: none;
    }
  #Sheep {
    display: none;
  }
  .Paula {
    width: 20rem;
  }
  .custom {
    width: 25rem;
  }
  #Leonardo {
    display: none;
  }
  #Buffalo, #Dragon {
    width: 20rem;
    padding-bottom: 1rem;
  }
  #Cat, #Marx, #Yuna {
    width: 15rem;
    padding-bottom: 1rem;
  }
  #Marin {
    width: 15rem;
  }
  #Mint {
    display: none;
  }
  .new-events-container {
    row-gap: 2rem;
  }
  .event-row {
    flex-direction: column;
    row-gap: 1rem;
  }
  #galder-event {
    flex-direction: row;
  }
  .daily-check-in-top {
    justify-content: space-between;
    row-gap: 1rem;
  }
  .event .event-text {
    justify-content: center;
    align-items: start;
    width: 45%;
  }
  .event-text {
    width: 80%;
  }
  .event-row > img {
    width: 40rem;
  }
  #egg-vendors {
      margin-bottom: 1rem;
      width: 30rem;
  }
  .big-list {
    width: 100%;
  }
  .big-list ul {
    row-gap: .3rem;
  }
  .custom {
    width: 35rem;
  }
}

@media screen and (width > 480px) and (width <= 990px) {
  .slider {
    width: 550px;
  }
  .list img {
   width: 550px;
  }
  .container-fluid > .row {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  }
  .row-cols-3>* {
  flex: 1 0 3;
  }
  .col-8 {
  width: 90%;
  padding-bottom: 1rem;
  }
  .col-4 {
  width: 90%;
  }
  .flex-wrap-container {
    flex-direction: column;
  }
  .advent-header > img {
    width: 90%;
  }
  .event {
    width: 90%;
  }
  .event h3 {
    font-size: 2rem;
  }
  #mobile-logo {
    display: block;
    width: 10rem;
  }
  #desktop-logo {
    display: none;
  }
}

@media screen and (width > 480px) and (width <= 780px) {
  .slider {
    width: 425px;
  }
  .list img {
   width: 425px;
  }
  .header-section {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .patch-header {
    height: 30vh;
    width: 85%;
  }
  .daily-check-in-top {
    flex-direction: column;
  }
  .event .event-text {
    width: 100%;
  }
  .header-text > h2 {
    font-size: 2rem;
  }
  .patch-text {
    width: 85%;
  }
  .event-text {
    width: 80%;
  }
  .custom {
    width: 30rem;
  }
  .fashion {
    width: 15rem;
  }
  .half-width {
    width: 100%;;
  }
}

/*mobile phone*/
@media screen and (width <= 480px) {
  .slider {
    width: 350px;
    height: 175px;
  }
  .list img {
   width: 350px;
  }
  .main-agileinfo {
    width: 90%;
    max-width: none; /* Reset the max-width for mobile */
    padding: 2em; /* Reduce padding for mobile */
  }
  .poppuri-row {
    flex-direction: column;
  }
  .poppuri-row .event-text ul {
    padding-left: .8rem;
  }
  .half-width {
    width: 100%;
    justify-content: center;
  }
  .event {
    width: 90%;
  }
  .header-section {
    flex-wrap: wrap;
  }
  #mobile-gif {
    display: flex;
  }
  /*Additions by Arissi start here*/
  #mobile-logo {
    display: block;
    width: 10rem;
    margin-right: 0;
    margin-left: 0;
  }
  #desktop-logo {
    display: none;
  }
  .patch-header {
    width: 90%;
    height: 30vh;
  }
  .header-text > h2 {
    font-size: 1.5rem;
    left: -1rem;
  }
  .patch-text {
    width: 90%;
  }
  #patch-message {
    font-size: .8rem;
  }
  .patch-header-gif {
    display: none;
  }
  .contents-icon {
    width: 3rem;
  }
  #small-paula {
    width: 12rem;
  }
  .custom {
    width: 25rem;
  }
  .custom-2 {
    width: 15rem;
  }
  #last {
    top: 0;
  }
  .contents-list a {
    font-size: .8rem;
    transform: none;
    transition: none;
  }
  #patch h3 {
    font-size: 1.2em;
  }
  #patch h4 {
    font-size: 1.1em;
    padding: 1rem;
    text-align: center;
  }
  #patch h5 {
    font-size: 1em;
  }
  .ms-row {
    font-size: .8rem;
    flex-direction: column;
    row-gap: 1rem;
  }
  .myshop {
    row-gap: 3rem;
  }
  .ms-box {
    padding: 0rem;
    row-gap: 0rem;
    width: 100%;
  }
  .purple-box {
    width: 8rem;
    height: 8rem;
  }
  .ms-items {
    padding-bottom: 0em;
  }
  #patch ul li, #patch ol li {
    font-size: .8rem;
  }
  #kooh {
    padding-bottom: 1rem;
  }
  #patch p {
    font-size: .8rem;
  }
  /*...*/

  /* Egg Shop */
  .egg-shop-container {
    column-gap: 0;
    flex-direction: column;
  }
  .egg-shop-container > img {
    width: 8rem;
    padding-bottom: 2rem;
  }
  #Leonardo {
    width: 8rem;
    padding-bottom: 0;
  }
  .align-start {
    display: flex;
    align-items: start;
  }
  /*...*/

  /* Events */
  .events-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .Paula {
    width: 15rem;
  }
  #Sheep {
    display: none;
  }
  .event .event-text {
    align-items: start;
  }
  .event h3 {
    font-size: 1.5rem;
  }
  .event h4 {
    font-size: 1.3rem;
  }
  .event-text {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .event-text ul {
    padding-left: 0;
  }
  #Buffalo, #Dragon {
    width: 15rem;
  }
  #Cat, #Marx, #Yuna {
    width: 12rem;
  }
  #Mint {
    display: none;
  }
  .event-row {
    flex-direction: column;
    row-gap: 1rem;
  }
  .new-events-container {
    row-gap: 2rem;
  }
  .daily-check-in-top {
    flex-direction: column;
  }
  /*...*/

  /*Game Changes Section*/
  .event-row > img {
    width: 20rem;
  }
  #egg-vendors {
    margin: 1rem;
  }
  .big-list {
    width: 100%;
  }
  .big-list ul, .small-list ul {
    flex-direction: column;
    row-gap: .3rem;
  }
  .big-list li, .small-list li {
    width: 100%;
  }
  .flex-row-list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /*...*/

  /*Recharge Page Mobile*/
  .col-8 {
    width: 100%;
    padding-bottom: 1rem;
  }
  .col-4 {
    width: 100%;
  }
  .row-cols-3>* {
    width: 100%;
  }
  .order-summary {
    padding-bottom: 40px;
  }
  /*...*/
}

#listing-subsection h3 {
    color: var(--purple);
}

#listing-subsection .btn-primary {
  background-color: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

#listing-subsection .btn-primary:hover, 
#listing-subsection .btn-primary:focus, 
#listing-subsection .btn-primary:active {
  background-color: var(--darkaccent);
  border-color: var(--darkaccent);
}

#history-subsection h3 {
  color: var(--purple);
}

#bank-subsection h3 {
  color: var(--purple);
}

#bank-subsection .btn-primary {
background-color: var(--purple);
color: var(--white);
border-color: var(--purple);
}

#bank-subsection .btn-primary:hover, 
#bank-subsection .btn-primary:focus, 
#bank-subsection .btn-primary:active {
background-color: var(--darkaccent);
border-color: var(--darkaccent);
}


/* Remove container margins on mobile devices */
@media (max-width: 767.98px) { 
  .full-height {
    margin-top: 0 !important; /* Override top margin */
    margin-bottom: 0 !important; /* Override bottom margin */
  }
  .container {
    padding-left: 0 !important; /* Override left padding */
    padding-right: 0 !important; /* Override right padding */
  }
}

/* Table: reduce padding and font-size on mobile devices */
@media (max-width: 768px) {
  .table td, .table th {
    padding: .5rem; /* Reduced padding */
    font-size: 0.8rem; /* Smaller font size */
  }
  .table .text-xs {
    font-size: 0.7rem; /* Even smaller font size for less important text */
  }
}
