* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    background-color: #FFFFFF;
    font-family: 'Roboto', Arial, sans-serif;
}

a {
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 2000px;
    background-color: #FFFFFF;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
}

/* Main Navigation */
.nav_wrapper {
    position: fixed;
    z-index: 3;
    top: 0;
    height: 60px;
    width: 100%;
    max-width: 2000px;
}

#nav-anime {
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 5px 2px rgba(38, 39, 38, 0.3);
    top: 0;
    height: 60px;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    background-color: transparent;
    padding: 0 2% 0 4%;
    z-index: 3;
}

@media (max-width: 1100px) {
    #nav-anime {
        height: 40px;
        padding: 0 10%;
    }
}

#nav-anime.change-color {
    background: radial-gradient(circle at top right, rgba(249, 183, 0, 0.99), rgba(0, 0, 0) 30%);
}

.title-nav {
    margin-right: 15px;
    padding: 0;
    line-height: 60px;
}

.title-nav h1 {
    color: rgba(226, 222, 222, 0.8);
    font-size: 3.2rem;
    font-family: 'Flavors', Arial, Helvetica, sans-serif;
    text-shadow: 1px 1px rgba(8, 8, 8, .4);
    letter-spacing: 0.2rem;
    font-weight: 400;
}

.title-nav h1:hover {
    color: rgb(226, 222, 222);
}

.title-nav h1::before {
    content: url('img/logomin.gif');
    margin-right: 15px;
    width: 30px;
    line-height: 60px;
}

@media (max-width: 1100px) {
    .title-nav {
        margin: auto;
        font-size: 2.7rem;
    }

    .title-nav h1 {
        font-size: 2rem;
        line-height: 40px;
    }

    .title-nav h1::before {
        content: none;
    }
}

.menu_list {
    width: 70%;
    list-style: none;
}

@media (max-width: 1250px) {
    .menu_list {
        width: 60%;
    }
}

@media (max-width: 1100px) {
    .menu_list {
        display: none;
    }
}

.menu_item {
    display: inline-block;
    margin: 0;
    text-transform: uppercase;
    overflow: hidden;
}

.menu_item:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.menu_item.change-color-text:hover {
    box-shadow: none;
}

.menu_link {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    line-height: 60px;
    color: rgb(226, 222, 222);
    font-size: 1.4rem;
    letter-spacing: 0.14rem;
    text-shadow: 1px 1px rgba(8, 8, 8, .4);
    font-weight: 700;
}

@media (max-width: 1250px) {
    .menu_link {
        padding: 0 10px;
        font-size: 1.1rem;
        letter-spacing: 0.15rem;
    }
}

.menu_link.change-color-text {
    color: rgb(197, 194, 194);
}

.title-nav.change-color-text {
    color: rgb(197, 194, 194);
}

.menu_link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgb(226, 222, 222);
    text-shadow: none;
}

/* Links to language version and facebook */

.flag_link {
    position: absolute;
    right: 5%;
    top: 20px;
    width: 2.7rem;
    border-radius: 50%;
    box-shadow: 0px 0px 3px 2px rgba(73, 72, 72, 0.3)
}

.polish_flag {
    height: 2rem;
}

.fb_link {
    font-size: 2.3rem;
    color: rgb(226, 222, 222);
    line-height: 60px;
}

@media (max-width: 1100px) {
    .flag_link {
        right: 17%;
        top: 12px;
        width: 2rem;
        box-shadow: 0px 0px 2px 1px rgba(73, 72, 72, 0.3)
    }

    .polish_flag {
        height: 1.5rem;
    }

    .fb_link {
        font-size: 1.8rem;
        line-height: 40px;
    }
}

.fb_link:hover {
    color: rgb(24, 119, 242);
}

/* Menu Hamburger section */

.fas {
    cursor: pointer;
}

.burger {
    position: fixed;
    font-size: 2.4rem;
    top: 8px;
    left: 15px;
    z-index: 3;
    color: rgba(249, 183, 0, 0.9);
}

i.show {
    display: block;
}

aside.nav_aside {
    position: fixed;
    z-index: 4;
    padding: 20px 0;
    top: 38px;
    left: -320px;
    width: 200px;
    background: linear-gradient(20deg, rgba(249, 183, 0, 0.99), rgba(0, 0, 0, 0.95) 40%);
    box-shadow: 0 5px 7px 0 rgba(0, 0, 0, 0.5), 0 5px 20px 0 rgba(0, 0, 0, 0.5);
    transition: .3s linear;
}

.nav_aside.show {
    left: 0;
}

nav.buger_aside {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.fa-times {
    position: absolute;
    display: block;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    color: rgba(249, 183, 0, 0.9);
    z-index: 5;
}

li.aside_item {
    margin: 10px 20px;
    padding: 10px 0;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    display: block;
    color: rgb(185, 182, 182);
    font-weight: 700;
    border-bottom: 1px solid rgb(249, 183, 0);
}

a.aside_link {
    color: rgb(185, 182, 182);
}

@media (min-width: 1100px) {
    .burger {
        display: none;
    }

    .nav_aside {
        display: none;
    }
}

@media (max-width: 320px) {
    aside.nav_aside {
        padding: 10px 0;
        left: -320px;
        width: 200px;
    }

    .fa-times {
        font-size: 2rem;
    }

    li.aside_item {
        margin: 2px 10px;
        padding: 5px 0;
        font-size: 1.2rem;
        font-weight: 400;
    }
}

/* ---Header section--- */
.header {
    position: relative;
    width: 100%;
    max-width: 2000px;
    height: 100vh;
    margin: 0 auto;
    margin-bottom: 100px;
    background-image: url("img/header.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    box-shadow: 0 8px 8px -3px black;
}

@media (max-width: 800px) {
    .header {
        margin-bottom: 50px;
    }
}

.darker_box {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(transparent 70%, black 99%);
}

.logo {
    position: absolute;
    bottom: 53%;
    right: 50%;
    transform: translate(50%, 50%);
    width: 30%;
    filter: contrast(110%) drop-shadow(8px 8px 10px black) saturate(1.5);
}

.letter_style {
    font-family: 'Flavors', Arial, Helvetica, sans-serif;
    color: rgba(252, 247, 247, 0.4);
    letter-spacing: 4px;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px rgba(8, 8, 8, .4);
    font-weight: 400;
    line-height: 1.1;
}

.header_title {
    position: absolute;
    bottom: 29%;
    font-size: 8rem;

}

.slogan {
    position: absolute;
    bottom: 23%;
    font-size: 2.5rem;
    line-height: 3rem;
}

@media (orientation: portrait) and (max-width: 600px) {
    .logo {
        width: 50%;
        bottom: 55%;
    }
}

@media (orientation: landscape) and (max-width: 850px) {
    .logo {
        bottom: 60%;
    }
}

@media (orientation: portrait) and (max-width: 850px) and (min-width: 601px) {
    .logo {
        width: 50%;
    }
}

@media (max-width: 700px) {
    header {
        margin-bottom: 0;
    }

    .header_title {
        font-size: 5rem;
        padding: 20px;
        text-shadow: 3px 3px rgba(8, 8, 8, .8);
        bottom: 30%;
    }
}

@media (max-width: 560px) {
    .header_title {
        font-size: 4rem;
        text-shadow: 2px 2px rgba(8, 8, 8, .8);
    }
}

@media (max-width: 700px) {
    .slogan {
        font-size: 2rem;
        text-shadow: 2px 2px rgba(8, 8, 8, .8);
    }
}

@media (max-width: 560px) {
    .slogan {
        font-size: 1.6rem;
        text-shadow: 1px 1px rgba(8, 8, 8, .8);
    }
}

@media (orientation: landscape) and (max-width: 490px) {
    .header_title {
        bottom: 33%;
        font-size: 3.2rem;
    }
}

@media (orientation: portrait) and (max-width: 320px) {
    .header_title {
        bottom: 30%;
        font-size: 2.8rem;
    }

    .slogan {
        font-size: 1.3rem;
        letter-spacing: 4px;
        line-height: 2.3rem;
    }
}

/* Main section */

main {
    max-width: 1200px;
    margin: 0 auto;
}

.heading1 {
    text-align: center;
    font-weight: bold;
    font-family: 'Flavors', Arial, Helvetica, sans-serif;
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 50px;
    padding-top: 80px;
}

@media (max-width: 800px) {
    .heading1 {
        padding-top: 60px;
        font-size: 4rem;
        letter-spacing: 2.5px;
    }
}

@media (max-width: 600px) {
    .heading1 {
        font-size: 3rem;
    }
}

article {
    max-width: 1050px;
    margin: auto;
    padding-bottom: 100px;
}

@media (max-width: 1024px) {
    article {
        margin: auto 5%;
    }
}

article p {
    margin: 15px auto;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: justify;
    font-family: 'Roboto', Helvetica, sans-serif;
}

@media (max-width: 750px) {
    article p {
        font-size: 1.6rem;
    }
}

@media (max-width: 260px) {
    article p {
        font-size: 1.4rem;
        line-height: 2rem;
    }
}

.article_link {
    color: rgb(93, 95, 93);
    border-bottom: dashed 1px;
}

.article_link:hover {
    color: rgba(197, 152, 28, 0.9);
}

.bold {
    font-weight: bold;
}

/* About Project Section */

.section-items {
    width: auto;
    margin: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
}

.section-items a {
    margin: 7vh 2vw;
}

.item_link {
    position: relative;
    width: 300px;
    height: 350px;
    color: rgb(185, 182, 182);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-size: 200%;
    transition: 1s;
    filter: sepia(1);
}

@media (max-width: 1024px) {
    .item_link {
        filter: sepia(0);
    }
}

.item_link:hover {
    background-size: 180%;
    filter: sepia(0);
}

.item_title {
    position: absolute;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);
    width: 100%;
    padding: 10px 8px;
    font-family: 'Flavors', Arial, Helvetica, sans-serif;
    line-height: 3.5rem;
    background-color: rgba(8, 8, 8, .7);
    text-align: center;
    font-size: 3.1rem;
    font-weight: 400;
    letter-spacing: 0.4rem;
    text-shadow: 2px 2px rgba(8, 8, 8, .8);
}

@media (max-width: 800px) {
    .item_link {
        width: 210px;
        height: 270px;
    }

    .item_title {
        font-size: 2rem;
        line-height: 2.8rem;

    }
}

@media (max-width: 320px) {
    .item_link {
        width: 190px;
        height: 250px;
    }
}

/* ---Footer section--- */

footer {
    width: 100%;
    background: radial-gradient(ellipse at bottom left, rgba(249, 183, 0, 0.99), rgba(0, 0, 0, 0.95) 65%);
}

.footer_block {
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-div {
    width: 33%;
    padding: 1%;
}

.footer_text {
    width: 100%;
    display: inline-block;
    color: rgba(226, 222, 222, 0.6);
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
    line-height: 2.3rem;
    font-style: normal;
}

.address_footer {
    margin: 2rem 0 0 0;
    line-height: 2rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

@media (max-width: 750px) {
    .address_footer {
        margin: 2rem 0 1.5rem 0;
    }
}

.footer-contact {
    font-size: 1.6rem;
}

.small-text {
    font-size: 1.4rem;
    line-height: 1.6rem;
}

.footernav {
    width: 30%;
    padding: 1%;
}

.list-text {
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 2.5rem;
    text-transform: uppercase;
}

.subpage_footer {
    font-size: 1.3rem;
    line-height: 1.9rem;
    margin-left: 42px;
}

.footer_list {
    list-style: none;
}

.last_text {
    width: 100%;
    padding: 0 30px 20px 0;
    text-align: end;
    font-size: 1.3rem;
}

.text_style {
    color: rgba(226, 222, 222, 0.6);
}

.text_style:hover {
    color: rgba(226, 222, 222, 0.8);
}

.author_text_style {
    font-size: 1.3rem;
}

@media (max-width: 750px) {
    footer {
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-div {
        width: 100%;
        padding: 1%;
    }

    .footernav {
        justify-content: flex-start;
        width: 100%;
    }

    .list-text {
        font-size: 1.4rem;
        letter-spacing: 1px;
        font-weight: 400;
        line-height: 2.5rem;
        text-transform: uppercase;
    }

    .subpage_footer {
        font-size: 1.3rem;
        line-height: 1.7rem;
        margin-left: 43px;
    }

    .last_text {
        text-align: center;
        padding-top: 25px;
    }
}