body {
    margin: 0;
    padding: 0;
    border: 0;
    background: #E4E4E5;
    font-family: 'Roboto';
    position: relative;
}

.title {
    padding: 30px 0 0 0;
}

.title h1 {
    font-size: 46px;
}

.hamburger {
    display: none;
    width: 35px;
    height: 2px;
    background-color: #E4E4E5;
    margin: 10px 0;
}

.sentence {
    display: none;
}

/*Header*/

#header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 65px;
    background: #762F2D;
    position: fixed;
    z-index: 15;
}

.left-header {
    display: flex;
}

.lang {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    font-size: 14px;
    width: 60px;
}

.lang a {
    border-right: 1px solid #FFFFFF;
    padding-right: 10px;
}

.lang a, .logo a, .nav a {
    color: #FFFFFF;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 31px;
    text-transform: uppercase;
}

.logo a {
    padding-left: 8px;
    position: absolute;
}

.logo a:after {
    font-size: 18px;
    visibility: hidden;
    content: "Krāsotāju Project";
    padding-left: 8px;
    top: 0;
    left: 0;
}

.nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 24px;
}

.nav li {
    padding: 0 38px 0 0;
}

#mySidenav .nav-button {
    width: 100vw;
    text-align: center;
}

#mySidenav .sidenav-lang {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.line-between {
    display: flex;
    height: 100%;
    width: 2px;
    background-color: white;
}

.sidenav {
    display: flex;
    flex-direction: column;
    height: 105%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #762F2D;
    overflow-x: hidden;
    transition: 0.5s;
}

.sidenavigation {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50%;
}

.sidenav-lang {
    display: flex;
    margin: 90px 0;
}

.sidenav a {
    text-decoration: none;
    font-size: 24px;
    color: #E4E4E5;
    display: block;
    transition: 0.3s;
}

#mySidenav .title a {
    font-size: 44px;
    font-family: 'Bebas Neue';
    margin: 40px 0;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 36px;
    margin: 5px 35px;
    padding: 0;
}

/*Home*/

#home {
    display: flex;
    justify-content: space-between;
    height: auto;
    background-image: url("img/bg-01.png");
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    padding: 230px 175px;
}

.home-left {
    display: flex;
    align-items: center;
    z-index: 10;
}

.home-right {
    display: flex;
    justify-content: center;
    z-index: 10;
}

#home .title {
    display: flex;
    padding: 0;
    width: 90px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#home .title h1 {
    font-size: 72px;
    transform: rotate(-90deg);
    white-space: nowrap;
}

#home .title h1, #home .about h2, #home .more h1, #home .more h3 {
    margin: 0;
    font-family: 'Bebas Neue';
    color: white;
    font-weight: normal;
}

#home .about {
    display: flex;
    flex-direction: column;
    padding: 0 0 0 20px;
    border-left: 1px solid white;
    font-family: 'Bebas Neue';
    color: white;
    font-weight: normal;
}

#home .about h2 {
    font-size: 36px;
    text-transform: uppercase;
}

#home .about h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    font-family: 'Roboto';
    color: white;
    font-weight: normal;
}

#home .more {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#home .more h1 {
    font-size: 100px;
    text-align: right;
}

#home .more h2 {
    width: 50%;
    text-align: right;
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

#home .more h3 {
    width: 45%;
    font-size: 44px;
    text-align: center;
    line-height: 45px;
    padding-top: 100px;
    transition: 0.8s;
}

#home .more #button-send-top {
    color: #35190D;
    text-transform: uppercase;
    font-family: Roboto;
    font-weight: bold;
    font-size: 24px;
    margin: 20px 0 30px 0;
    cursor: pointer;
    background: white;
    border: 1px solid white;
    outline: none;
    padding: 2px 15px;
}

.dropdown {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: 50%;
    transition: 0.8s;
    height: 0;
}

.dropdown input {
    border: solid white;
    background-color: transparent;
    color: white;
    border-width: 0 0 2px 0;
    margin: 30px 0 5px 0;
    height: auto;
    padding: 0 0 10px 10px;
    font: 18px Roboto;
    outline: none;
    transition: 0.4s;
}

.dropdown input::placeholder {
    color: white;
    font-size: 18px;
}

.dropdown .data {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    margin: 20px 0 0 0;
}

.dropdown .data input {
    margin: 0 10px 0 0;
}

/*Invest*/

#invest {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    padding-bottom: 50px;
}

#invest .title h1 {
    color: #271016;
}

#invest .row {
    display: flex;
    width: 95%;
    padding: 25px 0 0 0;
}

#invest .row .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16.66%;
    padding: 0 18px;
}

#invest .row .item .icon {
    display: flex;
    align-items: flex-end;
    height: 100px;
    padding: 0 0 30px 0;
}

#invest .row .item .text {
    display: flex;
    text-align: center;
    padding: 0 10px;
}

#invest span {
    font-size: 24px;
}

/*Experience*/

#experience {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    padding-bottom: 50px;
    background-image: url("img/bg-02.jpg");
    background-position: bottom;
    background-attachment: fixed;
    color: #E6E6E7
}

#experience .title h1 {
    color: #E6E6E7;
}

#experience .text {
    display: flex;
    width: 45%;
    font-size: 18px;
    line-height: 21px;
    text-align: justify;
}

/*Location*/

#location {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    background-image: url("img/bg-03.png"), url("img/bg-04.png");
    background-position: center;
}

#location .title h1 {
    color: #762F2D;
}

#location .background {
    display: flex;
    height: 50%;
    align-items: center;
    flex-direction: column;
    padding-bottom: 50px;
}

#location .background .text {
    display: flex;
    width: 45%;
    font-size: 18px;
    line-height: 21px;
    text-align: justify;
}

#location .background .download {
    display: flex;
    width: 45%;
    font-size: 14px;
    font-weight: bold;
}

#location .background .download span {
    margin-right: 25px;
}

#location .map {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: flex-end;
}

#location .map_big {
    width: 100%;
}

#location .map_small {
    width: 0;
}

/*Gallery*/

#gallery {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    padding-bottom: 50px;
    background-image: url("img/bg-05.png"), url("img/bg-06.png");
    background-size: cover;
    background-position: center;
}

#gallery .title h1 {
    color: #E6E6E7
}

.slider-for {
    width: 50%;
}

.slider-for img {
    width: 100%;
}

.slider-nav {
    width: 45%;
    margin-top: 25px;
}

.slider-nav img {
    width: 85%;
    padding: 0 10px;
}

.slick-slider {
    display: flex !important;
    justify-content: center;
}

.slider-nav .slick-slide img {
    cursor: pointer;
}

.slick-slide {
    outline: none;
}

.slick-dots {
    display: none !important;
}

.slick-arrow {
    width: 5%;
    background: transparent;
    border: 0;
    font-size: 0;
    outline: none;
}

.slick-prev {
    background-image: url("img/left-button.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.slick-next {
    background-image: url("img/right-button.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.slider-for .slick-list {
    width: 100%;
}

.slider-nav .slick-list {
    width: 90%;
}

/*Contacts*/

#contacts {
    display: flex;
    height: auto;
    padding-top: 25px;
}

#contacts .title h1 {
    color: #000000;
}

#contacts .left {
    display: flex;
    align-items: flex-end;
    width: 25%;
}

#contacts .left img {
    width: 100%;
}

#contacts .right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 25%;
}

#contacts .right img {
    width: 100%;
}

#contacts .mid {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 50%;
    height: auto;
    padding-bottom: 30px;
}

#contacts .mid img {
    display: none;
}

#contacts .row {
    display: flex;
    width: 90%;
}

#contacts .row .col-1 {
    display: flex;
    flex-direction: column;
    width: 35%;
    line-height: 20px;
    font-size: 14px;
}

#contacts .row .col-2 {
    display: flex;
    flex-direction: column;
    width: 65%;
}

#contacts .row .form {
    width: 100%
}

#contacts h2 {
    font-size: 18px;
}

#contacts .row-1 {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

#contacts .row-1 input, #contacts .row-2 input {
    width: 50%;
    border: solid #000000;
    background-color: transparent;
    color: #000000;
    border-width: 0 0 1px 0;
    height: auto;
    outline: none;
    transition: 0.4s;
}

.name {
    margin-right: 50px;
}

#contacts .row-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#contacts .row-2 input {
    width: 100%;
}

#contacts .col-2 h2 {
    text-align: center;
}

#contacts .row-2 .data {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-size: 14px;
    margin: 15px 0;
}

#contacts .row-2 .data input {
    display: flex;
    width: auto;
    margin: 0 10px 0 0;
}

#contacts .row input::placeholder {
    color: #000000;
    font-size: 12px;
}

#contacts .row-2 #button-send-bottom {
    background: #762F2D;
    font-family: Roboto;
    font-weight: bold;
    font-size: 18px;
    color: white;
    border: 0;
    height: auto;
    cursor: pointer;
    border: 1px solid #762F2D;
    outline: none;
    display: flex;
    justify-content: center;
    padding: 2px 30px;
}

/*Footer*/

#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 15px 0;
    background: #762F2D;
    color: #FFFFFF;
    font-size: 14px;
}

@media only screen and (max-width: 1440px) {
    #header {
        height: 50px;
    }
    .break {
        flex-basis: 100%;
        height: 0;
    }
    #invest .row {
        flex-wrap: wrap;
    }
    #invest .row .item {
        width: 30%;
        padding-bottom: 35px;
    }
    #invest span {
        font-size: 18px;
    }
    .logo a {
        font-size: 0;
        position: relative;
    }
    .logo a:after {
        visibility: visible;
    }
    .nav {
        font-size: 18px;
    }
    #home {
        padding: 125px 175px;
    }
    #home .more h1 {
        font-size: 76px;
    }
    #home .more h2 {
        font-size: 24px;
    }
    #home .more h3 {
        font-size: 24px;
        line-height: 30px;
    }
    #home .more button {
        font-size: 18px;
    }
    #home .title {
        width: 75px;
    }
    #home .title h1 {
        font-size: 48px;
    }
    #home .about h2 {
        font-size: 22px;
    }
    #home .about h3 {
        font-size: 18px;
        margin: 0 0 10px 0;
    }
    .dropdown {
        width: 75%;
    }
    .dropdown input::placeholder {
        font-size: 16px;
    }
    .title h1 {
        font-size: 30px;
    }
    #invest .row .item .text {
        padding: 0px 50px;
    }
    #experience .text {
        width: 75%;
    }
    #location .background .text {
        width: 75%;
    }
    #location .background .download {
        width: 75%;
    }
    #contacts .left {
        width: 20%;
    }
    #contacts .mid {
        width: 60%;
    }
    #contacts .right {
        width: 20%;
    }
    .slider-for {
        width: 45%;
    }
    .slider-nav {
        width: 40%;
    }
}

@media only screen and (max-width: 1200px) {
    #home {
        padding: 150px 90px;
    }
    #home .more h1 {
        font-size: 76px;
    }
    #invest .row {
        justify-content: center;
        padding: 25px 0 0 0;
    }
    #invest .row .item {
        padding: 25px 15px;
    }
    #contacts .left {
        width: 15%;
    }
    #contacts .mid {
        width: 70%;
    }
    #contacts .right {
        width: 15%;
    }
}

@media only screen and (max-width: 1024px) {
    .break {
        display: none;
    }
    .break2 {
        flex-basis: 100%;
        height: 0;
    }
    .nav {
        font-size: 14px;
    }
    .nav li {
        padding: 0 19px 0 0;
    }
    .logo a:after {
        font-size: 16px;
    }
    #home {
        padding: 195px 120px;
    }
    #home .more h1 {
        font-size: 50px;
    }
    #home .more h2 {
        font-size: 20px;
    }
    #home .more h3 {
        line-height: 30px;
        font-size: 26px;
    }
    #home .title {
        width: 70px;
    }
    #home .title h1 {
        font-size: 56px;
    }
    #home .more button {
        font-size: 20px;
    }
    #invest .row .item {
        width: 50%;
        padding: 25px 0;
    }
    #contacts .left {
        display: none;
    }
    #contacts .mid {
        width: 100%;
    }
    #contacts .right {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .nav a {
        padding: 0 10px;
    }
    .name {
        margin-right: 0;
    }
    .sentence {
        display: flex;
        position: absolute;
        font-family: 'Bebas Neue';
        padding: 625px 125px;
        line-height: 45px;
        left: 0;
        top: 0;
        text-align: center;
    }
    .sentence h3 {
        font-weight: normal;
        font-size: 48px;
        line-height: 52px;
    }
    .logo a:after {
        font-size: 20px;
    }
    .nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 25px;
    }
    .nav li {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .title h1 {
        font-size: 36px;
    }
    #invest span {
        font-size: 18px;
    }
    p {
        font-size: 14px;
    }
    .lang {
        display: none;
    }
    #home {
        flex-direction: row-reverse;
        padding: 150px 50px 535px 50px;
    }
    .home-left {
        width: 35%;
        align-items: flex-start;
    }
    .home-right {
        width: 65%;
    }
    #home .more {
        align-items: center;
    }
    #home .more h1 {
        font-size: 46px;
        text-align: center;
        padding-bottom: 25px;
    }
    #home .more h2 {
        text-align: center;
        font-size: 32px;
        font-weight: normal;
        width: 95%;
    }
    #home .more h3 {
        display: none;
    }
    #home .more button {
        font-size: 16px;
    }
    #home .title {
        width: 60px;
        height: 330px;
    }
    #home .title h1 {
        font-size: 44px;
    }
    #home .about {
        padding: 0 0 0 15px;
    }
    #home .about h2 {
        font-size: 20px;
    }
    #home .about h3 {
        font-size: 16px;
    }
    .dropdown {
        width: 75%;
    }
    .dropdown input {
        margin: 15px 0 5px 0;
    }
    .dropdown input::placeholder {
        font-size: 14px;
    }
    #experience .title {
        text-align: center;
    }
    #experience .title h1 {
        font-size: 30px;
    }
    #experience .text {
        width: 75%;
    }
    #location .title h1 {
        font-size: 30px;
        padding: 0 30px;
        text-align: center;
    }
    #location .background .text {
        width: 75%;
    }
    #location .map_big {
        width: 0%;
    }
    #location .map_small {
        width: 100%;
    }
    #contacts .mid img {
        display: flex;
        width: 100%;
    }
    #contacts .row {
        flex-direction: column;
        align-items: center;
    }
    #contacts .row .col-1 {
        text-align: center;
        width: 100%;
        padding: 0 0 25px 0;
    }
    #contacts h2 {
        font-size: 18px;
        text-align: center;
    }
    #contacts .row-1 {
        flex-direction: column;
        margin: 0;
        align-items: flex-end;
    }
    #contacts .row-1 input {
        width: 100%;
        margin-bottom: 20px;
    }
    .slick-prev {
        background-size: 50%;
    }
    .slick-next {
        background-size: 50%;
    }
    .slider-for {
        width: 85%;
    }
    .slider-nav {
        width: 80%;
    }
}

@media only screen and (max-width: 425px) {
    .sentence {
        display: none;
    }
    .break {
        display: none;
    }
    .break2 {
        display: none;
    }
    .break3 {
        flex-basis: 100%;
        height: 0;
    }
    #home {
        padding: 0px;
        justify-content: center;
        flex-direction: column-reverse;
        background-image: none;
    }
    .home-right {
        width: 100%;
        justify-content: center;
        background-image: url("img/bg-01.png");
        background-size: cover;
        background-position: center;
        height: 50%;
        padding: 150px 0;
    }
    .home-left {
        height: 50%;
        width: 100%;
        justify-content: center;
        background: #762F2D;
        padding: 100px 0;
    }
    #home .title {
        height: 450px;
    }
    #home .title h1 {
        font-size: 60px;
    }
    #home .about h2 {
        font-size: 32px;
    }
    #home .about h3 {
        font-size: 20px;
    }
    #home .more h1 {
        font-size: 48px;
    }
    #home .more h2 {
        font-size: 26px;
    }
    #home .more h3 {
        display: flex;
        line-height: 36px;
        font-size: 30px;
        width: 75%;
    }
    .dropdown {
        width: 90%;
    }
    #invest .row .item {
        width: 75%;
    }
    #invest .row .item .text {
        padding: 0;
    }
    .dropdown .data {
        font-size: 12px;
    }
    .title h1 {
        padding: 0 10px;
    }
    #contacts .row .col-2 {
        width: 80%;
    }
}

@media only screen and (max-width: 375px) {
    .logo a:after {
        font-size: 20px;
    }
    #home .title {
        height: 395px;
    }
    #home .more h1 {
        font-size: 38px;
    }
    #home .more h2 {
        font-size: 18px;
    }
    #home .more h3 {
        font-size: 24px;
        width: 70%;
    }
    .dropdown input::placeholder {
        font-size: 14px;
    }
    .home-right {
        padding: 155px 0;
    }
    #home .title h1 {
        font-size: 52px;
    }
    #home .about h2 {
        font-size: 26px;
    }
    #home .about h3 {
        font-size: 18px;
    }
    #contacts .row .col-1 {
        width: 75%;
    }
    #mySidenav .title a {
        font-size: 34px;
    }
    .sidenav a {
        font-size: 22px;
    }
    .sidenav-lang {
        margin: 50px 0;
    }
}

@media only screen and (max-width: 325px) {
    .home-right {
        padding: 85px 0;
    }
    .home-left {
        padding: 50px 0;
    }
}