html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  font-family: 'Montserrat', sans-serif; 
  display: flex;
  flex-direction: column;  
  font-size: 16px;
  }

*{
  box-sizing: border-box;  
}

/*header*/

header {
  width: 100%;
  background: url("./img-project/bg_header.png") no-repeat;
  background-position:  top right;
  height: 100vh;
  background-size:contain;
  background-color: #F1FDFF;  
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 40px 80px 53px 80px;
}


@media screen and (width: 1920px){
  header {
    padding: 45px 100px 153px;
  }
}

@media screen and (max-width: 1024px){
  header {
    padding: 35px 25px;   
    background: url('./img-project/bg_header_small.png') no-repeat;
    background-color: #F1FDFF;  
    background-position:  top right;
    background-size:contain;
  }
}

.logo {
  margin-right: auto;
  padding: 0;
}

header ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

header li {
  list-style: none;
  font-weight: 400;
  font-size: 18px;
  padding-left: 70px;
  
}

@media screen and (width: 1920px){
  header li{
    font-size: 25px;
  }
}

@media screen and (max-width: 1024px){
  header li{
    font-size: 16px;
    padding-left: 40px;
  
  }
}

@media screen and (max-width: 710px){
  header li {
    font-size: 15px;
    padding-left: 30px;
    
  }
}

header li a {
  text-decoration: none;
  color: black;

}

.active-button {
  border: #7AE5FD solid 2px;
  padding: 15px 22px 15px 22px;
  border-radius: 32px;
  background-color:#7AE5FD ;
  text-transform: uppercase;
  
}

@media screen and (max-width: 731px){
  .active-button {
    text-transform: none;
    
  }
}



h1 {
  color: #9AD2DE;
  font-weight: 800;
  font-size: 82px;
  line-height: 94.9%;
  padding: 100px 0 30px;
  margin: 0;
  width: 40%;
}

@media screen and (width: 1920px){
  h1 {
    padding: 150px 0 30px;
    font-size: 90px;
  }
}

@media screen and (max-width: 1024px){
  h1 {
    padding: 50px 0 30px;
    font-size: 60px;
  }
}

header p {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  width: 510px;
  height: 48px;  
  margin: 0;
}

@media screen and (width: 1920px){
  header p {
    font-size: 25px;
    line-height: 30px;
    width: 530px;
  }
}


/*main*/

main {
  display: flex;
  flex-direction: column;
  margin: 150px auto;
  width: 90%;
  
}

@media screen and (max-width: 1920px){
  main {
    margin: 40px auto;
    text-align: center;
  }
}


h2 {  
  font-weight: 400;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000000;
  margin:auto;
  padding: 10px 0 10px;
}

@media screen and (width: 1920px){
  h2 {
    font-size: 67px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 1024px){
  h2 {
    font-size: 50px;
  }
}


main p {
  font-weight: 400;
  font-size: 27px;
  line-height: 120%; 
  color: #000000;
  margin:auto;
  padding-bottom: 10px;

}

@media screen and (width: 1920px){
  main p {
    font-size: 30px;
    line-height: 30px;
  }
}

.descript {  
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #73A6B1;
  margin: auto;
  width: 53%;
  text-align: center;
  padding-bottom: 60px;
}

@media screen and (width: 1920px){
  .descript {
    font-size: 25px;
    line-height: 30px;
    width:50%;
  }
}

@media screen and (max-width: 1024px){
  .descript {
    font-size: 25px;
    line-height: 30px;
    width:70%;
  }
}

article {
  width: 100%;  
  margin: 40px auto;
  display:flex;
  border: #F1FDFF solid 1px;
  background-color:#F1FDFF;
  padding: 40px; 

}

@media screen and (max-width: 1024px){
  article {
    flex-direction: column-reverse;
    
  }
}

.article-picture {
  border-radius: 15px;
  margin-left: auto;
  width: 60%;
  height: 60%;
}

@media screen and (max-width: 1024px){
  .article-picture {
    width: 80%;
    padding-bottom: 20px;
    margin: 0 auto;
    border-radius: 0px;
  }
}

.article-information {
  text-align: left;
  width: 40%;
}

@media screen and (max-width: 1024px){
  .article-information {
    width: 80%;
    text-align: center;
    margin: 0 auto;
  }
}

h3 {
  font-weight: 400;
  font-size: 43px;
  text-transform: uppercase;
  padding-bottom:10px;
  margin: 0;

}

@media screen and (width: 1920px){
  h3 {
    font-size: 60px;
  }
}


article p {
  font-size: 18px;
  font-weight: 400;
  padding-top: 15px;  

}

@media screen and (width: 1920px){
  article p {
    font-size: 25px;
    line-height: 30px;
  }
}

@media screen and (max-width: 1024px){
  article p {
    font-size: 25px;
    line-height: 30px;
    text-align: left;
  }
}

.time {
  color: #3D8C9D;
  font-size: 16px;
  font-weight: 400;
  height: 35px;
  padding: 0;
}

@media screen and (width: 1920px){
  .time {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px){
  .time {
    font-size: 20px;
    text-align: left;
  }
}


.second-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

@media screen and (width: 1920px){
  .second-title {
    font-size: 25px;
    line-height: 30px;
  }
}

/*blue button*/



.more {
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  border: #7AE5FD solid 2px;
  padding: 15px 25px 15px 25px;
  border-radius: 32px;
  background-color:#7AE5FD;
  width:fit-content;
  text-decoration: none;
  color: #000;
}

.button {
  text-align: center;
  padding: 40px 0 50px;
}

@media screen and (width: 1920px){
  .more {
    font-size: 25px;
  }
}

/*gift*/

.container {
  background: url('./img-project/bg_banner.png') no-repeat;
  background-position: top left;
  background-size:contain;
  width: 100%;
  margin: 40px auto;  
  position: relative;

}

@media screen and (max-width: 701px) {
  .container {
    background: none;   
    
  }
}


.content {
  border:  #F2FEFF solid 2px;  
  background-color: #F2FEFF ;
  width: 95%;
  padding: 80px 0px 80px 35px;
  margin:215px auto;
}

@media screen and (max-width: 701px) {
  .content {
    display: flex;
    flex-direction: column-reverse;   
    margin: 20px auto;
    padding: 10px 0;
    width: 100%;
  }
}

.content p {
  font-size: 22px;
}

.condition {
  width: 40%;
  text-align: left;
  margin: 0; 
}

@media screen and (width: 1920px){
  .condition {
    font-size: 27px;
    width: 30%;
  }
}

@media screen and (max-width: 701px) {
  .condition {
    width: 80%; 
    padding: 20px 0;  
    text-align: center;
    margin: 0 auto;
    
  }
}


.gift {
  position: absolute;
  top: 115px; 
  right: 100px;
  
}

@media  (max-width: 1024px) and (min-width: 700px){
  .gift {
    top: 115px; 
    right: 5px;
    
  }
}

@media screen and (max-width: 701px) {
  .gift {  
    position: static;
    width: 90%;
  }
}

/*counter*/

section {
  display: flex;
  flex-direction: column;
}

section ul {
  margin: 0;
  padding: 15px 0 50px 0;
  display: flex;
  justify-content: center;
}

section li {
  display:inline-block;
  border-left: #9AD2DE 2px solid;
  font-size: 60px;
  padding: 0 20px 0 10px;
}

.hidden{
  border: none;
}

/*footer*/

footer {
  display: flex;
  flex-direction: column;
  background-color: #F9FADF;
  line-height: 120%;
  padding: 50px 0;
}

@media screen and (width: 1920px){
  footer {
    font-size: 20px;
    line-height: 30px;
  }
}

footer section {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: row;
}

.column-1 {
  width: 50%;
  padding-left: 20px;
}
.column-2 {
  width: 30%;
}

@media screen and (width: 1920px){
  .column-2 {
    width: 25%;
  }
}

.row {
  padding-bottom: 40px;
}

/*section form*/

.subscription {
  border:  #fff solid 2px;  
  background-color: #fff ;
  width: 85%;
  margin: 45px auto;
  font-size: 22px;
  display: flex;
  justify-content:space-between;
  padding: 40px;
}

@media screen and (width: 1920px){
  .subscription {
    font-size: 25px;
    line-height: 30px;
    width: 70%;
  }
}

@media screen and (max-width: 1024px){
  .subscription {
    flex-direction: column;
    text-align: center;
  }
}


form {  
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 1024px){
  form {
    width: 70%;
    margin: 20px auto;
  }
}

@media screen and (max-width: 701px){
  form {
    width: 85%;
  }
}

.legend {
  line-height: 120%;
  margin: 0;
}

@media screen and (max-width: 1024px){
  .legend {
    padding-bottom: 20px;
  }
}

.input-form {
  border:#F9FADF 2px solid;
  background-color: #F9FADF;
  border-radius: 25px;
  padding: 17px 32px 17px 32px;
  font-size: 18px;
  outline: none;
  width: 97%;
  margin-bottom: 15px;
}

@media screen and (max-width: 1924px){
  .input-form {
    font-size: 20px;
  }
}

.button-form {
  border:#7AE5FD 2px solid;
  background-color: #7AE5FD;
  border-radius: 25px;
  padding: 17px 20px 17px 20px;
  text-transform: uppercase;
  font-size: 18px;
  width: 97%;
  cursor: pointer;
}

@media screen and (max-width: 1924px){
  .button-form {
    font-size: 25px;
  }
}

/*mobile 620-320*/

@media (min-width: 320px) and (max-width: 620px){ 
  
  body p {
    font-size: 14px;
  }
  
  header {
    padding: 20px;
    background: url("./img-project/bg_header_small.png") no-repeat;
    background-position:  bottom center;
    background-size:cover;
    height: 100vh;
    background-color: #F1FDFF; 
    flex-direction: row-reverse;
  }  
  
  header ul{
    display: block;
    text-align: right;
  }

  header li{
    font-size: 13px;
    padding: 6px 0;
    font-weight: bolder;
  }

  .active-button {
    border: none;
    background: none;
    padding: 0;
    
  }

  h1 {
    font-size: 40px;
    line-height: 40px;
    width: 40%;
    padding: 280px 0 10px;
  }

  .logo_small {
    width: 32px;
  }

  header p {
    font-size: 13px;
    line-height: 15px;
    width: 95%;
  }

  h2 {
    font-size: 30px;
    line-height: 30px;
  }

  h3 {
    font-size: 25px;
    line-height: 30px;
  }

  .descript {
    font-size: 13px;
    line-height: 15px;
    width: 90%;
    padding: 5px 0 15px;

  }

  article {
    width: 100%; 
    margin: 20px auto;
    padding: 10px;
  
  }

  article p {
    padding: 4px 0;
    font-size: 13px;
    line-height: 15px;
  }

  .article-information {
    width: 90%;
  }

  .article-picture {
    width: 95%;
    border-radius: 0px;
  }

  .second-title {
    font-size: 13px;
  }

  .time {
    font-size: 12px;
    line-height: 14px;
    padding: 4px 0;
  }

  section li {
    font-size: 30px;
  }

  .more {
    font-size: 13px;
  }


  footer section {
    flex-direction: column;
    width: 90%;
  }

  .column-1 {
    margin: 0 auto;
    padding: 0;
  }

  .column-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
  }

  footer p {
    margin: 4px 0;
  }

  .subscription {
    width: 90%;
    padding: 0;
  }


  .legend, .input-form, .button-form{
    width: 100%;
  }

  .input-form, .button-form {
    font-size: 13px;
    padding: 13px 20px;
  }

}