@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html, body {
    margin-top: 0;
    padding-top: 0;
}

:root {
    --main-color: #39BE19;
}

button:focus {
    outline: 0;
}

.defaultButton {
    background-color: var(--main-color);
    color: white;
    cursor: pointer;
    text-align: center;
    border: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.defaultButton:hover {
    color: var(--main-color);
    background-color: white;
}

.title {
    font-size: 250%;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
}

.title span {
    display: inline-block;
    position: relative;
}

.title span:first-child:before,
.title span:last-child:after {
    content: '';
    position: absolute;
    border-top: .8vh solid var(--main-color);
    top: 50%;
    width: 3.5vw;
}

.title span:first-child:before {
    right: 100%;
    margin-right: 2vw;
}
.title span:last-child:after {
    left: 100%;
    margin-left: 2vw;
}

.panel {
    height: 13vh;
    width: 100%;
    margin-bottom: 2%;
}

.logo {
    height: 100%;
    width: 30%;
    float: left;
    margin-left: 5%;
}

.logo > img{
    height: 100%;
    width: auto;
}

.buttons {
    height: 100%;
    width: 30%;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons > button {
    display: inline-block;
    padding: 2% 6%;
    margin: 0 0 0 2%;
    font-size: 100%;
    font-family: Open Sans Semibold, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background-clip: padding-box;
    -moz-border-radius: .7em;
    -webkit-border-radius: .7em;
    border-radius: .7em;
}

.buttons > button:active{
    position: relative;
    top: 1px;
    text-shadow: none;
    -moz-box-shadow: 0 1px 1px rgba(244, 172, 38, .3) inset;
    -webkit-box-shadow: 0 1px 1px rgba(244, 172, 38, .3) inset;
    box-shadow: 0 1px 1px rgba(244, 172, 38, .3) inset;
}

footer {
    height: 20vh;
    background: var(--main-color);
    color: white;
    font-family: Open Sans, sans-serif;
    font-weight: bold;
    padding: 0 auto;
    margin-top: 5vh;
}

footer > * {
    display: inline-block;
    vertical-align: top;
}

footer .logoWrap {
    float: left;
    height: 98%;
    position: relative;
    width: 25%;
    text-align: center;
    background: white;
}

footer > .logoWrap > img {
    height: 60%;
    max-width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

footer .phones {
    margin-left: 3%;
    vertical-align: middle;
    text-align: left;
}

.contactsWrap {
    width: 55%;
    height: 100%;
    padding: 0 auto;
    margin: 0 auto;
}

.contacts {
    text-align: center;
    padding-top: 2%;
}

.contacts p {
    margin-top: 0;
}

.links a {
    font-size: 3em;
    margin-left: .7em;
    margin-right: .7em;
}

.links a:first-child {
    color: #4B74A5;
}

.links a:nth-child(2) {
    color: #3b5998;
}

.links a:nth-child(3) {
    color: #25d366;
}