h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

:root {
    --terror: #fbac18;
    --counter: #28397f;
    --stattrack: #fa4;
    --souvenir: #ff4;
    --black: #0a090e;
    --orange: #c86535;
    --yellow: #ffc870;
    --green: #33d54e;
    --turquoise: #44dab5;
    --cyan: #44dada;
    --blue: #44b4da;
    --purple: #674ab5;
    --red: #f64161;
    --primary: #c8354f;
    --info: #44b4da;
    --success: #32b348;
    --warning: #ffb94a;
    --danger: #d82545;
    --pink: #fe617c;
    --black-bis: #15141a;
    --black-ter: #1d1c22;
    --grey-darker: #222127;
    --grey-dark: #242329;
    --grey-background: #262230;
    --grey: #27262c;
    --grey-light: #323135;
    --grey-lighter: #454545;
    --smoke: #969696;
    --smoke-bis: #a6a6a6;
    --smoke-ter: #b5b5b5;
    --white-ter: #f0f0f0;
    --white-bis: #fafafa;
    --white: #fff;
    --light: #fafafa;
    --dark: #222127;
    --base-black: #545454;
    --base-grey: #545454;
    --base-red: #c8354f;
    --base-blue: #44b4da;
    --base-yellow: #ffc870;
    --base-gold: #ffc870;
    --base-green: #32b348;
    --font-sans: "Barlow","Calibre","Inter","San Francisco","SF Pro Text",-apple-system,system-ui,sans-serif;
}
/* ------------------------------------------------------ SCROLLBAR --------------------------------------------------*/
::-webkit-scrollbar {
    display: none;
}
/* ------------------------------------------------------ GENERAL --------------------------------------------------*/
* {
    scrollbar-width: none;
    user-select:none;
}
html, body {
    -ms-overflow-style: none;
}
* {
    padding: 0;
    margin: 0;
    border: none;
    text-decoration: none;
    text-decoration-style: none;
    list-style-type: none; /* Remove bullet points from menu options */
    scroll-behavior: smooth;
    outline: none;
    font-family: var(--font-sans), var(--font-montserrat), var(--font-mono), var(--font-sans), 'Poppins', sans-serif;
    box-sizing: border-box;
    color: var(--white);
}
body {
    font-family: var(--font-sans);
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    width: 100%;
    background-color: var(--grey-background);
    background: url('/images/long.webp') no-repeat center center fixed;
    background-size: cover;
}
.centre {
    display: flex;
    justify-content: center;
    align-items: center;
    height:80vh;
    flex-direction:column;
}
/* ------------------------------------------------------ HEADER --------------------------------------------------*/
.hidden {
    display: none!important;
}
header {
    position: sticky;
    top: 0;
    z-index: 10;
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 5rem;
    background: rgba(113, 103, 100, 0.8);
    backdrop-filter: blur(12px); /* Adds blur effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
}
.logo-cs {
    font-size: 1.8rem !important;
    font-weight:bold;
    font-style:italic;
    letter-spacing: .04rem;
    margin-right: 4px;
}
.terror{
    color:var(--terror);
}
.counter{
    color:var(--counter);
}
.logo {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .05rem;
    color: var(--white-bis);
}
.logo-com {
    font-size: .75rem;
    color: var(--grey-light);
}
.header-links-container{
    display:flex;
    flex-direction:row;
    gap:0rem;
}
.header-link {
    cursor: pointer;
    padding: 1.3rem 0;
    display: grid;
}
    .header-link:hover {
        background-color: rgba(0,0,0,0.1);
    }
    .header-link:focus {
        color: rgba(0, 224, 255, 1);
    }
    .header-link:active {
        color: rgba(0, 224, 255, 1);
    }
.header-link-active {
    color: rgba(0, 224, 255, 1);
}
.header-link-button {
    padding: 0 1.5rem;
    font-weight: 400;
    font-size: 1.3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .3rem;
    letter-spacing: .05rem;
    background-color: transparent;
    
    color: inherit;
}
.header-middle-button {
    border-left: 1px solid white; /* Left border */
    border-right: 1px solid white; /* Right border */
}
.button{
    cursor:pointer;
}
.login-button {
    background-color: rgba(0,0,0,0.25);
    color: white; /* White text */
    padding: 0.5rem 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    box-shadow: none; /* Remove shadow */
    border-radius: 3px; /* Keeps it squared */
}
    .login-button:hover {
        background-color: rgba(0, 200, 255, 0.2); 
        color: rgba(0, 224, 255, 1); /* Blue text on hover */
        transform: translateY(-1px); /* Button sinks slightly on click */
    }

    .login-button:active {
        transform: translateY(1px); /* Button sinks slightly on click */
    }


.steam-logo {
    font-size: 1.85rem;
    color: inherit;
}

/* ------------------------------------------------------ MAIN --------------------------------------------------*/
.main-header {
    position: fixed;
    z-index: 1000;
    top: 4.2rem;
    padding: .7rem 0rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    background: rgba(70, 62, 61, 0.85);
    backdrop-filter: blur(12px); /* Adds blur effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
}
.main-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.main-button {
    background-color: transparent;
    color: white; /* White text */
    padding: 0.5rem 0.6rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing:0.055rem;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease; /* Smooth transition */
    box-shadow: none; /* Remove shadow */
    border-radius: 3px; /* Keeps it squared */
}
    .main-button:hover {
        background-color: rgba(0,0,0,0.15)!important;
    }
    .main-button:active {
        background-color: rgba(0, 200, 255, 0.2);
        color: rgba(0, 224, 255, 1);
    }
    .main-button:focus {
        background-color: rgba(0, 200, 255, 0.2);
        color: rgba(0, 224, 255, 1);
    }
    .main-button.active {
    background-color: rgba(0, 200, 255, 0.2);
    color: rgba(0, 224, 255, 1);
    }
.main-button-span{
    color: inherit;
}
main {
    min-height: 100vh;
    background: rgba(113, 103, 100, 0.8);
    backdrop-filter: blur(12px); /* Adds blur effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    justify-items: center;
    align-items: baseline;
    display: grid;
}
.containers-container {
    padding: 9.3rem 0rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 26px;
    row-gap: 46px!important;
    max-width: 1126px;
}
.item-container {
    width: 166px;
    height: 145px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}
    .item-container.hide {
        display: none;
    }
.item-img-container {
    position: absolute;
    width: 100%;
    height: 85%;
    overflow: hidden;
}
.item-image {
    max-width: 95%;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
}
.item-bg {
    box-shadow: inset 0px 0px 2px #444;
    width: 100%;
    height: 85%;
    background: linear-gradient(#555, #777, #999);
}
.item-border {
    position: absolute;
    width: 100%;
    height: 0px;
    border-bottom: 5px solid #b1c4d9;
    opacity: 1;
}
.item-base-grade {
    border-color: #b1c4d9;
}
.item-industrial-grade {
    border-color: #5e98d9
}
.item-mil-spec-grade {
    border-color: #4b69ff
}
.item-restricted-grade {
    border-color: #8847ff
}
.item-classified-grade {
    border-color: #d32ce6
}
.item-covert-grade {
    border-color: #eb4b4b
}
.item-gold {
    border-color: #ffd700
}
.item-name-container {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
}
.item-name {
    font-size: .8rem;
    font-weight: bold;
    line-height: 1rem;
}
.collection-img-container {
    width: 100%!important;
}
.collection-img-container img{
    max-width: 150px;
    max-height: 120px;
    left: 0 !important;
}

.shadow-animate {
    transition: box-shadow 0.2s ease-in-out, filter 0.2s ease-in-out;
}

    .shadow-animate:hover {
        -webkit-box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.3);
        box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.3);
    }

/* ------------------------------------------------------ CONTAINER --------------------------------------------------*/
.container-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    margin-top: 1rem;
}

.container-title {
    font-size: 2.25rem;
    font-weight: 500;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.container-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    z-index: 10;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.container-img {
    margin-top: 1rem;
    max-width: min(90vw, 600px);
}

.container-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background: rgba(113, 103, 100, 0.8);
    backdrop-filter: blur(12px);
    padding: 0 4rem;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    transition: backdrop-filter 0.3s ease, background 0.3s ease;
    z-index: 10;
}
.container-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-justify-content: center;
    width: 100%;
}
.open-to-receive-text {
    font-size: 1.2rem;
    margin: .8rem;
    text-align:center;
}
.hr-container {
    height: 0;
    border: none;
    border-top: 1px solid currentColor;
    opacity: 0.3;
    padding-left: 5rem;
    padding-right: 5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.container-items {
    max-height: 25rem;
    overflow-y: auto; 
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    row-gap: 2.3rem;
    padding: 1rem .5rem 2.5rem 0.5rem;
    margin: 1px 0;
    justify-content: flex-start;
}
.scroll-container {
    scrollbar-width:thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    scrollbar-highlight-color: rgba(255, 255, 255, 0.5) transparent;
}
    .scroll-container::-webkit-scrollbar-button {
        display: none;
    }
    .scroll-container::-webkit-scrollbar {
        width: 8px; 
    }

    .scroll-container::-webkit-scrollbar-track {
        background-color: transparent; 
    }
    .scroll-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        border: 1px solid transparent;
    }
    .scroll-container::-webkit-scrollbar-thumb:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }


.item {
    width: 150px;
    height: 130px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

.glow-effect {
    background: radial-gradient(circle, rgba(255, 255, 150, 1) 0%, rgba(255, 200, 0, 0.8) 20%, rgba(200, 180, 0, 0.5) 50%, rgba(100, 100, 0, 0.1) 100%), conic-gradient( rgba(255, 255, 100, 0.8) 0deg, rgba(255, 200, 0, 0.5) 90deg, rgba(255, 150, 0, 0.2) 180deg, rgba(255, 200, 0, 0.5) 270deg, rgba(255, 255, 100, 0.8) 360deg );
    filter: blur(15px);
    border-radius: 10%;
    position: relative;
    overflow:hidden;
}

.container-item-name {
    margin-top: -2px;
    font-size: .74rem;
    font-weight: bold;
    line-height: 1rem;
}
.item-skin-name {
    font-size: .7rem;
}
.container-bottom-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: .5rem 0;
}
.container-buttons {
    display: flex;
    flex-direction: row;
}
.font-bold {
    font-weight: bold;
}
.bottom-width {
    width: 60rem;
}
.bottom-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: white;
}
.container-key {
    display: flex;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 1rem;
}
.container-key-image {
    height: 70px;
    min-width: 90px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

.container-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    -webkit-align-items: center;
    align-items: center;

}
.split-buttons {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    display: inline;
    height: 4rem; 
    width: 1px; 
    background-color: rgba(255, 255, 255, 0.5); 
}

.open-button {
    width: 180px;
    height: 45px;
    background-color: #109e59;
    color: white;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 900;
    font-size: 1.2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

    .open-button:hover {
        background-color: #15b869;
    }

.retry-button {
    width: 90px!important;
}

.close-button {
    background:none;
    width: 90px;
    height: 45px;
    color: white;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 900;
    font-size: 1.2rem;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
    overflow: hidden;
    position: relative;
}

    .close-button:hover {
        background-color: rgba(255, 255, 255, 0.15); /* hover:bg-neutral-500/50 */
    }

.collapsible {
    overflow: hidden;
    transition: height 0.3s ease;
}

.collapsing {
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.clear-background {
    background: 0;
    backdrop-filter:blur(0px);
}

.container-dialog {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    align-content: center;
    transition: backdrop-filter 0.3s ease, background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.roulette-wrapper {
    position: absolute;
    align-content: center;
    width: 1000px;
    height: 500px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;
    
    margin: auto;
    -webkit-mask-image: linear-gradient(to left, #fff0 0%, #000 10%, #000 90%, #fff0 100%);
    transition: transform 0.2s ease;
}
.roulette {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 175px;
}
.roulette-indicator {
    height: 175px;
    left: 50%;
    position: absolute;
    top: 32%;
    border-right: 1px solid #b0b13f;
    border-left: 1px solid #b0b13f;
    margin: auto;
    z-index: 3;
}
.roulette-item {
    width: 192px;
    height: 166px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    margin-left:10px;
}
.roulette-item-bg {
    width: 100%;
    height: 85%;
    background: radial-gradient(ellipse, #999 0%, rgba(120, 120, 120, 0.8) 60%);
}
.zoom {
    -webkit-clip-path: circle(25% at 50% 50%);
    clip-path: circle(25% at 50% 50%);
    transform: scale(1.2);
    z-index: 3;
    background: #0004;
}
.roulette-hole {
    -webkit-mask-image: radial-gradient(circle closest-side, #fff0 230px, #000 240px);
}
.roultte-hole-items {
    -webkit-filter: brightness(75%) blur(2px);
    filter: brightness(75%) blur(2px);
}

.won-item-wrapper {
    justify-items: center;
}

.won-item-name {
    font-weight:600;
    font-size:1.8rem;
    padding-bottom: 0rem;
    margin-bottom: 0rem;
    width: 100%;
    position: relative;
    max-width: 90vw;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.won-item-wear-name {
    font-size: 1.2rem;
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.won-item-image{
    
}

.won-item-name-container {
    display: flex;
    flex-direction: column;
    
}

.won-item-container {
    display: flex;
    align-items: center;
    gap:0.5rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
}

.container-small {
    height: 65px;
}
/* ------------------------------------------------------ Home Buy/Open buttons --------------------------------------------------*/
.case-options {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1rem;
    border-radius: 8px;
    z-index: 20;
    box-shadow: 0 0 10px #000;
}

.case-action {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .case-action.open {
        background-color: #4caf50;
        color: white;
    }

    .case-action.buy {
        background-color: #1c293b;
        color: white;
    }

        .case-action.buy:hover {
            background-color: #0e1a2a;
        }


.tools-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left:1.0rem;
    z-index:100000;
    opacity:0.8;
}
.tool {
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease; /* Smooth transition */
}
    .tool:hover {
        background-color: rgba(0,0,0,0.25) !important;
    }

/* ------------------------------------------------------ CONTACT --------------------------------------------------*/


/* ------------------------------------------------------ RESPONSIVE --------------------------------------------------*/
@media (max-width: 1260px) {
    .containers-container {
        max-width: 934px;
    }
    .bottom-width {
        width: 50rem;
    }
    .container-items {
        max-height: 20rem;
    }

   
}
@media (max-width: 1000px) {
    .containers-container {
        max-width: 744px;
    }

    .bottom-width {
        width: 86vw ;
    }
    .header-links-container {
        order: 3;
        width: 100%;
        justify-content: center;
        display: flex;
        justify-content: space-evenly;
    }
    .header-middle-button {
        justify-content: center;
        width: 100%;
    }
    .header-link {
        justify-items: center;
        width: 100%;
    }
    header {
        flex-wrap: wrap;
        padding:0;
    }
    .header-margin {
        margin: 1rem;
    }
    .main-header {
        top: 9rem;
    }
    .bottom-text {
        font-size: 1.02rem;
    }
}

@media (max-width: 850px) {
    .containers-container {
        max-width: 550px;
    }
    

    .main-title {
        font-size: 1.8rem;
    }

    .bottom-width {
        width: 80vw;
    }
    .bottom-text {
        font-size: .9rem;
    }
    .open-button {
        width: 145px;
        height: 35px;
        font-size: 1rem;
    }
    .close-button {
        width: 70px;
        height: 35px;
        font-size: 1rem;
    }
    .split-buttons {
        height: 3rem;
    }
    .container-buttons {
        gap: .5rem;
    }

    .won-item-name {
        font-size:1.8rem;
    }
    .container-key-image {
        height: 50px;
        min-width: 64px;
    }
}
@media (max-width: 750px) {
    .open-button {
        width: 120px;
        height: 30px;
        font-size: .8rem;
    }
    .retry-button {
        width: 60px!important;
    }
    .split-buttons {
        height: 3rem;
    }
    .close-button {
        width: 60px;
        height: 30px;
        font-size: .8rem;
    }
}
@media (max-width: 700px) {
    .main-title {
        font-size: 1.5rem;
    }
    .main-header {
        padding: .8rem 0rem;
    }
    .header-link-button {
        padding: 0 1.2rem;
    }

    .won-item-name {
        font-size: 1.7rem;
    }
    .won-item-wear-name {
        font-size: 1.1rem;
    }
    .container-key-image{
        display:none;
    }
    .bottom-text {
        font-size: 0;
    }
    .container-bottom {
        padding: 0 3rem;
    }
    
}
@media (max-width: 650px) {
    .header-link-button {
        padding: 0 .7rem;
    }
    .main-buttons-container {
        gap: .4rem;
    }
    .main-button {
        padding: 0.5rem 0.6rem;
        font-size: .8rem;
    }
    
    .main-title {
        font-size: 1.3rem;
    }


    /*.container-items {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-direction: row;
        flex-wrap: nowrap;
        box-sizing: border-box;
    }
        .container-items > * {
            flex: 0 0 auto; 
        }*/

    .won-item-name {
        font-size: 1.5rem;
    }
    .won-item-wear-name {
        font-size: 1rem;
    }
    .container-bottom {
        padding: 0 2.5rem;
    }
}
@media (max-width: 600px) {
    .containers-container {
        max-width: 443px;
        padding: 7.5rem 0;
    }

    .header-link-button {
        font-size:1rem;
    }
    .main-header {
        top: 8.6rem;
    }
    .item-container {
        width: 130px;
        height: 114px;
    }
    .item-name {
        font-size: .75rem;
    }
    .container-bottom {
        padding: 0 2rem;
    }
    .container-items {
        max-height: 15rem;
        justify-content: center;
        gap: 1rem;
        row-gap: 2rem;
    }
    .won-item-name {
        font-size: 1.3rem;
    }
    .won-item-wear-name {
        font-size: .95rem;
    }

}
@media (max-width: 550px) {
    
    .main-title {
        font-size: 1.2rem;
    }
    .main-buttons-container {
        gap: .3rem;
    }
    .main-button {
        padding: 0.4rem 0.5rem;
        font-size: .7rem;
    }
    
    .container-bottom {
        padding: 0 1.5rem;
    }
    .won-item-name {
        font-size: 1.15rem;
    }
    .won-item-wear-name {
        font-size: .85rem;
    }
}
@media (max-width: 500px) {
    .header-link {
        padding: 1.1rem 0;
    }
    .login-button {
        font-size: .8rem;
        gap: 0.25rem;
        padding: 0.35rem 0.35rem;
    }
    .main-title {
        font-size: 1.1rem;
    }
    .main-header {
        top: 8rem;
    }
    .main-button {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        row-gap: 1px;
    }
    .main-buttons-container {
        gap: 1rem;
    }
    .item-container {
        
    }
    .item-name {
        font-size: .7rem;
    }
    .containers-container {
        max-width: 426px;
        gap: 18px;
    }
    .container-bottom {
        padding: 0 1rem;
    }
    .container-title {
        font-size: 2rem;
    }
    .container-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 450px) {
    
    .header-link-button {
        padding: 0 .3em;
        font-size: .9rem;
    }
    .main-header {
        top: 7.8rem;
    }
    .main-title {
        font-size: 1rem;
    }
    .main-button {
       
    }
    .containers-container {
        max-width: 290px;
        gap: 30px;
    }
    .buy-on-button {
        font-size: .9rem;
    }
    
}
@media (max-width: 400px) {
    .logo{
        font-size:1rem;
    }
    .logo-com {
        font-size: .7rem;
    }
    .main-title {
        font-size: .95rem;
    }
    .main-buttons-container {
        gap: 0.4rem;
    }
    .main-header {
        padding: .9rem 0rem;
    }

    .containers-container {
        max-width: 285px;
        gap: 25px;
    }
    .item-container {
    }
    .item-name {
        font-size: .75rem;
    }
    .open-to-receive-text {
        font-size: 1rem;
    }
    .container-items {
        max-height: 11rem;
    }
    .won-item-name {
        font-size: 1.05rem;
    }
    .won-item-wear-name {
        font-size: .75rem;
    }
    
}
@media (max-width: 375px) {
    .main-title {
        font-size: .85rem;
    }
    .main-button {
        padding: 0.35rem 0.45rem;
    }

    .main-buttons-container {
        gap: 0.35rem;
    }

}
@media (max-width: 355px) {
    .main-title {
        font-size: .8rem;
        font-weight: 500;
    }

    .main-button {
        font-size:0.65rem;
        padding: 0.3rem 0.4rem;
    }

    .main-buttons-container {
        gap: 0.3rem;
    }
}
@media (max-height: 800px) {
    .container-items {
        max-height: 13rem;
    }
    .container-title {
        font-size: 2rem;
    }
    .container-subtitle {
        font-size: 1.1rem;
    }
}
@media (max-height: 600px) {
    .container-title {
        font-size: 1.7rem;
    }

    .container-subtitle {
        font-size: 1rem;
    }
}