html
{ 
    height: 100%; 
}

html,
body {
    margin: 0;
    padding: 0;
    color: white;
    min-width:980px;
    background-color: rgba(255, 255, 255, 1);
    background-image: url(images/bg-light-4827.png);
}

body{
    display: flex; 
    flex-direction: column; 
    height: 100%;
}

header{
    flex: 0 0 auto;
}

@font-face{
    font-family: 'Corinthia';
    src: url("fonts/corinthia_[allfont.ru].ttf");
}

header{
    display: flex;
    justify-content:space-around;
    flex-direction: row;
    align-items: space-around;
    padding: 2%;
}

header .newcomers{
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
}

@media screen and ( max-width: 980px ){
    header .newcomers{
        flex-direction: column;  
        align-items:center;
    }
}

header .newcomers img{
    margin-right: 20px;
    border: 2px solid white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: inset 0 0 8px lightgray,
                  1px 1px 3px darkgray;
}

header .newcomers .site-name{
    flex-grow: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

header .newcomers .site-name h1{
    padding: 5px 5px;
    margin: 0;
    flex-grow: 1;
    text-align:center;
    
    color: black;
    font-family: 'Corinthia', arial;
    font-size: 48px;
    text-shadow: 4px 4px 4px #aaa;    
}

header .newcomers .site-name .header-name{
    font-size: 68px;    
}

main{
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

main .profile{
    padding: 40px;
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    flex-wrap: wrap;
}

main .profile a{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;

    border-radius: 5%; /* Превращаем в круг */
    margin: 60px auto;
    border: 2px solid white;
    box-shadow: inset 0 0 8px lightgray,
                  1px 1px 3px darkgray;
}

main .profile article .round-image{
    width: 100px; height: 100px; /* Ширина и высота */
    margin: -30px 0 0 -30px;
    border-radius: 50%; /* Превращаем в круг */
    border: 2px solid white;
    box-shadow: inset 0 0 8px lightgray,
                  1px 1px 3px darkgray;
    background-size: auto 100px; /* Высота фотографии равна высоте элемента */
}    

main .profile article img{
    width: 90px;
    height: 90px;
    border: 5px solid transparent;
    border-radius: 50%;
}

main .profile article h1{
    color: black;
    font-family: 'Corinthia', arial;
    font-size: 48px;
    margin: 5px 20px;
}

footer{
    flex: 0 0 auto;
}