:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #0C0C0C;
    --first-color-light: #ffffff;
    --white-color: #000000;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}

*,
::before,
::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

a {
    text-decoration: none
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: #A1A1A1;
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: 100
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    background-color: #101010;
    margin-bottom: 0.5rem;
    transition: .3s;
    border-radius: 10px;
}

.nav_link:hover {
    color: white
}

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #1D1D1D;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}

.text-center {
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 95%;
        height: auto;
        max-height: none;
        padding: 15px;
    }

    h2 {
        font-size: 24px; /* Adjust title size */
    }

    p, ul {
        font-size: 16px;
        color: #717171; 
        margin: 0; 
    }

    ul {
        padding-left: 0;
        list-style: none;
    }
}
.active {
    color: white;
    background-color: #1D1D1D; /* Add a dark background for active links */
    font-weight: 700; /* Bold the active link */
    border-radius: 10px; /* Add some border radius to match the button look */
    padding: 0.5rem 1rem; /* Adjust padding to make it look more like a button */
    display: flex; /* Flexbox for centering content */
    align-items: center; /* Vertically center content */
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* Optional shadow effect */
}

.active::before {
    content: '';
    position: absolute;
    color: white;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 100%; /* Full height of the link */
    background-color: #1D1D1D; /* Use your primary color */
    border-radius: 10px 0 0 10px; /* Round the edges */
}

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

    .header_img img {
        width: 45px
    }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }

    .show {
        width: calc(var(--nav-width) + 180px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    } 
}

/* Custom container widths */
@media (min-width: 1400px) {
    .container, .container-lg, .container-xl {
        max-width: 1200px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-xl {
        max-width: 1000px;
    }
}

@media (min-width: 992px) {
    .container, .container-lg {
        max-width: 800px; 
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 600px; 
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 1920px; 
    }
}

.btn3d {
	position: relative;
	top: -9px;
	border: 0;
	transition: all 40ms linear;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 2px;
	margin-right: 2px;
}

.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
	-moz-outline-style: none;
	outline: medium none;
}

.btn3d:active,
.btn3d.active {
	top: 2px;
}

.btn3d.btn-success {
    box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 2px 0 0 #417fbd, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle, #2E9EFF, #005198);
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
}

.btn3d.btn-success:active,
.btn3d.btn-success.active {
    box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle, #2E9EFF, #005198);
}

.btn3d.btn-warning {
    box-shadow: 0 0 0 1px #C0A830 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 2px 0 0 #C0A830, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle, #FBE852, #F6C349);
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
}

.btn3d.btn-warning:active,
.btn3d.btn-warning.active {
    box-shadow: 0 0 0 1px #C0A830 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle, #FBE852, #F6C349);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .col-md-4 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }

@media screen and (max-width: 768px) {
    .coin {
        height: 130px;
        left: 280px;
        top: 135px;
    }
    
}

@media screen and (max-width: 375px) {
    .coin {
        height: 130px;
        left: 220px;
        top: 135px;
    }
    
}

.rubik{
    font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-style: normal;
}