@-webkit-keyframes shine {
    100% {
        -webkit-transform: rotateZ(60deg) translate(3em, -14em);
        transform: rotateZ(60deg) translate(3em, -14em);
    }
}

@keyframes shine {
    100% {
        -webkit-transform: rotateZ(60deg) translate(3em, -14em);
        transform: rotateZ(60deg) translate(3em, -14em);
    }
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a:hover,
a:focus {
    color: #bc0000;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Arial", Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

body {
    font-family: "Arial", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #292929;
    line-height: normal;
}

.red {
    color: #bc0000;
}

.main {
    display: -webkit-box;
    display: flex;
}

.sidebar {
    background-color: #332a6b;
    width: 325px;
    padding: 30px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    height: 100%;
}

.sidebar .logo {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sidebar .nav li a {
    font-size: 24px;
    color: #ffffff;
    text-shadow: 0px 5px 0px #1f1941;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.sidebar .nav li a svg {
    fill: #ffffff;
}

.sidebar .copyright {
    padding-top: 60px;
    text-align: center;
    color: #645c92;
}

.main-content {
    -webkit-box-flex: 1;
    flex: 1;
    margin-left: 325px;
    padding: 40px 35px;
}

section h2 {
    text-transform: uppercase;
    font-size: 35px;
    color: #bc0000;
    margin-bottom: 20px;
    font-weight: 800;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

section h2 svg {
    fill: #bc0000;
    margin-right: 10px;
}

section h3 {
    font-size: 22px;
}

section h3 span {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 5px;
    font-weight: 800;
    color: #332a6b;
    padding: 5px 15px;
    margin-bottom: 15px;
}

section a {
    text-decoration: underline;
    color: #111632;
    font-weight: 800;
}

.btn-theme {
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-color: #2daa68;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 0;
    width: 100%;
}

.btn-theme:after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(50%, rgba(255, 255, 255, 0.5)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.5) 50%, rgba(0, 0, 0, 0));
    -webkit-transform: rotateZ(60deg) translate(-7.5em, 10em);
    transform: rotateZ(60deg) translate(-7.5em, 10em);
    -webkit-transition: visibility 0.1s ease-out, opacity 0.1s ease-out;
    transition: visibility 0.1s ease-out, opacity 0.1s ease-out;
    opacity: 0;
    visibility: hidden;
}

.btn-theme:hover:after {
    opacity: 1;
    visibility: visible;
}

.btn-theme:hover:after, .btn-theme:focus:after {
    -webkit-animation: shine 1.2s forwards;
    animation: shine 1.2s forwards;
}

.block-contact {
    background-color: #f1f1f1;
    padding: 33px 24px;
    color: #000000;
}

.block-contact form {
    max-width: 395px;
}

.block-contact .form-group {
    margin-bottom: 7px;
}

.block-contact .form-control {
    border-radius: 0;
    border: 1px solid #c7c7c7;
    height: 46px;
}

@media only screen and (min-width: 1400px) {
    .main-content {
        margin-left: 470px;
    }

    .sidebar {
        width: 470px;
    }

    .sidebar .logo {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .sidebar .nav li a {
        font-size: 35px;
    }
}

.mobile-logo {
    display: none;
}

.desktop-logo {
    display: inline-block;
}

@media only screen and (max-width: 767px) {
    .mobile-logo {
        display: inline-block;
        max-width: 225px;
    }

    .desktop-logo {
        display: none;
    }

    .sidebar {
        position: inherit;
        width: 100%;
        top: inherit;
        left: inherit;
        padding-top: 0;
        padding: 15px;
    }

    .sidebar.sticky .nav {
        position: fixed;
        display: block;
        background-color: #332a6b;
        width: 100%;
        left: 0;
        top: 0px;
        padding: 5px;
        -webkit-transition: 1s all ease-out;
        transition: 1s all ease-out;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .main {
        flex-wrap: wrap;
    }

    .sidebar .logo {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }

    .sidebar .nav > ul {
        margin: 0 auto;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
    }

    .nav {
        display: none;
    }

    .copyright {
        display: none;
    }

    .sidebar .nav li a {
        font-size: 12px;
        margin-bottom: 0px;
        margin-left: 3px;
        margin-right: 3px;
    }

    .sidebar .nav li a svg {
        width: 25px;
        height: 25px;
    }
}

@media only screen and (max-width: 460px) {
    section h2 {
        font-size: 26px;
    }

    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    section h3 {
        font-size: 18px;
    }

    .sidebar .nav li a {
        font-size: 10px;
    }

    .sidebar .nav li a svg {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 380px) {
    .sidebar .nav li a {
        font-size: 8px;
    }
}
