/*  Основной файл media-стилей от которого работает шапка и подвал всех страниц сайта */

/* {outline: 1px solid red;} */

@media (min-width: 2560px) {

body {
    max-width: 3000px;
}    
}

@media (max-width: 2559px) and (min-width: 1601px) {

body {
    max-width: 2559px;
}    
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {

.container-header {
    max-width: 1200px;
    min-width: 1024px;

    margin-bottom: 1vw;
} 

h1 {
    font-size: 80px;
} 

.nav ul {
    gap: 15px;
} 

.div-button1 {
    margin-bottom: 3vw; 
} 

.header-p {
    margin-bottom: 8vw;
} 

/* низ страницы */

.section-conclusion {
    margin-bottom: 2vw;
    width: 900px;
}

.conclusion-upper {
    font-size: 25px;
}

.conclusion-lower {
    font-size: 25px;
}

.conclusion-upper-text {
    font-size: 26px;
}

.conclusion-upper-text p {
    margin-bottom: 15px;
}

.img {
    font-size: 1rem;
}

.container-footer{
    max-width:1200px;
    min-width: 1024px;

    gap: 70px;
}

.p-footer {
    font-size: 25px;
}

.text-footer {
    margin-top: 10px; 
}
}

@media (max-width: 1023px) and (min-width: 768px) {

.container-header {
    max-width: 1023px;
    min-width: 768px;
    margin-bottom: 1rem;
    padding: 0 6vw;
} 

h1 {
    font-size: 70px;
} 

.nav ul {
    gap: 10px;
} 

ul a {   
    font-size: 15px;     
}

.div-button1 {
    margin-bottom: 1.5vw;
    font-size: 20px; 
    width: 300px;
    height: 120px;

    padding: 0 15px;
} 

.header-p {
    margin-bottom: 1vw;
    max-width: 85vw;
} 

.header-p p {
   font-size: 25px; 
} 

.header-a {
    max-width: 85vw;
}

.a-shefer:hover,
.a-shefer:focus,
.a-shefer:active,
ul a:hover,
ul a:focus,
ul a:active {
    color: #fff;
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray;
}

#phone-logo:hover,
#phone-logo:focus,
#phone-logo:active,
#telegram-logo:hover,
#telegram-logo:focus,
#telegram-logo:active,
#whatsapp-logo:hover,
#whatsapp-logo:focus,
#whatsapp-logo:active {
    filter: drop-shadow(2px 2px 5px gray);
}

#a-footer-develop  {
    transition: none;
}

#a-footer-develop:hover,
#a-footer-develop:focus,
#a-footer-develop:active {
    font-weight: 500;     
}

.text-footer li {
    margin-left: 5px;
    margin-right: 5px;
}

/*
#en-flag:hover,
#en-flag:focus,
#en-flag:active {
    filter: drop-shadow(2px 2px 5px lightgray);
} */


/* низ страницы */

.section-conclusion {
    margin-bottom: 2vw;
    width: 680px;
}

.conclusion-upper {
    font-size: 20px;
}

.conclusion-lower {
    font-size: 25px;
}

.conclusion-upper-text {
    font-size: 22px;
}

.conclusion-upper-text p {
    margin-bottom: 15px;
}

.img {
    font-size: 1rem;
}

.lower-text {
    font-size: 20px;
}

.lower-img {
    transition: none;
}

.div-button {
    transition: none;
}

#lower-img-utube {
   width: 100%;
}

#icon-utube {
    width: 100%;
}

.container-utube {
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.img-utube {
    margin: 0 3rem;
}

.container-footer {
    max-width: 1023px;
    gap: 40px;   
}

.text-footer {
    margin-top: 10px; 
}

.p-footer {   
    font-size: 20px;    
}
}

@media (max-width: 767px) and (min-width: 425px) {
  
.container-header {
    max-width: 767px;
    min-width: 425px;
    margin-bottom: 0.5rem;
    padding: 0.3rem 6vw;
 /*   background: url("../images/img-about-me/banner2.png"); 
    background-size: cover;/*свойство, заставляющее менять масштаб фона в зависимости от размеров, содержащего его контейнера*/
  /*  background-position: center top;
    background-repeat: no-repeat;*/
}

h1 {
    font-size: 30px;
} 

.logo {
    margin: 0.3rem 0; /* Отступ сверху и снизу */ 
}

.burger {
    display: flex;
    margin-top: 8px;
}

.nav {
    display: none;
    flex-direction: column;
    position: fixed;
    height: 127px;
    width: 170px;
    top: 50px; 
    right: 30px;
    text-align: center;
    z-index: 50;
    overflow-y: auto; 

  /*  background: transparent;  */

    background: lightgray; 
    padding: 1rem 0;
    
    box-shadow: 2px 2px 5px #000;

    animation: burgerAnimation 0.4s;
}

.nav ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
} 

.nav ul li { 
    background: transparent;
    font-size: 12px; 
    padding: 3px; 
    white-space: nowrap;
}

ul a {   
    font-size: 15px;     
}

.a-shefer {
    font-size: 1.2rem;
}

.a-shefer:hover,
.a-shefer:focus,
.a-shefer:active {
    color: #fff;
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray;
}

ul a:hover,
ul a:focus,
ul a:active {
    color: white; 
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray; 
}

.div-button1 {
    margin-bottom: 0.5vw;
    font-size: 1rem; 
    width: 300px;
    height: 60px;

    padding: 0 12px;
} 


.header-p {
    margin-bottom: 1vw;
    max-width: 90vw;
} 

.header-p p {
   font-size: 1rem; 
} 

.header-a {
    max-width: 90vw;
}

/*#en-flag:hover,
#en-flag:focus,
#en-flag:active {
    filter: drop-shadow(2px 2px 5px lightgray);
}*/

.section-conclusion {
    margin-bottom: 2vw;
    width: 380px;
}

.conclusion-upper {
    display: flex;
    flex-direction: column;
}

.conclusion-upper-text p {
    font-size: 1.2rem;
}

.img-photo-conslusion {
    margin: 0 auto;
    width: 330px;
    height: auto;
    margin-bottom: 1rem;
}

.container-utube {
   
    margin-bottom: 20px;
   /* padding-right: 10px;
    gap: 10px;*/

    display: flex;
    flex-wrap: wrap;
}

.conclusion-lower {
    display: flex;
    gap: 10px;
}

.lower-text {
    font-size: 18px;
}

.text-footer {
    margin-top: 10px; 
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    justify-content: center;    
}

.text-footer li {
    text-align: center;    
}

.p-footer {   
    font-size: 15px;    
}

#phone-logo,
#telegram-logo,
#whatsapp-logo {
    width: 50px;
    height: 50px;
}

.div-button {
    transition: none;
}

#phone-logo:hover,
#phone-logo:focus,
#phone-logo:active,
#telegram-logo:hover,
#telegram-logo:focus,
#telegram-logo:active,
#whatsapp-logo:hover, 
#whatsapp-logo:focus,
#whatsapp-logo:active {
    filter: drop-shadow(2px 2px 5px gray);
}

#a-footer-develop  {
    transition: none;
    font-size: 0.8rem;
}

#a-footer-develop:hover,
#a-footer-develop:focus,
#a-footer-develop:active {
    font-weight: 500;     
}

.span-footer,
.a-mail-footer,
#span-site,
#span-book {
    font-size: 0.8rem;
}

.img-utube {
    width: 150px;
    height: 90px;
}

.icon-utube {
    width: 80%;
}

.img-utube-name {
    font-size: 0.8rem;
}

.container-footer {
    max-width: 767px;
    flex-direction: column;   
    gap: 0;
}

.li-footer {
   margin-bottom: 10px;
  
}
}

@media (max-width: 424px) and (min-width: 375px) {

.container-header {
    max-width: 424px;
    min-width: 375px;
    
    margin-bottom: 0.3rem;
    padding: 0.5rem 6vw;
  /*  background: url("../images/img-about-me/banner3.png"); 
    background-size: cover;/*свойство, заставляющее менять масштаб фона в зависимости от размеров, содержащего его контейнера*/
  /*  background-position: center top;
    background-repeat: no-repeat; */  
}

.logo {
    margin: 0.3rem 0; /* Отступ сверху и снизу */ 
}

h1 {
    font-size: 25px;
} 

.burger {
    display: flex;
    margin-top: 8px;
}

.nav {
    display: none;
    flex-direction: column;
    position: fixed;
    height: 127px;
    width: 170px;
    top: 50px; 
    right: 30px;
    text-align: center;
    z-index: 50;
    overflow-y: auto; 

  /*  background: transparent; */

    background: lightgray; 
    padding: 1rem 0; 
    
    box-shadow: 2px 2px 5px #000;

    animation: burgerAnimation 0.4s;
}

.nav ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
} 

.nav ul li { 
    background: transparent;
    font-size: 12px; 
    padding: 3px; 
    white-space: nowrap;
}

ul a {   
    font-size: 15px;     
}

.a-shefer {
    font-size: 1.2rem;
}

.a-shefer:hover,
.a-shefer:focus,
.a-shefer:active {
    color: #fff;
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray;
}

ul a:hover,
ul a:focus,
ul a:active {
    color: white; 
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray; 
}

.div-button1 {
    margin-bottom: 1vw;
    font-size: 0.8rem; 
    width: 260px;
    height: 55px;
    border: solid 3.5px white;

    padding: 0 10px;
} 


.header-p {
    margin-bottom: 1vw;
    max-width: 90vw;
} 

.header-p p {
   font-size: 0.9rem; 
} 

.header-a {
    max-width: 90vw;
}

.section-conclusion {
    margin-bottom: 2vw;
    width: 360px;
}

.conclusion-upper {
    display: flex;
    flex-direction: column;
}

.conclusion-upper-text p {
    font-size: 1.2rem;
}

.img-photo-conslusion {
    margin: 0 auto;
    width: 310px;
    height: auto;
    margin-bottom: 0.6rem;
}

.container-utube {
   
    margin-bottom: 20px;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;
}

.conclusion-lower {
    display: flex;
    gap: 10px;
}

.lower-text {
    font-size: 1rem;
}

.img-utube {
    width: 140px;
    height: 80px;
}

.icon-utube {
    width: 70%;
}

.img-utube-name {
    font-size: 0.8rem;
}

.text-footer {
    margin-top: 10px; 
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    justify-content: center;    
}

.text-footer li {
    text-align: center;    
}

.p-footer {   
    font-size: 15px;    
}

#phone-logo,
#telegram-logo,
#whatsapp-logo {
    width: 50px;
    height: 50px;
}

.div-button {
    transition: none;
}

#phone-logo:hover,
#phone-logo:focus,
#phone-logo:active,
#telegram-logo:hover,
#telegram-logo:focus,
#telegram-logo:active,
#whatsapp-logo:hover, 
#whatsapp-logo:focus,
#whatsapp-logo:active {
    filter: drop-shadow(2px 2px 5px gray);
}

#a-footer-develop  {
    transition: none;
    font-size: 0.8rem;
}

#a-footer-develop:hover,
#a-footer-develop:focus,
#a-footer-develop:active {
    font-weight: 500;     
}

.span-footer,
.a-mail-footer,
#span-site,
#span-book {
    font-size: 0.8rem;
}


.container-footer {
    max-width: 375px;
    flex-direction: column;   
    gap: 0;
}

.li-footer {
   margin-bottom: 10px;
  
}
}

@media (max-width: 374px) and (min-width: 320px) {

.container-header {
    max-width: 374px;
    min-width: 320px;
    
    margin-bottom: 0.2rem;
    padding: 0.2rem 6vw;
  /*  background: url("../images/img-about-me/banner3.png"); 
    background-size: cover;/*свойство, заставляющее менять масштаб фона в зависимости от размеров, содержащего его контейнера*/
  /*  background-position: center top;
    background-repeat: no-repeat; */  
}

.logo {
    margin: 0.3rem 0; /* Отступ сверху и снизу */ 
}

h1 {
    font-size: 22px;
} 

.burger {
    display: flex;
    margin-top: 8px;
}

.nav {
    display: none;
    flex-direction: column;
    position: fixed;
    height: 127px;
    width: 170px;
    top: 50px; 
    right: 30px;
    text-align: center;
    z-index: 50;
    overflow-y: auto; 

    /*background: transparent; */
    background: lightgray; 
    padding: 1rem 0;
    
    box-shadow: 2px 2px 5px #000;

    animation: burgerAnimation 0.4s;
}

.nav ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
} 

.nav ul li { 
    background: transparent;
    font-size: 12px; 
    padding: 3px; 
    white-space: nowrap;
}

ul a {   
    font-size: 15px;     
}

.a-shefer {
    font-size: 1.1rem;
}

.a-shefer:hover,
.a-shefer:focus,
.a-shefer:active {
    color: #fff;
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray;
}

ul a:hover,
ul a:focus,
ul a:active {
    color: white; 
    transform: scale(1.0); 
    text-shadow: 2px 2px 5px gray; 
}

.div-button1 {
    margin-bottom: 0.5vw;
    font-size: 0.8rem; 
    width: 260px;
    height: 40px;
    border: solid 3px white;

    padding: 0 8px;
} 


.header-p {
    margin-bottom: 1vw;
    max-width: 90vw;
} 

.header-p p {
   font-size: 0.8rem; 
} 

.header-a {
    max-width: 90vw;
}

.section-conclusion {
    margin-bottom: 2vw;
    width: 300px;
}

.conclusion-upper {
    display: flex;
    flex-direction: column;
}

.conclusion-upper-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.img-photo-conslusion {
    margin: 0 auto;
    width: 250px;
    height: auto;
    margin-bottom: 0.6rem;
}

.container-utube {
   
    margin-bottom: 20px;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    width: 250px;
    padding: 0;
}

.img {
    font-size: 0.8rem;
}

.conclusion-lower {
    display: flex;
    gap: 10px;
}

.lower-text {
    font-size: 0.8rem;
}

.img-utube {
    width: 100px;
    height: 70px;
}

.icon-utube {
    width: 70%;
}

.img-utube-name {
    font-size: 0.8rem;
}

.text-footer {
    margin-top: 10px; 
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    justify-content: center;    
}

.text-footer li {
    text-align: center;    
}

.p-footer {   
    font-size: 15px;    
}

#phone-logo,
#telegram-logo,
#whatsapp-logo {
    width: 50px;
    height: 50px;
}

.div-button {
    transition: none;
}

#phone-logo:hover,
#phone-logo:focus,
#phone-logo:active,
#telegram-logo:hover,
#telegram-logo:focus,
#telegram-logo:active,
#whatsapp-logo:hover, 
#whatsapp-logo:focus,
#whatsapp-logo:active {
    filter: drop-shadow(2px 2px 5px gray);
}

#a-footer-develop  {
    transition: none;
    font-size: 0.8rem;
}

#a-footer-develop:hover,
#a-footer-develop:focus,
#a-footer-develop:active {
    font-weight: 500;     
}

.span-footer,
.a-mail-footer,
#span-site,
#span-book {
    font-size: 0.8rem;
}


.container-footer {
    max-width: 375px;
    flex-direction: column;   
    gap: 0;
}

.li-footer {
   margin-bottom: 10px;
  
}
}

