* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

header{
    display: flex;
    justify-content: center;
    wrap-option: wrap;
    position:-webkit-sticky;
    position:sticky;
    top:0;
    background: url("resources/head_background.png") center top repeat;
    padding: 4px 0;
    height: 120px;
    z-index: 100;
    -webkit-box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
}

.btn-menu{
    visibility: hidden;
    background: gold url("resources/menu.png") no-repeat;
    background-size: 45px 45px;
    border: 2px solid firebrick;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    top:0;
    right:0;
    transform: rotate(0);
}

aside {
    float: right;
    margin: 0;
    padding: 0;
}

.menu > li{
    width: 13em;
    height: 5ex;
    background-color: gold;
    border: 2px solid firebrick;
    border-radius: 10px;
    font-weight: bold;
    color: black;
    cursor: pointer;
    z-index: 50;
    flex-direction: row;
    display: inline-flex;
    align-items: stretch;
    -webkit-align-items: center;
}

.menu > li > a{
    width: inherit;
    text-align: center;
}

.menu > li:hover{
    background-color: bisque;
}
.menu > li:active{
    background-color: blue;
}
.btn-menu:hover{
    background-color: bisque;
}

@media screen and (max-width: 1052px){
    header{
        position: static;
        left: 0;
        right: 0;
        top: 0;
    }
    header{
        padding: 4px 0;
        justify-content: space-between;
    }
    .hvr{
        visibility: visible;

    }
    header.hvr{
        height: 100vh;
        position: absolute;
        background: rgba(120,121,255,0.51);
    }
    header.hvr > .menu{
        visibility: visible;
        display: flex;
    }
    header.hvr > .btn-menu{
        transform: rotate(90deg);
        transition: 1s;
    }
    header.hvr > .logo{
        display: none;
    }
    .menu{
        display: none;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 100vw;
        visibility: hidden;

    }
    .btn-menu{
        visibility: visible;
    }
    .menu >li{
        width: 15em;
    }
    .menu > li > a:before{
        /*TODO: Random emoticons*/
        content: "😀";
    }
    .menu >li>a:after{
        content: "🥳";
    }
}
@media screen and (max-height: 400px) {
    .menu {
        display: grid;
        grid-template-columns: 15em 15em;
        grid-gap: 2em;
    }
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: static;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    background-color: rgb(255, 255, 128);
    padding: 0 0 0 0;
}
.media-box{
    display: grid;
    grid-template-columns:repeat(3,max-content) ;
    flex-direction: row;
}
@media screen and  (max-width: 768px) {
    footer{
        display: none;
        flex-direction: column;
        justify-content: center;
    }
    .media-box{
        display: none;
    }
    footer > address{
        display: none;
    }
}

.media{
    position: relative;
    margin: 20px;
    aspect-ratio: 1/1;
    width: 50px;
    border-radius: calc(50px / 2);
    -webkit-box-shadow: 0 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0 5px 10px 2px rgba(34, 60, 80, 0.2);
    overflow: hidden;

}
.media::before{
    content: "";
    position: absolute;
    aspect-ratio: 1/1;
    width: 50px;
    border-radius: calc(50px / 2);

    background: red;
    transition: all 1s ease;
    transform: translateY(-110%);
    z-index: 4;
}
.media:hover::before{
    transform: translateY(0);
    transition: all 1s ease;
}

.media:nth-child(1) > .icon{
    position: absolute;
    width: 50px;
    height: 50px;
    background: url("resources/iconmonstr-vk-1.svg") no-repeat;
    background-size: 41px 41px;
    background-position: 5px 5px;
    z-index: 5;
}