@import url('https://fonts.cdnfonts.com/css/helvetica-neue-5');

* {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;

    scroll-behavior: auto;
    box-sizing: border-box;
}
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, .active {
    background-color: var(--b);
    color: var(--g);
    font-weight: 700;
    font-size: 24px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

:root {
    --y: #ffe100;
    --g: #9eff00;
    --b: #000;
    --w: #fff;
}

.pageWrapper {
    width: 1440px;
    padding: 0 140px 0 140px;
}

a,
a:hover,
a:visited {
    cursor: pointer;
    text-decoration: none;
    text-decoration-color: none;
    color: var(--b);
}

header {
    background-color: var(--g);
    color: var(--b);
    display: flex;
    justify-content: center;
}

.s-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 60px;
    width: 100%;

    &.c {
        justify-content: center;
    }
}

footer {
    background-color: var(--g);
    color: var(--b);
    padding-top: 30px;
    padding-bottom: 30px;
    font-weight: 500;
    font-size: 18px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

.footer-copyright2 {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.2;
}

.footer-copyright,
.footer-trademark {
    font-size: 18px;
    line-height: 1.2;
}

.footer-middle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
}

.footer-link {
    color: var(--b);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-separator {
    font-weight: 700;
    opacity: 0.5;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.social-icon {
    color: var(--b);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;

    &:hover {
        color: var(--w);
        transform: scale(1.1);
    }
}

.footer-bottom {
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-credit-link {
    color: var(--b);
    font-weight: 600;
    &:hover {
        text-decoration: underline;
    }
}

.hd {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.fn {
    gap: 14px;
    display: grid;
}

.rightside {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-end;
}

.ltr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;

    &.mgb {
        gap: 40px;
    }

}

.poga {
    padding: 40px 20px;
    min-width: 180px;
    line-height: 1;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;

    font-size: 24px;
    font-weight: 900;
    line-height: 0.7;

    &.active {
        background-color: var(--b);
        color: var(--g);
    }

    &.disabled {
        color: #646464;
        &:hover {
            background-color: var(--g);
            color: #646464;
        }
    }

    &:hover {
        background-color: var(--b);
        color: var(--g);
    }
}

#hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 0 20px;
    height: 96.8px;
    gap: 10px;
}

#hamburger-menu div {
    display: block;
    width: 60px;
    height: 8px;
    position: relative;
    background: #000;
    z-index: 1;
}

.at {
    max-width: 442px;
    font-size: 18px;
    font-weight: 400;
    color: var(--b);
}

.ttb {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 12px;

    & .b {
        line-height: 1.2;
        background-color: var(--b);
        color: var(--g);
        padding: 10px;
        font-weight: 700;
        &:hover {
            background-color: var(--g);
            color: var(--b);
            text-decoration: underline;
        }
    }
    & .b_w {
        line-height: 1.2;
        background-color: var(--b);
        color: var(--g);
        padding: 10px;
        font-weight: 700;
        text-decoration: underline;
        &:hover {
            background-color: var(--w);
            color: var(--b);
        }
    }
}

#logo {
    background-image: url("/src/logo.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 64px;
    height: 64px;
}

.codeimg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    &.s {
        background-position: 80%;
    }

    &.pozorest {
        background-color: rgba(0,0,0,0.4);
        background-blend-mode: darken, luminosity;
    }
}

/* BLACK */
#black {
    padding-top: 0;
    padding-bottom: 40px;

    &.top {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    &.middle {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    &.bottom {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    &.one {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;

    & .h1 {
        font-size: 64px;
        font-weight: 900;
    }
}

.f {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.f_T {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 0.7;
}

.f_W {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 110px;
    line-height: 1.2;
    color: var(--w);
}

.bigcock {
    font-size: 512px;
    font-weight: 900;
    line-height: 0.69;
    width: 100%;
    text-align: right;
}

.hn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}



@media only screen and (max-width: 1454px) {
    .pageWrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        &.hn {
            flex-direction: row;
            justify-content: space-between;
        }
        &.hd {
           flex-direction: row; 
        }
        &.fn {
            align-items: flex-start;
        }
    }

    #hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .rightside {
        display: none; /* Hide the default nav container */
        position: absolute;
        top: 96.8px; /* Height of the header */
        left: 0;
        width: 100%;
        background-color: var(--g);
        flex-direction: column;
        padding: 0;

    }

    .rightside.show {
        display: flex;
        z-index: 4;
    }

    .rightside div {
        width: 100%;
    }
}

@media only screen and (max-width: 1054px) {
    .pageWrapper {
        padding: 0 50px;
        &.hn,
        &.fn,
        &.vn {
            padding: 0 50px;
        }
    }
    .footer-middle {
        flex-direction: column;
        align-content: flex-start;
        align-items: flex-start;
        gap: 10px;
    }
    #black {
        & .h1 {
            text-align: center;
        }
    }
    .ltr {
        justify-content: center;
    }
    .s-header {
        justify-content: center;
    }
}

@media only screen and (max-width: 576px) {
    .pageWrapper {
        padding: 0;
        &.hd {
            flex-direction: column;

            &.at {
                max-width: 100%;
                /*margin-bottom: 80px;*/
                padding: 0 20px 20px 20px;
            }
            &.ttb {
                align-items: stretch;
                width: 100%;
                padding: 20px 20px 0 20px;
                & .b {
                    height: 40px;
                    padding: 10px 20px;
                    text-align: center;
                }
            }
        }
    }
    .ttb {
        flex-direction: column;
        align-items: flex-start;
    }
}