body{
    margin: 0;
    padding: 0;

    background-color: royalblue;
    background-image: url(./images/diagramy.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;

    text-align: center;
    font-family: "Nunito Sans", sans-serif;
    color: lavender;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main{
    width: 60%;
    max-width: 1600px;
    margin: auto;
    margin-top: 0;
}

section{
    width: 60%;
    margin: auto;
    margin-bottom: 2rem;
}

h1{
    font-weight: 850;
    font-size: 3rem;
}

h2{
    font-weight: bold;
    font-size: 2.5rem;
}

h3{
    font-weight: normal;
    font-size: 1.8rem;
}

.heading__border{
    border-bottom: 2px solid lavender;
}

.text{
    text-align: justify;
    padding-left: 1rem;
    padding-left: 1rem;
}

.bold{
    font-weight: bold;
}

.article__image{
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.box{
    width: 15rem;
}

.links__grid{
    display: flex;
    justify-content: center;
    gap: 2rem;

    margin: auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.button {
    width: 8rem;
    display: block;
    border: none;

    background-color: #04aa6d;
    border-radius: 10px;

    color: white;
    padding: 1rem 3rem;

    text-align: center;
    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 500;

    cursor: pointer;
}

.button:hover{
    background-color: #039660;
}

img{
    width: 100%;
}

footer{
    background: rgba(230, 230, 230, 0.2);
    margin-top: auto;
}

.footer__logos{
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
}

.footer__logo{
    display: flex;
    width: 15rem;
    opacity: 0.75;
}

.footer__logo:hover{
    opacity: 1;
}

.footer__address--content{
    padding: 0;
    margin: 0;
    padding-bottom: 1rem;
    font-style: normal;
}

@media only screen and (max-width: 80em) {}

@media only screen and (max-width: 64em) {
    main, section{
        width: 70%;
    }
}

@media only screen and (max-width: 48em) {
    main, section{
        width: 80%;
    }

    .links__grid{
        flex-direction: column;
    }

    .button{
        margin: auto;
        width: 60%;
    }

    .footer__logos{
        display: block;
        margin: auto;
    }

    .footer__logo{
       display: inline-block;
    }

}

@media only screen and (max-width: 40em) {
    
    h1{
        font-size: 2rem;
    }

    h2{
        font-size: 1.5rem;
    }

    h3{
        font-size: 1.25rem;
    }

    .nav__list{
        display: block;
    }

    main, section{
        width: 90%;
    }
}