* {
  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-upper1-edu {
    font-size: 1rem;
    font-weight: 700;
    color: #FFC83B ;
}

#li-globe {
    align-self: center;
}

.li-upper1 {
    font-size: 1rem;
    font-weight: 700;
    color: #40595E;
}

#li-upper-entry {
    color: #FFFDF9;
    background-color: #40595E;
    padding: 7px 8px ;
    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: 7px 8px ;
    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;
}

.red-button {
    display: block;
    position: fixed;
   
    bottom: 1px;
    right: 30px;
    z-index: 1;
    text-align: center;
}

.container {
    max-width: 1088px;
    margin: 0 auto;
}

.container-books {
    text-align: left;
    margin-bottom: 5.25rem;
}

.sec-welcome {
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 3.25rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    
    line-height: 100%;   
    color: #40595E;
}

.p2 {  
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 100%;    
    color: #40595E;
}

#thai-book0 {
    font-size: 2.5rem;
    font-weight: 700;
    
    line-height: 100%;
    color: #40595E;
    transition: color 0.5s;
}

#thai-book0:hover,
#thai-book0:focus,
#thai-book0:active {
    color: #FFC83B ;
}

.sec1-div1 {
    display: flex;
    gap: 3.44rem;
    margin-bottom: 5.25rem;
}

.sec1-div1-text {
    align-self: center;
}

#thai-books1 {
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 100%;    
    color: #40595E;
    transition: color 0.5s;
}

#thai-books1:hover,
#thai-books1:focus ,
#thai-books1:active {
    color: #FFC83B ;
}

.sec1-div2-up {
    margin-bottom: 3rem;
}

.sec1-div2-down {
    margin-bottom: 5.06rem;
}

.sec1-div3 {
    background-color: #FFC83B ;
    background-position: center center;
    background-size: cover;
    padding-bottom: 4.44rem;
}

.sec1-div3-grid {
    max-width: 1088px; 
    margin: 0 auto; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    grid-column-gap: 0;
    grid-row-gap: 46px;
    margin-bottom: 4.19rem;
}

.item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8 {
    align-self: end;
}

.item5, .item6, .item7, .item8 {
    padding-left: 1.25rem;
}

.sec1-div3 p {
    text-transform: uppercase;
}

.square-small {
    position: relative;
}

.square-small-up {
    position: absolute;
    left: 3.13rem;
    top: 2.38rem;
}

.square-large {
    position: relative;
}

.square-small-down {
    position: absolute;
    left: 3.13rem;
    top: 3.44rem;
}

.p2-w {
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 100%;    
    color: #FFFDF9;
}

.sec1-div3-text {
    max-width: 1086px;
    padding-left: 3.5rem;
}

.square-small {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #FFFDF9;
}

.square-large {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #FFFDF9;
}

.sec-courses {
   max-width: 1088px;
   margin: 0 auto;
}

.sec2-grid {
    max-width: 890px;
    margin: 0 auto; 
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 850px 924px;
    grid-column-gap: 190px;
    grid-row-gap: 123px;
    margin-bottom: 8.94rem;
}

.item11, .item12, .item13, .item14 {
  
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.item41 {
    align-self: center;
}

.yellow-strip {
    height: 138px;
    background-color:  #FFC83B ;
    background-position: center center;
    background-size: cover;
}

.p3 {
    font-size: 1.25rem;
    font-weight: 700;
    
    line-height: 100%;    
    color: #40595E;
}

.img-course {
    margin-bottom: 2.81rem;
}

.p2-1 {  
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 1.2;    
    color: #40595E;
    margin-bottom: 1.44rem;
}

.sec-bonus {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 4rem;
}

h3 {
    font-size: 2.5rem;
    font-weight: 700;
    
    color: #40595E ;  
}

.sec-bonus-h3 {
    padding-left: 166px;
    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);
    transition: 500ms;
}

#nameField:focus, #emailField:focus {
    background-color: rgba(255, 200, 59, 0.2);
} 

#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-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;
    margin-bottom: 7.5rem;
}

.container-footer {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-social {
    display: flex;
    padding: 0 22.75rem;
    justify-content: center;
    gap: 1.56rem;
}

.develop-black {
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
}

.develop {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F07401;
    margin-bottom: 3.25rem;
}

.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 (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; 
}

.container {
    max-width: 950px;
}

.sec1-div3-grid {
    max-width: 950px; 
    padding-right: 10px;
}

.sec2-grid {
    grid-column-gap: 70px;
    grid-row-gap: 70px;
    margin-bottom: 4rem;
}

.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: 2rem;
}

.container-header {
    max-width: 950px; 
    padding-left: 40px;
    padding-right: 10px;
}

.container {
    max-width: 950px;
    padding: 0 50px ;  
}

.container-books {
    margin-bottom: 3rem;
}

.img {
    width: 20vw;
    height: auto;
}

.sec1-div1 {
    margin-bottom: 3rem;
}

.sec1-div2-up {
    margin-bottom: 1.8rem;
}

.sec1-div2-down {
    margin-bottom: 3rem;
}

.sec1-div3 {
    padding-bottom: 2rem;
}

.sec1-div3-grid {
    max-width: 750px;  
    padding: 0 50px;
    margin: 0 auto;     
    grid-template-rows: 100px 130px;
    grid-column-gap: 0;
    grid-row-gap: 46px;
    margin-bottom: 2rem;
}

.square-small {
    width: 70px;
    height: 70px;
}

.square-large {
    width: 140px;
    height: 140px;
}

.sec1-div3 p {
    font-size: 0.8rem;
    font-weight: 500;
}

.sec2-grid {
    max-width: 750px;  
    padding: 0 50px;
    grid-column-gap: 50px;
    grid-row-gap: 60px;
    margin-bottom: 0rem;
}

.sec-courses {
   margin-bottom: 30px;
}

.yellow-strip {
    height: 100px;
}

.sec-bonus {
    padding-top: 2.5rem;
}

.sec-bonus-h3 {
    margin-bottom: 2.2rem;
    padding-right: 20px;
}

form  {   
    margin-bottom: 5.5rem;
}

#nameField, #emailField {
    font-size: 25px;
}

h3 {
    font-size: 2.3rem;
    line-height: 1;
}

.sec-bonus {
    padding-top: 3rem;
}

.sec-bonus-h3 {
    margin-bottom: 2.8rem;
}

.payment-h3 {
    margin-bottom: 2.2rem;
    justify-content: center;
}

.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 {
    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 ;
}

#li-upper1-art:hover,
#li-upper1-art:focus,
#li-upper1-art:active {
    color: #FFC83B ;
}

.p-btn {
   color: #FFFDF9;
   text-shadow: darkslategray;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: darkslategray;
}

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active {
    color: #40595E;  
}

.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-edu,
.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 ;
}

#li-upper1-edu:hover,
#li-upper1-edu:focus,
#li-upper1-edu:active {
    color: #FFC83B ;
}

.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: 70px;
    height: auto;
}
 
h1 {
    font-size: 2.2rem; 
    font-weight: 900;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px white;
}

h2 {
    font-size: 1.8rem;
}

.container-header {
    max-width: 680px; 
    padding-left: 30px;
    padding-right: 10px;
}

.container {
    max-width: 680px;
    padding: 0 40px ;  
}

.container-books {
    margin-bottom: 2.5rem;
}

#thai-book0 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFC83B ;
    transition: none;
}

#thai-book0:hover,
#thai-book0:focus,
#thai-book0:active {
    color: #FFC83B ;
}

#thai-books1 {
    color: #FFC83B ;
    transition: none;
}

#thai-books1:hover,
#thai-books1:focus,
#thai-books1:active {
    color: #FFC83B ;
}

.img {
    width: 20vw;
    height: auto;
}

.sec1-div1 {
    flex-direction: column-reverse;
    margin-bottom: 2.5rem;
}

.sec1-div1-img {
    padding-left: 30px;
}

.sec1-div2-up {
    margin-bottom: 1.8rem;
}

.sec1-div2-down {
    margin-bottom: 3rem;
}

.sec1-div3 {
    padding-bottom: 2rem;
}

.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;
}

.sec1-div3-grid {
    max-width: 750px;  
    padding: 0 50px;
    margin: 0 auto;     
    grid-template-rows: 100px 130px 100px 130px;
    grid-template-columns: 1fr 1fr ;
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";

    grid-column-gap: 0;
    grid-row-gap: 30px;
    margin-bottom: 2rem;
}

.square-small {
    width: 70px;
    height: 70px;
}

.square-large {
    width: 140px;
    height: 140px;
}

.sec1-div3 p {
    font-size: 0.8rem;
    font-weight: 500;
}

.sec2-grid {
    max-width: 750px; 
    margin: 0 auto; 
    padding: 0 50px;
    grid-template-columns: 1fr ;
    grid-template-rows: auto auto auto auto ;
    grid-row-gap: 50px;
    margin-bottom: 2rem;
    grid-template-areas: 
    "q "
    "p"
    "x"
    "z";
}

.item11 {
    grid-area: q;
}

.item12 {
    grid-area: p;
}

.item13 {
    grid-area: x;
}

.item14 {
    grid-area: z;
}

.img-course {
    margin-bottom: 2rem;
}

.p2 {  
    font-size: 1.2rem;
}

.p2-1 {  
    font-size: 1.1rem;
    font-weight: 700;
    
    line-height: 1.1;    
    color: #40595E;
    margin-bottom: 1.2rem;
}

.p3 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.p3-1 {
    font-size: 1rem;
}

.yellow-strip {
    height: 80px;
}

h3 {
    font-size: 2rem;
    line-height: 1;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 2rem;
    padding-left: 30px;
    padding-right: 30px;
}

.sec-bonus {
    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;
}

.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;
}

.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-edu,
.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1 {
    transition: none;
}

#li-upper1-edu:hover,
#li-upper1-edu:focus,
#li-upper1-edu: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-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: darkslategray;
}

.p-btn:hover,
.p-btn:focus,
.p-btn:active {
    color: #FFFDF9;
    text-shadow: 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;
}

h2 {
    font-size: 1.6rem;
}

.container-header {
    max-width: 400px; 
    padding-left: 30px;
    padding-right: 10px;
}

.container {
    max-width: 400px;
    padding: 0 30px ;  
}

.container-books {
    margin-bottom: 2.2rem;
}

#thai-book0 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFC83B ;
    transition: none;
}

#thai-book0:hover,
#thai-book0:focus,
#thai-book0:active {
    color: #FFC83B ;
}

#thai-books1 {
    font-size: 1.8rem;
    color: #FFC83B ;
    transition: none;
}

#thai-books1:hover,
#thai-books1:focus,
#thai-books1:active {
    color: #FFC83B ;
}

.img {
    width: 20vw;
    height: auto;
}

.sec1-div1 {
    flex-direction: column-reverse;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.sec1-div1-img {
    padding-left: 30px;
}

.sec1-div2-up {
    margin-bottom: 1.8rem;
}

.sec1-div2-down {
    margin-bottom: 2.5rem;
}

.sec1-div3 {
    padding-bottom: 1.8rem;
}

.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;
}

.sec1-div3-grid {
    max-width: 400px;  
    padding: 0 20px;
    margin: 0 auto;     
    grid-template-rows: 70px 100px 70px 100px;
    grid-template-columns: 1fr 1fr ;
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";


    grid-column-gap: 0;
    grid-row-gap: 20px;
    margin-bottom: 1.8rem;
}

.square-small {
    width: 50px;
    height: 50px;
}

.square-large {
    width: 100px;
    height: 100px;
}

.sec1-div3 p {
    font-size: 0.8rem;
    font-weight: 500;
}

.sec2-grid {
    max-width: 400px;  
    padding: 0 20px;
    grid-template-columns: 1fr ;
    grid-template-rows: auto auto auto auto ;
    grid-row-gap: 30px;
    margin-bottom: 2rem;
    grid-template-areas: 
    "q "
    "p"
    "x"
    "z";
}

.item11 {
    grid-area: q;
}

.item12 {
    grid-area: p;
}

.item13 {
    grid-area: x;
}

.item14 {
    grid-area: z;
}

.img-course {
    margin-bottom: 1.8rem;
}

.p2 {  
    font-size: 1rem;
}

.p2-1 {  
    font-size: 1rem;
    font-weight: 700;
    
    line-height: 1.1;    
    color: #40595E;
    margin-bottom: 1rem;
}

.p3 {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.p3-1 {
    font-size: 1rem;
}

.yellow-strip {
    height: 70px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
}

.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;   
}

.container-social {
    justify-content: center;
    padding: 0;
    margin-bottom: 20px;
}

.social-networks {
    width: 40px;
    height: auto;
}

.develop-black {
    font-size: 0.8rem;
    padding-left: 15px;
}

.develop {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-left: 15px;
}

.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;
}

#li-upper1-edu,
.a-ul,
#li-upper-entry,
#li-upper-reg,
.p-btn,
.p-btn1 {
    transition: none;
} 

#li-upper1-edu:hover,
#li-upper1-edu:focus,
#li-upper1-edu: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: 1.4rem;
}

.container-header {
    max-width:300px; 
    padding-left: 20px;
    padding-right: 10px;
}

.container {
    max-width: 300px;
    padding: 0 20px ;  
}

.container-books {
    margin-bottom: 1.8rem;
}

#thai-book0 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFC83B ;    
    transition: none;
}

#thai-book0:hover,
#thai-book0:focus,
#thai-book0:active {
    color: #FFC83B ;
}

#thai-books1 {
    font-size: 1.2rem;
    color: #FFC83B ;
    transition: none;
}

#thai-books1:hover,
#thai-books1:focus,
#thai-books1:active {
    color: #FFC83B ;
}

.img {
    width: 20vw;
    height: auto;
}

.sec1-div1 {
    flex-direction: column-reverse;
    gap: 2rem;
    margin-bottom: 1.8rem;
}

.sec1-div1-img {
    padding-left: 20px;
}

.sec1-div2-up {
    margin-bottom: 1.2rem;
}

.sec1-div2-down {
    margin-bottom: 2rem;
}

.sec1-div3 {
    padding-bottom: 1.2rem;
}

.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;
}

.sec1-div3-grid {
    max-width: 300px;  
    padding: 15px 0 0 10px;
    margin: 0 auto;     
    grid-template-rows: 40px 80px 40px 80px;
    grid-template-columns: 1fr 1fr ;
    grid-template-areas: 
    "f i "
    "n m"
    "b o"
    "k l";


    grid-column-gap: 0;
    grid-row-gap: 10px;
    margin-bottom: 1.2rem;
}

.sec1-div3 p {
    font-size: 0.6rem;
    font-weight: 500;
}

.square-small {
    width: 40px;
    height: 40px;
}

.square-large {
    width: 80px;
    height: 80px;
}

.square-small-up {
    left: 1.5rem;
    top: 1rem;
}

.square-large {
    position: relative;
}

.square-small-down {
    position: absolute;
    left: 2rem;
    top: 2.3rem;
}

.sec2-grid {
    max-width: 300px;  
    padding: 0 10px;
    grid-template-columns: 1fr ;
    grid-template-rows: auto auto auto auto ;
    grid-row-gap: 20px;
    margin-bottom: 1.6rem;
    grid-template-areas: 
    "q "
    "p"
    "x"
    "z";
}

.item11 {
    grid-area: q;
}

.item12 {
    grid-area: p;
}

.item13 {
    grid-area: x;
}

.item14 {
    grid-area: z;
}

.img-course {
    margin-bottom: 1.2rem;
}

.p2 {  
    font-size: 0.8rem;
}

.p2-1 {  
    font-size: 0.8rem;
    font-weight: 700;
    
    line-height: 1;    
    color: #40595E;
    margin-bottom: 1rem;
}

.p3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.p3-1 {
    font-size: 1rem;
}

.yellow-strip {
    height: 60px;
}

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;
}

.develop-black {
    font-size: 0.8rem;
    padding-left: 15px;
}

.develop {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-left: 15px;
}

.red-button {
   right: 1px;
   bottom: 200px;
}

#owl {
    width: 120px;
    height: 100;
}
}

