* {
  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: 0;
}  

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

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

#li-upper-entry:hover,
#li-upper-entry:focus,
#li-upper-entry:active {
    color: #FFC83B ;
    transition: 500ms;
}   
 
#li-upper-reg {
    color: #40595E ;
    background-color: #FFC83B;
    padding: 7px 8px ;
    border-radius: 18px;
    font-weight: 800;
    
    font-size: 1rem;
}

#li-upper-reg:hover ,
#li-upper-reg:focus,
#li-upper-reg:active {
    color: white;
    transition: 500ms;
}

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

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

.p-btn1:hover,
.p-btn1:focus,
.p-btn1:active  {
    color: white;
    transition: 500ms;
}

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

.container {
   padding:  52px 58px 59px 56px;
   max-width: 1100px;
   margin: 0 auto;
}

.text {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    height: 265px;
}

.text p {
    font-size: 24px;
    font-weight: 700;
    
    line-height: 100%;
    color: #40595E;
}

.text span {
    font-size: 24px;
    font-weight: 700;
    
    line-height: 100%;
    color: #FFC83B;
}

.img-text {
    display: flex;
    gap: 50px;
}

.div-img {
    display: flex;
}

#b00k {
    min-width: 265px;
    height: auto;
}

.sec-book {
    background-color: #FFC83B;
    background-size: cover;
    height: 1352px;
    padding: 62px 56px;
}

.container-books {
    display: grid;
    max-width: 1100px;
    margin: 0 auto;
    
    grid-template-columns: repeat(4, 1fr);
    row-gap: 50px; 
    grid-column-gap: 34px;
    margin-bottom: 75px; 
}

.item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8 {
    background-color: white;
    border-radius: 45px;
    padding: 17px 16px;
    height: 509px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pic-books {
    margin-bottom: 11px;
    max-width: 214px;
    max-height: 267px;
}

.p11 {
    font-size: 1rem;
    font-weight: 700;
    
    color: #40595E;
    margin-bottom: 1rem;
}

.p12 {
    font-size: 1rem;
    font-weight: 700;
    
    color: #40595E;
    text-transform: uppercase;
}

.btn-subscribe {
    display: block;
    width: 216px;
    height: 57px;
    border-radius: 45px;
    padding-top: 5px;
    background-color: #FFC83B;
    text-align: center;   
}

.btn-subscribe--soon {
    pointer-events: none;
    opacity: .5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.btn-subscribe--soon .p13 {
    font-size: 18px;
}
.p13 {
    font-size: 20px;
    font-weight: 900;
    
    color: #40595E;
    text-transform: uppercase;
    transition: color 0.5s;
}

.span14 {
    font-size: 12px;
    font-weight: 600;
    
    color: #40595E;
    text-transform: uppercase;
    transition: color 0.5s;
}

.p13:hover, .span14:hover {
    color: white;
}

.p13:focus, .span14:focus {
    color: white;
}

.p13:active, .span14:active {
    color: white;
}

.btn-more {
    display: block;
    width: 216px;
    height: 57px;
    margin: 0 auto;
    background-color: #40595E;
    border-radius: 45px;
    text-align: center;
    padding-top: 10px;
    margin-bottom: 75px;
}

.span15 {
    font-size: 20px;
    font-weight: 900;
    color: white;
    transition: color 0.5s;
}

.span15:hover,
.span15:focus,
.span15:active  {
    color: #FFC83B;
}

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

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

#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 {
     
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

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

/*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) {
    .container-books > div {
        grid-area: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

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

.sec-main {
    padding: 70px 58px 70px 56px;
}

.container {
    max-width: 950px;
    height: 460px;
}

.sec-book {
   /* height: 2450px;*/
   height: auto;
}

.container-books {
    max-width: 530px;
    grid-template-columns: repeat(2, 1fr) ;
    grid-template-rows: 509px 509px 509px 509px;
    grid-row-gap: 38px;    
}

h2 {
    font-size: 1.8rem;   
}

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

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

h3 {
    font-size: 2.3rem;  
}

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

.sec-main {
    height: auto;
}

.container {
    max-width: 850px;
    height: auto;
}

.text {
    height: 100%;
}

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

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

.img-text {
    display: flex;
    gap: 40px;
}

#b00k {
    min-width: 200px;
    max-height: 200px;
}

.sec-book {
   /* height: 2450px;*/
   height: auto;
}

.container-books {
    max-width: 530px;
    grid-template-columns: repeat(2, 1fr) ;
    grid-auto-rows: min-content;
    grid-row-gap: 38px;    
}


.p13, .span14, .span15 {
    transition: none;
}

.p13:hover, .span14:hover,
.p13:focus, .span14:focus,
.p13:active, .span14:active {
    color: #40595E;
}

.span15:hover, .span15:focus, .span15:active {
    color: white;
}

h2 {
    font-size: 1.7rem;
    font-weight: 900;    
}

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

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

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

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

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

.red-button {
    right: 20px;
}

#owl {
    width: 200px;
    height: 150px;
}
}

@media (max-width: 767px) and (min-width: 425px) {
  
.header {
    max-width: 767px;
    min-width: 425px;
    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;
}

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

.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;
    -webkit-text-stroke: 1px white;
    font-weight: 900;
}

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

.sec-main {
    height: auto;
}

.container {
    height: auto;
}

.div-img {
    margin: 0 auto;
}

.text {
    height: 100%;
}

#b00k {
    min-width: 250px;
    max-height: 250px;
}

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

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

.img-text {
    display: flex;
    flex-direction: column-reverse;
    row-gap: 20px;
}

.container-books {
    max-width: 248px;
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    grid-row-gap: 38px;    
}


.sec-book {
   /* height: 4600px;*/
   height: auto;
    padding: 62px 25px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 800;    
}

/*.container2 {
    max-width: 680px;
    height: 250px;
    padding-left: 70px; 
} */

.p13, .span14, .span15 {
    transition: none;
}

.p13:hover, .span14:hover,
.p13:focus, .span14:focus,
.p13:active, .span14:active {
    color: #40595E;
}

.span15:hover, .span15:focus, .span15:active {
    color: white;
}

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

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

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

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

.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;
    -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-main {
    padding: 35px 30px 35px 30px;
    height: auto;
}

.container {
    max-width: 400px;
    height: 180px;
    padding-left: 20px; 
    height: auto;
    
    padding-right: 15px;
}

.text {
    height: 100%;
}

.div-img {
    margin: 0 auto;
}

#b00k {
    min-width: 250px;
    max-height: 250px;
}

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

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

.img-text {
    display: flex;
    flex-direction: column-reverse;
    row-gap: 20px;
}

.container-books {
    max-width: 248px;
    grid-template-columns: 1fr  ;
    grid-auto-rows: min-content;
    grid-row-gap: 38px;    
}


.sec-book {
   /* height: 4600px;*/
   height: auto;
    padding:62px 25px;
}

h2 {
    font-size: 1.3rem;
    font-weight: 800;    
}

.p13, .span14, .span15 {
    transition: none;
}

.p13:hover, .span14:hover,
.p13:focus, .span14:focus,
.p13:active, .span14:active {
    color: #40595E;
}

.span15:hover, .span15:focus, .span15:active {
    color: white;
}

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

.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: 1.5rem;
    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;
    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 {
    margin-bottom: 10px;
}

#li-upper-entry,
#li-upper-reg {
    margin-bottom: 10px;
}

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

.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; 
    -webkit-text-stroke: 1px white;
    font-weight: 900;
}

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

.sec-main {
    height: auto;
    padding: 35px 30px 35px 30px;
}

.container {
    max-width: 370px;
    height: auto;
    padding: 0;
}

.div-img {
    margin: 0 auto;
}

.text {
    height: 100%;
}

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

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

.img-text {
    display: flex;
    flex-direction: column-reverse;
    row-gap: 20px;
}

.container-books {
    max-width: 248px;
    grid-template-columns: 1fr  ;
    grid-auto-rows: min-content;
    grid-row-gap: 38px;    
}


.sec-book {
    /*height: 4600px;*/
    height: auto;
    padding:62px 25px;
}


#b00k {
    min-width: 200px;
    max-height: 200px;
}

.p13, .span14, .span15 {
    transition: none;
}

.p13:hover, .span14:hover,
.p13:focus, .span14:focus,
.p13:active, .span14:active {
    color: #40595E;
}

.span15:hover, .span15:focus, .span15:active {
    color: white;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;    
}

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: 1.3rem;
    padding-left: 15px;
}

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

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

