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

.sec-main {
    max-width: 1600px;
    margin: 0 auto;    
}

.container {
    max-width: 1088px;
    margin: 0 auto;
    background-color: #FFFFFF;
    margin-bottom: 55px;
}

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

#img-upper-books {
    border-radius: 50%;
    max-width: 265px;
    height: 100%;
}

.div-text {    
    max-width: 816px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 265px;
}

.sec-translations {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #FFC83B;
    padding: 85px 58px 85px 56px;
}

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

.translations-work {
    display: flex;
    gap: 47px;
    margin-bottom: 85px;
}

details {
    width: 889px; /* Ширина аккордеона */
    
    border-radius: 75px;
    padding: 58px 0;
    padding-left: 71px;
    padding-right: 43px;
    
    background-color: #FFFDF9;
    display: flex;
    align-self: center;
}

details[open] {
    
    display: flex;
    flex-direction: column;
}


summary::-webkit-detailes-marker {
    display: none; 
}
summary::-moz-list-bullet {
    list-style-type: none;
}
summary::marker {
    display: none;
}

summary {
    font-size: 24px;
    font-weight: 700;
    color: #40595E;
    cursor: pointer;
    
    padding: 0;

    display: inline-block;
    position: relative;
}

summary:after {
    content: "+";
    margin-left: .3em;

    display: inline-block;
    transition: transform .5s;

    position: absolute;
    right: 1px;
}

details [open] > summary:after {
    transform: scale(1,-1);
}

summary ~ *{
   /* padding: 0 1em 0 1em;*/
   padding: 1em;
}

summary:focus {
    outline: 0;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

details [open] summary ~ *{
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}

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

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

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

.p3 {  
    font-size: 1.5rem;
    font-weight: 700;
    
    line-height: 100%;    
    color: #FFC83B ;
}

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

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

/*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;
    margin-bottom: 3rem;
}

.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;
    margin-bottom: 40px;
}

.sec-main {
    max-width: 950px;
}

#img-upper-books {
    border-radius: 50%;
    width: 200px;    
}

.text-img {
   gap: 20px;
}

.div-text {    
    max-width: 730px;
    height: 200px;   
}

.p2 {  
    font-size: 1.3rem;
}

.sec-translations {
    max-width: 1200px;
    padding: 65px 43px 35px 42px;
}

.translations-work {
    margin-bottom: 65px;
}

details {
    width: 800px; /* Ширина аккордеона */
    padding: 5.9% ;
}

details[open] {
    
    display: flex;
    flex-direction: column;
}


summary {
    font-size: 20px;   
}

.sec-bonus {
    max-width: 1200px;
    padding-top: 3.5rem;
}

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

form {
    margin-bottom: 6rem;
}

.develop-black {
    padding-left: 15px;
}

.develop {
    margin-bottom: 3rem;
    padding-left: 15px;
}

.banks {
    width: 250px;
    height: auto;
}

.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: 1023px;
    padding: 0 50px ;  
}

.sec-main {
    max-width: 1023px;
}

#img-upper-books {
    border-radius: 50%;
    width: 180px;
    
}
.text-img {
   gap: 20px;
}

.div-text {    
    height: 180px; 
}

.p2 {  
    font-size: 1.2rem;
}

.div-img {
    display: flex;
    min-width: 180px;
}

.sec-translations {
    padding: 45px 43px 25px 42px;
}

.translations-work {
    margin-bottom: 45px;
    gap: 35px;
}

details {
    width: 800px; /* Ширина аккордеона */
    padding: 5.6% ;
}

details[open] {
    
    display: flex;
    flex-direction: column;
}


summary {
    font-size: 16px;   
    padding: 0px; 
    align-self: center;
}

.p3 {
    font-size: 1.2rem;
}

.trans-img {
    width: 150px;
    height: auto;
}

.sec-bonus {
    max-width: 1023px;
    padding-top: 3rem;
}

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

form  {   
    margin-bottom: 5.5rem;
}

.payment-h3 {
    justify-content: center;
    margin-bottom: 2.2rem;
    padding-right: 20px;
}

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

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

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

.sec-main {
    max-width: 767px;
}

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

#img-upper-books {
    border-radius: 50%;
    width: 180px;
    
}
.text-img {
   flex-direction: column;
   row-gap: 15px;
}

.div-text {    
    height: 100%; 
    row-gap: 10px;
}

.div-img {
    display: flex;
    justify-content: center;
}

.p2 {  
    font-size: 1rem;
}

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

.sec-translations {
    max-width: 767px;
    padding: 35px 20px 5px 20px;
}

.translations-work {
    margin-bottom: 25px;
    gap: 15px;
}

.trans-img {
    min-width: 80px;
}

details {
    padding: 5.6%;
}

details[open] {
    padding: 10px;
    border-radius: 15px;
    
    display: flex;
    flex-direction: column;
}

summary {
    font-size: 13px;
    display: list-item; 
}

summary::-webkit-detailes-marker {
    display: list-item; 
}
summary::-moz-list-bullet {
    list-style-type: list-item;
}
summary::marker {
    display: list-item;
}

summary:after {
    display: none;
}

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

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

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

.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: 2rem;
    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-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 ; 
    margin-bottom: 15px; 
}

.sec-main {
    max-width: 424px;
}

#img-upper-books {
    border-radius: 50%;
    width: 150px;
}
.text-img {
   flex-direction: column;
   row-gap: 15px;
}

.div-text {    
    height: 100%; 
    row-gap: 10px;
}

.div-img {
    display: flex;
    justify-content: center;
}

.p2 {  
    font-size: 1rem;
}

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

.sec-translations {
    max-width: 424px;
    padding: 35px 20px 5px 20px;
}

.translations-work {
    margin-bottom: 25px;
    gap: 15px;
}

.trans-img {
    min-width: 80px;
}

details {
    
    padding: 6%;
}

details[open] {
    padding: 10px;
    border-radius: 15px;
    
    display: flex;
    flex-direction: column;
}

summary {
    font-size: 13px;
    display: list-item; 
}

summary::-webkit-detailes-marker {
    display: list-item; 
}
summary::-moz-list-bullet {
    list-style-type: list-item;
}
summary::marker {
    display: list-item;
}

summary:after {
    display: none;
}

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:hover,
#li-upper1-edu:focus,
#li-upper1-edu:active {
    color: #FFC83B ;
}

#li-upper1-edu,
.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; 
    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 ;
    margin-bottom: 15px;   
}

.sec-main {
    max-width: 424px;
}

#img-upper-books {
    border-radius: 50%;
    width: 120px;
}

.text-img {
   flex-direction: column;
   row-gap: 15px;
}

.div-text {    
    height: 100%; 
    row-gap: 10px;
}

.div-img {
    display: flex;
    justify-content: center;
}

.p2 {  
    font-size: 1rem;
}

.p3 {  
    font-size: 0.8rem;
    font-weight: 600;
}

.sec-translations {
    max-width: 374px;
    padding: 25px 20px 5px 20px;
}

.translations-work {
    margin-bottom: 25px;
    gap: 10px;
}

.trans-img {
    min-width: 60px;
}

details {
    padding: 5%;
}

details[open] {
    padding: 10px;
    border-radius: 15px;
    
    display: flex;
    flex-direction: column;
}

summary {
    font-size: 12px;
    display: list-item;   
}

summary::-webkit-detailes-marker {
    display: list-item; 
}
summary::-moz-list-bullet {
    list-style-type: list-item;
}
summary::marker {
    display: list-item;
}

summary:after {
    display: none;
}

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

#input-submit {
    width: 250px;
    height: 60px;
}

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

.policy {
    font-size: 0.8rem;
} 

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


