* {
  box-sizing: border-box;
  padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: white ;
    font-family: "Nunito", sans-serif;
    max-width: 1600px; 
    margin: 0 auto; 
    list-style: none;
}

.header {
   background: url("../images/img-about-me/nata-banner.png"); 
   background-size: cover;
   background-position: center top ;
   background-repeat: no-repeat;
   height: 100vh;
   margin-bottom: 5.13rem;
}  

#li-name1 { 
   font-weight: 900; 
   line-height: 100%;

   font-size: 1.88rem;
   color: #40595E ;
}

#li-name2 {
   line-height: 100%;
   
   font-weight: 900; 
   font-size: 2.5rem;
   color: #40595E ;
}

.a-ul {
    transition: color 0.5s;
}

.a-ul:hover,
.a-ul:focus,
.a-ul:active {
    color: #FFC83B ;
}

#li-globe {
    align-self: center;
}

.li-upper1 {
    font-size: 1rem;
    font-weight: 700;
    color: #40595E;
}

/* Подсветка активного пункта меню */
.site-nav-active,
.site-nav-active .a-ul {
    color: #FFC83B;
}

#li-upper-entry {
    color: #FFFDF9;
    background-color: #40595E;
    padding: 0.48rem 0.5rem;
    border-radius: 18px;
    font-weight: 800;
    
    font-size: 1rem;
    transition: color 500ms;
}   

#li-upper-entry:hover,
#li-upper-entry:focus,
#li-upper-entry:active {
    color: #FFC83B ;    
}   

#li-upper-reg {
    color: #40595E ;
    background-color: #FFC83B;
    padding: 0.48rem 0.5rem;
    border-radius: 18px;
    font-weight: 800;
    
    font-size: 1rem;
    transition: color 500ms;
}

#li-upper-reg:hover,
#li-upper-reg:focus,
#li-upper-reg:active {
    color: white;
}

#a-entry,
#a-reg {
    padding: 0;
}

.ul-nav {
    max-width: 1088px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 2.375rem;
    margin-bottom: 3.75rem;
}

.ul-nav-1 {
    display: flex;
   /* justify-content: left; */
    gap: 1.48rem;
    align-items: center;
}

.ul-nav-2 {
    display: flex;
    gap: 1.375rem; 
    align-items: center;
}

.ul-nav-2-inner1 {
    display: flex;
    gap: 1rem; 
}

.ul-nav-2-inner2 {
    display: flex;
    gap: 0.81rem;
}

#img-star {
    margin-bottom: 1.25rem;
}

.container-header {
    max-width: 1088px;
    margin: 0 auto; 
}

.container-header-left {
   max-width: 316px;   
}

.cont-h1 {
    max-width: 316px;
    margin-bottom: 8.38rem;
}

h1 {
    font-size: 2.5rem;    
    color: #40595E;
    font-weight: 700;
    
    line-height: 121%;
    text-align: left;
}

.btn {
    text-align: left;
    border: 1px solid transparent;
    background-color: transparent;
    width: 236px;
    height: 100px;
    transition: all 0.5s ease;       
}

.p-btn {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px #40595E;
    
    font-size: 1rem;
    font-weight: 700;
    
    line-height: 100%;
    margin-bottom: 4.06rem;
    padding: 0;
    transition: color 0.5s;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFC83B;
}

.btn1 {
    margin: 0 auto;    
    border: 1px solid #FFC83B;
    width: 244px;
    height: 70px;
    border-radius: 35px;
    transition: all 0.5s ease;       
    background-color: #FFC83B;
}

.p-btn1 {
    color: #40595E;
    font-weight: 800;
    
    font-size: 1.5rem;
    line-height: 100%;
    text-align: center; 
    transition: all 0.5s ease;    
}

.p-btn1:hover,
.p-btn1:focus, 
.p-btn1:active  {
    color: white;
}

.sec-about-me-photo {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 5.81rem;
    padding-left: 9.88rem;
}

.container-nata-photo {
    display: flex;  
    gap: 2rem;
}

.container-about-me {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.69rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    
    line-height: 100%;
    text-align: left;
    color: #40595E;
}

.p2 {  
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 100%;
    text-align: left;
    color: #40595E;
}

#thai-book {
    transition: color 0.5s;
    font-weight: 800;
}

#thai-book:hover,
#thai-book:focus,
#thai-book:active {
    color: #FFC83B ;
}

.sec-about-me {
    background-color: #FFC83B;
    background-size: cover;
    padding: 3.75rem 3.5rem;
}

.about-me-up {
    max-width: 1086px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4.63rem ;
}

.about-me-down {
    display: flex;
    justify-content: space-between;
    max-width: 1086px;
    margin: 0 auto;
}

.about-me-left, .about-me-right {
    display: flex;
    gap: 3.69rem;
}

.div-about-me1 {
    max-width: 220px;
}

.div-about-me2 {
    max-width: 220px;
    display: flex;
    align-items: stretch;
}

.div-about-me2 p {
    margin: 0;
}

.p3 {
   font-size: 1rem;
   font-weight: 600; 
     
   color: #000000;
}

hr {
    border:  none; 
    background-color: #FFFDF9;
    color: #FFFDF9;
    max-width: 1086px;
    margin: 0 auto;
    height: 3px;
    margin-bottom: 4.63rem;
}

.sec-why-we {
    padding-top: 3.56rem; 
    max-width: 1200px;
    margin: 0 auto;     
}

h3 {
   font-size: 2.5rem;
   font-weight: 700;
   
   color: #40595E;   
}

.div-h3 {
    padding-left: 9.94rem;
    margin-bottom: 4.38rem;
}

.div-why-me-main {   
    max-width: 990px; 
    margin: 0 auto; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 129px 155px;
    grid-column-gap: 86px;
    grid-row-gap: 38px;
    margin-bottom: 68px; 
}

.item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8 {
    align-self: end;
}

.p4 {
    font-size: 1.25rem;
    font-weight: 600;
    
    color: #40695E ;
}

.span-why {
    font-size: 1.25rem;
    font-weight: 600;
    
    color: #FFC83B ;
}

.sec-text-books {
    background-color: #FFC83B;
    background-size: cover;
    padding: 3.75rem 3.5rem;
}

.text-book {
    max-width: 1200px;
    margin: 0 auto;
}

.container-text-books {
    max-width: 1086px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    margin-bottom: 5.63rem;        
}

.container-text-books1 {
    max-width: 1086px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3.75rem;
}

.cont-2 { 
    width: 170px;  
}

.img-books {
    border-radius: 11px; 
    margin-bottom: 1.31rem;  
}

.p5 {
    font-size: 1rem;
    font-weight: 700;
    
    color: #40595E;
    margin-bottom: 1.56rem;
    transition: color 0.5s;
}

.p5-1 {
    font-size: 1rem;
    font-weight: 700;
    
    color: #40595E;
}

.p6 {
    font-size: 1rem;
    font-weight: 600;
    
    text-transform: uppercase;
    color: #40595E;
}

.p7 {
    font-size: 1rem;
    font-weight: 600;
    
    color: #40595E;
}

.p5:hover,
.p5:focus,
.p5:active  {
    color: white;    
}

.sec-bonus {
    padding-top: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

h3 {
    font-size: 2.5rem;
    font-weight: 700;
    
    color: #40595E ;  
}

.sec-bonus-h3 {
    padding-left: 10.38rem;
    margin-bottom: 3.5rem;
}

form  {
    width: 600px;
    margin: 0 auto;     
    margin-bottom: 6.5rem;
}

#nameField, #emailField {
    font-size: 2.5rem;
    
    font-weight: 200;
    color: #535353 ;
    width: 598px;
    height: 52px;
    padding-left: 1rem;
    transition: 500ms;
}

#nameField:hover, #emailField:hover  {
    background-color: rgba(64, 89, 94, 0.2);
}

#nameField:focus, #emailField:focus {
    background-color: rgba(255, 200, 59, 0.2);
    border: 1px solid #40595E;
} 

#nameField:active, #emailField:active {
    background-color: rgba(255, 200, 59, 0.2);
} 

input[type="text"], input[type="email"] {
    border: solid 1px rgba(64, 89, 94, 0.1);
    font-size: 24px;
    color: #40595E;
}

input[type="text"]:focus , input[type="email"]:focus {
    background-color: rgba(255, 200, 59, 0.2);
    outline: none;
}

input[type="text"]:hover , input[type="email"]:hover {
    background-color: rgba(255, 200, 59, 0.2);    
}

input[type="text"]:active, input[type="email"]:active {
    background-color: rgba(255, 200, 59, 0.2);
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #40595E !important;
    background-color: rgba(255, 200, 59, 0.2) !important;
}

button[type="submit"]:disabled {
    opacity: .5;
}

.placeholder {
    font-size: 2.5rem;
    
    font-weight: 200;
    color: rgba(83, 83, 83, 0.5);            
}

.div-form  {
    width: 600px;
    height: 54px;
    border: solid 1px #40595E;
    margin-bottom: 1.56rem;
}

#checkbox2 {
    transition: 500ms;
}

#checkbox2:hover,
#checkbox2:focus,
#checkbox2:active  {
    background-color: rgba(64, 89, 94, 0.2);
}

.checkbox {
    margin-bottom: 1.56rem;
}

.checkbox-label {
    padding-left: 1.56rem;
    display: inline-flex;
    align-items: center;   
}

.checkbox-input {
    appearance: none;
    position: relative;
    width: 30px;
    height: 30px;
    background-color: white;
    box-shadow: inset 0 0 5px rgb(0, 0, 0 / 0.2);
    border: solid 1px #40595E;
    transition: 500ms;
    margin-right: 25px;
}

.checkbox-input::after {
    content: "\2714";
    position: absolute;
    top: -5px;
    left: 2px;
    width: 0px;
    height: 0px;
    font-size: 26px;
    transition: 500ms;
    overflow: hidden;
}

.checkbox-input:checked::after {
    width: 30px;
    height: 30px;
    transition: 500ms;
}

.checkbox-input:disabled {
    background: #CCC;
    background-color: #CCC;
}

.checkbox-input:disabled::after {
    filter: grayscale(100%);
}

.p-policy {
    font-size: 1rem;
    
    font-weight: 400;
    color: #000000;
}

.policy {
    font-size: 1rem;
    
    font-weight: 400;
    color: #FFC83B;
}            

#input-submit {
    font-size: 1.5rem;
    font-weight: 800;
   
    color: #40595E;

    width: 600px;
    height: 70px;
    border: solid 1px #FFC83B;
    background-color: #FFC83B;
    border-radius: 35px;
    justify-content: center;
}

.container-footer {
   /* max-width:1200px; 
    margin: 0 auto; */ 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-footer-span {
    background-color: #FFC83B;
    background-size: cover;
    padding: 2rem 4rem;
    display: flex;
    gap: 2rem;   
}

.develop-black {
    font-size: 1.5rem;
    font-weight: 300;
}

.personal-data,
.develop-black {
    color: #40595E ;
}


.develop {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F07401;
    margin-bottom: 3.25rem;
}

.container-payment {
    max-width: 1600px;
    margin: 0 auto;
}

.payment-h3 {
    padding-left: 10.38rem;
    margin-bottom: 4.94rem;
}

.div-cards {
    display: flex;
    padding: 0 6.38rem;
    justify-content: center;
    gap: 86px;
    gap: 7.2vw;
    margin-bottom: 7.5rem;
}

.container-social {
    display: flex;
    padding: 0 22.75rem;
    justify-content: center;
    gap: 1.56rem;
    margin-bottom: 2.5rem;
}

.red-button {
    display: block;
    position: fixed;
    bottom: 1px;
    right: 30px;
    z-index: 1;
    text-align: center;
}


/*Burger  */
.open {
    display: flex !important;
}

.burger {
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 60px;
    height: 30px;
}

.burger::before, .burger::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #40595E;
    transition: all 0.3s ease 0s;
}

.burger::before { top: 0;}

.burger::after { bottom:0;}

.burger span {
    height: 4px;
    width: 80%;
    transform: scale(1.0);
    background-color: #40595E;
}

.burger.active span { transform:scale(0); }


.burger.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}

@keyframes burgerAnimation {
    from { opacity: 0 }
    to { opacity: 1 }
}

/*media*/

@media (min-width: 2560px){

body {
    max-width: 3000px;
}

.header {
   height: 100vh;
} 

.ul-nav {
    margin-bottom: 200px;
}

.cont-h1 {
    margin-bottom: 18.5rem;
}

.red-button {
    right: 300px;    
}
} 

@media (max-width: 2559px) and (min-width: 1601px) {

body {
    max-width: 2559px;
}

.header {
    height: 100vh;
    max-width: 2559px;
    min-width: 1601px;
} 

.ul-nav {
    margin-bottom: 100px;
}

.cont-h1 {
    margin-bottom: 12.5rem;
}

.red-button {
    right: 300px; 
    bottom: 100px;  
}
}

@media (max-width: 1200px) and (min-width: 1024px){

.header {
    max-width: 1200px;
    min-width: 1024px;
}

.ul-nav {
    max-width: 950px;
}

.ul-nav-1 {
    gap: 1.25rem;
}

.ul-nav-2 {
    gap: 1.2rem; 
}

.container-header {
    max-width: 950px; 
}

.about-me-left, .about-me-right {
    gap: 2.5rem;
}

.div-about-me1 {
    max-width: 200px;
}

.div-about-me2 {
    max-width: 200px;
}

.div-why-me-main {   
    grid-column-gap: 30px;
    grid-row-gap: 28px;
    margin-bottom: 50px; 
    padding-left: 30px;
}

.div-h3 {
    margin-bottom: 3.6rem;
    padding-left: 3rem;
}

#p2-id {
   margin-bottom: 50px;
}

.sec-bonus {
    max-width: 1200px;
    padding-top: 3.5rem;
}

.sec-bonus-h3 {
    margin-bottom: 3rem;
}

form {
    margin-bottom: 6rem;
}

.banks {
    width: 250px;
    height: auto;
}

.develop-black {
    padding-left: 15px;
}

.develop {
    margin-bottom: 3rem;
    padding-left: 15px;
}

.red-button {
    right: 50px;
}

#owl {
    width: 200px;
    height: 150px;
}
}

@media (max-width: 1023px) and (min-width: 768px) {

 .header {
    background: url("../images/img-about-me/banner1.png"); 
    background-position: center ;
    background-repeat: no-repeat;
    max-width: 1023px;
    min-width: 768px;
    margin-bottom: 0;
}

.ul-nav {
    max-width: 950px;
    padding-left: 40px;
    padding-right: 30px;
}

.ul-nav-1 {
    gap: 1rem;
}

.ul-nav-2 {
    /*
    align-items: right; вернуть при добавлении пунктов в меню*/
    gap: 1.2rem; 
    flex-direction: column;
    align-items: right;
}

h1 {
    font-size: 2.3rem;
    text-shadow: 2px 2px 5px white;  
}

h2 {
    font-size: 1.3rem; 
}

.p2 {
    font-size: 1.3rem;    
}

#p2-id {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 40px;
}

h3 {
   font-size: 2.3rem;  
}

.container-header {
    max-width: 950px; 
    padding-left: 40px;
    padding-right: 10px;
}

.sec-about-me-photo {
    max-width: 1023px;
    margin-bottom: 4rem;
    padding-left: 5rem;
    padding-right: 1rem;
    padding-top: 0;
}

.container-nata-photo { 
    gap: 1.6rem;
}

.about-me-up {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3.5rem;
    align-self: flex-end;
}

.about-me-down {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.about-me-left, .about-me-right {
    flex-direction: column;
    gap: 2.5rem;
}

.div-why-me-main {   
    max-width: 700px; 
    grid-template-rows: 129px 155px;
    grid-column-gap: 30px;
    grid-row-gap: 20px;
    margin-bottom: 45px; 
    padding-left: 30px;
} 

.p4 {
    font-size: 1.1rem;
}

.span-why {
    font-size: 1.1rem;
}

.p5 {
    font-size: 0.8rem;
    font-weight: 700;
    
    color: #40595E;
    margin-bottom: 1.2rem;
    transition: none;
}

.p5-1 {
    font-size: 0.8rem;
    font-weight: 700;
    
    color: #40595E;
}

.p6 {
    font-size: 0.8rem;
    font-weight: 500;   
}

.p7 {
    font-size: 0.8rem;
    font-weight: 500;
}

.div-h3 {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.container-text-books {   
    display: flex;
    justify-content: space-between; 
    margin-bottom: 3.6rem;        
}

.container-text-books1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.cont-2 { 
    width: 120px;  
}

.sec-bonus {
    max-width: 1023px;
    padding-top: 3rem;
}

.sec-bonus-h3 {
    margin-bottom: 2.2rem;
    padding-right: 20px;
}

form {
    margin-bottom: 5.5rem;
}

#nameField, #emailField {
    font-size: 25px;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 2.2rem;
}

.banks {
    width: 200px;
    height: auto;
}

.div-cards {
    justify-content: center;
    gap: 30px; 
    margin-bottom: 3.5rem;    
}

.container-social {
    justify-content: center;
    padding: 0;
    margin-bottom: 1rem;
}

.social-networks {
    width: 40px;
    height: auto;
}

.develop-black {
    font-size: 1.2rem;
    padding-left: 15px;
}

.develop {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    padding-left: 15px;
}

.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1,
#li-upper1-art {
    transition: none;
}

.a-ul:hover,
.a-ul:focus,
.a-ul:active  {
    color: #40595E;
}

#li-upper-entry:hover,
#li-upper-entry:focus,
#li-upper-entry:active {
    color: #FFFDF9 ;
}    

#li-upper-reg:hover,
#li-upper-reg:focus,
#li-upper-reg:active {
    color: #40595E ;
}

.p-btn {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active {
    color: #40595E;  
}

#li-upper1-art:hover,
#li-upper1-art:focus,
#li-upper1-art:active {
    color: #FFC83B ;
}

.red-button {
    right: 20px;
}

#owl {
    width: 200px;
    height: 150px;
}
}


@media (max-width: 767px) and (min-width: 425px) {
  
.header {
    max-width: 767px;
    min-width: 425px;
    margin-bottom: 3rem;
    background: url("../images/img-about-me/banner2.png"); 
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.ul-nav {
    max-width: 680px;    
    padding-left: 30px;
    padding-right: 10px;
    margin-bottom: 150px;
}

.ul-nav-1 {
    gap: 1rem;
}

.ul-nav-2 {
    display: none;
    flex-direction: column;
    column-gap: 10px;
    position: fixed;
    padding: 5px;   
    width: 50%;
    height: auto;
    top: 40px; 
    right: 47vw;
    text-align: center;
    z-index: 50;
    overflow-y: auto; 
    background: lightgray;  
    border-radius: 5px;
    animation: burgerAnimation 0.4s;
}

#li-globe,
#li-upper-entry,
#li-upper-reg {
    margin-bottom: 10px;
}

#li-upper1-art,
.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1 {
    transition: none;
}

#li-upper1-art:hover,
#li-upper1-art:focus,
#li-upper1-art:active {
    color: #FFC83B ;
}

.a-ul:hover,
.a-ul:focus,
.a-ul:active  {
    color: #40595E;
}

#li-upper-entry:hover,
#li-upper-entry:focus,
#li-upper-entry:active {
    color: #FFFDF9 ;
}    

#li-upper-reg:hover,
#li-upper-reg:focus,
#li-upper-reg:active {
    color: #40595E ;
}

.p-btn {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active {
    color: #40595E;  
}

.burger {
    display: flex;
}

.ul-nav-2 ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
}

.ul-nav-2 ul li { 
    background: lightgray;
    font-size: 1rem; 
    padding: 3px; 
    white-space: nowrap;
}

#tl-logo {
    width: 70px;
    height: auto;
}
 
h1 {
    font-size: 2.2rem;
    font-weight: 900;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px white;
}

.container-header {
    max-width: 680px; 
    padding-left: 30px;
    padding-right: 10px;
}

.sec-about-me-photo {
    max-width: 680px;
    margin-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 1rem;
}

.container-nata-photo {
    display: flex;
    flex-direction: column-reverse;  
    gap: 0;
}

.about-me-up {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem ;
}

.about-me-down {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.about-me-left {
    flex-direction: column-reverse;
    gap: 2.2rem;
}

.about-me-right {
    flex-direction: column;
    gap: 2.2rem;
}

.div-h3 {
    margin-bottom: 2.5rem;
    padding-left: 3rem;
    padding-right: 1rem;
}

.item1 {
    grid-area: f;
}

.item2 {
    grid-area: i;
}

.item3 {
    grid-area: b;
}

.item4 {
    grid-area: o;
}

.item5 {
    grid-area: n;
}

.item6 {
    grid-area: m;
}

.item7 {
    grid-area: k;
}

.item8 {
    grid-area: l;
}

.sec-why-we {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 0.8rem 0 1rem;    
}

.div-why-me-main {   
    max-width: 680px; 
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 130px 130px 130px 120px;
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";

    grid-column-gap: 25px;
    grid-row-gap: 30px;
    margin-bottom: 45px;
    padding: 0 10px 0 30px;
} 

h2 {
    font-size: 1.2rem; 
    font-weight: 600;  
}

.p2 {  
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

#p2-id {  
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.p5 {
    transition: none;
}

h3 {
    font-size: 2rem;
    line-height: 1;
}

.sec-text-books {
    padding: 1rem;
}

.container-text-books {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.container-text-books1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.cont-2 {
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 20px;
}

hr {
    margin-bottom: 2rem;
}

.sec-bonus {
    max-width: 767px ;
    padding-top: 2.2rem;
}

.sec-bonus-h3 {
    padding-left: 30px;
    padding-right: 30px; 
    margin-bottom: 2.2rem;   
}

form  {
    width: 380px; 
    margin-bottom: 3.5rem;    
}

#nameField, #emailField {
    font-size: 20px;
    width: 378px;
    height: 42px;
}

.div-form  {
    width: 380px;
    height: 44px;    
}

#input-submit {
    width: 380px;
    height: 60px;
}

.banks {
    width: 200px;
    height: auto;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 2rem;
    padding-left: 30px;
    padding-right: 30px;    
}

.div-cards {
    justify-content: center;
    gap: 30px; 
    padding: 0 2rem;
    margin-bottom: 3.5rem;   
}

.container-social {
    justify-content: center;
    padding: 0;
    margin-bottom: 1rem;
}

.social-networks {
    width: 40px;
    height: auto;
}

.develop-black {
    font-size: 1rem;
    padding-left: 15px;
}

.develop {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    padding-left: 15px;
}

.personal-data {
    font-size: 0.7rem;
}

.container-footer-span {
    padding: 2rem;
    gap: 1.5rem;
}

.red-button {
    right: 1px;
    bottom: 250px;
}

#owl {
    width: 150px;
    height: 120px;
}
}

@media (max-width: 424px) and (min-width: 375px) {

.header {
    max-width: 424px;
    min-width: 375px;
    margin-bottom: 2rem; 
    background: url("../images/img-about-me/banner3.png"); 
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;   
}

.ul-nav {
    max-width: 400px;    
    padding-left: 30px;
    padding-right: 10px;
    margin-bottom: 250px;
}

.ul-nav-1 {
    gap: 1rem;
}

.ul-nav-2 {
    display: none;
    flex-direction: column;
    column-gap: 10px;
    position: fixed;
    padding: 5px;
    width: 50%;
    height: auto;
    top: 80px; 
    right: 47vw;
    text-align: center;
    z-index: 50;
    overflow-y: auto;   
    background: lightgray;   
    border-radius: 5px;
    animation: burgerAnimation 0.4s;
}

.cont-h1 {
    margin-bottom: 50px;
}

#li-globe,
#li-upper-entry,
#li-upper-reg {
    margin-bottom: 10px;
}

#li-upper1-art,
.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1 {
    transition: none;
}

#li-upper1-art:hover,
#li-upper1-art:focus,
#li-upper1-art:active  {
    color: #FFC83B ;
}

.a-ul:hover,
.a-ul:focus,
.a-ul:active  {
    color: #40595E;
}

#li-upper-entry:hover,
#li-upper-entry:focus,
#li-upper-entry:active {
    color: #FFFDF9 ;
}    

#li-upper-reg:hover,
#li-upper-reg:focus,
#li-upper-reg:active {
    color: #40595E ;
}

.p-btn {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active {
    color: #40595E;  
}

.burger {
    display: flex;
}

.ul-nav-2 ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
}

.ul-nav-2 ul li { 
    background: lightgray;
    font-size: 1rem; 
    padding: 3px; 
    white-space: nowrap;
}

#li-name1 { 
   font-weight: 800; 
   font-size: 25px;
}

#li-name2 {
   font-weight: 800; 
   font-size: 33px;
}

#tl-logo {
    width: 60px;
    height: auto;
}
 
h1 {
    font-size: 2rem;
    font-weight: 900;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px white;
}

.container-header {
    max-width: 400px; 
    padding-left: 30px;
    padding-right: 10px;
}

.btn {
    text-align: left;
    border: 1px solid transparent;
    background-color: transparent;
    width: 180px;
    height: 100px;
    transition: all 0.5s ease;       
}

.sec-about-me-photo {
    max-width: 424px;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    padding-right: 1rem;
}

.container-nata-photo {
    display: flex;
    flex-direction: column-reverse;  
    gap: 0;
}

.about-me-up {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.2rem ;
}

.about-me-down {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.about-me-left {
    flex-direction: column-reverse;
    gap: 2rem;
}

.about-me-right {
    flex-direction: column;
    gap: 2rem;
}

.div-h3 {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    padding-right: 1rem;
}

.item1 {
    grid-area: f;
}

.item2 {
    grid-area: i;
}

.item3 {
    grid-area: b;
}

.item4 {
    grid-area: o;
}

.item5 {
    grid-area: n;
}

.item6 {
    grid-area: m;
}

.item7 {
    grid-area: k;
}

.item8 {
    grid-area: l;
}

.sec-why-we {
    max-width: 400px;
    margin: 0 auto;
    padding: 2.5rem 0.8rem 0 1rem;    
}

.div-why-me-main {   
    max-width: 400px; 
    grid-template-rows: 130px 130px 130px 120px;
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";

    grid-column-gap: 25px;
    grid-row-gap: 30px;
    margin-bottom: 45px; 
    padding: 0 10px 0 30px;
} 

.sec-text-books {
    padding: 1rem;
}

.container-text-books {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.container-text-books1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.cont-2 {
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.develop-black {
    font-size: 0.8rem;
    padding-left: 15px;
}

.develop {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 15px;
}

.personal-data {
    font-size: 0.7rem;
}

.container-footer-span {
    padding: 2rem;
    gap: 1.5rem;
}

.container-social {
    gap: 1.2rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600; 
}

.div-h3 {
    margin-bottom: 2.5rem;
    padding-left: 2.5rem;
    padding-right: 1rem;
}

h2 {
    font-size: 1.1rem; 
    font-weight: 600;  
}

.p2 {  
    font-size: 1.1rem;
    font-weight: 500; 
    margin-bottom: 25px;
}

#p2-id {  
    font-size: 1.1rem;
    font-weight: 500; 
    margin-bottom: 25px;
}

.p5 {
    transition: none;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 1.8rem;
    padding-left: 20px;
    padding-right: 20px;
}

.sec-bonus {
    padding-top: 2rem;
}

.sec-bonus-h3 {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 2rem;
}

form  {
    width: 320px;
    margin-bottom: 3rem;     
}

#nameField, #emailField {
    font-size: 16px;
    width: 318px;
    height: 42px;
}

.div-form  {
    width: 320px;
    height: 44px;   
}

#input-submit {
    width: 320px;
    height: 60px;
}

.p-policy {
    font-size: 0.8rem;
}

.policy {
    font-size: 0.8rem;
} 

.banks {
    width: 200px;
    height: auto;
}

.div-cards {
    justify-content: center;
    gap: 30px; 
    padding: 0 2rem;
    margin-bottom: 3rem;   
}

hr {
    margin-bottom: 2rem;
}

.container-social {
    justify-content: center;
    padding: 0;
    margin-bottom: 20px;
}

.social-networks {
    width: 40px;
    height: auto;
}

.red-button {
    right: 1px;
    bottom: 230px;
}

#owl {
    width: 150px;
    height: 120;
}
}

@media (max-width: 374px) and (min-width: 320px) {

.header {
    max-width: 374px;
    min-width: 320px;
    margin-bottom: 1.8rem;
    background: url("../images/img-about-me/banner4.png"); 
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.ul-nav {
    max-width: 300px;    
    padding-left: 20px;
    padding-right: 10px;
    margin-bottom: 280px;
}

.ul-nav-1 {
    gap: 0.4rem;
}

.ul-nav-2 {
    display: none;
    flex-direction: column;
    column-gap: 10px;
    position: fixed;
    padding: 5px;
    width: 50%;
    height: auto;
    top: 80px; 
    right: 47vw;
    text-align: center;
    z-index: 50;
    overflow-y: auto; 
    background: lightgray;  
    border-radius: 5px;
    animation: burgerAnimation 0.4s;
}

.cont-h1 {
    margin-bottom: 50px;
}

#li-globe,
#li-upper-entry,
#li-upper-reg {
    margin-bottom: 10px;
}

.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1,
#li-upper1-art {
    transition: none;
} 

#li-upper1-art:hover,
#li-upper1-art:focus,
#li-upper1-art:active {
    color: #FFC83B ;
}

.a-ul:hover, 
.a-ul:focus, 
.a-ul:active {
     color: #40595E;
}

#li-upper-entry:hover, 
#li-upper-entry:focus, 
#li-upper-entry:active {
    color: #FFFDF9 ;
} 

#li-upper-reg:hover, 
#li-upper-reg:focus, 
#li-upper-reg:active {
    color: #40595E ;
} 

.p-btn {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn:hover, 
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: 2px 2px 5px darkslategray;
}

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active {
    color: #40595E;   
}

.burger {
    display: flex;
}

.ul-nav-2 ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
}

.ul-nav-2 ul li {
    background: lightgray;
    font-size: 1rem; 
    padding: 3px; 
    white-space: nowrap;
}

#li-name1 { 
   font-weight: 800; 
   font-size: 25px;
}

#li-name2 {
   font-weight: 800; 
   font-size: 33px;
}

#tl-logo {
    width: 50px;
    height: auto;
}
 
h1 {
    font-size: 1.8rem; 
    font-weight: 900;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px white;
}

h2 {
    font-size: 1rem;
    font-weight: 600;
}

hr {
    margin-bottom: 2rem;
}

.container-header {
    max-width:300px; 
    padding-left: 20px;
    padding-right: 10px;
}

.sec-about-me-photo {
    max-width: 374px;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    padding-right: 1rem;
}

.container-nata-photo {
    display: flex;
    flex-direction: column-reverse;  
    gap: 0;
}

.about-me-up {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem ;
}

.about-me-down {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.about-me-left {
    flex-direction: column-reverse;
    gap: 1.5rem;
}

.about-me-right {
    flex-direction: column;
    gap: 1.5rem;
}

.div-h3 {
    margin-bottom: 0;
    padding-left: 1.5rem;
    padding-right: 1rem;
}

.item1 {
    grid-area: f;
}

.item2 {
    grid-area: i;
}

.item3 {
    grid-area: b;
}

.item4 {
    grid-area: o;
}

.item5 {
    grid-area: n;
}

.item6 {
    grid-area: m;
}

.item7 {
    grid-area: k;
}

.item8 {
    grid-area: l;
}

.sec-why-we {
    max-width: 350px;
    margin: 0 auto;
    padding: 2rem 0.8rem 0 1rem;    
}

.div-why-me-main {
    max-width: 350px; 
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 120px 120px 120px 110px;
    
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";

    grid-column-gap: 20px;
    grid-row-gap: 20px;
    padding: 0 10px 0 20px;
    margin-bottom: 35px; 
} 

.sec-text-books {
    padding: 1rem;
}

.container-text-books {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.container-text-books1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.cont-2 {
    max-width: 260px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.p4 {
    font-size: 0.8rem;
}

.span-why {
    font-size: 0.8rem;
}

.p5 {
    transition: none;
}

.develop-black {
    font-size: 0.8rem;
    padding-left: 15px;
}

.develop {
    font-size: 1rem;
    margin-bottom: 1.3rem;
    padding-left: 15px;
}

.personal-data {
    font-size: 0.6rem;
}

.container-footer-span {
    padding: 1.5rem;
    gap: 1.5rem;
}

.container-social {
    gap: 0.7rem;
}

.div-h3 {
    margin-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 1rem;
}

.p2 {  
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

#p2-id {  
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 1.2rem;
    padding-left: 10px;
    padding-right: 10px;
}

.sec-bonus {
    padding-top: 1.2rem;
}

.sec-bonus-h3 {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 1.2rem;
}

form  {
    width: 300px; 
    margin-bottom: 2.5rem;   
}

#nameField, #emailField {
    font-size: 14px;
    width: 298px;
    height: 42px;
}

.div-form  {
    width: 300px;
    height: 44px;    
}

.p-policy {
    font-size: 0.8rem;
}

.policy {
    font-size: 0.8rem;
}    

#input-submit {
    width: 250px;
    height: 60px;
}

.banks {
    width: 80px;
    height: auto;
}

.div-cards {
    justify-content: center;
    gap: 20px; 
    padding: 0 2rem;
    margin-bottom: 2.2rem;   
}

.container-social {
    justify-content: center;
    padding: 0;
    gap: 1.2rem;
    margin-bottom: 20px;
}

.social-networks {
    width: 30px;
    height: auto;
}

.red-button {
    right: 1px;
    bottom: 200px;
}

#owl {
    width: 120px;
    height: 100;
}
}

