@import url(https://db.onlinewebfonts.com/c/4f6fb2fa3c231278167b36e966718cbb?family=Uni+Sans+Heavy+Regular);
@font-face {
    font-family: 'adl';
    src: url('../fonts/adelia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Tourney";
    src: url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.eot");
    src: url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/4bdc5c5c2b7a174ab043093775360d9e.svg#Tourney")format("svg");
}



@font-face {
    font-family: "Uni Sans Heavy Regular";
    src: url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.eot");
    src: url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/4f6fb2fa3c231278167b36e966718cbb.svg#Uni Sans Heavy Regular")format("svg");
}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000000;
}

body ::-webkit-scrollbar {
    display: none;
}

body > header,
body > main,
body > footer {
    width: 100%;
}

header {
    background-color: #000000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 60px;
}

.main-nav {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.logo {
    justify-self: start;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    /*font-weight: 500;*/
    font-family: 'Tourney', sans-serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-self: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.880rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: .04em;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Active navigation link styling */
.nav-links a.active {
    color: #ffffff;
    position: relative;
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.app-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
    transition: color 0.3s ease;
    margin-right: 0.5rem;
}

.app-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.login-button {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
    transition: color 0.3s ease;
    margin-right: 0.5rem;
}

.login-button:hover {
    color: rgba(255, 255, 255, 0.7);
}

.profile-container {
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.profile-icon {
    width: 25px;
    height: 25px;
    fill: white;
    background: transparent;
    pointer-events: none;
}

.app-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.app-icon {
    width: 20px;
    height: 20px;
    fill: white;
    transition: opacity 0.3s ease;
}

.app-icon:hover {
    opacity: 0.7;
}

.download-button {
    background-color: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.download-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 4px 0;
    transition: transform 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.75rem 2rem;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Active mobile navigation link styling */
.mobile-nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    border-left: 3px solid #ffffff;
}

.profile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 4rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 0;
    min-width: 280px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1001;
    flex-direction: column;
    pointer-events: auto;
}

.profile-info {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.user-name {
    color: white;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.user-email {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
    font-size: 0.875rem;
}

.profile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
    transition: background-color 0.2s ease;
}

.profile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.settings-link {
    color: white;
}

.logout-link {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-link::after {
    content: '→';
    font-size: 1.2em;
    line-height: 1;
}

.profile-menu.active,
.mobile-nav.active {
    display: flex;
}

.profile-menu.active {
    display: flex !important;
}

@media screen and (max-width: 768px) {
    .main-nav {
        padding: 0 1.5rem;
        display: flex;
        justify-content: space-between;
    }
    
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-right {
        margin-right: 1rem;
    }

    .hamburger.active .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    main {
        margin-top: 60px;
        padding: 0 1.5rem;
    }

    footer {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    footer nav {
        gap: 1rem;
    }

    .profile-menu {
        right: 1.5rem;
        min-width: 260px;
    }
}

.side-panel {
position: fixed;
            left: -100%;
            top: 70px;
            flex-direction: column;
 background-color: rgba(41, 40, 40, 0.2); /* Optional: semi-transparent background */
  backdrop-filter: blur(10px); /* Adjust blur radius as needed */
            width: 100%;
            height: 100vh;
            text-align: center;
            transition: 0.3s ease-in-out;
            padding-top: 40px;
            list-style: none;
            margin: 0;
    z-index: 1001;

}

.profile-panel {
position: fixed;
            right: -100%;
            top: 70px;
            flex-direction: column;
 background-color: rgba(41, 40, 40, 0.2); /* Optional: semi-transparent background */
  backdrop-filter: blur(10px); /* Adjust blur radius as needed */
            width: 100%;
            height: 100vh;
            text-align: center;
            transition: 0.3s ease-in-out;
            padding-top: 40px;
            list-style: none;
            margin: 0;
    z-index: 1001;
}

.side-panel.active {
    left: 0;
}

.profile-panel.active {
    right: 0;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.side-panel ul, .profile-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-panel li, .profile-panel li {
    padding: 10px;
}

.side-panel a, .profile-panel a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Uni Sans Heavy Regular', 'Uni Sans', sans-serif;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    color: white;
    width: 150px;
    display: none;
    border-radius: 5px;
    border: 1px solid #252424;
    background-color: #000000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.profile-dropdown a:hover {
    background: #575757;
}

/* Show dropdown when active */
.profile-dropdown.active {
    display: block;
}



main {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
main > div {
    color: white;
}


#layout {
    display: grid;
    grid-auto-flow: row;
    place-items: center;
    place-content: flex-start;
    /*height: 100vh;*/
    min-height: 80vh;
    place-self: center;
}

#layout > #head {
        padding: 40px;
    font-weight: bold;
    color: white;
    font-family: 'adl', cursive;
    text-align: center;

}

#tail {
    place-items: center;
    place-self: center;
    place-content: center;
    text-align: center;
}



fieldset {
    border-top: 1px solid #252424;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    text-align: center;
    width: 70vw;
    padding: 40px;
    /*margin-top: 80px;*/
    /*margin-bottom: 80px;*/
    display: grid;
    grid-auto-flow: row;
    place-items: center;
    place-content: center;

}
legend {
    padding: 40px;
    font-weight: bold;
    color: white;
    font-family: 'adl', cursive;
}



footer {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

footer nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: white;
}




/*utilities*/

.neomorphic-button {
    font-size: 1rem;
    color: white;
    background-color: #000000;
    font-family: 'Uni Sans Heavy Regular', cursive;
    padding: 10px 30px 10px 30px;
    margin: 2em;
    border-radius: 50px;
    box-shadow:
            4px 4px 12px rgba(50, 44, 44, 0.78),
            -4px -4px 12px rgba(221, 220, 220, 0.37);
}

@media screen and (max-width: 768px) {
body > header,
body > main,
body > footer {
    width: auto;
}

    footer nav {
    gap: 1rem;
}




    fieldset {

    width: auto;


}



}

header > nav > div {
    padding-left: 20px;
    padding-right: 20px;
}

.button-neomorphic {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background-color: #000000;
    font-family: 'Uni Sans Heavy Regular', cursive;
    padding: 10px 30px 10px 30px;
    margin: 1em;
    border-radius: 50px;
    box-shadow:
            4px 4px 12px rgba(50, 44, 44, 0.78),
            -4px -4px 12px rgba(221, 220, 220, 0.37);
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

.button-neomorphic:active {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background-color: #000000;
    font-family: 'Uni Sans Heavy Regular', cursive;
    padding: 10px 30px 10px 30px;
    margin: 1em;
    border-radius: 50px;
    box-shadow:
            4px 4px 12px rgba(50, 44, 44, 0.78),
            -4px -4px 12px rgba(221, 220, 220, 0.37);

        border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}