
body{
margin: 0 auto;
padding: 0;
border: 0;
background-color: #303030;
color: #fff;
font-size: 1.1em;
font-family: 'Lato', sans-serif;
}

.wrapper{
    display: flex;
    
}

/* POCZĄTEK STYLÓW NAWIGACJI */


/* KONIEC STYLÓW NAWIGACJI */



/* POCZĄTEK STYLÓW HEADER */

#header{
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 600px;
    background-image: url("../img/zarowka.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.headerText{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100px;
    color: orange;
    border-radius: 10px;
    color: white;
}

#headerText{
    color: white;
}

#headerLogo{
    width: 400px;
    height: 102px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../img/logo.png");
}


/* KONIEC STYLÓW HEADER */


/* POCZĄTEK STYLÓW STRONY */
.main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-height: 800px;
    background-color: #202020;
    border-top: 5px solid #FFBA00;
}

.tile{
    max-width: 480px;
    height: 600px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: #404040;
    border-bottom: 3px solid #FFBA00;
}

.tileTitle{
    padding: 10px 5px;
    font-size: 1.3em;
    margin-left: 10px;
    color: #FFBA00;
    
    
}

#about .tileImage{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 246px;
    background-image: url("../img/tile1.jpg");
    background-repeat: no-repeat;
}

#offer .tileImage{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 246px;
    background-image: url("../img/tile2.jpg");
    background-repeat: no-repeat;
}

#contact .tileImage{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 246px;
    background-image: url("../img/tile3.jpg");
    background-repeat: no-repeat;
    
}



.hiddenText{
    font-size: 1.1em;
    text-align: left;
    padding: 0 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.tile .readMore{
    width: 100px;
    height: 50px;
    margin-left: 10px;
    background: #FFBA00;
    text-align: center;
    line-height: 50px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.readMore:hover{
    background: #FFDC22;
}

.readMore a{
    display: block;
    width: 100px;
    height: 50px;
}

.content{
    width: 100%;
    min-height: 100vh;
}

.bigText{
    font-size: 2.2em;
    width: 80%;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #FFBA00;
}

.textContainer{
    max-width: 1080px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    font-size: 1.3em;
    text-align: center;
    line-height: 150%;
}

.ramkaTekstu{
    max-width: 1000px; 
    min-height: 400px; 
    margin-left: auto; 
    margin-right: auto; 
    background-color: #404040; 
    opacity: 0.9;
    padding: 10px;
}

iframe{
        width: 90%;
        height: 600px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-bottom: 10px;
    }

#aboutPage{
    background-image: url("../img/elektryk.jpg");
}

#offerPage{
    background-image: url("../img/zarowki.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#contactPage{
    background-image: url("../img/contact.jpg");
     background-repeat: no-repeat;
    background-size: cover;
}



a:link, a:visited{
    color: black;
    text-decoration: none;
}



#footer{
    width: 100%;
    min-height: 40px;
    line-height: 30px;
    text-align: center;
    background: #FFBA00;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    flex-wrap: wrap;
    font-size: 1.1em;
    color: #202020;
}

/* KONIEC STYLÓW STRONY */

/* STYLE RWD */

@media all and (max-width: 480px){
    .bigText{
    font-size: 1.8em;
    }
    .tile{
        width: 100%;
    }
    
    .tileImage{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    
    #nav ul{
        display: flex;
        flex-direction: column;
    }
    
    #footer{
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 30px;
        
        text-align: center;
        height: 120px;
        width: 100%;
    }
    
    iframe{
        width: 280px;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-bottom: 10px;
    }
    
    .bigText{
        font-size: 1.5em;
        width: 80%;
    }
    
    .ramkaTekstu{
        opacity: 0.8;
    }
    
    #header{
        background-position: center;
    }
    
    #headerLogo{
        width: 300px;
        max-width: 400px;
        height: 77px;
        background-image: url("../img/logo2.png");
    }
    
}

@media all and (min-width: 481px) and (max-width:1199px){
    .tile{
        display: flex;
        flex-direction: column;
        width: 30%;
    }
    
    iframe{
        width: 90%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-bottom: 10px;
    }
}

@media all and (min-width: 1200px){
    .tile{
        display: flex;
        max-width: 400px;
    }
}
