/* =======================
    USTAWIENIA GLOBALNE
========================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 20px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Tahoma, sans-serif;
}

/* =======================
    NAGŁÓWEK
========================== */

header {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
}

header h1{
    color: red;
}

nav a {
    margin-right: 0.5rem;
    text-decoration: none;
    color: white;
    font-size: x-large;
}

nav a:hover {
    color: goldenrod;
}

.active {
    border-bottom: solid;
}

/* =======================
    CZĘŚĆ GŁÓWNA
========================== */
div{
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: justify;
    line-height: 170%;
}

div h2{
    text-align: center;
    color: red;
    font-size: xx-large;
    margin-bottom: 2rem;
}

#banner{
    text-align: center;
    background-image: url(../img/banner.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 4rem;
    height: 45rem;
    color: white;
}

#banner h1{
    font-size: 5rem;
    line-height: 200%;
}

#banner p{
    font-size: 3rem;
}
#banner a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: rgba(255, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 1rem;
}

#banner a:hover{
    background-color: rgba(255, 0, 0);
}

#about{
    padding-top: 4rem;
    min-height: 45rem;
}

.face_container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.face{
    width: 20rem;
    padding: 1rem;
    text-align: center;
}

.face img{
    border-radius: 50%;
}

#offer{
    background-color: rgba(128, 128, 128, 0.3);
    padding-top: 4rem;
    min-height: 45rem;
}

.icon_container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.icon{
    width: 20rem;
    padding: 1rem;
    text-align: center;
}

.icon i{
    font-size: 5rem;
    color: red;
}

#contact{
    padding-top: 4rem;
    min-height: 45rem;
    text-align: center;

}

.contact_container{
    display: flex;
    justify-content:space-around;
    flex-wrap: wrap;
}

.form{
    width: 50%;
}

.map{
    width: 50%;
}

.map iframe{
    width: 100%;
    height: 30rem;
}

input{
    width: 100%;
    height: 3rem;
    font-size: x-large;
}

textarea{
    width: 100%;
    height: 8rem;
    font-size: x-large;
}

#submit{
    text-decoration: none;
    border: none;
    color: white;
    font-weight: bold;
    background-color: rgba(255, 0, 0, 0.7);
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 1rem;
    font-size: x-large;
}

.captcha{
    text-align: left;
}

#submit:hover{
    background-color: rgba(255, 0, 0);
    cursor: pointer;
}

/* =======================
    STOPKA
========================== */

footer {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* =======================
    RWD
========================== */

@media(max-width: 1000px) {
    div{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    header {
        padding: 1rem;
    }

    header h1 {
        display: none;
    }

    #banner h1{
        font-size: 3rem;
    }

    #banner p{
        font-size: 2rem;
    }

    .contact_container{
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    .form{
        width: 100%;
    }

    .map{
        width: 100%;
    }

    input{

        height: 2rem;
        font-size: large;
    }
    
    textarea{

        height: 6rem;
        font-size: large;
    }


}