@import url(https://fonts.googleapis.com/css?family=Lato);

body {
  background: linear-gradient(90deg, #00b377, #00d68f);
  box-shadow: inset 0px 0px 90px rgba(0, 0, 0, 0.5);
  margin: 0px;
  padding: 0px;
}

.demo {
  width: 100px;
  height: 102px;
  border-radius: 100%;
  position: absolute;
  top: 45%;
  left: calc(50% - 50px);
}

.circle {
  width: 100%;
  height: 100%;
  position: absolute;
}
.circle .inner {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 5px solid rgba(0, 255, 170, 0.7);
  border-right: none;
  border-top: none;
  backgroudn-clip: padding;
  box-shadow: inset 0px 0px 10px rgba(0, 255, 170, 0.15);
}

@-webkit-keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.circle:nth-of-type(0) {
  transform: rotate(0deg);
}
.circle:nth-of-type(0) .inner {
  -webkit-animation: spin 2s infinite linear;
          animation: spin 2s infinite linear;
}

.circle:nth-of-type(1) {
  transform: rotate(70deg);
}
.circle:nth-of-type(1) .inner {
  -webkit-animation: spin 2s infinite linear;
          animation: spin 2s infinite linear;
}

.circle:nth-of-type(2) {
  transform: rotate(140deg);
}
.circle:nth-of-type(2) .inner {
  -webkit-animation: spin 2s infinite linear;
          animation: spin 2s infinite linear;
}

.demo {
  -webkit-animation: spin 5s infinite linear;
          animation: spin 5s infinite linear;
}




@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Nunito:wght@300&family=Quicksand:wght@300&family=Ramabhadra&display=swap');

html,
body {
	height: 100%;
}

body {
	background: #07311D;
	color: rgb(136, 149, 128);
}

.main_wrapper {
	overflow: hidden;
}

[class*="_container"] {
	max-width: 1200px;
	margin: 0 auto;
}

.main-screen_wrapper {
}
.video-bg {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-bg::after{
    position: absolute;
    bottom: 0;
    right: 0;
    content: "";
    width: 100px;
    height: 100px;
    background-image: url('../media/Logo.png');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size:  cover;
    z-index: 2;
}

.video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.effects {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
}

span {
    font-size: 90px;
    font-size: calc(60px + 30 * (100vw / 1280));
  }

.video-bg__content {
    z-index: 2;
    color: #588F31;
    font-size: 50px;
    font-size: calc(24px + 28 * (100vw / 1280));
    font-family: 'Ramabhadra', sans-serif;
    text-align: center;
    position: relative;
    opacity: 0;
    transition: all 0.8s ease 0s;
}

.video-bg__content._active {
    transform: translate(0px, 0px);
    opacity: 1;
}

.video-bg__content::after{

}



.presentation_container {
    margin-top: 30px;
}

.presentation_wrapper {
    text-align: center;
}
.slide_production {
    display: flex;
    flex-direction: column;
}
.slide_title {
    color: #D9E9B7;
    font-size: 40px;
    font-size: calc(28px + 12 * (100vw / 1280));
    font-family: 'Montserrat', sans-serif;
    transform: translate(500px, 0px);
    opacity: 0.4;
    transition: all 0.8s;
}

.slide_title._active{
    transform: translate(0px, 0px);
    opacity: 1;
    
}

.slide_text {
    font-size: 22px;
    font-size: calc(18px + 4 * (100vw / 1280));
    text-align: start;
    line-height: 1.3;
    letter-spacing: 1.2px;
    padding: 15px;
}
.slide_list {
    font-size: 22px;
    font-size: calc(18px + 4 * (100vw / 1280));
    text-align: start;
    padding: 20px;
    line-height: 1.3;
    font-family: 'Quicksand', sans-serif;
    padding-left: 30px;
}

.slide_list li{
    padding: 10px;
}
.images {
    display: flex;
    justify-content: space-between;
}
.img{
    width: 500px;
    height: 300px;
    border-radius: 20px;
}

.bautiful_village{
    background-image: url('../media/bautiful_village.webp');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size:  cover;
    border-radius: 10px;
    margin-right: 10px;
}

.nature{
    background-image: url('../media/nature.webp');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

@media(max-width:610px){
    .bautiful_village{
        display: none;
    }

    .slide_production .images{
        justify-content: center;
    }
}

  .slide_columns {
    margin-top: 50px;
}
.slide_title {
    letter-spacing: 1.5px;
}
.slide_columns_wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.processing_img{
    background-image: url('../media/processing.webp');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size:  contain;
    border-radius: 10px;
    display: none;
}


.column {
    padding: 15px;

}

.column._active{

}


.column_label {
    font-size: 28px;
    font-size: calc(22px + 6 * (100vw / 1280));
    color: #D9E9B7;
    margin-bottom: 15px;
    text-align: start;
    padding: 15px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
}


@media (max-width: 787px) {
    .slide_columns_wrapper{
        display: grid;
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr;
    }

    .processing_img{
        display: block;
    }

    .column{
        width: 330px;
    }
    
}

@media (max-width: 704px){
    .slide_columns_wrapper{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .column{
        width: 100%;
    }

    .processing_img{
        display: none;
    }
}


.slide_processing {
}
.slide_title {
    margin-bottom: 20px;
}

.images {
    margin-top: 20px;
    margin-bottom: 50px;
}

.processing {
    width: 500px;
    height: 500px;
    background-image: url('../media/pellet_plant.webp');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size:  cover;
    border-radius: 20px;
    margin-right: 10px;
}


.pillets_in_hands {
    width: 500px;
    height: 500px;
    background-image: url('../media/pillets_in_hands.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size:  cover;
    border-radius: 20px;
}

@media(max-width:610px){
    .processing{
        display: none;
    }

    .slide_processing .images{
        justify-content: center;
    }
}

.slide_europe {
}
.slide_title {
}
.images {
}
.img {
}
.windmill {
    background-image: url('../media/windmill.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size:  cover;
    margin-right: 10px;
}
.solar_panels {
    background-image: url('../media/solar_panels.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size:  cover;

}

@media(max-width:610px){
    .solar_panels{
        display: none;
    }

    .slide_europe .images{
        justify-content: center;
    }
}

.slide_text {
    font-family: 'Nunito', sans-serif;
}


.calculator {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 70%;
    margin: auto;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.image-container img {
    width: 55%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #008037;
    background: transparent;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #008037;
    font-size: 20px;
    margin-bottom: 5px;
}

select, input {
    width: 60%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: transparent;
    text-align: center;
    color: rgb(136, 149, 128);
    font-size: 24px;
}

select:focus, input:focus {
    border-color: #008037;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 128, 55, 0.5);
}

.total {
    text-align: center;
    margin-top: 25px;
}

.total h2 {
    font-size: 40px;
    color: #008037;
}

/* ---------------------------------------------------------------------------- */
.green-text {
    font-size: 30px;
}

.container.__container {
    padding: 20px;
    font-size: 22px;
}

.contact-info {
    padding: 15px;
    display: block;
}

.contact-info p { 
    color: #4CAF50; /* Додано зелений колір для тексту, якщо це потрібно */
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-direction: column; /* Іконка над текстом */
    text-align: center;
    
}

.contact-info img {
    margin-bottom: 5px; /* Відступ знизу іконки */
}

@media (min-width: 768px) {
    .contact-info ul {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    .contact-info li {
        flex-direction: column; /* Іконка над текстом */
        align-items: center;
    }
}


/* ---------------------------------------------------------------------------- */


.more-videos_container {
    margin-top: 50px;
    text-align: center;
}
.more-videos_title {
    font-size: 20px;
    font-size: calc(16px + 4 * (100vw / 1280));
    color: #D9E9B7;
    font-family: 'Quicksand', sans-serif;
}
.more-videos_wrapper {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px 25px;
    grid-auto-flow: row;
    grid-template-areas:
      "video1 video2"
      "video3 video4";
  }
  
  .video1 { grid-area: video1; }
  
  .video2 { grid-area: video2; }
  
  .video3 { grid-area: video3; }
  
  .video4 { grid-area: video4; }


  .slide_text{
    transform: translate(0px, 20%);
    opacity: 0;
    transition: all 0.8s ease;
  }
  
  .slide_text._active{
    transform: translate(0px, 0px);
    opacity: 1;
  }


  .img, .processing, .pillets_in_hands{
    opacity: 0;
    transition: 1s;
  }

  .img._active, .processing._active, .pillets_in_hands._active, .processing_img_active{
    opacity: 1;
  }

  .video1{
    transform: translate(0px, 120px);
    opacity: 0;
    transition: all 0.7s ease;
  }

  .video1._active{
    transform: translate(0px, 0px);
    opacity: 1;
  }

  




  .video2{
    transform: translate(0px, 120px);
    opacity: 0;
    transition: all 0.7s ease 0.4s;
  }

  .video2._active{
    transform: translate(0px, 0px);
    opacity: 1;
  }





  .video3{
    transform: translate(0px, 120px);
    opacity: 0;
    transition: all 0.7s ease;
  }

  .video3._active{
    transform: translate(0px, 0px);
    opacity: 1;
  }




  .video4{
    transform: translate(0px, 120px);
    opacity: 0;
    transition: all 0.7s ease 0.4s;
  }

  .video4._active{
    transform: translate(0px, 0px);
    opacity: 1;
  }

  .video_container{
    width: 580px;
    height: 335px;
    padding: 10px;
}

.video_container iframe{
    width: 100%;
    height: 100%;
}


@media(max-width:1180px){
    .video_container{
        width: 420px;
        height: 175 px;
    }
}

@media(max-width:869px){
    .more-videos_wrapper{
        display: flex;
        flex-direction: column;
    }

    .video_container{
        width: 580px;
        height: 335px;
    }
}


@media(max-width:580px){
    .video_container{
        width: 420px;
        height: 175px;
        padding: 0;
    }
}


@media(max-width:419px){
    .video_container{
        width: 300px;
        height: 150px;
    }

    .video4{
        transform: translate(0px, 0px);
        opacity: 1;
    }
}


  .footer{
    margin-top: 20px;
    height: 40px;
    background-color: #588F31;
  }

  .footer_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}
.privacy {
    color: #07311D;
    font-size: calc(12px + 4 * (100vw / 1280));
}

.privacy:hover{
    text-decoration: underline;
}

.rights {
    color: #07311D;
    font-size: calc(12px + 4 * (100vw / 1280));

}













.modal {
    display: none; /* Початкове значення display: none */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Відстань між елементами */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .modal-content h2 {
    text-align: center;
    color: #333;
  }
  
  .modal-content label {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
  }
  
  .modal-content input[type="text"],
  .modal-content input[type="tel"],
  .modal-content select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .modal-content input[type="checkbox"] {
    margin-right: 10px;
  }
  
  .modal-content button {
    width: 100%;
    padding: 15px;
    background-color: #165726;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    font-family: sans-serif;
  }
  
  .modal-content button:hover {
    background-color: #F39C12;
  }
  
  .close-button {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
  }
  
  .close-button:hover,
  .close-button:focus {
    color: black;
    text-decoration: none;
  }
  
  
  .order-button {
  background-color: #fe0000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 22px;
  margin-top: 10px  ;
}

.order-button:hover {
  background-color: #fe0000;
}