html, body{
    height:100%;
    width: 100%;
}

#home{
    background: url('img/gdansk.jpg') no-repeat center center fixed;
    display:table;
    height: 80%;
    position: relative;
    width: 100%;
    background-size: cover;
    }
.landing-text{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.landing-text>h1{
    font-size: 3.5em;
    word-spacing: 15px;
    font-weight: bold;
}

.padding{
    margin-top: 50px;
    margin-bottom: 50px;
}

#section2{
    background: url('img/background.jpg') no-repeat center center fixed;
    display:table;
    height: 30%;
    position: relative;
    width: 100%;
    background-size: cover;
}
footer{
   border-top: 1px solid lightgrey; 
   margin-top:5px;
   background-color:white;
   color: gray;
}

#lead{
    
    font-size: 1.2em;
}

#hr{
    width: 50vw;
   
}
#foundation{
    
    margin-top: 2px;
    margin-bottom: 2px;
}
#about{
    margin-top: 5px;
    margin-bottom: 5px;
}

#row{
    margin-top:
}

@media (max-width: 575.98px) {
 
    html, body{
        height:100%;
        width: 100%;
        font-size: 16px;
    }

    #home{
        height: 40%;
            }

    .landing-text{
            display: table-cell;
            text-align: center;
            vertical-align: middle;
            color: white;
        }
        
    .landing-text>h1{
            word-spacing:10px;
            font-size:20px;
            
}

h2, p.lead, p.text-center{
    text-align: justify
}

footer>div{
    flex-direction: row;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

html, body{
    height:100%;
    width: 100%;
    font-size: 17px;
}

#home{
    background: url('img/gdansk.jpg') no-repeat center center fixed;
    display:table;
    height: 40%;
    position: relative;
    width: 100%;
    background-size: cover;
    }

.landing-text>h1{
    word-spacing: 5px;
    font-size:25px;
   }
 div{
    font-size: 1em;
    margin: auto;
    display: flex;
    flex-grow:initial;
    flex-direction: column;
    width: fit-content;   
    }
    
footer>div{
    flex-direction: row;
        }
    
h2, p.lead, p.text-center, ul>li{
    text-align: left;
        } 
    
        
}

@media (min-width: 768px) and (max-width: 991.98px) {
  
html, body{
    height:100%;
    width: 100%;
    font-size: 14px;
    }
   
#home{
    background: url('img/gdansk.jpg') no-repeat center center fixed;
    display:table;
    height: 35%;
    position: relative;
    width: 100%;
    background-size: cover;
        }
h2, p.lead, p.text-center, ul.lead>li{
    text-align: justify;
        }  
    
div{
    align-content: stretch;
   }

}