/*@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap');*/

@keyframes transitionRight {
    0% {
        opacity: 0;
    }
    66% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 100%;
    }
}

@keyframes transitionBottom {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 100%;
    }
}

@keyframes transitionLeft {
    0% {
        opacity: 0;
    }
    66% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 100%;
    }
}

@keyframes transitionTop {
    0% {
        opacity: 0;
    }
    77% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 100%;
    }
}
@keyframes opacityBlend {
    0% {
        opacity: 0;
    }
    77% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

@keyframes bodyOpacity {
    0% {
        opacity: 100%;
        z-index: 10000;
    }
    100% {
        opacity: 0%;
    }
}

@keyframes helpUA {
    0% {
        opacity: 0;
    }
    66% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

@font-face {
    font-family: 'Kreadon';
    src: url('../fonts/Kreadon-L.otf');
    src: url('../fonts/Kreadon-M.otf');
    src: url('../fonts/Kreadon-D.otf');
    src: url('../fonts/Kreadon-B.otf');
    src: url('../fonts/Kreadon-EB.otf');
    src: url('../fonts/Kreadon-EL.otf');
    src: url('../fonts/Kreadon-L.otf');
    src: url('../fonts/Kreadon-R.otf');
}

html {
    scroll-behavior: smooth;
}

p, a {
    letter-spacing: 1px;
}
h1 {
    letter-spacing: 4px;
}
*, *::before, *::after {
    --landing-h1-text-size: 72px;
    --footer-division-width: 50%;
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body, button {
    font-family: 'Kreadon', sans-serif;
}

/*Landing: */

#landing-block {
    position: relative;
    margin: 0;
    width: 100%;
    background: linear-gradient(#120A20, rgba(24, 8, 30, 0.90), #1D061C);
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}
#landing-image-layer {
    z-index: -5000;
    position: absolute;
    background: url('../media/img/jpg/index/pexels-bob-clark-1135995.jpg') no-repeat;
    filter: grayscale(1);
    background-size: 100%;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}
.landing-consistence {
    margin-top: calc(var(--landing-h1-text-size) * -0.5);
    width: fit-content;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.buttons-landing button {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
}
.buttons-landing {
    margin-top: 48px;
    width: 100%;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    gap: 36px;
    animation: 2.8s ease-in-out 0s 1 transitionTop;
}
#see-further {
    color: white;
    background: #FF21F8;
    border: 0px;
    transition: 0.3s;
}
#see-about-btn {
    color: #1C081D;
    background: #CF69FF;
    border: 0px;
    transition: 0.3s;
}
#see-about-btn a {
    color: #1C081D;
    text-decoration: none;
}
#see-further:hover {
    color: #FF21F8;
    background: white;
    transition: 0.3s;
}
#see-about-btn:hover {
    color: #723d88;
    background: #ffffff;
    border: 0px;
    transition: 0.3s;
}
#landing-block h1 {
    color: white;
    font-size: var(--landing-h1-text-size);
    animation: 1.4s ease-out 0s 1 transitionBottom;
}
#landing-block h3 {
    color: #D000CA;
    margin-top: 8px;
    font-weight: 200;
    animation: 2.0s ease-out 0s normal forwards 1 opacityBlend;
}
/*About the Project Page Place:*/

#abouttheproject {
    min-height: 100vh;
    background: #1D061C;
    color: #91248D;
    display: flex;
    align-items: center;
    padding-left: 80px;
    padding-right: 80px;
}
#abouttheproject .about-us {
    display: block;
    width: 100%;
    flex-basis: 60%;
}
#abouttheproject .about-us h1 {
    font-size: 42px;
}
#abouttheproject .about-us p {
    margin-top: 20px;
    line-height: 24px;
    width: 70%;
    font-size: 18px;
    font-weight: 400;
}

#abouttheproject .statistics {
    display: grid;
    width: 100%;
    flex-basis: 40%;
    grid-template-columns: auto auto;
    justify-items: stretch;
    row-gap: 50px;
    text-align: center;
}
#abouttheproject .statistics .statistic-block {
    width: 100%;
    display: block;
    text-align: center;
}
#abouttheproject .statistics .statistic-block h1 {
    font-size: 100px;
}
#abouttheproject .statistics .statistic-block a {
    font-size: 16px;
    color: #db63d7;
    font-weight: 600;
}

#aboutsamplescheck {
    margin-top: 24px;
    padding: 16px 64px;
    font-size: 16px;
    background: #FF21F8;
    border: 0px;
    font-weight: 900;
    transition: 0.3s;
}
#aboutsamplescheck:hover {
    background: #451242;
    color: #FF21F8;
    transition: 0.3s;
}

#about-desctext {
    margin-top: 24px;
}
#abouttheproject h1 {
    color: white;
}

/*Footer styling:*/

.footer {
    display: flex;
    background: #280a26;
    padding: 32px 32px;
}
.footer .division {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
}
.footer .division:first-child {
    flex-basis: var(--footer-division-width);
}
.footer .division:nth-child(2), .division:last-child {
    flex-basis: calc((100% - var(--footer-division-width)) / 2);
}
.footer .division h2 {
    color: white;
}
.footer .division a {
    color: #D000CA;
    text-decoration: none;
    transition: 0.3s;
}
.footer .division a:hover {
    color: #ff77fa;
    text-decoration: none;
    transition: 0.3s;
}
.footer-logo, .footer-logo b {
    font-size: 22px;
    color: white;
}
.footer-logo a {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer h2 {
    line-height: 32px;
    font-size: 18px;
}
.footer-margin-content {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
    line-height: 24px;
    font-weight: 100;
    font-size: 14px;
}
.footer .division #footer-about {
    color: #91248D;
}

.menu {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: none;
    padding: 6px 0px;
    display: flex;
    align-items: center;
    z-index: 5000;
}

.logo {
    padding: 12px 20px;
    font-size: 18px;
    color: white;
}
.logo a {
    display: flex;
    height: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    width: fit-content;
}

#menu-places {
    width: 100%;
}
#menuOpener {
    display: none;
}

#menu-places ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.menu #menu-places ul li {
    float: left;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.menu #menu-places ul li a {
    text-decoration: none;
    padding: 12px 30px;
    display: block;
    transition: 0.3s;
}

.menu #menu-places ul li.lang {
    display: block;
    height: 100%;
    padding-top: 2px;
}

.menu #menu-places ul li ul {
    position: absolute;
    right: 0;
    width: 180px;
    display: none;
    border-radius: 4px;
}
.menu #menu-places ul li ul li {
    width: 100%;
}
.menu #menu-places ul li ul li a {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    transition: 0.3s;
}
.menu #menu-places ul li ul li a:hover {
    color: white;
    transition: 0.3s;
    cursor: pointer;
}
.menu #menu-places ul li:hover > ul {
    display: initial;
}

/*Colours for menu depending on the page style:*/

.menu-red-purple-text-color a {
    color: #FF21F8;
}

.menu-red-purple-text-color a:hover {
    color: #ffb1fc;
    transition: 0.3s;
}

.menu-red-purple-bg li a {
    background: #571d55;
    color: #d543d3;
}

.ukraine-block {
    background: white;
    padding: 16px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    border-radius: 16px;
    position: fixed;
    bottom: 24px;
    right: 24px;
    animation: 2.8s ease-out 0s 1 helpUA;
    justify-content: space-between;
}
.ukraine-block div {
    display: flex;
    gap: 16px;
    align-items: center;
    width: max-content;
}
.ukraine-block .close {
    padding: 8px;
}

#helpukraineblock {
    background: #310f2f;
    border-radius: 8px;
    padding: 24px 32px;
    position: fixed;
    top: 20%;
    bottom: 20%;
    left: 30%;
    right: 30%;
    z-index: 10000;
    display: none;
    flex-direction: column;
    gap: 12px;
}
#helpukraineblock .close {
    position: absolute;
    top: 16px;
    right: 16px;
}
#helpukraineblock h2, #helpukraineblock i {
    color: white;
}
#helpukraineblock p {
    color: #e389e0;
}
#helpukraineblock ul {
    color: #a85fa5;
    list-style: none;
}
#helpukraineblock ul li a {
    text-decoration: none;
    color: #cc6ec9;
}

.blackscreen {
    position: fixed;
    top: 0;
    left: 0;
    background: #000000;
    opacity: 60%;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: none;
}


@media screen and (max-width: 1164px) {
    #abouttheproject .about-us p {
        width: 90%;
    }
}
@media screen and (max-width: 975px) {

    .footer {
        margin-top: -3px;
        display: block;
        background: #280a26;
        padding: 32px 32px;
        padding-left: 16px;
        padding-right: 50px;
        max-width: 100%;
    }

    .menu {
        flex-direction: column;
        background: #200c2b;
        max-width: 100%;
    }
    #menu-places ul {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    #menu-places {
        display: none;
    }
    .menu #menu-places ul li ul {
        position: relative;
        left: 0;
        width: fit-content;
    }
    .menu #menu-places ul div {
        display: flex;
        flex-direction: column;
    }
    .menu #menu-places ul li {
        flex-direction: column;
    }
    .menu #menu-places ul li ul li a {
        flex-direction: row;
    }


    #abouttheproject {
        margin-top: -38px;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0px;
        margin: 0px;
    }
    #abouttheproject .about-us, .statistics {
        margin-top: 36px;
        width: 90%;
        flex-basis: 100%;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    #abouttheproject .about-us {
        padding-left: 24px;
        margin-left: 0px;
        padding-left: 0px;
        padding-right: 0px;
        margin-right: 0px;
    }
    #abouttheproject .about-us h1 {
        font-size: 28px;
        margin-left: 0px;
        padding-left: 0px;
        padding-right: 0px;
        margin-right: 0px;
    }
    #abouttheproject .about-us p {
        width: 90vw;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    #abouttheproject .statistics {
        padding: 0px;
        padding-bottom: 60px;
    }

    #landing-block h1 {
        font-size: 44px;
    }

    #landing-image-layer {
        z-index: -5000;
        position: absolute;
        background: url('../media/img/jpg/index/pexels-bob-clark-1135995.jpg') no-repeat;
        filter: grayscale(1);
        background-size: 350%;
        height: 100vh;
        /*overflow: hidden;*/
        margin: 0;
        max-width: 100%;
    }

    .buttons-landing {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px;
    }
    .buttons-landing button {
        width: 80%;
    }
    .ukraine-block {
        bottom: 24px;
        right: 16px;
        left: 16px;
    }

    #helpukraineblock {
        top: 20%;
        bottom: 20%;
        left: 3%;
        right: 3%;
    }
}