* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    max-width: 1170px;
    margin: 0 auto;
}
a {
    color: #08A8F1;
    text-decoration: none;
}

a:visited {
    color: #08A8F1;
}

h1 {
    font-size: 24px;
}

h2, p {
    font-size: 20px;
}

header {
    position: sticky;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    
    height: 60px;
    width: 1130px;
    padding: 20px;
    background-color: #fff;
    
    border-bottom: 1px solid #565656;
}
header img {
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    font-size: 20px;
    font-weight: 500;
    color: #08A8F1;
}
nav ul li a {
    line-height: 24px;
}

nav ul li a:hover {
    border-bottom: 2px solid #08A8F1;
}

.hero img {
    width: 100%;
    height: 560px;
}

section {
    display: flex;    
    flex-direction: column;
    padding: 120px 120px 60px 120px;
}

section > p {
    font-size: 24px;    
}
section p { 
    color: #08A8F1;
}

section h1 {
    padding: 0 10px;
}

#about > div {
    display: flex;
    justify-content: space-around;
    padding: 40px 0px;
    margin: 40px auto;
}

#about > div div {
    display: flex;
    width: calc(100% * (1/2) - 120px );
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

#about .divisor {
    width: 1px;
    padding: 0;
    background-color: #08A8F1;
}

#about > div div img {
    height: 60px;
    margin-bottom: 20px;
}
#about > div div h2 {
    margin-bottom: 20px;
    color: #08A8F1;
}

#services {
    align-items: center;
    background-color: #08A8F1;
}

#services h1, h2{
    color: #fff;
}

#services h1 {
    border-bottom: 2px solid #fff;
}

#services p {
    color: #fff;
}
#services > div {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 40px 80px;
}

#services > div > div {
    flex: 1 0 40%;
    padding: 10px;
    margin-bottom: 20px;
}

#services > div > div > div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#services > div > div > div img {
    height: 30px;
    width: auto;
    margin-right: 10px;
}

#portifolio {
    align-items: center;
    color: #08A8F1;
}

#portifolio h1 {
    border-bottom: 2px solid #08A8F1;
    margin-bottom: 20px;
}

#portifolio > div div {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#portifolio > div div img {
    flex: 1 0 20%;
    height: 150px;
    width: auto;
}

#contacts {
    align-items: center;

    background-color: #08A8F1;
}

#contacts h1 {
    border-bottom: 2px solid #fff;
    color: #fff;
    margin-bottom: 20px;
}

#contacts p {
    color: #fff;
    margin-bottom: 20px;
}

#contacts > div {
    display: flex;
    flex-direction: column;
}

#contacts > div > div {
    display: flex;
    justify-content: space-between;
}

#contacts > div > div > div h2 {
    margin-bottom: 15px;
}

#contacts > div > div > div > div:first-child {
    margin-bottom: 20px;
}

#contacts > div > div > div > div:first-child img {
    height: 30px;
    width: auto;
}

footer {
    display: flex;
    justify-content: center;
    padding: 20px 0px;
    background-color: #08A8F1;
    color: #fff;
}