html, body, p
{
    font-family: 'Jost';
    padding: 0;
    margin: 0;
}

body
{
    background-image: url(Content/img/Main\ page.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
body>section, body>main, body>footer
{
    z-index: 1;
}
.container
{
    max-width: 1440px;
    margin: 0 auto;
}

nav
{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
    max-height: 64px;
    width: 100%;
}

main
{
    background-image: url('Content/img/BackgroundLogo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.background-fix
{
    width: 100%;
    height: 100%;
    background: url(Content/img/BackgroundLogo.png);
    position: fixed;
    background-size: cover;
    z-index: 0;
}

.button
{
    width: max-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    color: white;
    font-size: 32px;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

.button--padding
{
    padding: 20px 80px;
}

ul
{
    list-style-type: none;
    padding: 0;
}

.link
{
    text-decoration: none;
}

.mobile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.mobile-modal:active {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style: none;
    text-align: center;
}

.nav-list li {
    margin: 25px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.mobile-modal:active .nav-list li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-modal:active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-modal:active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
.mobile-modal:active .nav-list li:nth-child(3) { transition-delay: 0.3s; }
.mobile-modal:active .nav-list li:nth-child(4) { transition-delay: 0.4s; }

.hero-page
{
    height: 100vh;
    color: white;
}

header
{
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px 0;
    position: sticky; 
    top: 0;           
    z-index: 100;
}

.header-list    
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.header-list__item
{
    font-size: 24px;
    color: white;
}
.container--hero-page
{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.textbox--hero-page
{
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: flex-start;
}

h1
{
    letter-spacing: 1%;
    line-height: 77px;
    font-size: 64px;
    font-weight: bold;
    margin: 0;
}

.h1-paragraph
{
    line-height: 38px;
    color: #F6F6F6;
    font-size: 24px;
}

.sell
{
    color: #F6F6F6;
    font-size: 24px;
    line-height: 36px;
}

.sell span
{
    font-size: 32px;
    font-weight: 700;
}


.master
{
    padding-bottom: 60px;
    background-color: white;
}

.container--center
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title
{
    display: flex;
    flex-direction: column;
    padding: 50px 0;
}

.title--center
{
    text-align: center;
    align-items: center;
}


.second-title
{
    font-size: 48px;
    line-height: 100%;
}

.title-paragraph
{
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 30px;
    width: 35%;
}

.master-cards
{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}
.master-card
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 480px;
    height: 640px;
    padding: 40px 0;
    background-size: cover;
}

.master-card:nth-of-type(1)
{
    background-image: url(Content/img/Aleksey.png);
}
.master-card:nth-of-type(2)
{
    background-image: url(Content/img/Mariya.png);
}
.master-card:nth-of-type(3)
{
    background-image: url(Content/img/Katya480.png);
}
.master-card:nth-of-type(5)
{
    background-image: url(Content/img/Mery.png);
}
.master-card:nth-of-type(4)
{
    background-image: url(Content/img/dima480.png);
}




.master-card__name
{
    color: white;
    font-size: 32px;
    font-weight: 900;
    line-height: auto;
    z-index: 2;
    text-align: center;
}

.master-card__rang
{
    color: #F6F6F6;
    font-size: 20px;
    font-weight: 400;
    line-height: auto;
}

.about-master
{
    font-size: 24px;
    color: #F6F6F6;
    display: none;
    position: relative;
    z-index: 2; 
    padding: 0 70px;
}

.info-box
{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}



.about-us
{
    color: white;
    height: 100vh;
}

.thierd-title
{
    font-size: 32px;
    line-height: 48px;
    font-weight: bold;
}

.textbox--about-us
{
    width: 50%;
}

.textbox__paragraph
{
    font-size: 24px;
    line-height: 36px;
}



.photo {
    background-color: white;
    padding-bottom: 60px;
}

.photo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.photo-list__item:first-of-type {
    grid-row: span 2;
}

.photo-list__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.cost
{
    color: white;
    padding-bottom: 120px;
    background: linear-gradient(#ffffff01, #000000);
}

.cost-list
{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cost-list__item
{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.servis
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-overlay
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.servis__name
{
    font-size: 24px;
    line-height: 24px;
}

.servis__cost
{
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
}

.servis__time
{
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 3px;   
}

.horizontal-line
{
    height: 2px;
    width: 100%;
    background-color: #D27046;
}

.vertical-line
{
    width: 2px;
    background-color: #D27046;
}

.button--mt
{
    margin-top: 70px;
}

footer
{
    color: white;
    background: black;
    padding-bottom: 20px;
}

.footer__content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.block-info
{
    display: grid;
    grid-template-columns: 1fr 2px 1.5fr 2px 1fr;
    gap: 40px;
    font-size: 24px;
    padding-bottom: 10px;
}

.contact-list
{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0;
    text-align: right;
}

.footer-menu
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}

.central-box
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-link
{
    color: #D0CFCF;
}

.footer-link:hover
{
    color: #ffffff;
}

.logo-footer
{
    display: flex;
    justify-content: center;
    height: 100px;
    width: 100px;
}

.logo-footer svg
{
    color: #D27046;
}

.central-box__paragraph
{
    font-size: 24px;
    line-height: 36px;
    text-align: center;
}

.network
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.OOO
{
    width: max-content;
    height: max-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.OOO__text
{
    color: #353535;
    font-size: 18px;
}
.sn
{
    height: 64px;
    width: 64px;
}












.header-list__item:active
{   
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.1s ease;
}

.header-list__item:hover
{
    text-decoration: underline;
}


.button--master
{
    display: none;
    z-index: 2; 
    padding: 20px 30px;
}
.button:hover
{
    border-color: #D27046;
    color: #D27046;
    transform: scale(1.05); 
    transition: all 0.3s ease;
}

.button:active
{
    transform: scale(0.95); 
    transition: all 0.3s ease;
}

.master-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(#5c5c5ca8, #313131);
    transition: height 0.5s ease;
}

.master-card:hover::before {
    height: 100%;
}


.master-card__rang {
    display: block;
    position: relative;
    z-index: 2;
}




.master-card:hover {
    justify-content: center;
    .info-box
    {
        height: 100%;
        gap: auto;
    }
    .master-card__rang {
        display: none;
    }
    
    .about-master,
    .button--master,
    .master-card__name {
        display: block;
        text-align: center;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}







@media (max-width: 1440px) {
    
body
{
    background-size: auto;
}
 


  .container {
    max-width: 1200px;
  }
.cost-list
{
    width: 50%;
}
  

.photo-list
{
    grid-template-columns: repeat(2, 590px);
    grid-template-rows: repeat(2, 305px);
    gap: 20px;
}
.master-cards
{
    justify-content: center;
}
}

@media (max-width: 1200px) {

   .about-master
   {
    font-size: 100%;
   } 
.button--master
{
    font-size: 24px;
    padding: 10px 20px;
}
.block-info
{
    gap: 30px;
    font-size: 20px;
}
.central-box__paragraph
{
    font-size: 20px;
}
  .container
  {
    max-width: 992px;
  }

  .master-card:nth-of-type(1)
{
    background-image: url(Content/img/Aleksey320.png);
}
.master-card:nth-of-type(2)
{
    background-image: url(Content/img/mariy320.png);
}
.master-card:nth-of-type(3)
{
    background-image: url(Content/img/Katya320.png);
}
.master-card:nth-of-type(5)
{
    background-image: url(Content/img/Mery320.png);
}
.master-card:nth-of-type(4)
{
    background-image: url(Content/img/dima320.png);
}

.master-card
{
    width: 320px;
    height: 420px;
}
  .photo-list {
    grid-template-columns: repeat(2, 491px);
    grid-template-rows: repeat(2, 205px);
    gap: 10px; 
  }

  .title-paragraph
{
    width: 70%;
}
}
@media (max-width: 992px) {  

.button--padding
{
    padding: 20px 60px;
}
    .block-info
{
    font-size: 16px;
}

.central-box__paragraph
{
    font-size: 16px;
}
    .cost-list__item
{
    gap: 20px;
}

.servis__name
{
    font-size: 20px;
}

.servis__cost
{
    font-size: 20px;
}

.servis__time
{
    font-size: 12px;
}

   .title
{
    padding: 50px 0 20px 0;
}     
  .container {
    max-width: 768px;
  }

.master-cards
{
    justify-content: center;
}
  .header-list    
{
    gap: 20px;
}

h1
{
    font-size: 42px;
}

.h1-paragraph
{
    font-size: 16px;
}

.sell
{
    font-size: 16px;
}

.sell span
{
    font-size: 24px;
}

.second-title
{
    font-size: 32px;
}

body
{
    background-image: url(Content/img/Main/page992.png);
}

.photo-list {
    grid-template-columns: repeat(1, 491px); 
  }

  .about-us
{
    color: white;
    height: 100vh;
}

.thierd-title
{
    font-size: 32px;
    line-height: 48px;
    font-weight: bold;
}

.textbox--about-us
{
    width: 50%;
}

.textbox__paragraph
{
    font-size: 20px;
    line-height: 25px;
}
}

@media (max-width: 768px) {

.master-card__rang {
    display: block;
    z-index: 2;
}

body
{
    background-image: url(Content/img/BackgroundMonolith.png);
}




.button--mt
{
    margin: 70px auto 0 auto;
}

    .block-info
{
    font-size: 14px;
    gap: 20px;
}

.central-box__paragraph
{
    font-size: 14px;
}    

.logo-footer
{
    height: 64px;
    width: 64px;
}

.sn
{
    height: 48px;
    width: 48px;
}
    .textbox__paragraph
{
    font-size: 16px;
}
    .cost-list
{
    width: 100%;
    gap: 30px;
}
.cost-list__item
{
    gap: 20px;
}

.servis__name
{
    font-size: 24px;
}

.servis__cost
{
    font-size: 24px;
}

.servis__time
{
    font-size: 16px;
}

    .photo-list__item img
    {
        width: 100%;
    }

    .photo-list {
    grid-template-columns: repeat(1, 320px); 
  }

    main
{
    background-image: url(Content/img/zamena.jpg);
    background-repeat: repeat;
    background-size: initial;
    background-position: center;
    background-attachment: fixed;
}

.background-fix
{
    background-image: url(Content/img/BackgroundMonolith.png);
}
.about-us
{
    color: white;
    height: max-content;
    padding-bottom: 50px;
}

.title--start
{   
    align-items: center;
}

h2
{
    text-align: center;
}

.thierd-title
{
    font-size: 28px;
    text-align: center;
}

.textbox--about-us
{
    width: 100%;
}
.textbox__paragraph
{
    text-align: center;
}
    .header-list
  {
    display: none;
  }

  .container {
    max-width: 576px;
  }
    .title-paragraph
{
    font-size: 16px;
    line-height: 20px;
    width: 90%;
}

.title
{
    padding: 20px 0;
}
}


@media (max-width: 576px) {
    
.vertical-line
{
    height: 2px;
    width: 100%;
}

.footer__content
{
    gap: 20px;
}

.block-info
{
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, max-content);
    gap: 15px;
}

.contact-list
{
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
}

.footer-menu
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    gap: 20px;
    font-size: 16px;
}

.contact-list
{
    gap: 20px;
    font-size: 16px;
}
.contact-list li
{
    width: 100%;
}

.central-box
{
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.logo-footer
{
    display: none;
}


.central-box__paragraph
{
    display: none;
}

.sn
{
    height: 32px;
    width: 32px;
}
    .servis__name
{
    font-size: 16px;
}

.servis__cost
{
    font-size: 16px;
}

.servis__time
{
    font-size: 12px;
}

  .container {
    max-width: 320px;
  }

  body
{
    background-image: url(Content/img/Main\ page576.png);
}

.container--hero-page
{
    justify-content: center;
}

.textbox--hero-page
{
    align-items: center;
}

h1
{
    font-size: 42px;
    text-align: center;
}

.h1-paragraph
{
    text-align: center;
    font-size: 16px;
}
}


@media (max-width: 320px) {
  body
{
    background-image: url(Content/img/Main\ page320.png);
}

.master
{
    padding-bottom: 0px;
}
}