@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --main-color: #2572ff;
    --light-color: #cddefd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f4f8ff;
    color: #000;
    font-size: 20px;
    font-weight: 500;
}

a {
    color: #000;
    text-decoration: none;
}

.accordeon {
    cursor: pointer;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.content div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    padding-top: 100px;
}

.title {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn {
    padding: 18px 20px;
    background: var(--main-color);
    color: #fff;
    border: none;

    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;

    cursor: pointer;
}

.btn_no_border {
    background: transparent;
}

.container {
    position: relative;
    padding: 40px 60px;
}

.pop_up {    
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: transparent;
    transform: translateY(-44.5%) scale(0);
    transition: .4s ease-in-out;
    color: #fff;
    font-size: 16px;

    z-index: 999;
}

.pop_up.active {
    transform: translateY(0%) scale(100%);
    background-color: rgba(0, 0, 0, 0.8);
}

.pop_up_container {
    display: flex;
    width: 100%;
    height: 100%;

    z-index: 999;
}

.pop_up_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: auto;
    height: auto;
    background-color: rgb(16, 16, 16);
    border-radius: 10px;
    padding: 40px 45px 10px 45px;
    position: relative;
}

.pop_up_body p {
    font-size: 28px;
    margin-bottom: 40px;
}

.inputbox {
    position: relative;

    display: flex;
    justify-content: center;
}

.inputbox_file {
    display: flex;
    flex-direction: column;

    margin-bottom: 30px;
}

.inputbox_file span {
    margin-bottom: 10px;
}

.inputbox input,
.inputbox textarea {
    width: 330px;
    padding: 17px 20px;
    background-color: var(--bg-color);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.304);
    font-size: 18px;
    color: #fff;
    margin-bottom: 35px;
    outline: none;
    resize: none;
}

.inputbox textarea {
    height: 130px;
}

.inputbox span {
    position: absolute;
    left: 0;
    padding: 17px 20px;
    pointer-events: none;
    transition: 0.5s;
}

.inputbox input:valid ~ span,
.inputbox input:focus ~ span {
    color: var(--main-color);
    transform: translateY(-38px);
    font-size: 12px;
}

.inputbox textarea:valid ~ span,
.inputbox textarea:focus ~ span {
    color: var(--main-color);
    transform: translateY(-38px);
    font-size: 12px;
}

.inputbox input:valid,
.inputbox input:focus {
    border: 1px solid var(--main-color);
}

.inputbox textarea:valid,
.inputbox textarea:focus {
   border: 1px solid var(--main-color);
}

.inputbox_file {
    position: relative;
    padding: 0 40px;
}
   
.input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
   
.input__file-icon-wrapper {
    height: 58px;
    width: 60px;
    margin: 10px 15px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
}
   
.input__file-button-text {
    font-size: 14px;
    font-weight: 600;
    margin: 10px;

    padding-left: 10px;
}
   
.input__file-button {
    width: 100%;
    max-width: 290px;
    height: 60px;
    background: rgb(31, 30, 30);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    cursor: pointer;
    margin: 0 auto;

    border: 1px solid rgba(255, 255, 255, 0.786);
}

.inputbox_file_descr {
    display: flex;
    justify-content: center;
}

.inputbox_file_descr span {
    text-align: center;
    font-size: 14px;

    max-width: 300px;

    margin-bottom: 10px;

    margin-top: -10px;
}

.form_btn_block {
    display: flex;
    justify-content: center;
}

.form_btn {
    background-color: var(--main-color);
    color: #000;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
}

.pop_up_close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 21px;
    cursor: pointer;
}

.header {
    background-color: #fff;
    position: relative;
}

.header .container {
    padding: 30px 60px;
}

.header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
    margin-bottom: 30px;

    border-bottom: 1px solid rgb(201, 201, 201);
    padding-bottom: 20px;
}

.header_top_logo {
    display: flex;
    align-items: center;
    gap: 20px;

    font-weight: 600;
}

.header_top_logo img {
    width: 60px;
}

.header_top_logo h4 {
    font-size: 18px;
    padding-right: 30px;
    border-right: 1px solid rgb(155, 155, 155);
}

.header_top_logo span {
    font-size: 25px;
    font-weight: 600;
    color: var(--main-color);
}

.header_top_logo p {
    font-size: 16px;
    line-height: 26px;
}

.header_top_phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.header_top_phone_icon img {
    height: 40px;
}

.header_top_phone_descr a {
    font-size: 18px;
}

.header_top_phone_descr p {
    font-size: 15px;
    opacity: 0.8;

    margin-top: 5px;
}

.header_nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_nav_menu {
    display: flex;
    gap: 30px;
}

.header_nav_menu a:first-child {
    color: var(--main-color);
    font-weight: 600;
}

.header_nav_menu a:hover {
    color: var(--main-color);
}

.header_nav .btn {
    border-radius: 50px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.header_nav .btn img {
    width: 20px;
}

.header_middle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg.JPG);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(10%) brightness(20%);
}

.header_middle {
    position: relative;
    background: #eeeeee;
    color: var(--light-color);

    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;

    padding: 100px 60px 100px 60px;
}

.header_middle_text {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header_middle_text h2 {
    font-size: 28px;
    text-transform: uppercase;

    font-weight: 600;

    letter-spacing: 1px;
}

.header_middle_text h1 {
    color: var(--light-color);
    font-size: 60px;
    text-transform: uppercase;

    font-weight: 600;

    letter-spacing: 2px;
    margin-bottom: 8px;
}

.header_middle_text h3 {
    font-size: 20px;
    text-transform: uppercase;

    font-weight: 600;
    margin-bottom: 40px;

    letter-spacing: 2px;

    color: #fff;
}

.header_middle_text a {
    color: #fff;
}

.btn_list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header_middle_text .btn:first-child {
    background-color: #fff;
    color: #000;
}

.header_middle_text .btn:nth-child(2) {
    color: #fff;

    display: flex;
    align-items: center;
    gap: 10px;
}

.header_middle_text .btn img {
    width: 30px;
}

.header_middle_image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header_middle_image img {
    width: 400px;
    height: 400px;
    object-fit: cover;

    border-radius: 50%;
}

.about_list {
    display: flex;
    align-items: flex-start;
    gap: 50px;

    margin: 40px 0;
}

.about_descr .title {
    margin-bottom: 40px;
    width: 800px;
}

.about_descr p {
    font-size: 20px;
    line-height: 30px;
}

.about_info {
    border-left: 1px solid rgb(175, 175, 175);
    padding-left: 40px;
}

.about_info_list {
    display: flex;
    align-items: center;
    gap: 20px;

    margin: 15px 0 40px 0;
}

.about_info_list div {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 10px;
    
    border: 1px solid rgb(228, 228, 228);
    border-radius: 10px;

    background: #fff;
}

.about_info_list div svg {
    margin-right: 40px;
}

.about_rate img {
    width: 80px;
}

.about_info_list div p {
    font-size: 16px;
}

.about_links img {
    width: 50px;
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgb(228, 228, 228);
}

.about_links .about_info_list {
    gap: 10px;
}

.about_stocks div {
    display: flex;
    flex-direction: column;
    align-items: center;

    background: #ffffff;
    border: 1px solid rgb(228, 228, 228);
    border-radius: 10px;

    padding-bottom: 60px;

    position: relative;
}

.about_stocks_image {
    height: 300px;
    width: 400px;
    object-fit: cover;

    margin-bottom: 50px;
}

.about_stocks div p {
    text-align: center;
    font-weight: 600;
    font-size: 25px;
    width: 400px;
    padding: 0 20px;

    position: relative;
}

.about_stocks div span {
    font-size: 18px;
    opacity: 0.8;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 15px;
}

.about_stocks_icon {
    position: absolute;
    height: 60px;
    width: 60px;

    bottom: 202px;
    border-radius: 50%;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/beforeAfterBg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0%;
    background-attachment: fixed;
    filter: grayscale(10%) brightness(20%);
}

.services {
   position: relative;
   padding: 40px 0;
}

.services .title {
    color: #fff;
    text-align: center;
    margin-bottom: 100px;
}

.services_list {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.services_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    width: 400px;

    padding: 20px 30px 40px 30px;
    border-radius: 10px;

    background: #eef4ff;
}

.services_block div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.services_block img {
    width: 120px;
    height: 120px;
    object-fit: cover;

    border-radius: 50%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;

    margin: 20px auto;
}

.services_block h3 {
    text-align: center;
    font-size: 23px;
    letter-spacing: 1px;
    margin: 10px 0 20px 0;
}

.services_block p {
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.services_block .btn_no_border {
    background: transparent;
    color: #000;
}

.photo {
    margin: 40px 0 0 0;
}

.photo .title {
    text-align: center;
    margin: 60px 0 60px 0;
}

.studio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg.JPG);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(10%) brightness(20%);
}

.studio {
    position: relative;
}

.beforeAfter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/beforeAfterBg.jpg);
    background-size: cover;
    background-position: 0%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(10%) brightness(20%);
}

.beforeAfter {
    position: relative;
}

.photo_slide {
    padding: 100px;
    min-width: 100%;
}

.photo_slide_info {
    position: relative;
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.photo_slide_info h3 {
    font-size: 35px;
}

.photo_slide_info p {
    text-align: center;
    width: 500px;
    margin-bottom: 10px;
}

.photo_slide .content img {
    width: 300px;
    height: 300px;
    object-fit: cover;

    padding: 3px 5px;
}

.reviews {
    padding: 40px 0;
}

.reviews .btn a {
    color: #fff;
}

.reviews .btn_no_border a {
    color: #000;
}

.reviews_list {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 50px;
}

.reviews_descr .title {
    margin: 0px 0px 50px 0px;
}

.reviews_descr p {
    width: 800px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.reviews_descr .btn_no_border {
    color: #000;
}

.reviews_slide {
    display: none;
    gap: 50px;
    align-items: flex-end;

    padding: 30px;
    border-radius: 10px;

    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #fff;
}

.reviews_slide_block:first-child {
    padding-bottom: 20px;
    border-bottom: 2px solid rgb(234, 234, 234);
}

.reviews_slide_block:nth-child(2) {
    margin-top: -30px;
}

.reviews_slide_avatar div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews_slide_avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;

    border-radius: 50%;
}

.reviews_slide_avatar div h4 p {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 5px;
}

.reviews_slide_text p {
    line-height: 30px;
    width: 500px;
    margin-top: 20px;
}

.block {
    display: flex;
    flex-direction: column;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.btnRight {
    width: 40px;
    border-radius: 5px;
    position: absolute;

    bottom: 0px;
    right: 20px;
}

.contacts {
    background: rgb(25, 25, 25);
    color: #fff;
}

.contacts_header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg.JPG);
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(80%) brightness(15%) blur(1px);
}

.contacts_header {
    position: relative;
}

.contacts .title {
    color: #fff;
    text-align: center;
    padding: 80px 0px;
    position: relative;
}

.contacts .title h2 {
    position: relative;
}

.contacts_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;

    position: relative;
}

.contacts_list img {
    width: 60px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.contacts_main {
    padding: 60px 100px;
}

.contacts_main_blocks {
    display: flex;

    justify-content: center;
    gap: 50px;
}

.contacts_main_blocks_info {
    position: relative;

    display: flex;
    flex-direction: column;

    flex-basis: 350px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.193);

    margin-top: 50px;
}

.contacts_main_blocks_info h3 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 600;

    margin-bottom: 20px;

    position: absolute;
    top: -80px;
    width: 400px;
}

.contacts_main_blocks_info p {
    opacity: 0.8;
    line-height: 28px;
    font-size: 18px;
}

.contacts_main_blocks_info p a {
    color: #fff;
}

.contacts_main_blocks_info h4 {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 600;

    margin-bottom: 20px;
    gap: 15px;
}

.contacts_main_blocks_info h4 img {
    width: 24px;
}

.footer {
    position: relative;
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;
    padding: 50px 100px;
}

.footer h3 {
    color: #fff;
}

.footer-block-info {
    display: flex;
    align-items: flex-start;
    list-style: none;

    gap: 30px;
}

.footer-block-info-list {
    list-style: none;
}

.footer-block-info-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;

    text-transform: uppercase;

    margin-bottom: 32px;
}

.footer-block-info-item {
    font-size: 14px;
    font-weight: 500;

    margin-bottom: 20px;
}

.footer-link {
    text-decoration: none;

    color: #fff;

    opacity: 0.6;
}

.footer-block-info-item:nth-child(6) {
    margin-bottom: 0;
}

.footer-block-links {
    max-width: 261px;
}

.footer-block-links p,
.footer-block-links h3 {
    color: #fff;
}

.footer-block-links a {
    color: #fff;
    opacity: 0.5;
}

.footer-block-links-text-descr {
    font-size: 14px;
    font-weight: 500;

    opacity: 0.6;

    margin-bottom: 29px;
}

.footer-block-links-text-site {
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 21px;
}

.footer-block-links-list {
    margin-bottom: 44px;

    display: flex;

    gap: 15px;
}

.footer-block-links-launguge {
    display: flex;

    gap: 10px;
}

@media (max-width: 1500px) {
    .about_descr .title {
        margin-bottom: 40px;
        width: 100%;
    }

    .reviews_descr p {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .about_list {
        flex-direction: column;
    }

    .about_info {
        padding: 0;
        border: none;
    }

    .services_list {
        flex-wrap: wrap;
    }

    .photo_slide .content img {
        width: 200px;
        height: 200px;
    }

    .reviews_descr .btn_list {
        flex-wrap: wrap;
    }

    .reviews_slide_text p {
        width: 400px;
    }
}

@media (max-width: 1100px) {
    .header_nav .btn {
        display: none;
    }

    .contacts_list {
        margin-bottom: 40px;
    }

    .contacts_main_blocks {
        flex-direction: column;
    }

    .contacts_main_blocks_info h3 {
        position: static;
        margin-bottom: 50px;
        top: 0;
        width: auto;
        line-height: 35px;
    }

    .contacts_main_blocks_info {
        flex-basis: auto;
        margin-top: 0;
        border: none;
    }

    .contacts_main {
        padding: 60px;
    }
}

@media (max-width: 1000px) {
    .header_nav_menu {
        flex-wrap: wrap;
    }

    .header_top_logo span {
        font-size: 20px;
    }

    .header_top_logo p {
        display: none;
    }

    .header_middle_image img {
        width: 300px;
        height: 300px;
    }

    .reviews_list {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .reviews_slide_text p {
        width: 100%;
    }

    .block {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .header_top_logo h4 {
        font-size: 16px;
        border: none;
    }

    .header_middle {
        flex-direction: column;
        align-items: flex-start;
        gap: 80px;
    }

    .header_middle_image img {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 800px) {
    .header .container {
        padding: 30px 40px;
    }

    .container {
        padding: 40px;
    }

    .header_middle {
        padding: 100px 40px 100px 40px;
    }

    .photo {
        margin: 0 0 0 0;
    }
    
    .photo .title {
        text-align: center;
        margin: 30px 0 30px 0;
    }

    .photo_slide {
        padding: 40px;
    }

    .photo_slide .content img {
        width: 150px;
        height: 150px;
    }

    .contacts_main {
        padding: 40px;
    }

    .contacts_main_blocks_info {
        padding-top: 0;
    }
}

@media (max-width: 700px) {
    .header_top_phone_descr p span {
        display: none;
    }

    .header_top {
        gap: 10px;
    }

    .header_top_logo {
        gap: 15px;
    }

    .header_top_logo img {
        width: 50px;
    }

    .footer {
        padding: 50px;
    }

    .footer-block-links {
        max-width: 100%;
    }

    .footer_block_title {
        max-width: 100px;
    }
}

@media (max-width: 600px) {
    .header_top_phone_descr a {
        font-size: 16px;
    }

    .header .container {
        padding: 20px;
    }

    .title {
        font-size: 25px;
        line-height: 35px;
    }

    .container {
        padding: 30px 20px;
    }

    .header_middle {
        padding: 100px 20px 100px 20px;
    }

    .header_top_logo img {
        width: 40px;
    }

    .header_top_phone_icon img {
        height: 30px;
    }

    .header_middle_text h2 {
        font-size: 22px;
    }

    .header_middle_text h1 {
        font-size: 50px;
    }

    .header_middle .btn_no_border img {
        display: none;
    }

    .photo_slide {
        padding: 60px 20px;
    }

    .photo_slide_info h3 {
        font-size: 30px;
    }

    .photo_slide_info p {
        width: 100%;
    }

    .contacts_list img {
        width: 50px;
    }
}

@media (max-width: 500px) {
    .header_middle::before {
        background-position: top;
        background-image: url(../images/bg_mobile.JPG);
        background-attachment: scroll;
    }

    .services::before {
        background-position: top;
        background-attachment: scroll;
    }

    .studio::before {
        background-position: top;
        background-attachment: scroll;
    }
    
    .beforeAfter::before {
        background-position: top;
        background-attachment: scroll;
    }

    .photo_slide {
        padding: 60px 0px;
    }

    .photo_slide_info p {
        padding: 0px 20px;
    }

    .photo_slide .content img {
        width: 100px;
        height: 100px;
    }

    .footer-block-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 450px) {
    .pop_up_body {
        padding: 40px 30px 10px 30px;
    }

    .pop_up_photo_slide img {
        width: 340px;
    }

    .inputbox input,
    .inputbox textarea {
        width: 280px;
    }

    .inputbox_file_descr span {
        max-width: 250px;
    }

    .inputbox span {
        padding: 17px 30px;
    }

    .inputbox_file span {
        font-size: 14px;
    }

    .header_nav_menu {
        gap: 20px;
    }

    .header_top_logo img {
        display: none;
    }

    .header_middle {
        gap: 60px;
    }

    .header_middle_text h2 {
        font-size: 20px;
    }

    .header_middle_text h1 {
        font-size: 40px;
    }

    .header_middle_text h3 {
        font-size: 18px;
    }

    .header_middle_image img {
        width: 300px;
        height: 300px;
    }

    .about_stocks_image {
        height: 200px;
        width: 300px;

        margin-bottom: 40px;
    }

    .about_stocks div {
        width: 300px;
    }

    .about_stocks_icon {
        width: 60px;
        height: 60px;
    }

    .about_stocks div p {
        padding: 0 20px;
        width: 100%;

        font-size: 22px;
    }

    .rate_list {
        flex-direction: column;
        align-items: flex-start;
    }

    .services_block {
        padding: 20px;
    }

    .services_block img {
        width: 100px;
        height: 100px;

        margin: 20px auto 10px auto;
    }

    .reviews_descr .btn_no_border {
        padding: 18px 6px;
    }

    .reviews_slide {
        padding: 30px 15px;
    }
}

@media (max-width: 400px) {
    .header_middle .btn_list {
        flex-direction: column;
        align-items: flex-start;
    }
}