:root {
    /* CSS Variables */
    --card-bg-color: #fff;
    --accent-color: #f1c40f;

    --header-height: 520px;
    --card-width: 80%;

    --card-image-height: 512px;
    --primary-color: #e06548;
    --secondary-color: #ead662;
    --bg-color: #0d0c36;
    --accent-red-color: #cc4556;
    --accent-light-blue-color: #95aad6;
    --accent-yellow-color: #ead660;
    --accent-purple-color: #533777;
    --accent-green-color: #41724a;
}

body {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    background: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../bg.jpg) !Important;
    background: repeat;
    background-attachment: fixed;

}

/* Header styles */
header {

    font-family: 'Bebas Neue', sans-serif;
    padding: 0 0;
    height: 60px;
    width: 100%;
    opacity: 1;
    font-size: 20px;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

img.logo {
    width: 100%; height: auto;
    max-width: 400px; /* optional */
    text-align: center;
    margin-top: -140px;
    position: relative;
    z-index: 101;
}

.main-header {
    background-color: #333;
    height: var(--header-height) !important;
    width: 100%;
    background: url(../banneri_os.png) !Important;
    background-size: cover !important;
    background-position: center !important;

}

.centered-logo {
    text-align: center;
}

.card {
    background-color: var(--card-bg-color);
    width: var(--card-width);
    margin-top: -280px; /* Overlap effect */
    -webkit-box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.67);
    -moz-box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.67);
    box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.67);
    margin-bottom: 60px;
    position: relative;z-index: 100;
}

.image-header {
    background-size: cover;
    background-position: center;
    height: var(--card-image-height);
    width: 100%;
    position: relative;
}

.content {
    padding: 20px;
}

.columns {
    display: flex;
    justify-content: space-between;
}

ul {
    list-style-type: none;
    padding: 0;
}

.card-footer {
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
}

.nft-icons {
    position: absolute;
    bottom: 4px;
    left: 10px;
}

.nft-icons img {
    width: 20px;
    height: 20px;
    margin-right: 2px;
}

.icons {
    position: absolute;
    bottom: 6px;
    right: 20px;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-color);
}

a:visited {
    color: var(--accent-color);
}

a:active {
    color: var(--accent-color);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.nft-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 10px;
}

.nft-collection  {
    font-size: 14px;
    margin: 0;
}

.nft-subcollection {
    font-size: 12px;
    margin: 0;
}

.nft-description {
    font-size: 12px;
    margin: 10px 0 0;

}

.fa-folder {
    color: var(--accent-color);
    font-size: 12px;
    padding-right: 2px;
}

.fa-folder-tree {
    color: var(--accent-color);
    font-size: 10px;
    padding-left: 6px;
    padding-right: 2px;
}

.error {
    text-align: center !important;
}

.grid-container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
    padding: 10px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    font-size: 12px;
}

.item-image-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    height: 26px;
    font-size: 20px;
}

#section1 {
    position: relative;
    margin-top: -360px;
}

.input-group {
    display: flex;
    align-items: center;
}
.input-group * {
    margin: 5px;
}

#numberInput {
    width: 100%;
    padding: 10px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
   .main-header {
       background-size: contain !important;
       background-position: top !important;
       background-repeat: no-repeat !important;
       height: 380px !important;
   }
    #section1 {
        position: relative;
        margin-top: -20px;
        width: 40%;
    }
    .centered-logo {
        text-align: center;
        position: relative;
        top: -200px !important;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .main-header {
        background-size: contain !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        height: 460px !important;
    }
    #section1 {
        position: relative;
        margin-top: -70px;
        width: 30%;
    }
    .centered-logo {
        text-align: center;
        position: relative;
        top: -200px !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .main-header {
        background-size: contain !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        margin-top: -10px;
        padding-bottom: 30px;
        height: 480px !important;
    }
    #section1 {
        position: relative;
        margin-top: -130px;
        width: 30%;
    }
    .centered-logo {
        text-align: center;
        position: relative;
        top: -170px !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .main-header {
        background-size: contain !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        margin-top: -10px;
        padding-bottom: 30px;
    }
    .content {
        padding-top: 30px !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .main-header {
        background-size: contain !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        margin-top: -10px;
        padding-bottom: 30px;
        height: 570px !important;
    }
    #section1 {
        position: relative;
        margin-top: -240px;
        width: 30%;
    }
    .centered-logo {
        text-align: center;
        position: relative;
        top: -100px !important;
    }
    .content {
        padding-top: 50px !important;
    }
}

@media only screen and (min-width: 1400px) {
    .main-header {
        background-size: contain !important;
        background-position: top !important;
        background-repeat: no-repeat !important;
        margin-top: -10px;
        padding-bottom: 30px;
        height: 690px !important;
    }
}

