@charset "utf-8";
* {
    padding: 0;
    margin: 0;
}
img {
    vertical-align: bottom;
}

header {
    background-color: #C0E078;
    display: flex;
    padding-top: 10px;
    padding-right: 50px;
    padding-left: 50px;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}

nav ul {
    display: flex;
    list-style-type: none;
}
nav ul li {
    margin-left: 20px;
}

footer {
    background-color: #B5C941;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}
.mainImg {
    margin-bottom: 50px;
}

.mainImg img {
    width: 100%;
    height: auto;
}
section {
    margin-bottom: 50px;
}
.secWorks {

}
.secWorks h2 {
    text-align: center;
}

.boxWorks {
    display: flex;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    justify-content: space-between;
    align-items: flex-end;
}
.blockWorks {
    width: 20%;
    text-align: center;
}
.blockWorks img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.secFav h2 {
    text-align: center;
}
.boxFav {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.blockFav {
    width: 45%;
}
.blockFav h3 {
    text-align: center;
    margin-bottom: 10px;
}
.imgFav {
    margin-bottom: 15px;
}




.imgFav img {
    width: 33%;
    height: auto;
}

@media screen and (max-width:768px){
body {
    background-color: #2FAEFF;
}
header {
    background-color: #F8A760;
    flex-direction: column;
    align-items: center;
}
h1 {
    margin-bottom: 10px;
}
.boxWorks {
    flex-direction: column;
    align-items: center;
}
.blockWorks {
    width: 60%;
    margin-bottom: 30px;
}
.secWorks h2 {
    margin-bottom: 40px;
}
.secFav h2 {
    margin-bottom: 40px;
}

.boxFav {
    flex-direction: column;
    align-items: center;
}
.blockFav {
    width: 60%;
    margin-bottom: 40px;
}
.blockFav h3 {
    margin-bottom: 20px;
}









}
