main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h2 {
    font-style: italic;
}

h3 {
    text-align: left;
    margin-left: 5%;
}

.lingid {
    margin-top: 10px;
}

#vasaklink {
    margin-right: 60px;
}

#paremlink {
    margin-left: 60px;
}

.tutvustus {
    display:flex;
    line-height: 50px;
}

.tutvustus p {
    width: 45%;
    margin-right: 5px;
    margin-left: 5%;
}

.tutvustus img {
    width:45%;
    margin-left: 5px;
    margin-right: 5%;
    height: 300px;
    white-space: nowrap;
}

footer {
    width: calc(100% - 80px);
    padding: 40px 40px;
    background-color: grey;
    margin-top: 20px;
    overflow: hidden;
}

.tekstid {
    width: fit-content;
    float: left;
    padding-left: 0px;
}

.logod {
    width: 32px;
    float: right;
    margin-bottom: 10px;
    margin-right: 20px;
}

.gallery-links {

    display: flex;
    flex-flow: row wrap;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    display: -moz-flex;
    -moz-flex-flow: row wrap;
    justify-content: center;
    -o-flex-flow: row wrap;
    justify-content: center;
    
}

.gallery-image {

    margin: 20px;
    position: relative;
    text-align: center;
    -webkit-flex-basis: 300px;
    -moz-flex-basis: 300px;
    flex-basis: 300px;
    
} 

.gallery-image img {
    width: 100%;
    border-radius: 50%;

}

.post-header {       
    
    /*kujundus*/
    
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 3px;
    line-height: 24px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 3px 3px 9px #111111;
    
       /*positsioneerimine*/
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}  

.fa-facebook {
    background: #3B5998;
    color: white;
}
  
  /* Twitter */
.fa-twitter {
    background: #55ACEE;
    color: white;
    margin-right: 20px;
}