@font-face {
    font-family: 'ariomregular';
    src: url('../font/ariom_regular-webfont.woff2') format('woff2'),
         url('../font/ariom_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



@media (min-width: 1081px) { 

body {
    background: url(../img/ALMOS-bg-desktop.jpg) no-repeat;
    background-size: cover;
}

}



@media (max-width: 1080px) { 

body {
    background: url(../img/ALMOS-bg-mobile.jpg) no-repeat;
}

footer {
    border-top: 1px solid #E5D8CA;
    position: absolute;
    bottom: 0;
    left: 13px;
    right: 13px;
    margin: 0 auto;
}

}


@media (max-height: 749px) { 

.head__section {
    margin: 20px 0px 20px 0px !important;
}

.image {
    width: 167px !important;
    height: 218px !important;
}

.image::after {
	width: 110% !important;
}

}


@media (max-height: 650px) { 

footer {
	position: initial !important;
}
}



/**/

h2 {
    font-family: "ariomregular";
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    margin: 0;
    color: #E5D8CA;
    padding: 0px 10px;
}

.hidden {visibility: hidden;position: absolute;}

.list a h2 {
	    transition: .3s all ease;
	    position: relative;
	    left:0px;
}

.list a:hover h2 {
	    transition: .3s all ease;
	    left:5px;
}

.image {
    background: url(../img/profil.jpg) no-repeat;
    background-size: cover;
    width: 201px;
    height: 272px;
    margin: 0 auto;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    background-position-x: center;
    position: relative;

}

.image::after {
    content: "";
    display: block;
    border: 1px solid white;
    width: 109%;
    height: 107%;
    margin: 0 auto;
    border-bottom-left-radius: 115px;
    border-bottom-right-radius: 115px;
    border-top-right-radius: 115px;
    border-top-left-radius: 115px;
    background-position-x: center;
    position: absolute;
    left: -10px;
    right: 0;
    top: -10px;
    bottom: 0;

}

.head__section {
    text-align: center;
    margin: 30px 0px 50px 0px;
}

.head__section img {
    max-width: 137px;
    margin-top: 30px;
}

.social__links ul li {
list-style-type: none;
}


.social__links ul li span img {
    max-width: 20px;
    transform: rotate(-90deg);
    position: relative;
    top: 5px;
}

ul#item {
    max-width: 341px;
    margin: 0 auto;
    padding: 0px;
}

ul#item li a {
    margin: 0px 0px;
    display: block;
    padding: 12px 20px;
        text-decoration: none;
}

main {
    max-width: 529px;
    margin: 0 auto;
}

footer ul li {
    display: inline-block;
    margin: 0px 10px;
}

footer img {
    max-width: 24px;
    width: 100%;
    	    transition: .3s all ease;
	    position: relative;
	    top:0px;
}

footer img:hover {

    	    transition: .3s all ease;
	    top:3px;
}

footer {
    border-top: 1px solid #E5D8CA;
    margin-top: 40px;
}

.contact, .rs {
	display: inline-block;
	width: 49%;
    color: white;
}

.rs {
	text-align: right;
}

.contact a:hover {
	text-decoration: underline;
}

.contact a {
    padding: 0px 6px;
    font-family: lft-etica, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #E5D8CA;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
}
