* {
    margin: 0;
    padding: 0;
}
body {
    background-color: rgb(255, 255, 255);
}
a, a:hover, a:visited {
    text-decoration: none;
}
div, p, input, textarea, button {
    font-size: 18px;
    font-family: 'Play', sans-serif;
    color: rgb(0, 0, 0);
}
h1 {
    font-size: 26px;
    font-family: 'Play', sans-serif;
    color: rgb(0, 0, 0);
}
.pre-logo,
.post-logo {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
}
.pre-logo {
    color: rgb(0, 0, 230);
}
.post-logo {
    color: rgb(77, 184, 255);
}
.contact-button {
    border: none;
    border-radius: 12px;
    outline: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 230);
    cursor: pointer;    
}
.contact-button:hover {
    outline: 4px solid rgba(0, 0, 230, 0.3);
}
.picture img {
    width: 100%;
}
.content h1 {
    margin: 10px 0;
    text-align: center;
}
.content p {
    line-height: 26px;
}
.navbar {
    float: left;
    position: fixed;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 3%;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
}
.navbar .pre-logo,
.navbar .post-logo,
.sidebar .pre-logo,
.sidebar .post-logo {
    font-size: 22px;
}
.navbar .link {
    color: rgb(0, 0, 230);
}
.navbar .m {
    display: none;
}
.navbar .link:hover {
    text-decoration: underline;
}
.navbar .contact-button {
    padding: 10px 20px;
}
.navbar .menu,
.sidebar .menu {
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}
.navbar .menu img {
    width: 30px;
    height: 30px;
}
.sidebar .menu img {
    width: 24px;
    height: 24px;
}
.sidebar {
    position: fixed;
    z-index: 3;
    width: 0%;
    height: 100vh;
    transition: 0.2s;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: rgb(255, 255, 255);
}
.sidebar .main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 3%;
    box-sizing: border-box;
}
.sidebar .links {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 100px);
}
.sidebar .link {
    width: 60%;
    margin: 5px 20%;
    padding: 10px 0;
    text-align: center;
    border-radius: 12px;
    color: rgb(0, 0, 230);
    background-color: rgb(230, 245, 255);
}
.sidebar .contact-button {
    width: 60%;
    margin: 5px 20%;
    padding: 10px 20px;
}
.home {
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 60px 0 0;
    margin: 0;
}
.home .picture {
    width: 100%;
}
.home .content {
    width: 92%;
    margin: 0 4%;
}
.services {
    float: left;
    width: 100%;
    margin: 0;
    padding: 50px 0 0;
}
.service {
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 10px 0;
}
.service .picture {
    width: 100%;
}
.service .content {
    width: 92%;
    margin: 0 4%;
    text-align: left;
}
.contacts {
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 50px 0 10px;
}
.contacts .picture {
    width: 100%;
}
.contacts .content {
    width: 92%;
    margin: 0 4%;
}
.contacts .content div {
    display: flex;
    align-items: center;
    margin: 5px 0;
}
.contacts .content p {
    margin: 10px;
    font-size: 20px;
    font-weight: 600;
}
.contacts .icon-phone,
.contacts .icon-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgb(0, 0, 230);
    border-radius: 100px;
}
.contacts .icon-phone img {
    width: 24px;
    height: 24px;
}
.contacts .icon-mail img {
    width: 32px;
    height: 32px;
}
.contacts form {
    float: left;
    width: 100%;
    margin: 5px 0;
}
.contacts form input,
.contacts form textarea {
    float: left;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    border: none;
    border-radius: 12px;
    outline: none;
    background-color: rgb(230, 245, 255);
    box-sizing: border-box;
}
.contacts form textarea {
    resize: vertical;
}
.contacts form input::placeholder,
.contacts form textarea::placeholder {
    color: rgb(0, 0, 0);
}
.contacts form input::-webkit-input-placeholder,
.contacts form textarea::-webkit-input-placeholder {
    color: rgb(0, 0, 0);
}
.contacts form input::-moz-placeholder,
.contacts form textarea::-moz-placeholder {
    color: rgb(0, 0, 0);
    opacity: 1;
}
.contacts form input:-moz-placeholder,
.contacts form textarea:-moz-placeholder {
    color: rgb(0, 0, 0);
    opacity: 1;
}
.contacts form input:-ms-input-placeholder,
.contacts form textarea:-ms-input-placeholder {
    color: rgb(0, 0, 0);
}
.contacts form input:focus,
.contacts form textarea:focus {
    padding: 10px 10px 8px 10px;
    border-bottom: 2px solid rgb(77, 184, 255);
}
.contacts form button {
    float: left;
    width: 50%;
    margin: 5px 0;
    padding: 10px;
}
.footer {
    float: left;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 4px 0;
    font-size: 16px;
}
@media screen and (min-width: 768px) {
    .navbar {
        padding: 0 10%;
    }
    .sidebar .main {
        padding: 0 10%;
    }
    .sidebar .link {
        width: 40%;
        margin: 5px 30%;
    }
    .sidebar .contact-button {
        width: 40%;
        margin: 5px 30%;
    }
    .home {
        width: 80%;
        margin: 0 10%;
    }
    .services {
        width: 80%;
        margin: 0 10%;
    }
    .contacts {
        width: 80%;
        margin: 0 10%;
    }
}
@media screen and (min-width: 992px) {
    h1 {
        font-size: 32px;
    }
    .content p {
        line-height: 30px;
    }
    .navbar {
        height: 70px;
        padding: 0 4%;
    }
    .navbar .pre-logo,
    .navbar .post-logo {
        font-size: 24px;
    }
    .navbar .m {
        display: block;
    }
    .navbar .menu {
        display: none;
    }
    .sidebar {
        display: none;
    }
    .home {
        width: 96%;
        height: 100vh;
        margin: 0 2%;
        padding: 0;
    }
    .home .picture {
        width: 60%;
        margin: 0;
    }
    .home .content {
        width: 40%;
        margin: 0;
    }
    .home .content h1,
    .home .content p {
        text-align: left;
    }
    .services {
        width: 94%;
        margin: 0 3%;
        padding: 40px 0 0;
    }
    .service:nth-child(odd) {
        flex-direction: row-reverse;
    }
    .service:nth-child(even) {
        flex-direction: row;
    }
    .service .picture {
        width: 60%;
        margin: 0;
    }
    .service .content {
        width: 40%;
        margin: 0;
    }
    .service:nth-child(odd) .content h1,
    .service:nth-child(odd) .content p {
        text-align: right;
    }
    .service:nth-child(even) .content h1,
    .service:nth-child(even) .content p {
        text-align: left;
    }
    .contacts {
        width: 96%;
        height: 100vh;
        margin: 0 2%;
        padding: 0;
    }
    .contacts .picture {
        width: 60%;
        margin: 0;
    }
    .contacts .content {
        width: 40%;
        margin: 0;
    }
    .contacts .content h1 {
        text-align: left;
    }
    .contacts .content p {
        font-size: 24px;
    }
    .contacts form {
        width: 80%;
    }
    .footer {
        font-size: 17px;
    }
}
@media screen and (min-width: 1200px) {
    h1 {
        font-size: 36px;
    }
    .navbar {
        padding: 0 10%;
    }
    .home {
        width: 90%;
        margin: 0 5%;
    }
    .services {
        width: 88%;
        margin: 0 6%;
    }
    .contacts {
        width: 88%;
        margin: 0 6%;
    }
    .contacts form {
        width: 60%;
    }
}
@media screen and (min-width: 1600px) {
    .navbar {
        padding: 0 12%;
    }
    .home {
        width: 80%;
        margin: 0 10%;
    }
    .services {
        width: 76%;
        margin: 0 12%;
    }
    .contacts {
        width: 76%;
        margin: 0 12%;
    }
    .contacts form {
        width: 60%;
    }
}