@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    background-color: #010010;
    font-family: "Playfair Display", serif;
}

body {
    position: relative;
    overflow-x: hidden;
}

p {
    color: #ffffff;
}

#canvas {
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    z-index: 0;
}

.nexus-page {
    position: relative;
    z-index: 2;
}

.logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 120px;
    width: auto;
    position: relative;
    z-index: -1;
}

.construction {
    width: 70% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: #010010;
    background-blend-mode: multiply;
}

.zine-box {
    height: 350px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    justify-content: center;
    text-align: center;
}

.zine-box img.mreza {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.main-header {
    font-weight: bold;
    background: -webkit-linear-gradient(#5e6fa5, #eee, #44ce9b);
    background: linear-gradient(#5e6fa5, #eee, #44ce9b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 2%;
    font-size: 4em;
    position: relative;
}

.main-header-2 {
    font-weight: bold;
    background: -webkit-linear-gradient(#5e6fa5, #eee, #44ce9b);
    background: linear-gradient(#5e6fa5, #eee, #44ce9b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 2%;
    font-size: 2em;
    position: relative;
}

a {
    text-decoration: none;
}

.tags {
    color: white;
    text-align: center;
    margin-top: 2%;
    margin-bottom: 2%;
}

.box {
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #5e6fa5, #eee, #44ce9b) 1 stretch;
    text-align: center;
    font-size: 2em;
    z-index: 10;
    background-color: #010010;
    margin-bottom: 10px;
    cursor: pointer;
}

.box:hover {
    filter: grayscale(100%);
}

.box img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #010010;
}

::-webkit-scrollbar-thumb {
    background: #5e6fa5;
}

::-webkit-scrollbar-thumb:hover {
    background: #44ce9b;
}

.navbar {
    background-color: transparent;
    z-index: 100;
    position: relative;
    margin-bottom: 1rem;
}

.navbar-toggler {
    border: none;
    background: none;
    padding: 0.5rem;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    background-image: none !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.nav-link.nav-gradient {
    font-family: "Playfair Display", serif;
    font-size: 1.5em;
    font-weight: 700;
    background: linear-gradient(#5e6fa5, #eee, #44ce9b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    margin: 0 1rem;
    text-align: center;
}

.navbar-nav {
    flex-direction: row;
    text-align: center;
}

.navbar-nav-wrapper {
    height: 100%;
    padding: 0 1rem;
}

.navbar-nav-wrapper a {
    white-space: nowrap;
}

.custom-navbar-links {
    max-width: 1000px;
    padding: 0 1rem;
}

.custom-left-link,
.custom-right-link {
    flex: 1;
    min-width: 100px;
}

.custom-center-link {
    flex-shrink: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.minmarg {
    margin-top: -1% !important;
}

.intro-text-container {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.intro-text {
    color: #ffffff;
    font-weight: bold;
    margin: 0;
    text-align: justify;
}

.margtextnew {
    margin-left: 10%;
    margin-right: 10%;
}

.instr-button {
    position: relative;
    z-index: 10000;
}

.header {
    position: relative;
    z-index: 3;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .custom-navbar-links {
        flex-direction: column;
        align-items: center;
    }

    .custom-left-link,
    .custom-right-link,
    .custom-center-link {
        flex: none;
        margin: 0.3rem 0;
    }

    .box {
        margin-left: auto;
        margin-right: auto;
    }

    canvas#canvas {
        display: none !important;
    }

    .intro-text {
        text-align: left;
    }

    .margtextnew {
        margin-left: 0;
        margin-right: 0;
    }
}