@import url('https://fonts.googleapis.com/css?family=Vollkorn:400,700,900&subset=cyrillic');

header {
    width: 100%;
    height: 100px;
    background-color: #2B2A29;
}

footer {
    width: 100%;
    height: 100px;
    background-color: #2B2A29;  
    color: #fff;
}

body {
    margin: 0;
    font-family: 'Trebuchet MS', sans-serif;
    min-width: 350px;
}

h1, h2, h3, h4 {
    font-family: 'Vollkorn', serif;
}

h1 {
    font-size: 40px;
}

h3 {
    font-size: 25px;
    margin: 10px 0;
    text-align: center;
}

h2 {
    font-weight: 400;
    font-size: 30px;
    margin: 0;
    margin-bottom: 20px;
}

h4 {
margin: 0;}

.header-main {
    width: 100%;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    justify-content: center;
}

.footer-main {
    width: 880px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    justify-content: space-between;
}

.footer-left {
    width: 70%;
}


.footer-right {
    width: 30%;
}

.logo {
    width: 75px;
    height: 75px;
    background-image: url('logo.svg');
    margin: 0 50px;
    background-repeat: no-repeat;
    background-position: center;
}

.menu {
    list-style: none;
    display: flex;
    font-size: 25px;
    font-family: 'Trebuchet MS', sans-serif;
    justify-content: space-around;
}

.menu > li {
    margin-left: 20px;
}

ul > li:hover {
    color: #cfcfcf;
    cursor: pointer;
}

main {
    width: 70%;
    margin: 0 10px;
    min-height: 1500px;
}

aside {
    width: 30%;
    height: 30%;
    border: 1px solid #f5f5f5;
    background-color: #fffafa;
    border-radius: 5px;
    margin: 30px 10px;
    position: sticky;
    top: 10px;
    right: 10px;
    padding-bottom: 10px;
}

.main-aside {
    display: flex;
    width: 900px;
    margin: auto;
}

.aside-mobile {
    display: none;
}

aside > ul {
    list-style: none;
    padding: 0 20px;
    margin: 0;
    font-size: 17px
}

hr {
    background-color:  #f5f5f5;
    height: 1px;
    width: 100%;
    border: none;
}

article {
    border: 1px solid #f5f5f5;
    background-color: #fffafa;
    border-radius: 5px;
    padding: 30px;
    box-sizing: border-box;
    margin: 30px 0;
}

.img {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-position: center;
    border-radius: 5px;
    background-repeat: no-repeat;
}

.img1 {
    background-image: url('documentation-as-code.png');
    background-color: #03DFFF;
}

.btn {
    padding: 15px;
    display: inline-block;
    background-color: #2AA29F;
    color: #fff;
    font-size: 20px;
    border-radius: 15px;
    cursor: pointer;
}

.btn:hover {
    color: #cfcfcf;
}

.img2 {
    background-image: url('cloud-protection.png');
    background-color: #00BCDF;
}

.img3 {
    background-image: url('Illustr_1540h540--670x235.jpg');
    background-size: cover;
}

a {
    color: #cfcfcf;
    text-decoration: none;
}

.footer-left > p{
    margin: 0;
}

@media (max-width:980px) and (min-width:651px) {
    .main-aside {
        width: 95%;
    }
    
    main {
        width: 60%;
        margin-top: 220px;
    }
    
    aside {
        width: 40%;
        margin-top: 250px;
    }
    
    
    nav {
        position: absolute;
        background-color: #2AA29F;
        width: 100%;
        height: 230px;
        top: 100px;
        left: 0;
        display: block;
    }
    
    .menu > li {
        margin-bottom: 10px;
        
    }
    
    .menu {
        display: block;
        margin-top: 
    }
    
    
    
    .footer-main {
        max-width: 100%;
        padding: 0 20px;
        display: block;
        height: auto;
        padding-top: 15px
    }
    .header-main {
        max-width: 100%;
        height: auto;
    }

    .footer-left, .footer-right {
        width: 100%;
    }
}

@media (max-width:650px) {
    .main-aside {
        display:block;
        width: 100%;
        margin-top: 240px;
    }
    
    .normal-aside {
        display: none;
    }
    
    .footer-main {
        max-width: 100%;
        padding: 0 20px;
        display: block;
        height: auto;
        padding-top: 15px
    }
    .header-main {
        max-width: 100%;
        height: auto;
    }
    
    main {
        width: 96%;
        margin: auto;
    }
    
    nav {
        position: absolute;
        background-color: #2AA29F;
        width: 100%;
        min-width: 350px;
        height: 230px;
        top: 100px;
        left: 0;
    }
    
    .menu > li {
        margin-bottom: 10px;
        
    }
    
    .menu {
        display: block;
    }
    
    .footer-left, .footer-right {
        width: 100%;
    }
      
.aside-mobile {
    display: block;
    position: static;
           width: 96%;
        margin: 30px auto;
    max-height: 10%;
}
}

@media (max-width:473px) {
    footer {
        padding-bottom: 25px;
    }
}