/* fonts */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
  font-weight: 100 900; 
  font-stretch: 75% 125%; 
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Mori';
  src: url('../fonts/PPMori-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Mori';
  src: url('../fonts/PPMori-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../fonts/PPNeueMontreal-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


#wrapper-navbar{
  display: none;
}

/* header*/
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  background: #fff;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 50%;
}

.nav{
    gap: 78px;
    align-items: center;
}

.nav a {
  margin: 0;
  text-decoration: none;
  color: #000000;
  transition: color 0.2s;


  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500; 
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  transition: all 0.2s;
}

.nav a:hover {
    color: #B6DAE4!important;
}

.nav .submit-btn {
  background: #e7f3f6;
  border: 1px solid #000;
  padding: 8px 40px;
  border-radius: 20px;
  cursor: pointer;
}

.nav .submit-btn:hover{
    background: #b6dae4;
    color: white!important;
}

.burger {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9;
}

.mobile {
    display: none;;
}

@media all and (min-width: 1200px){
  .nav{
    width: 1034px;
    gap: unset;
    justify-content: space-between;
  }
}

@media (max-width: 1023px) {
  .mobile {
    display: flex;
    width: 61%;
    justify-content: space-between;
  }

  .nav{
    display: none;
  }

  .nav_home{
    display: none;
  }

  .nav.active {
        display: flex;
        position: absolute;
        width: 100%;
        flex-direction: column;
        background: white;
        left: 0;
        top: 0;
        gap: 50px;
        padding: 150px 50px;
        z-index: 8;
        box-shadow: -1px 4px 5px 0px rgba(0,0,0,0.75);
    }

    .nav.active a{
        font-size: 200%;
    }

  .header{
    justify-content: flex-end;
  }

}

@media (max-width: 620px) {
    .mobile {
        width: 100%;
    }
    .nav.active {
        height: 100vh;
        justify-content: center;
    }
}


/* hero */

.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 120px;
  background: #fdfdfd;
  font-size: 32px;
  font-weight: bold;  
  background-size: auto 100% ;
  /* background-attachment: fixed; */
}

.hero h1{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;            
  font-style: normal;          
  font-size: 130px;
  line-height: 100px;
  letter-spacing: 0;
  text-align: center;
  font-stretch: condensed;     

  text-align: center;
  max-width: 684px;
  display: block;
  margin: 0 auto;
}

.hero .description{
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;         
  font-style: normal;     
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0;
  text-align: center;

  margin:41px auto 0;
  max-width: 481px;
}

/* hero animation */
.bubbles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.3;
  animation: orbit 12s infinite linear;
  transform: rotate(0deg) translateX(80px) rotate(0deg);
  will-change: transform;
  backface-visibility: hidden;
}

.bubble.blue   { background-color: #6ec1e4; }
.bubble.pink   { background-color: #f8b4c1; }
.bubble.yellow { background-color: #ffd166; }
.bubble.green  { background-color: #c8e6c9; }

/* Анимация по кругу */
@keyframes orbit {
  0%   { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}



@media all and (max-width: 1023px){
    .hero {
        background-size: cover;
    }

    .hero .description{
        display: none;
    }

    .bubbles{
        display: none;
    }

}

@media all and (max-width: 768px){
  .hero h1 {
    font-size: 90px;
    line-height: 70px;
    max-width: 60%;
  }

  .hero .description{
    max-width: 60%;
  }  
}

@media all and (max-width: 620px){
    .hero h1 {
        font-size: 67px;
        line-height: 70px;
        max-width: 80%;
    }

    .hero {
        background-size: contain !important;
        padding: 150px 0 260px;
    }

    

    
}


/* audio */

.audio-books{
  padding: 75px 0 40px;
  background-color: #E8F3F6;
}

.audio-books > .container{
    position: relative;
}

.audio-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* gap: 40px; */
  flex-wrap: nowrap;
}



.audio-card {
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    background-size: contain;
    position: relative;
    padding-bottom: 100px;
    height: 320px;
}

.audio-card.bg1 {
  background-image: url('../images/audio-books-1.png');
}

.audio-card.bg2 {
  background-image: url('../images/audio-books-2.png');
}

.audio-card.bg3 {
  background-image: url('../images/audio-books-3.png');
}

.audio-books .play-btn {
  position: absolute;
  cursor: pointer;
}

.audio-card.bg1 .play-btn{
  right: 60px;
  bottom: 20px;
}
.audio-card.bg2 .play-btn{
  right: 60px;
  bottom: 20px;
}
.audio-card.bg3 .play-btn{
  right: 60px;
  bottom: 20px;
}

.audio-books .play-btn img {
    padding: 0px;
    background-color: #61C3DE;
    border-radius: 50%;
    width: 70px;
    transition: padding 0.2s;
}

.audio-books .play-btn:hover img{
    padding: 3px;
}

.audio-books p.title{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;           
  font-style: normal;         
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  font-stretch: condensed;
  padding-top: 40px;
}

.audio-books p.description{
  font-family: PP Neue Montreal;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: center;
  max-width: 193px;
  display: block;
  margin:0 auto;
}

.nav-button-prev {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 9;
    cursor: pointer;
}

.nav-button-next {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 9;
    cursor: pointer;
}

.mobile-navigation {
    right: 0;
    position: absolute;
    top: 25px;
    display: none;
}

.coloring .mobile-navigation, .fun .mobile-navigation{
    top: -100px;
}

@media all and (max-width: 1023px){
    .nav-button-prev, .nav-button-next {
        display: none;
    }

    .mobile-navigation{
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
}

@media all and (max-width: 620px){
    .coloring .mobile-navigation, .fun .mobile-navigation{
        top: -97px;
    }
}





@media all and (max-width: 768px){
  .audio-books p.description{

  }

  .audio-cards {
    gap: 15px;
  }

  .audio-card{
    width: 45%;
  }

  .audio-card.bg3{
    display: none;
  }
}


/* mobile_slider */
.mobile_slider{
    display: none;
}

@media all and (max-width:1023px){
    .mobile_slider{
        display: block;
        position: relative;
    }
    .mobile_slider .swiper{
        padding-top: 10px;
    }
}

/* coloring */

.coloring{
  padding: 70px 0 100px;
  background-color: #FFECEC;
}

.coloring .grid .img-box, .coloring .swiper .img-box  {
  border-color: #EF5F61;
}

.coloring .grid .img-box::after, .coloring .swiper .img-box::after{
  background-color: #EF5F61;
}

.coloring .load_more{
  background-color: #EF5F61;
  transition: all 0.2s;
}

.coloring .load_more:hover{
  background-color: #FFECEC;
  color: #EF5F61;
}




/* fun */

.fun{
  padding: 62px 0 92px;
  background-color: #E6FFD4B2;
}

.fun .grid .img-box, .fun .swiper  .img-box {
  border-color: #659542;
}

.fun .grid .img-box::after, .fun .swiper .img-box::after{
  background-color: #659542;
}

.fun .load_more{
  background-color: #659542;
}

.fun .load_more:hover{
  background-color: #E6FFD4B2;
  color: #659542;
}


/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.grid .img-box,  .swiper .img-box{
  border-radius: 21px;
  border-width: 2px;
  border-style: solid;
  text-align: center;
  padding: 8px;
  position: relative;
}

.grid .img-box img, .swiper .img-box img {
  border-radius: 21px;
}

.img-box.hidden {
    display: none;
}

.grid .img-box::after, .swiper .img-box::after{
  content: url('../images/img-box-print.png');
  position: absolute;
  top: -10px;
  
  padding: 6px;
  border-radius: 50%;
}

.grid .img-box::after{
    right: -5px;
}

.swiper .img-box::after{
    right: -1px;
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media all and (max-width: 1023px){
    .grid {
        display: none;
    }
    .load_more {
        display: none!important;
    }
}



/* heading */
.audio-books h3, .coloring h3, .fun h3{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;             
  font-style: normal;          
  font-size: 50px;
  line-height: 80px;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 46px;
  font-stretch: condensed;
}

@media all and (max-width: 768px){
  .audio-books h3, .coloring h3, .fun h3{
    font-size: 45px;
  }
}

@media all and (max-width: 620px){
  .audio-books h3, .coloring h3, .fun h3{
    font-size: 35px;
  }
}

/* load more */
.load_more{
  opacity: 1;
  border: 1px solid #000;     
  border-radius: 100px;
  transform: rotate(0deg); 

  padding: 13px 52px;
  margin:72px auto 0;
  display: block;
  width: fit-content;

  cursor: pointer;

  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;           
  font-style: normal;         
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  font-stretch: condensed;    
  color: white;
}


/* contest */

.contest{
  background-color: #E8F3F6;
  padding: 153px 0 135px;
}

.contest-wrap {
    width: 930px;
    margin: 0 auto;
}

.contest .info-description{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-stretch: condensed; 
  font-style: normal; 

  margin-top: 33px;
  margin-bottom: 0;
}

.contest .info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.contest .info .column:first-child{
  max-width: 364px;
}

.contest .info .column.instruction > *{
  max-width: 363px;
}

.contest .info .column.instruction p {
  font-family: 'PP Mori', sans-serif;
  font-weight: 600;         
  font-style: normal;      
  font-size: 22px;
  line-height: 39px;
  letter-spacing: 0;
  margin-bottom: 0;
}

.contest .info .column.instruction ol {
  font-family: 'PP Mori', sans-serif;
  font-weight: 400;         
  font-style: normal;      
  font-size: 22px;
  line-height: 39px;
  letter-spacing: 0;
}

.contest .info .column.instruction .download-btn{
  border-width: 1px;
  border-style: solid;       
  border-color: #000;        
  border-radius: 100px;
  background-color: #84D9F0;
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;         
  font-style: normal;       
  font-size: 21px;         
  letter-spacing: 0;
  text-align: center;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.contest .info .column.instruction .download-btn:hover{
  background-color: #E8F3F6;
}

.contest .form{
  width: 100%;
  background-color: #61C3DE59;
  padding: 51px 64px;
  border-radius: 20px;
  margin-top: 67px;
}

.contest .form .gform_fields{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.contest .form .gform_wrapper .gfield {
  /* flex: 0 0 48%; */
  box-sizing: border-box;
}

.contest .form .gform_body li .gfield_label,
.contest .form .gform_body li .ginput_container {
  width: 100%;
}

.contest .form .gform_body li.child_name,
.contest .form .gform_body li.email {
  flex: 0 0 48%;
  max-width: 48%;
}

.contest .form .gform_body li.age {
  flex: 0 0 38%;
  max-width: 38%;
}

.contest .form .gform_body li.city {
  flex: 0 0 58%;
  max-width: 58%;
}

.contest .form .gform_body li.child_name, .contest .form .gform_body li.email,
.contest .form .gform_body li.age, .contest .form .gform_body li.city   {
  display: flex;
  align-items: center;
  margin: 0!important;
  gap: 21px;
  border: none!important;
  padding: 0!important;
  background: unset!important;
}

.contest .form .gform_body li.child_name .gfield_required, .contest .form .gform_body li.email .gfield_required,
.contest .form .gform_body li.age .gfield_required, .contest .form .gform_body li.city .gfield_required,  
.contest .form .gform_body li.custom-file-upload .gfield_required {
  display: none;
}


.contest .form .gform_body li.child_name label, .contest .form .gform_body li.email label,
.contest .form .gform_body li.age label, .contest .form .gform_body li.city label {
  margin: 0!important;
  font-family: 'PP Mori', sans-serif;
  font-weight: 600;       
  font-style: normal;     
  font-size: 22px;
  line-height: 39px;
  letter-spacing: 0;
  width: fit-content;
  white-space: nowrap;  
}

.contest .form .gform_body li.child_name .ginput_container, .contest .form .gform_body li.email .ginput_container,
.contest .form .gform_body li.age .ginput_container, .contest .form .gform_body li.city .ginput_container {
  margin: 0!important;
}

.contest .form .gform_body li.child_name input, .contest .form .gform_body li.email input,
.contest .form .gform_body li.age input, .contest .form .gform_body li.city input {
  width: 100%;
  border-radius: 100px;
  border: 1px solid #61C3DE59;
  padding: 14px!important;

}


.contest .form .gform_button{
  border: 1px solid;
  width: 100%!important;
  padding: 13px;
  border-radius: 100px;
  color: #000000;

  font-family: 'PP Mori', sans-serif;
  font-weight: 600;         
  font-style: normal;        
  font-size: 22px!important;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  /* transition: all 0.2s; */
}

.contest .form .gform_button:hover{
    border: 2px solid;
    padding: 12px;
}

.contest .form  .custom-file-upload {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 20px auto!important;
  background-color: #92e0f9!important;
  border:1px solid #92e0f9!important;
  border-radius: 22px;
  /* height: 44px; */
  text-align: center;
  color: #000;
  cursor: pointer;

  font-family: 'PP Mori', sans-serif;
  font-weight: 600;          
  font-style: normal;        
  font-size: 22px;
  letter-spacing: 0;
  text-align: center;
  padding:13px 0;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.contest .form  li.custom-file-upload.gfield_error{
    margin: 20px auto!important;
}

.contest .form .gform_wrapper div.validation_error{
    color: #790000!important;
	border-top: 2px solid #790000!important;
	border-bottom: 2px solid #790000!important;
}

.gform_confirmation_wrapper {
    font-family: 'PP Neue Montreal', sans-serif;
    font-weight: 500;
    font-size: 125%;
}

.contest .form .gform_ajax_spinner {
  display: block;
  margin: 20px auto; 
}

.contest .form  .custom-file-upload .ginput_preview {
    font-size: 75%;
}

.contest .form  .custom-file-upload .gfield_label{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.contest .form  .custom-file-upload  .ginput_container_fileupload{
  margin: 0!important;
}

.contest .form  .custom-file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%!important;
  height: 100%;
  cursor: pointer;
}

.contest .form  .gfield_description.validation_message {
    display: none !important;
}

.contest .form  .custom-file-upload:hover {
  background-color: #70d4f3!important;
}

.contest .form .gform_footer{
  margin: 0;
  padding: 0;
}

@media all and (max-width: 1024px){
  .contest-wrap{
    width: 100%;
  }
  .contest .info{
        gap: 30px;
  }
  
}

@media all and (max-width: 1023px){
    .contest .form .gform_fields{
        flex-direction: column;
    }
    .contest .form .gform_body li.child_name, .contest .form .gform_body li.email, .contest .form .gform_body li.age, .contest .form .gform_body li.city{
        flex-direction: column;
        flex: unset;
        max-width: unset;
        align-items: flex-start;
        gap: 10px;
    }

    .contest .info{
        align-items: center;
    }
}

@media all and (max-width: 768px){
  .contest .info .column{
    width: 45%;
  }
  .contest .info .column.instruction p{
    line-height: 22px;
  }

}

@media all and (max-width: 620px){
    .contest .info{
        flex-direction: column;
        gap: 30px;
    }
    .contest .info .column{
        width: 100%;
    }

    .contest .form{
        padding: 10px 25px;
    }

    .contest .form .gform_fields{
        flex-direction: column;
    }
    .contest .form .gform_body li.child_name, .contest .form .gform_body li.email, .contest .form .gform_body li.age, .contest .form .gform_body li.city{
        flex-direction: column;
        flex: unset;
        max-width: unset;
        align-items: flex-start;
        gap: 10px;
    }
    .contest .info .column img{
      width: 80%;
      margin: 0 auto;
      display: block;
    }

    .contest .info .column.instruction .download-btn{
      margin: 0 auto;
      display: block;
      
    }

    .contest .info .column.instruction > *{
      max-width: unset;
      width: 100%;
    }
}


/* footer */
.section.footer{
  padding: 18px 0 91px;
}


/* audio */
#audio-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
  display: flex;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

#audio-player {
  width: 100%;
}