.cases_container
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

.case_to_open_container
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

.case_box
{
    width: 240px;
    height: 180px;
    margin: 4px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(45, 45, 65, 0.9), rgba(35, 35, 55, 0.9));
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    text-shadow: 1px 1px 1px #121212;
    transition: 0.3s;
    text-align: center;
    position: relative;
    font-family: 'Anybody', cursive;
    overflow: visible;
}

.case_image 
{
    position: absolute;
    top: 16px;
    left: 30px;
    width: 180px;
    height: auto;
}

.case_details
{
    position: relative;
    top: 110px;
    text-align: center;
    width: 100%;
    height: 70px;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
}

.case_name
{
    position: absolute;
    top: 4px;
    left: 0px;
    width: 100%;
    font-size: 20px;
    letter-spacing: 2px;
}

.case_options{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.owned_case_options{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.open_case_button{
    cursor: pointer;
    padding: 4px 8px;
    background-color: #335;
    width: 50%;
    transition: 0.3s;
    border-bottom-right-radius: 8px;
}

.open_case_button:hover{
    background-color: #224;
}

.owned_case_options .view_case_items_button{
    cursor: pointer;
    padding: 4px 8px;
    background-color: #557;
    width: 50%;
    border-bottom-left-radius: 8px;
    transition: 0.3s;
}

.owned_case_options .view_case_items_button:hover{
    background-color: #668;
}

.case_options .view_case_items_button{
    cursor: pointer;
    padding: 4px 8px;
    background-color: #557;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: 0.3s;
}

.case_options .view_case_items_button:hover{
    background-color: #668;
}

.cases_available{
    background-color: #0454cc;
    position: absolute;
    top: -8px;
    padding: 1px 8px;
    right: 10px;
    border-radius: 4px;
    font-family: 'Anybody', cursive;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
}

.viewItemsPopup{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 35, 0.6);
    z-index: 101;
    transition: 0.5s;
}

.viewItemsBox {
    position: absolute;
    margin: auto;
    left: 0; 
    right: 0;
    top: 15%;
    background-color: rgb(46, 46, 61);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 5px;
    width: 94%;
    max-width: 1100px;
    max-height: 70%;
    overflow: auto;
}

#closeViewItemsPopup {
    color: rgb(156, 156, 168);
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 36px;
    transition: 0.25s;
}
  
#closeViewItemsPopup:hover, #closeViewItemsPopup:focus {
    color: rgb(255, 250, 175);
    text-decoration: none;
    cursor: pointer;
}

.viewItemsText{
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 10px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: 'Anybody', cursive;
}

.viewItemsText h3{
    font-size: 18px;
    color: white;
    margin-bottom: 16px;
}

.viewItemsText p{
    padding: 4px 6%;
    text-align: left;
    color: rgb(156, 156, 168);
}

.viewItemsText hr{
    border: none;
    border-image: 
        linear-gradient(to right, 
        rgba(110, 110, 145, 0), 
        rgba(110, 110, 145, 0.2),
        rgb(110, 110, 145),
        rgba(110, 110, 145, 0.2),
        rgba(110, 110, 145, 0)) 1;
    border-width: 1px;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.viewItemsDrops{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

.viewItemsHowToGet{
    max-width: 640px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
    font-size: 12px;
    color: #ddf;
}

.viewItemsHowToGetContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropItem{
    background-color: rgba(60, 60, 95, 0.7);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 4px;
    width: 160px;
    height: 110px;
    margin: 5px;
    position: relative;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    color: white;
    transition: 0.3s;
}

.dropItem:hover{
    background-color: rgba(60, 60, 95, 1);
}

.dropItemRarityLine{
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 3px;
}

.dropItemName{
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0px;
}

.dropItemImage{
    position: absolute;
    top: 10px;
    left: 40px;
    text-align: center;
    width: 80px;
    height: 64px;
    font-size: 14px;
}

.dropItemChance{
    position: absolute;
    width: 100%;
    top: 5px;
    right: 4px;
    text-align: right;
    font-size: 11px;
}

#closeDroppedItemPopup {
    color: rgb(156, 156, 168);
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 36px;
    z-index: 106;
    transition: 0.25s;
}
  
#closeDroppedItemPopup:hover, #closeDroppedItemPopup:focus {
    color: rgb(255, 250, 175);
    text-decoration: none;
    cursor: pointer;
}

.openCasePopup{
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 35, 0.6);
    z-index: 101;
    transition: 0.5s;
}

.openCaseBox {
    position: relative;
    margin: auto;
    left: 0; 
    right: 0;
    top: 20%;
    background-color: rgb(46, 46, 61);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 5px;
    width: 94%;
    max-width: 1000px;
    height: 400px;
    overflow: auto;
}

.openCaseArrow {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid white;
    z-index: 1;
}

.dropsDivContainer{
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 160px;
    top: 120px;
    left: 0px;
}

.dropsDiv{
    position: absolute;
    display: flex;
    flex-direction: flex-start;
    left: -moz-calc(50% - 500px);
    left: -webkit-calc(50% - 500px);
    left: -o-calc(50% - 500px);
    left: calc(50% - 500px);
}

.dropsDivItem{
    position: relative;
    width: 160px;
    height: 160px;
    border-left: 1px solid rgb(35, 35, 55);
    background-color: rgb(55, 55, 75);
    display: block;
    flex-shrink: 0;
}

.dropsDivBackground{
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
}

.dropsDivRarityLine{
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 4px;
}

.dropDivItemName{
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Anybody', cursive;
    font-size: 18px;
    text-shadow: 1px 1px 1px #121212;
    background-color: rgba(35, 35, 55, 0.55);
    padding-top: 4px;
    padding-bottom: 4px;
    letter-spacing: 2px;
}

.dropDivItemImage{
    position: absolute;
    top: 24px;
    left: 20px;
}

.coins-drop-icon, .tickets-drop-icon{
    font-size: 16px;
}

.caseop_audio{
    display: hidden;
}

.droppedItemPopup{
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 35, 0.6);
    z-index: 101;
    font-family: 'Anybody', cursive;
    transition: 0.5s;
}

.droppedItemBox {
    position: relative;
    margin: auto;
    left: 0; 
    right: 0;
    top: 20%;
    background-color: rgb(46, 46, 61);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 5px;
    width: 94%;
    max-width: 480px;
    height: 400px;
    overflow: hidden;
}

.droppedItemRarityLine{
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 8px;
    top: 0px;
    left: 0px;
}

.droppedItemText{
    position: absolute;
    overflow: hidden;
    width: 100%;
    top: 20px;
    text-align: center;
    font-size: 32px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 2px #121212;
}

.droppedItemImage{
    position: absolute;
    overflow: hidden;
    top: 80px;
    left: -moz-calc(50% - 128px);
    left: -webkit-calc(50% - 128px);
    left: -o-calc(50% - 128px);
    left: calc(50% - 128px);
    width: 256px;
    height: 196px;
}

.droppedItemName{
    position: absolute;
    overflow: hidden;
    width: 100%;
    top: 270px;
    text-align: center;
    font-size: 26px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 2px #121212;
}

@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.droppedItemBackground{
    position: absolute;
    overflow: hidden;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    animation: rotateAnimation 15s linear infinite;
}

.coins-dropped-item-icon, .tickets-dropped-item-icon{
    font-size: 24px;
}

.explosion-container {
    position: absolute;
    top: -moz-calc(20% + 200px);
    top: -webkit-calc(20% + 200px);
    top: -o-calc(20% + 200px);
    top: calc(20% + 200px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    z-index: 105;
}

.explosion-item-ticket {
    position: absolute;
    font-size: 8px;
    color: #50C878;
    border-radius: 50%;
    opacity: 0;
    animation: explode 2s ease-out forwards;
}

.explosion-item-coin {
    position: absolute;
    font-size: 8px;
    color: gold;
    border-radius: 50%;
    opacity: 0;
    animation: explode 2s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(2);
        opacity: 0;
    }
}

.page_section h2{
    text-align: center;
    font-family: 'Anybody', cursive;
    padding: 8px;
    margin: 0;
    color: rgb(255, 250, 175);
}

.latest_drops{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.unboxed{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 250px;
    height: 140px;
    background: linear-gradient(135deg, rgba(45, 45, 65, 0.9), rgba(35, 35, 55, 0.9));
    border-radius: 4px;
    margin: 6px;
    cursor: pointer;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
}

.unboxed-user-avatar{
    width: 40px;
    height: 40px;
    margin: 4px;
    border-radius: 8px;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
}

.unboxed-case-image, .unboxed-item-image {
    height: 75px; /* Adjust based on your requirements */
    width: auto;
}

.image-text-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and text horizontally */
    text-align: center; /* Ensure text is centered under the image */
}

.arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;   /* Increased size */
    border-bottom: 10px solid transparent; /* Increased size */
    border-left: 14px solid #88a;         /* Increased triangle size */
    margin: 0 8px;                        /* Adjust spacing between the images */
}

.unboxed-case-text, .unboxed-item-text {
    font-size: 12px; /* Adjust font size */
    color: white; /* Adjust the color as needed */
    text-align: center;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #121212;
}

.unboxed-user-name {
    font-size: 14px; /* Adjust font size */
    color: white; /* Adjust the color as needed */
    text-align: center;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #121212;
}

.unboxed-rarity-line {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.unboxed-time-elapsed {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #aac;
    font-size: 12px;
    text-align: center;
    font-family: 'Anybody', cursive;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px #121212;
}

.unboxed-user {
    position: absolute;
    width: 100%;
    height: 134px;
    top: 6px;
    left: 0;
    background-color: rgba(45, 45, 65, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    transition: 0.4s;
}

.unboxed-user:hover {
    opacity: 1;
}

.welcome-case-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.welcome-case-box {
    width: 80%;
    max-width: 800px;
    font-family: 'Anybody', cursive;
    background: linear-gradient(135deg, rgba(45, 45, 65, 0.9), rgba(35, 35, 55, 0.9));
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 6px, rgba(0, 0, 0, 0.2) 0px 8px 12px;
}

.welcome-case-img {
    width: 200px;
    height: auto;
    transition: transform 0.2s ease-in-out;
}

.welcome-case-img:hover {
    transform: scale(1.05);
}

.welcome-case-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.claim_case {
    margin-top: 10px;
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background-color: #446;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 8px;
}

.claim_case:hover {
    background-color: #335;
}

.affiliate_code {
  background: none;
  outline: none;
  border-radius: 5px;
  letter-spacing: 1px;
  border: 2px solid #667;
  text-shadow: -1px -1px 1px #020202;
  transition: 0.3s;
}

.affiliate_code:focus {
    outline: none;
    border: 2px solid #bbc;
}

.page_section h3{
    text-align: center;
    font-family: 'Anybody', cursive;
    font-weight: normal;
    margin: 0;
    color: white;
    margin-bottom: 4px;
    padding-left: 10%;
    padding-right: 10%;
}

@media (min-width: 1600px){ 
	.page_section h2 {
		font-size: 28px;
		letter-spacing: 3px;
	}

    .page_section h3 {
		font-size: 16px;
		letter-spacing: 2px;
    }

	.page_section {
		margin-bottom: 20px;
	}

    .affiliate_code {
        font-size: 16px;
        width: 250px;
        padding: 4px 10px;
    }
}

@media (min-width: 650px) and (max-width: 1599px){
	.page_section h2{
		font-size: 24px;
		letter-spacing: 2px;
	}

    .page_section h3 {
		font-size: 15px;
		letter-spacing: 1px;
    }

	.page_section{
		margin-bottom: 16px;
	}

    .affiliate_code {
        font-size: 14px;
        width: 200px;
        padding: 4px 8px;
    }
}

@media (max-width: 649px){
	.page_section h2{
		font-size: 18px;
	}

    .page_section h3 {
		font-size: 14px;
		letter-spacing: 1px;
    }

	.page_section{
		margin-bottom: 8px;
	}

    .affiliate_code {
        font-size: 14px;
        width: 200px;
        padding: 4px 8px;
      }
}

.no-cases-message {
    font-size: 18px;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(45, 45, 65, 0.9), rgba(35, 35, 55, 0.9));
    width: 90%;
    max-width: 600px;
    text-shadow: 1px 1px 1px #121212;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
}