html, body {
    height: 100%;
}

h1, h2, h3 {
    font-family: "Red Hat Display", sans-serif;
    letter-spacing: 1px;
}
main {
    flex: 1;
}

p {
    font-family: "Quicksand", sans-serif;
}

body{
    /* #526fac9a; */
    margin: 0;
    background-color: rgba(82, 111, 172, 0.604);
    color: rgba(255, 255, 255, 0.829);
    display: flex;
    flex-direction: column;
}

.header{
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
}

.header img{
    width: 300px;
    height: auto;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.content{
    text-align: center;
    margin: 0 50px;
}

.content .boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.content .boxes .box{
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 400px;
    min-width: 400px;
    border-radius: 10px;
    text-align: center;
    -webkit-box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 0px 23px 1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
        backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content .boxes .box h2{
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2em;
    color: white;
    opacity: 0.9;
}

.content .boxes .box p {
    margin: 6px 0;
}

.footer {
    margin-top: auto;
    text-align: center;
    color: #fff;
    opacity: 0.8;
    font-size: 16px;
    padding: 20px 0;
}



.content .boxes .box:hover{
    transform: scale(1.01);
    transition: all 0.15s ease-in-out;
}

.header img:hover{
    transform: scale(1.01);
    transition: all 0.15s ease-in-out;
}




/* ===========================
   TABLETY / TELEFONY (max 768px)
   =========================== */
@media (max-width: 768px) {

    .up-header {
        margin: 15px;
        font-size: 0.8em;
    }

    .up-header-text {
        font-size: 1.1em;
    }

    .header img {
        width: 220px;
    }

    .content {
        margin: 0 20px;
    }

    .content .boxes {
        gap: 15px;
        margin-top: 40px;
    }

    .content .boxes .box {
        width: 260px;
        min-width: 260px;
        padding: 15px;
    }

    .content .boxes .box h2 {
        font-size: 1.6em;
    }
}

/* ===========================
   TELEFONY (max 480px)
   =========================== */
@media (max-width: 480px) {

    .up-header {
        margin: 10px;
        font-size: 0.75em;
    }

    .up-header-text {
        font-size: 1em;
    }

    .header img {
        width: 180px;
    }

    .content {
        margin: 0 10px;
    }

    .content .boxes {
        gap: 10px;
        margin-top: 30px;
    }

    .content .boxes .box {
        width: 100%;       /* pełna szerokość na telefonie */
        min-width: unset;
        padding: 12px;
    }

    .content .boxes .box h2 {
        font-size: 1.4em;
    }
}
