@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800;900&display=swap');

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}

html {
    scroll-behavior: smooth;

    /* min-width: 470px; */
}

body {
    color: black;
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1168px;
    min-width: none;
    margin: 0 auto;
}

/* header */

.header {
    position: absolute;
    z-index: 100; 
    width: 100%;
    margin: 10px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 25px;
}

.nav__link {
    font-weight: 500;
    /* font-size: 1.25rem; */
    font-size: 1.25vw;
    text-decoration: none;
    color: white;
    margin: 0 25px 0 25px;
}

.nav__link:last-child {
    margin-right: 0;
}

.logo {
    max-width: 14vw;
}

/* main */

.main {
    /* position: absolute; */
    /* width: 100%; */
    /* min-height: 831px; */
    height: 44vmax;


    background-image: url(/img/main__background.png);
    background-repeat: no-repeat;
    background-size: contain;
    /* background-position: center; */

    filter: drop-shadow(0px 10px 7px rgba(0, 0, 0, 0.25));
}

.main__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 13vw;
    height: 29vw;
}

.main__inner-wrapper {
    text-align: center;
    margin-top: 1vw;
}

.main__text {
    color: #3B8A70;
    font-weight: 800;
    font-size: 7.3vw;
    /* font-size: 140px; */
    /* font-size: calc(40px + 100 * (100vw / 1168)); */
    margin: 0px;
    margin-bottom: 1vw;

    align-self: flex-start;
}

.main__mouse {
    width: 4%;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.anim-bounce {
    animation-name: anim-bounce;
    animation-timing-function: ease;
}

@keyframes anim-bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.main__contact-wrapper {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1vw;
    width: 46vw;
}

.main__contact-wrapper-phone {
    display: none;
}

.main__contact {
    display: flex;
}

.contact__img {
    width: 1.3vmax;
}

.contact__link {
    font-weight: 400;
    font-size: 1.25vw;
    text-decoration: none;
    color: white;
    margin-left: 0.3vw;
    
}

.main__img-bottom {
    display: none;
}

/* about */

.about__text {
    padding-top: 56px;
    font-size: 5.1vw;
    margin: 0;
    color: #3B8A70;
    font-weight: 800;

    text-align: center;
}

.about__block-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 2vw;

    padding-top: 4vw;
    padding-bottom: 5vw;
}

.about__block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    width: 295px;
    margin: 0 auto;
}

.about__img {
    /* max-height: 100px; */
    height: 5vmax;
}

.about__block-p {
    font-size: 20px;
    font-size: 1vmax;
    font-weight: 500;
    color: black;

    text-align: center;
}

/* form */

.form {
    background-image: url(/img/form__background.png);
    background-size: contain;
    background-repeat: no-repeat;

    /* height: 560px; */
    height: 29vmax;
}

.form__inner {
    display: flex;
    justify-content: center;
    align-items: center;

    /* height: 560px; */
    height: 29vmax;
    margin: 0 1vmax;

}

.form__text {
    color: white;
    /* font-size: 56px; */
    font-size: 2.92vmax;
    width: 50%;
}

.form__text-mobile {
    display: none;
}

.form__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 0.5vw;

    width: 50%;
}

.form__input {
    /* max-height: 55px; */
    height: 2.77vmax;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    border-style: none;
    text-align: center;
    color: white;
}

.form__input::placeholder {
    color: white;
}

.form__input:focus {
    border-style: none;
}

.privacy-link {
    color: #ffffff;
    text-decoration: underline;
}

.privacy-link:visited {
    color: #ffffff;
}

.checkbox__wrapper {
    position: relative;
    padding-left: 1.5vmax;
    /* height: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* margin: 0.5rem 0; */
  }
  
  .checkbox__wrapper input {
    opacity: 0;
  }
  
  .checkbox__wrapper .checkbox_canva {
    position: absolute;
    left: 0;
    top: 0.5vmax;
    height: 1.858vmax;
    width: 1.858vmax;
    /* border: 1px solid #f8f8f8; */
    background : rgba(255, 255, 255, 0.5);
    border-radius : 5%;
  }
  
  .checkbox__wrapper .checkbox_canva::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%) rotate(45deg);
    height: 0px;
    width: 0px;
    border: solid #ffffff;
    border-width: 0 4px 4px 0;
    transition: all 150ms ease;
    opacity: 0;
    background-color : transparent;
  }
  
  .checkbox__wrapper input:checked ~ .checkbox_canva::before {
    height: 50%;
    width: 30%;
    opacity: 1;
  }
  

.form__btn {
    max-height: 55px;
    background-color: #3B8A70;
    border: none;
    color: white;
    border-radius: 2px;
    cursor: pointer;
}

.form__legal-p {
    color: #E7E7E7;
    text-align: center;
    margin: 0;
    font-weight: 500;
    max-height: 55px;
    font-size: 0.85vw;
    text-align: left;
}

/* products */

.container__products {
    max-width: 1440px;
    margin: 0 auto;
}

.products__text {
    padding-top: 56px;
    font-size: 5.1vw;
    margin: 0;
    color: #3B8A70;
    font-weight: 800;

    text-align: center;
}

.products__text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@media screen and (max-width: 1500px) {
    .text-L {
        margin-left: 6.2vw;
    }
    
    .text-R {
        margin-right: 6.2vw;
    }
}

.products__title {
    /* font-size: 56px; */
    font-size: 2.92vmax;
    font-weight: 500;

    margin: 0;
}

.products__subtitle {
    /* font-size: 33px; */
    font-size: 1.72vmax;
    font-weight: 400;

}

.products__inner {
    display: flex;
    flex-direction: column;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

.products__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1vw;

    max-height: 490px;
    padding-bottom: 7vh;
}

.products__img {
    border-radius: 20px;
    margin: 0 auto;
    filter: drop-shadow(0px 10px 7px rgba(0, 0, 0, 0.25));

    width: 36vmax;
}

.products__inner-mobile {
    display: none;
}

/* footer */

.footer {
    background: url(img/footer__background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.footer__title {
    color: #ffffff;
    padding-top: 2vmax;
    padding-bottom: 1vmax;
    font-size: 4vmax;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;

    padding-bottom: 2vmax;
}

.footer__colomn {
    margin-left: 1vmax;
    margin-right: 1vmax;
}

.footer__info-p {
    color: #ffffff;
    font-size: 0.9vmax;
}

.footer__logo {
    width: 12vmax;
}

.footer__img-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1vmax;
}

/* responsive */

.fixed__phone {
    display: none;
}

/* modal */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    visibility: hidden;
    z-index: -1;
    opacity: 0;

    transition: all .1s ease-out;
}

.modal .show {
    visibility: visible;
    z-index: 10000;
    opacity: 1;
}

.modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    z-index: 0;
}

.modal__window {
    position: relative;
    z-index: 2;

    width: 46vmax;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    background-color: #ffffff;
    padding: 2vmax;
}

.modal__close {
    position: absolute;
    right: 20px;
    top: 20px;

    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #3B8A70;
    color: #ffffff;
    opacity: 0.7;

}

.modal__close:hover {
    opacity: 1;
}

/* thy */

.thy {
    height: 100%;
    width: 100%;
}

.thy__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thy__text {
    text-align: center;
}

.thy__btn {
    background-color: white;
    border: solid 3px #3B8A70;
    border-radius: 10px;
    margin-top: 3vmax;
    width: 300px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: black;

    transition: ease-out .2s;
}

.thy__btn:hover {
    background-color: #3B8A70;
    border-color: #3B8A70;
    color: white;

    transform: scale(1.1);
    
}


@media screen and (max-width: 1440px) {

    .main__contact-wrapper-phone {
        display: none;
    }

    .form__legal-p {
        font-size: 0.88vw;
    }
    
    .footer__info-p {
        font-size: 1.2vmax;
    }
    
}

@media screen and (max-width: 1024px) {

    .form {
        height: 40vmax;
        background-size: cover;
    }

    .form__inner {
        
        margin: 0 5vmax;
    }

    .checkbox__wrapper {
        position: relative;
        padding-left: 2.4vmax;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      
        .checkbox__wrapper input {
            opacity: 0;
        }
        
        .checkbox__wrapper .checkbox_canva {
            position: absolute;
            left: 0px;
            top: 0.1vmax;
            height: 3vmax;
            width: 3vmax;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 5%;
        }
        
        .checkbox__wrapper .checkbox_canva::before {
            content: "";
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -50%) rotate(45deg);
            height: 0px;
            width: 0px;
            border: solid #ffffff;
            border-width: 0 4px 4px 0;
            transition: all 150ms ease;
            opacity: 0;
            background-color : transparent;
        }
        
        .checkbox__wrapper input:checked ~ .checkbox_canva::before {
            height: 50%;
            width: 30%;
            opacity: 1;
        }

    .form__legal-p {
    font-size: 1.4vmax;
    }

    .main__img-bottom {
        display: block;
        width: 5vmax;
        animation-duration: 2s;
        animation-iteration-count: infinite;
    }

    .footer__wrapper {
        margin: 0 1vmax 0 1vmax;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* header */

    .header__inner {
        justify-content: space-around;
        align-items: center;
    }

    .logo {
        max-width: 18vmax;
    }

    .nav {
        display: none;
    }

    /* main */

    .main {
        /* height: 39vmax; */
    }

    .main__inner {
        padding-top: 14vw;
        /* height: 39vmax; */
    }

    .main__mouse {
        display: none;
    }

    .main__contact-wrapper {
        /* display: none; */
        margin-bottom: 2vmax;
    }

    .main__contact-wrapper-phone {
        display: flex;
        justify-content: space-evenly;
        width: 15vmax;
        margin: 0;
    }

    .contact__link {
        font-size: 1.5vmax;
    }

    .contact__img {
        width: 1.5vmax;
    }
   
    .phone {
        display: none;
    } 

    .fixed__phone {
        display: block;
        position: fixed;
        bottom: 0;
        z-index: 1000;
        background-color: #3B8A70;
        height: 6vmax;
        width: 100%;
    }

    .fixed__phone-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;

        height: 100%;
    }

    .phone__img-bottom {
        width: 2vmax;
    }

    .phone__text {
        font-weight: 600;
        font-size: 2vmax;
    }

    .main__img-bottom {
        display: block;
        width: 5vmax;
    }
    
    /* about */

    .about__text {
        padding-top: 3vmax;
    }
    
    .about__block-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        margin: 0 auto;
        max-width: 52vmax;
    }

    .about__block {
        width: 50%;
    }

    .about__block-p {
        font-size: 1.9vmax;
    }

    .about__img {
        height: 6vmax;
    }

    /* form */

    .form__wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 50%;
    }

    .form__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 40vmax;
        margin: 0 1vmax;
    }

    .form__text {
        display: none;
    }

    .form__text-mobile {
        font-size: 2.65vmax;
        display: block;
        text-align: center;
    }

    .form__input {
        margin-bottom: 10px;
        height: 5vmax;
    }

    .form__legal-p {
        margin-bottom: 10px;
    }

    .form__btn {
        height: 5vmax;
        margin-bottom: 1.4vmax;
    }

    .checkbox__wrapper {
        position: relative;
        padding-left: 1.5vmax;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .checkbox__wrapper {
        position: relative;
        padding-left: 2.4vmax;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      
        .checkbox__wrapper input {
            opacity: 0;
        }
        
        .checkbox__wrapper .checkbox_canva {
            position: absolute;
            left: 0px;
            top: -0.6vmax;
            height: 3vmax;
            width: 3vmax;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 5%;
        }
        
        .checkbox__wrapper .checkbox_canva::before {
            content: "";
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -50%) rotate(45deg);
            height: 0px;
            width: 0px;
            border: solid #ffffff;
            border-width: 0 4px 4px 0;
            transition: all 150ms ease;
            opacity: 0;
            background-color : transparent;
        }
        
        .checkbox__wrapper input:checked ~ .checkbox_canva::before {
            height: 50%;
            width: 30%;
            opacity: 1;
        }

    .footer {
        padding-bottom: 4vmax;
    }
}

@media screen and (max-width: 767px) {

    .fixed__phone {
        display: block;
        position: fixed;
        bottom: 0;
        z-index: 1000;
        background-color: #3B8A70;
        height: 6vmax;
        width: 100%;
    }

    .fixed__phone-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;

        height: 100%;
    }

    .phone__img-bottom {
        width: 2vmax;
    }

    .phone__text {
        font-weight: 600;
        font-size: 2vmax;
    }

    /* header */

    .header__inner {
        justify-content: center;
        align-items: center;
    }

    .logo {
        max-width: 14vmax;
    }

    .nav {
        display: none;
    }

    /* main */

    .main {
        height: 38vmax;
        background-size: cover;
        background-position: center;
    }

    .main__inner {
        padding-top: 14vmax;
        height: 20vmax;
    }

    .main__text {
        font-size: 9vw;
        /* filter: drop-shadow(0px 10px 7px rgba(255, 255, 255, 0.25)); */
    }

    .main__mouse {
        display: none;
    }

    .main__contact-wrapper {
        display: none;
    }

    .phone__bottom

    .main__contact-wrapper-phone {
        display: flex;
        justify-content: space-evenly;
        width: 13vmax;
        margin: 0;
    }

    .phone {
        position: fixed;
        right: 5%;
        bottom: 8%;
    }

    .phone__img {
        padding: 5px;
        border: none;
        border-radius: 10px;

        width: 3vmax;
    }

    .contact__img {
        /* padding: 5px;
        border: 2px solid white;
        border-radius: 10px;

        width: 2vmax; */
    }

    .main__img-bottom {
        display: block;
        width: 4vmax;
        animation-duration: 2s;
        animation-iteration-count: infinite;
    }
    
    /* about */

    .about__text {
        padding-top: 3vmax;
        font-size: 9vw;
    }
    
    .about__block-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        margin: 0 auto;
        max-width: 36vmax;
    }

    .about__block {
        width: 47%;
        margin: 0 3px 0 3px;
        align-items: center;
        text-align: justify;
    }

    .about__block-p {
        font-size: 1.7vmax;
    }

    .about__img {
        height: 6vmax;
    }

    /* form */

    .form {
        filter: drop-shadow(0px 10px 7px rgba(0, 0, 0, 0.25));
    }

    .form__wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* max-width: 50%; */
        width: 40vmax;
    }

    .form__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 40vmax;
        margin: 0 1vmax;
    }

    .form__text {
        display: none;
    }

    .form__text-mobile {
        font-size: 3vmax;
        display: block;
        text-align: center;
        width: 40vmax;

        margin: 0;
    }

    .form__input {
        margin-bottom: 10px;
        height: 5vmax;
    }

    .form__legal-p {
        margin-bottom: 10px;
        font-size: 1.7vmax;
        margin: 0;
    }

    .form__btn {
        height: 5vmax;
        /* margin-bottom: 1.4vmax; */
        font-size: 2vmax;
    }

    .checkbox__wrapper {
        position: relative;
        padding-left: 6vmax;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .checkbox__wrapper input {
            opacity: 0;
        }
        
        .checkbox__wrapper .checkbox_canva {
            position: absolute;
            left: 0px;
            top: 0.1vmax;
            height: 4.1vmax;
            width: 4.1vmax;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 5%;
        }
        
        .checkbox__wrapper .checkbox_canva::before {
            content: "";
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -50%) rotate(45deg);
            height: 0px;
            width: 0px;
            border: solid #ffffff;
            border-width: 0 4px 4px 0;
            transition: all 150ms ease;
            opacity: 0;
            background-color : transparent;
        }
        
        .checkbox__wrapper input:checked ~ .checkbox_canva::before {
            height: 50%;
            width: 30%;
            opacity: 1;
        }

    /* product */

    .products__inner {
        display: none;
    }

    .products__inner-mobile {
        display: flex;
    }

    .products__text {
        padding-top: 3vmax;
        font-size: 9vw;
    }

    .products__block {
        /* grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr; */

        display: flex;
        flex-direction: column;

        text-align: center;
    }

    .products__title {
        margin-bottom: 3vmax;
        font-weight: 600;

    }

    .products__subtitle {
        width: 40vmax;

        margin: 0 auto;
        margin-top: 3vmax;
    }

    .footer__wrapper {
        padding-bottom: 6vmax;
    }


}

@media screen and (max-width: 641px) { 
    /* .form__legal-p {
        font-size: 1.4vmax;
    } */
    
}

@media screen and (max-width: 463px){
    /* .header {
        display: none;
    } */

    .main {
        height: 37vmax;
    }

}






