/*
Theme Name: mozgovaya-tiflo
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}
html, body {
    min-height: 100%;
}
body {
    background-image: url(images/bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 30px;
}
#bg-animated {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
#page-layout {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10000;
}
#header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to bottom right, #4545af, #303084);
    border-radius: 10px 10px 0 0;
    color: #ffffff;
}
#h-photo {
    padding-right: 20px;
}
#h-photo img {
    width: 150px;
    border-radius: 50%;
}
#h-main h1 {
    font-size: 22pt;
    font-weight: 400;
    margin-bottom: 10px;
}
#h-main h1 span {
    font-weight: 600;
}
#h-main p {
    font-size: 14pt;
    font-weight: 300;
}
#main {
    display: flex;
}
#menu {
    background-color: #ffffff;
    padding: 10px 0 10px 10px;
    max-width: 300px;
}
#mobile-menu-link {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    background-color: #303084;
    text-align: center;
    font-size: 14pt;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
}
#mobile-menu-link img {
    width: 28px;
    margin-right: 12px;
}
#menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
#menu ul li {
    display: flex;
    width: 100%;
    padding-bottom: 5px;
}
#menu ul li:last-child {
    padding-bottom: 0;
}
#menu ul li a {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 14px 15px;
    font-size: 12pt;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    transition: 0.25s;
}
#menu ul li a:hover {
    transform: scale(0.97);
}
#menu ul li:nth-child(1) a {
    background-color: #35B7F3;
}
#menu ul li:nth-child(2) a {
    background-color: #EA6D7C;
}
#menu ul li:nth-child(3) a {
    background-color: #3CC3AB;
}
#menu ul li:nth-child(4) a {
    background-color: #FCBC36;
}
#menu ul li:nth-child(5) a {
    background-color: #bf6ccb;
}
#menu ul li:nth-child(6) a {
    background-color: #3CC3AB;
}
#menu ul li:nth-child(7) a {
    background-color: #F67B9F;
}
#menu ul li:nth-child(8) a {
    background-color: #6AB5E0;
}
#menu ul li:nth-child(9) a {
    background-color: #EA6D7C;
}
#menu ul li:nth-child(10) a {
    background-color: #35B7F3;
}
#menu ul li:nth-child(11) a {
    background-color: #FCBC36;
}
#menu ul li:nth-child(12) a {
    background-color: #bf6ccb;
}
#menu ul li:nth-child(13) a {
    background-color: #35B7F3;
}
#menu ul li:nth-child(14) a {
    background-color: #3CC3AB;
}
#menu ul li:nth-child(15) a {
    background-color: #bf6ccb;
}
#menu ul li:nth-child(2n+16) a {
    background-color: #FCBC36; 
}
#menu ul li:nth-child(2n+17) a {
    background-color: #35B7F3;
}
#menu ul li:nth-child(2n+18) a {
    background-color: #F67B9F;
}
#content {
    width: 100%;
    padding: 20px;
    min-height: 100%;
    background-color: #ffffff;
}
#page-title {
    font-size: 18pt;
    font-weight: 500;
    color: #303084;
    margin-bottom: 20px;
}
#page-title:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #303084;
    margin-top: 20px;
}
#content img {
    max-width: 100%;
    height: auto;
}
#content p {
    line-height: 1.8em;
}
#content ul,
#content ol {
    line-height: 1.8em;
    margin-left: 20px;
}
#content strong {
    font-weight: 500;
}
#content a {
    color: #0000ff;
}
#content hr {
    height: 1px;
    border: none;
    background-color: #303084;
    margin: 20px 0;
}
#photo-gallery {
    font-size: 0;
    margin: 20px -10px 20px 0;
}
.photo-out {
    width: 25%;
    display: inline-block;
    padding: 0 10px 10px 0;
}
.photo {
    display: block;
    border-radius: 3px;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-color: #eeeeee;
    border: 1px solid #303084;
}
.photo-rect {
    padding-top: 150% !important;
}
label {
    margin-bottom: 10px;
}
.text-input {
    width: 100%;
    max-width: 400px;
    padding: 7px;
    font-family: 'Rubik', sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: #212121;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.textarea-input {
    width: 100%;
    max-width: 400px;
    padding: 7px;
    font-family: 'Rubik', sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: #212121;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    resize: none;
}
.submit-button {
    width: 100%;
    padding: 12px 16px;
    max-width: 400px;
    font-size: 12pt;
    font-weight: 300;
    color: #ffffff;
    background-color: #303084;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}
.wpcf7 form .wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 10px 18px !important;
    background-color: #ffffff;
    border-radius: 5px;
}
#footer {
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(to bottom right, #4545af, #303084);
    border-radius: 0 0 10px 10px;
    color: #ffffff;
    margin-bottom: 15px;
}
#footer p {
    font-size: 12pt;
    font-weight: 400;
}
@media (min-width: 901px) {
    #mobile-menu-link {
        display: none;
    }
    #menu {
        display: block !important;
        max-width: 300px;
    }
}
@media (max-width: 900px) {
    body {
        padding: 20px;
    }
    #header h1 {
        font-size: 18pt;
    }
    #header p {
        font-size: 12pt;
    }
    #main {
        flex-direction: column;
    }
    #mobile-menu-link {
        display: flex;
    }
    #menu {
        display: none;
        max-width: 100%;
        padding: 10px;
    }
}
@media (max-width: 1050px) {
    .photo-out {
        width: 33.33333%;
    }
}
@media (max-width: 900px) {
    .photo-out {
        width: 25%;
    }
}
@media (max-width: 750px) {
    .photo-out {
        width: 33.33333%;
    }
}
@media (max-width: 540px) {
    .photo-out {
        width: 50%;
    }
}
@media (max-width: 800px) {
    #header {
        flex-direction: column;
    }
    #h-photo {
        padding-right: 0;
        margin-bottom: 10px;
    }
    #h-photo img {
        width: 150px;
    }
    #h-main {
        text-align: center;
    }
}
@media (max-width: 430px) {
    #h-photo img {
        width: 130px;
    }
}