body {margin: 0;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;}
header, main, footer {display: inline-block;
    width: 800px; 
    margin-left: calc(50% - 400px);
    margin-bottom: 30px;}
header {margin-top: 50px;}
nav{
    float: right;
}
img{
    margin: 10px;
    float: left;
}
nav > a{
    margin: 10px;
    display:inline-block;
    font-size: 20px;
    color: #000;
    text-decoration: none;
    margin-right: 10px;
}
.line{
    width: 100px;
    height: 6px;
    margin-top: 10PX;
    background-color: #662c8c;
    border: 1em;
    border-radius: 0.5em;
}
a:hover{
    /* color: blue;*/
    text-decoration: underline;
}
div{
    width: 40%;
    float: left;
    margin: 0;
    text-align: left;
}
h1 { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #222 ;
    font-size: 50px;
    font-weight: normal;
    margin-top: 20px;
}
span {
    font-weight: bold;
    display: block;
}
p {
    font-size: 15px;
}
.left a{
    margin-top: 20px;
    display: inline-block;
    background-color:#662c8c;
    color: #fff;
    padding: 0.9em;
    padding-left: 2em;
    padding-right: 2em;
    margin-right: 1em;
    margin-bottom: 2em;
    font-size: 16px;
    line-height: 1.3em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 1.55em;
    border: 0.15em solid #662c8c;
}
.left a:last-child{
    color:#000;
    background-color: #fff;
}
.left a:hover{
    text-decoration: none;
    box-shadow: 2px 5px 8px #000;
    }
.nuot {
    width: 55%;
    float: right;
    margin: 0;
    position: relative;
}
.nuot img{
    width: 100%;
}
.top-nuotr{
    position:absolute; 
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.7s ease;
}
.top-nuotr:hover{ opacity: 100;}
.contein{
    left: 0;
}
.socials > .icon {
    margin-right: 1em;
    font-size: 20;
    line-height: 1em;
    text-decoration: none;
    color: #999;
}
.socials > .icon:last-child{
    margin-right: 0;
}
.socials>.icon:hover{
    color: blue;
}
.lic{
    margin: 0;
    float: right;
}
