@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    src: url('/static/fonts/Poppins-Regular.woff2') format('woff2'),
       url('/static/fonts/Poppins-Regular.woff') format('woff'),
       url('/static/fonts/Poppins-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: normal;
    src: url('/static/fonts/Poppins-Bold.woff2') format('woff2'),
       url('/static/fonts/Poppins-Bold.woff') format('woff'),
       url('/static/fonts/Poppins-Bold.ttf') format('truetype');
    font-display: swap;
}

/*:root {*/
/*    font-family: "Poppins", "Times New Roman", sans-serif;*/
/*    font-size: 16px;*/
/*    box-sizing: border-box;*/
/*    --background-color: rgb(0, 0, 0);*/
/*    --text-color: #d9d7e1;*/
/*    --base-border-color: #3c3c3f;*/
/*    --second-border-color: #2c2c2f;*/
/*    --second-color: #0c0c0f;*/
/*    --button-color: #23fff2;*/
/*    --content-width: 1400px;*/
/*}*/

/** {*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background-color: var(--background-color);*/
/*}*/

/*header {*/
/*    height: 90px;*/
/*    width: 100%;*/
/*    border-bottom: 1px solid rgba(0, 0, 0, 0.4);*/
/*    position: relative;*/
/*}*/

/*header:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    height: 1px;*/
/*    background: linear-gradient(91.2deg, #2dffb5 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);*/
/*}*/

/*nav {*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 15px 55px;*/
/*    font-size: 1.25rem;*/
/*}*/

/*nav img {*/
/*    height: 65px;*/
/*    aspect-ratio: 75 / 29;*/
/*}*/

nav a {
    display: block;
    text-decoration: none;
    color: white;
    height: 65px;
}

.account-block {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

.account-block a {
    height: auto;
}

.account-block > a:hover {
    color: var(--button-color);
    transition: 0.3s ease-in-out;
}

.login-link {
    text-decoration: none;
    font-size: 1.25rem;
    color: black;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    padding: 12px 25px;
    background: linear-gradient(91.2deg, #23fff2 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);
    border-radius: 12px;
}

.profile-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 100%;
    position: relative;
}

.profile-wrapper img {
    width: 50px;
    height: 50px;
}

.profile-wrapper a {
    height: auto;
}

.menu {
    min-width: 180px;
    padding-left: 0;
    list-style: none;
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--second-color);
    border: 2px solid var(--base-border-color);
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
}

.menu li {
    padding: 15px 15px;
    width: 100%;
    text-align: center;
    position: relative;
}

.menu li a {
    display: block;
    text-decoration: none;
}

.menu li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.menu li:hover {
    background-color: var(--base-border-color);
}

.menu-item-theme {
    display: none;
}

.menu-item-theme a {

}

.menu.opened {
    display: flex;
    animation-name: fadeInDown;
    animation-duration: 0.3s;
    z-index: 10;
}

.logout-button {
    cursor: pointer;
    font-size: 1.125rem;
    color: black;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    padding: 12px 25px;
    background: linear-gradient(91.2deg, #23fff2 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);
    transition: background 0.5s ease;
    background-size: 100% 100%;
    border-radius: 12px;
    width: 100%;
}

.logout-button:hover {
    background: linear-gradient(91.2deg, #00d1ff 8.77%, #ba8fff 54.81%, #ff8fa3 92.52%);
    background-size: 200% 200%;
}

#logout-item:hover {
    background: none;
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@media (max-width: 768px) {
    /*nav {*/
    /*    padding-left: 10px;*/
    /*    padding-right: 10px;*/
    /*}*/
    /*nav img, nav a {*/
    /*    height: 55px;*/
    /*}*/
    nav a {
        height: 55px;
    }
    .menu-item-theme {
        display: block;
    }
    .account-block > a {
        text-align: center;
        display: none;
    }
    .my-works {
        display: block!important;
    }
    .profile-wrapper img {
        width: 45px;
        height: 45px;
    }
    .menu {
        right: 50%;
        transform: translateX(-80%);
    }
    .login-link {
        display: block!important;
    }
    .generator-tem {
        display: none;
    }
}

@media (max-width: 550px) {
    /*header {*/
    /*    height: 80px;*/
    /*}*/
    .account-block {
        column-gap: 15px;
    }
    /*nav {*/
    /*    font-size: 1.125rem;*/
    /*    padding-top: 10px;*/
    /*    padding-bottom: 10px;*/
    /*}*/
    /*nav img, nav a {*/
    /*    height: 50px;*/
    /*}*/
    nav a {
        padding-left: 5px;
        height: 50px;
    }
    .login-link {
        font-size: 1.125rem;
        padding: 10px 20px;
    }
}

@media (max-width: 400px) {
    nav {
        font-size: 1.0625rem;
    }
}

.bread {
    width: 100%;
    height: auto;
    padding: 0 0 0 40px;
}

.bread ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.1875rem;
    padding-left: 0;
    margin-top: 25px;
    margin-bottom: 0;
}

.bread li:nth-child(n+2) {
    padding-left: 7px;
}

.bread li:nth-child(n+2):before {
    content: '→';
    color: white;
}

.bread-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    height: auto;
}

.bread a:hover {
    color: var(--button-color);
}

@media screen and (max-width: 768px) {
    .bread {
        padding: 0 0 0 15px;
    }
    .bread ul {
        font-size: 1.0625rem;
    }
}

.info-container {
    display: flex;
    background-color: #bb133c;
    color: rgba(255,255,255, 0.9);
    position: fixed;
    top: 10%;
    right: -1000px;
    padding: 12px;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    z-index: 30000;
    border-radius: 12px;
    transition: right 0.5s ease;
}

.info-container.show {
    right: 10px;
}

.info-container p {
    font-size: 1.25rem;
    margin: 0;
}

.info-container span {
    cursor: pointer;
    font-size: 1.5rem;
}

.error-label {
    color: #e81d4f!important;
}

.notification-link {
    text-decoration: none;
    color: rgba(255,255,255, 0.9);
    border-bottom: 1px solid rgba(255,255,255, 0.9);
}

.notification-link:hover {
    color: white;
    border-bottom: 1px solid white;
    transition: 0.4s;
}

@media screen and (max-width: 500px) {
    .info-container {
        min-width: 290px;
        width: 95%;
        column-gap: 10px;
    }

    .info-container p {
        font-size: 1.125rem;
    }
}