

/* Sekcja główna */
main{
width: 100%;

background-color: #fcfbf9;
float: left;
}
.contact{
    text-align: center;
    margin: auto;
    
    width: 80%;
}

h2{
    text-align: center;
    font-family: Helvetica, sans-serif;
    font-size: 55px;
    font-weight: bold;
    text-shadow: 2px 1px 2px gray;
    
}
.p_main{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mail_info,.address_info, .address_magazine_info{
    font-size: 20px;
    font-weight: 500;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    

}
.important{
    margin-top: 20px;
}
.important img{
    height: 50vh;
    border-radius: 20px;
    box-shadow: 5px 5px 5px  gray;
    
}
.important p{
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.bold_text{
    font-weight: 800;
}

.container{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.mail, .address, .address_magazine{
    display: flex;
    justify-content: space-around;
    width: 800px;
    align-items: center;
}
.paragraphs{
    width: 50%;
}
.btn_info{
    border: none;
    background-color: #666;
    width: 20vh;
    height: 7vh;
    margin-top: 20px;
    border-radius: 70px;
    color: white;
    font-size: 16px;
    font-weight: bolder;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    
}

.btn_info:hover{
    background-color: #444;
    transform: scale(1.1);
    
    
}



/* ========================= */
/*       MEDIA QUERIES       */
/* ========================= */

/* TABLET – poniżej 992px */
@media screen and (max-width: 992px) {
    .contact {
        width: 90%;
    }

    h2 {
        font-size: 45px;
    }

    .mail, .address, .address_magazine {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .paragraphs {
        width: 90%;
        text-align: center;
    }

    .btn_info {
        width: 25vh;
        height: 7vh;
        font-size: 18px;
        border-radius: 60px;
    }

    .important img {
        height: 40vh;
    }
}

/* TELEFON – poniżej 768px */
@media screen and (max-width: 768px) {
    .contact {
        width: 100%;
    }

    h2 {
        font-size: 45px;
    }

    .p_main {
        font-size: 22px;
    }

    .mail_info, .address_info, .address_magazine_info {
        font-size: 20px;
    }

    .mail, .address, .address_magazine {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .paragraphs {
        width: 100%;
    }

    .btn_info {
        width: 40%;
        max-width: 250px;
        height: 6vh;
        padding: 10px 20px;
        font-size: 17px;
        border-radius: 50px;
    }

    .important img {
        height: auto;
        width: 90%;
    }

    .important p {
        font-size: 18px;
        padding: 10px;
    }
}

/* MAŁE TELEFONY – poniżej 480px */
@media screen and (max-width: 480px) {
    h2 {
        font-size: 40px;
    }

    .p_main {
        font-size: 22px;
    }

    .mail_info, .address_info, .address_magazine_info {
        font-size: 18px;
    }

    .btn_info {
        width: 55%;
        max-width: none;
        font-size: 15px;
        padding: 12px;
    }

    .important img {
        height: auto;
        width: 100%;
    }

    .important p {
        font-size: 15px;
    }
}
