@media screen and (max-width: 500px) {
    .navigation-links{
        flex-wrap: wrap;
    }
    .pad-main{
        padding: 0 1rem;
    }

    .footer-privacy{
        flex-flow: column-reverse wrap;
    }

    .img-layer{
        min-width: 100px;
        height: 150px;
    }
    .container-main > h4{
        font-size: 1.2rem;
    }
    .section-main__pad-b{
        padding-bottom: 3rem;
    }
    .img-layer > img{
        top: 10px;
    }
    .img-layer__right{
        left: 10px;
    }
    .img-layer__left{
        right: 10px;
    }
    .header{
        min-height: 40vh;
        padding-top: 7rem;
        padding-bottom: 2rem;
    }
    .header-img img{
        height: 100%;
    }
    #mobile-burger{
        width: 40px;
        display: block;
    }
    nav{
        background: var(--gray-dark);
    }
    .navigation-links{
        display: none;
    }

    .main__header{
        max-width: 95%;
    }
    .text__secondary-color,
    .text__secondary-color h2,
    .text__secondary-color h3,
    .text__secondary-color h4,
    .text__secondary-color h5,
    .text__secondary-color h6,
    .text__secondary-color p{
        font-size: .9rem;
    }

    .main-text__content h1,
    .main-text__content h2,
    .main-text__content h3,
    .main-text__content h4,
    .main-text__content h5,
    .main-text__content h6{
        font-size: 1.5rem;
    }
    .main-text__wrapper{
        padding: 0 10px;
    }
    .text__secondary-color-upper{
        letter-spacing: 2px;
    }
    .container-main h2,
    .container-main h3,
    .container-main h4,
    .container-main h5,
    .container-main h6{
        font-size: 1.4rem;
        margin: 1rem 0 0.5rem;
    }
    .columns__main{
        gap: 1.5rem;
    }
    .footer-links div.column h6, .footer-links div.column a{
        margin-bottom: 5px;
        font-size: 0.8rem;
    }
    .footer-privacy{
        font-size: 0.8rem;
    }
    .img-layer img.img-layer__img{
        top: 10px;
    }
    .img-layer__double img.image{
        top:10px;
    }
    .img-layer__double img.right{
        left: 10px;
    }
    .img-layer__double img.left{
        right: 10px;
    }
    .btn-secondary__oval{
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    .buttons_wrapper{
        gap: 30px;
    }
    .pictures_wrapper{
        margin-top: 3rem;
        gap: 20px;
    }
    .title__primary{
        margin: 3rem 0 1rem;
    }

    .title__primary h3,
    .title__primary h4,
    .title__primary h5,
    .title__primary h6{
        font-size: 1.5rem;
        font-weight: 700;
    }
    .img-layer__double{
        height: 300px;
    }
    .text-fragment{
        margin: 1rem 0;
    }
    .joined-text{
        gap: 5px;
    }
    .page-main{
        padding-top: 2rem;
    }
    .section-main__lifted-xl{
        margin-top: -30px;
    }
    .main-text__content-secondary h1,
    .main-text__content-secondary h2,
    .main-text__content-secondary h3{
        font-size: 1.3rem;
        max-width: 95%;
        margin: 0 auto;
    }
    .page-content__wrap{
        flex-wrap: wrap-reverse;
    }
    .about-img{
        width: 95%;
        height: auto;
    }
}

@media screen and (min-width: 501px) and (max-width: 599px) {
    .main-text__content h2,
    .main-text__content h3{
        font-size: 2rem;
    }
}


@media screen and (max-width: 599px) {
    .footer-wrapper{
        padding: 1rem;
    }

    .mainpage__content p{
        text-align: justify;
    }
    .title__secondary h2,
    .title__secondary h3,
    .title__secondary h4,
    .title__secondary h5,
    .title__secondary h6{
        font-size: 2rem;
    }
    /*.pictures_wrapper > div{*/
    /*    width: 318px;*/
    /*    height: 318px;*/
    /*}*/
    .pictures_wrapper div.img__meta{
        width: 150px;
        height: 150px
    }

}

@media screen and (min-width: 600px) {
    .footer-information{
        display: flex;
        flex-flow: row-reverse nowrap;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 3rem;
        gap: 9rem;
    }

    .footer-privacy{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 2rem;
    }
    .footer-links{
        max-width: 700px;
    }
    .pictures_wrapper div.img__meta{
        width: 250px;
        height: 250px;
    }
}
@media screen and (max-width: 650px) {
    .navigation-links{
        flex-wrap: wrap;
    }

}

@media screen and (min-width: 651px) and (max-width: 1024px) {
    .navigation-links{
        min-width: 500px;
    }
}

@media screen and (min-width: 501px) and (max-width: 825px) {
    .main-text__deco > div.deco-bar{
        margin-left: 51px;
    }
    .main-text__content{
        text-align: center;
    }
}
@media screen and (max-width: 825px) {
    .side-links.left{
        margin-right: 20px;
    }

    .side-links.right{
        margin-left: 20px;
    }

    .section-main__lifted{
        margin-top: 30px;
    }
}

@media screen and (min-width: 1025px) {
    .navigation-links{
        min-width: 800px;
    }
    .text-fragment__text{
        font-size: 1.2rem;
    }


}

@media screen and (min-width: 501px) and (max-width: 799px)
{
    .img-layer{
        min-width: 200px;
        height: 250px;
    }
    .img-layer > img{
        top: 17px;
    }
    .img-layer__right{
        left: 17px;
    }
    .img-layer__left{
        right: 17px;
    }

}

@media screen and (min-width: 800px) and (max-width: 1500px)
{
    .img-layer{
        min-width: 370px;
        height: 420px;
    }
}

@media screen and (min-width: 1300px) {
    .main-text__content h2,
    .main-text__content h3{
        font-size: 6rem;
    }
}

@media screen and (min-width: 1450px) {
    .pad-main{
        padding-left: 18rem;
        padding-right: 18rem;
    }
}

@media screen and (min-width: 501px) and (max-width: 1024px) {
    .container-main > h4{
        font-size: 1.7rem;
    }
}
