body {
    margin: 0;
    padding: 0;
    font-family: 'Bebas Neue Regular', sans-serif;
}

.custom-background {
    background-color: #0e0e0e;
}

a, p, h1, h2, h3, h4, h5, h6 {
    font-size: 2em;
    text-transform: uppercase;
}

footer img {
    max-width: 30px;
}

/* Navigation section */
nav, footer {
    font-family: 'Bebas Neue Light';
    font-size: 2em;
    background-color: #0e0e0e;
    letter-spacing: 2px;
}

.language-toggler-ru {
    height: 32px;
    width: 82px;
    content: '';
    background-image: url(../image/icons/lang-toggler.webp);
    background-position: 0 -32px;
}

.language-toggler-en {
    height: 32px;
    width: 82px;
    content: '';
    background-image: url(../image/icons/lang-toggler.webp);
    background-position: 0 0;
}

.logo {
    height: 40px;
}

/* end Navigation Section */
/* Header section */
header {
    background-color: #0e0e0e;
    color: #ffffff;
}

header img {
    padding: 1%;
    max-width: 100%;
}

.portfolio img {
    padding: 1%;
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.portfolio img:hover {
    filter: grayscale(0%)
}

header .name {
    font-family: 'Bebas Neue Regular';
    font-size: 7em;
    font-weight: 400;
    font-stretch: 10%;
}

header .story {
    font-family: 'Bebas Neue Light';
    font-size: 1.5em;
    font-weight: 100;
    letter-spacing: 2px;
}

/* end of Header section */
/* Slider section */
.custom-vertical-text {
    margin: auto;
    font-family: 'Bebas Neue Bold';
    font-weight: 400;
    writing-mode: vertical-rl;
    transform: scale(-1);
    text-align: center;
}

/* end of Slider section */
/** Projects fill **/
/* Portfolio section */
.portfolio h2 {
    font-family: 'Bebas Neue Regular';
    font-size: 4em;
}

.portfolio p {
    font-family: 'Bebas Neue Light';
    font-size: 2em;
    letter-spacing: 2px;
}

.navbar-toggler-icon {
    width: 1em;
    height: 1em;
}

/* end of Portfolio section */
footer .links {
    vertical-align: middle;
}

/** end of Projects file **/
/*** Media query ***/
/*xsm*/
@media screen and (max-width: 576px) {
    header .name {
        font-size: 3em;
        text-transform: none;
    }

    header .short-name {
        opacity: 0.7;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1.2em;
    }

    .signature {
        font-family: 'Delight Mother' !important;
    }
}

/*sm*/
@media screen and (min-width: 576px) and (max-width: 768px) {
    header .name {
        font-size: 3em;
        text-transform: none;
    }

    header .short-name {
        opacity: 0.7;
    }

    .signature {
        font-family: 'Delight Mother' !important;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1.2em;
    }

    footer .links {
        font-size: 1rem;
    }
}

/*md*/
@media screen and (min-width: 768px) and (max-width: 992px) {
    header .name {
        font-size: 4em;
        text-transform: none;
    }

    header .short-name {
        opacity: 0.7;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1em;
    }

    footer .links {
        font-size: 1rem;
    }
}

/*lg*/
@media screen and (min-width: 992px) and (max-width: 1200px) {
    header .name {
        font-size: 5em;
        text-transform: none;
    }

    header .short-name {
        opacity: 0.7;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1.25em;
    }

    footer .links {
        font-size: 1rem;
    }
}

/*xl*/
@media screen and (min-width: 1200px) and (max-width: 1400px) {
    header .name {
        font-size: 6em;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2.5em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1.5em;
    }

    footer .links {
        font-size: 1rem;
    }
}

/*xxl*/
@media screen and (min-width: 1400px) {
    header .name {
        font-size: 6em;
    }

    .portfolio h2 {
        font-family: 'Bebas Neue Bold';
        font-size: 2.5em;
    }

    .portfolio p {
        font-family: 'Bebas Neue Light';
        font-size: 1.5em;
    }

    footer .links {
        font-size: 1rem;
    }
}

/*** end of Media query ***/

/* Insta section */
#insta img {
    height: auto;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

#insta img:hover {
    transform: scale(1.1);
}

.instagram-background {
    background-color: #0e0e0e;
    color: #ffffff;
}

/* end Insta Section */


/* Navbar */
.bar1, .bar2, .bar3 {
    width: 20px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.55);
    margin: 3px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translateY(5px) rotate(-45deg);
    width: 20px;
}

.change .bar2 {
    transform: translateX(-40px) rotate(120deg);
    opacity: 0;
    width: 0;
}

.change .bar3 {
    transform: translateY(-5px) rotate(45deg);
    width: 20px;
}

/* end Navbar */


/* Scroll-top-button */

.scroll-top-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    cursor: pointer;
}

.triangles-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #333;
    display: inline-block;
    margin: 5px 0;
}

.triangle:nth-child(1) {
    animation: scrollAnimation 1s infinite 0.4s;
}

.triangle:nth-child(2) {
    animation: scrollAnimation 1s infinite 0.2s;
}

.triangle:nth-child(3) {
    animation: scrollAnimation 1s infinite 0s;
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* end Navbar */


/* Contact Pulse Animation */

.contact-pulse {
    transform: scale(1);
}

.contact-pulse:hover {
    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .contact-pulse {
        animation: contactPulseMobile 2s infinite;
    }

    @keyframes contactPulseMobile {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }
}

/* end Contact Pulse Animation */

.overflow-hidden {
    overflow-x: hidden;
}

.unp-text {
    display: inline;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    opacity: 0.5;
}

.unp-text:hover {
    opacity: 1;
    cursor: pointer;
}

.text-justify {
    text-align: justify;
}

.button-like {
    cursor: pointer;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: border-color 0.3s, cursor 0.3s;
}

.button-like:hover {
    border-color: black;
    border-radius: 15px;
    cursor: pointer;
}