* {
    margin: 0;
    padding: 0;
}


@font-face {
    font-family: 'MiamaNueva';
    src: url('../fonts/miamanueva.otf') format('opentype');
    src: url('../fonts/miamanueva.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caveat-Regular';
    src: url('../fonts/Caveat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'dance_partner';
    src: url('../fonts/dance_partner.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: 20px;
    font-family: 'dance_partner', sans-serif;

}

body {

    background-image: url(../img/grass.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100%;

}



.wrapper {
   max-width: 3000px;
   background-color: rgba(209, 219, 227, 0.827);
   margin: 0 auto;

}

.header {
    position: relative;

    background-image: linear-gradient(45deg, #ffffff, #085f18cd);
    transition: background-color 2s linear;
    padding-bottom: 15px;
    padding-right: 30px;

}

   .header:hover {
    background-color: rgba(0, 0, 0, 0.642);
    }

.header__container {

    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 0;
    padding: 10px;

}

.header__hello {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    color: #fff;
    text-shadow:rgba(34, 67, 30, 0.671)  2px 2px 2px;
    padding-top: 10px;
}


.photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0;
    margin-bottom: 10px;
    border: 5px solid #ffffff91;
}


h5, button {
    margin: 0;
    padding: 0;
    font-family: 'Caveat-Regular', sans-serif;
    font-size: 28px;

}
.artical__text > h5, .artical__text > p {
    color: #404242;
}
.header__logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    row-gap: 16px;
    align-items: flex-start;

    z-index: 10;
    color: #951093b5;
    text-shadow:rgb(255, 253, 254)  3px 3px 3px;
    font-family: 'MiamaNueva', sans-serif;
    margin-top: 20px;

}

.logo {
    width: 100px;
    height: 100px;
    margin-left: 20px;
    margin-top: 10px;
    position: fixed;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.3);
    transition: all 0.6s;
}

.header__title {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    margin-left: 15%;
}

.header > h2 {
    text-shadow: #fff 2px 2px 2px;
}

.header__background {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.8;
    z-index: 1;
}


.header__contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    align-self: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-shadow:rgba(34, 67, 30, 0.671)  2px 2px 2px;
}

h4, h3 {
    font-family: 'Courier New', Courier, monospace;
}

.button {
    width: 200px;
    height: 50px;
    border-radius: 15px;
    border: none;
    background-image: linear-gradient(45deg, #0faabb, #085f18cd);

    color: #fff;
    font-size: 23px;
    font-family: 'Caveat-Regular', sans-serif;
    cursor: pointer;
    text-shadow:rgba(34, 67, 30, 0.671)  2px 2px 2px;
    cursor: pointer;
    text-align: center;

}

.button:hover {

    transform: scale(1.3);
    transition: all 0.6s;
}

.phone {
    width: 40px;
    height: 40px;
    z-index: 10;
}

.phone:hover {
    transform: scale(1.3);
    transition: all 0.6s;
}

.header__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;



}


/* main  */


/* nav */

.nav__button {
    border-radius: 10px;
    border: 1px solid #fff;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 10px;

    color: #fff;
    list-style: none;
    padding: 10px;
    margin: 10px 10px;
    }


    .container-nav {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 10px;
        background: transparent;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    a {
        text-decoration: none;
        color: #fff;


    }


    /* artical */

    .artical__title {
        width: 100%;

        height: 7rem;
        background-color: #0faabb95;

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

        font-family: 'dance_partner';
        font-size: 50px;

        font-weight: 800;
        color: #fff;
        text-shadow:rgba(9, 17, 15, 0.895)  8px 8px 8px;
        margin-bottom: 25px;
    }



    .email-address {
        text-decoration: underline;
    }
.email {
    width: 30px;
    height: 30px;
}
    .viber {
        width: 40px;
        height: 40px;

    }
    .telegram {
        width: 40px;
        height: 40px;

    }
    .whatsapp {
        width: 40px;
        height: 40px;
    }
    /* artical */

    .artical__title {
        width: 100%;

    height: 7rem;
        background-color: #0faabb95;

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

        font-family: 'dance_partner';
        font-size: 50px;

        font-weight: 800;
        color: #fff;
        text-shadow:rgba(9, 17, 15, 0.895)  8px 8px 8px;
        margin-bottom: 25px;
    }




    .advantages {

        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        background-image: linear-gradient(45deg, #ffffff, #085f18cd);
        margin: 0;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .advantages > h2 {
        font-family: 'Caveat-Regular', sans-serif;
        color:rgba(18, 42, 36, 0.925);
        text-shadow:rgba(24, 52, 45, 0.803)  4px 4px 4px;

    }

.advantages__img {
    margin-right: 19px;
}
.advantages__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    font-weight: 600;
    margin-bottom: 25px;

}

.separator {
    margin-bottom: 25px;
}
p {
    font-family:Verdana, Geneva, Tahoma, sans-serif;

}

.bold {
    font-weight: bold;
}

.advantages__list {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;


}
.advantages__item {

    list-style: none;
}


.artical__container {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;

}
.photo-answer {
    border-radius: 50%;
    border: #4546467b 3px solid;
}
.artical__text {
    width: 70%;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 12%;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 2px solid rgba(46, 109, 39, 0.501);
    padding: 45px;
    border-radius: 15px;

   }

  .section-button {
    width: 250px;
    height: 170px;
    font-size: 30px;
    opacity: 0.7;
  }
  .Samuel {
    width: 500px;
    height: 500px;
    border-radius: 50%;
   }

   /* footer */

    .footer {
        width: 100%;
        background-color: #0faabb63;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 200px;
        padding: 30px;
        color: #fff;
        font-family: 'Caveat-Regular', sans-serif;
        text-shadow:rgba(24, 52, 45, 0.803)  4px 4px 4px;
    }


    .developer {
        font-size: 16px;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.585);
    }

    .copyright {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
    }

    .footer__button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        flex-direction: column;
    }


    html, body {

        width: 100%;
       overflow-x: hidden;

       margin: 0;
        padding: 0;


      }

      p {
        text-indent: 25px;
    }

    .section-button {
        width: 170px;
        height: 90px;
        font-size: 20px;

    }

    .advantages__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;


    }

.question-icon, .photo-answer {
    width:80px;
    height: 80px
}











    /* adaptive */
    /* ---- adaptive ------- */


/*  ------------ADAPTIVE DESIGNE 1100px --------------------- */






@media (max-width: 1100px) {

    .wrapper {
       max-width: 1100px;
       width: 100%;
    margin: 0;
         }

    .header__contact {
        z-index: 100;
    }

 .email-address > a {
    color:rgba(18, 42, 36, 0.925);
 }
    .header__logo {
        display: none;
    }
    .phone {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

    body {
        display: flex;
        flex-direction: column;
        background-image: none;
        justify-content: flex-start;

    }
    .advantages {
        width: 80%;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
    }
    .question-icon, .photo-answer {
        width:70px;
        height: 70px
    }

    .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 35px;
        flex-direction: column;
        font-size: 16px;

    }
    .header__button, .header__contact, .header__copyrigth {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        width: 30%;
    }

    .header__background {
        opacity: 44%;
        width: 70%;
        height: 100%;
        z-index: 10;


    }
    .header__contact {
        z-index: 100;
        color:rgba(18, 42, 36, 0.925);


    };

    .section-button  {
        width: 200px;
        height: 200px;
    }

    .header__hello {
        z-index: 200;

        font-family: Arial, Helvetica, sans-serif;


    }
    img {
        z-index: 100;
    }

    .Samuel {
        width: 180px;
        height: 200px;

    }
    .header__hello > h2, h3, h4, h5 {
        z-index: 100;
        color: rgba(18, 42, 36, 0.925);
        text-shadow: #fff;
        font-size: 24px;
    }

    .main {
    position: relative;
    }
    .container-nav, .nav__list {
        z-index: 200;
        position: absolute;
        top: -192px;
        right: 20px;
        display: flex;
        flex-direction: column;

        font-size: 17px;

    }

    .button {
        width: 190px;
        height: 30px;

    }

    h2 {
        font-size: 16px;
        text-align: center;
    }
    .artical__text {
        width: 70%;
        display: flex;

        justify-content: center;
        gap: 15px;
    margin-top: 5px;
    margin-bottom: 5px;

    font-size: 14px;

   }


    .footer {
        width: 100%;
        background-color: floralwhite;
        color:rgba(18, 42, 36, 0.925);
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;

    }

    p {
        font-size: 15px;
        color: rgba(18, 42, 36, 0.925);

    }

    .order {
        margin-bottom: 50px;

    }

    .footer__button {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }


html, body {

    width: 100%;
   overflow-x: hidden;

   margin: 0;
    padding: 0;


  }

  p {
    text-indent: 25px;
}

.section-button {
    width: 170px;
    height: 90px;
    font-size: 20px;

}

.advantages__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;


}
}


/*-----------------------  ADAPTIVE DESIGNE 888px */

@media (max-width:888px) {

    .wrapper {
       max-width: 888px;

        margin: 0;
         }

         .question-icon, .photo-answer {
            width: 60px;
            height: 60px
        }


.header__container {
    padding-left: 2%;

};

    .header__logo {
        display: none;
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
       overflow-x: hidden;
      }

    .advantages {
        width: 77%;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
    }
    p    {
        width: 77%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .copyright > p {
        width: 100%;
    }

    .about__list > h3 {
        width: 70%;
        text-align: center;
    }
    .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 35px;
        flex-direction: column;
        font-size: 16px;
       }
    .header__button, .header__contact, .header__copyrigth {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        width: 30%;
    }

    .header__background {
        opacity: 44%;
        width: 70%;
        height: 100%;
        z-index: 10;


    }
    .header__contact {
        z-index: 100;
        color:rgba(18, 42, 36, 0.925);


    }

    .header__hello {
        z-index: 200;

        font-family: Arial, Helvetica, sans-serif;


    }
    img {
        z-index: 100;
    }

    .Samuel {
        width: 180px;
        height: 200px;

    }
    .header__hello > h2, h3, h4, h5 {
        z-index: 100;
        color: rgba(18, 42, 36, 0.925);
        text-shadow: #fff;
        font-size: 18px;
    }

    .main {
    position: relative;
    }
    .container-nav, .nav__list {
        z-index: 200;
        position: absolute;
        top: -180px;
        right: 10px;
        display: flex;
        flex-direction: column;

        font-size: 14px;

    }

    .button {
        width: 150px;
        height: 20px;
        font-size: 16px;

    }

    h2 {
        font-size: 16px;
        text-align: center;
    }
    .artical__text {
        width: 70%;
        display: flex;

        justify-content: center;
        gap: 15px;
    margin-top: 5px;
    margin-bottom: 5px;


   }

   .artical__text > h5 {
    font-size: 28px;
   }
   .artical__title {
    font-size: 30px;
   }
    .footer {
        width: 100%;
        background-color: floralwhite;
        color:rgba(18, 42, 36, 0.925);
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;

    }

    p {
        font-size: 15px;
        color: rgba(18, 42, 36, 0.925);

    }

    .footer__button {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }
    p {
        text-indent: 25px;
    }

    .about {
        padding: 10px;
    }
}

/* ------------------------- ADAPTIVE DESIGNE 688px */

@media (max-width: 688px) {
.advantages__list {
    width: 70%;
}
    .wrapper {
       max-width: 688px;
       margin: 0;
}
    .header__container .header__contact {
        margin-top: 300px;
        margin-left: 7%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
    }

    .question-icon, .photo-answer {
        width:50px;
        height: 50px
    }

    .order {
        margin-bottom: 40px;
    }
    .header__hello {
        position: absolute;
        top: 0;
        left: 3%;

    }

    .header__background {
        width: 100%;
        opacity: 22%;

    }

    .container-nav, .nav__list {
        z-index: 200;
        position: absolute;
        top: -240px;
        right: 20px;
        display: flex;
        flex-direction: column;

        font-size: 14px;

    }
    .about {
        width: 98%;
        padding: 10px;
    }

    p {
        text-indent: 25px;

    }
    .artical__text > h5 {
        font-size: 24px;
       }

       .artical__text > p {
        display: block;
       }



.section-button {
    width: 170px;
    height: 90px;
    font-size: 20px;

}
.nav__button {
width: 90px;
height: 30px;

}
.advantages__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;


}
}

/* ------------------------- ADAPTIVE DESIGNE 508px */

@media (max-width: 508px) {

    .wrapper {
       max-width: 508px;
       margin: 0;
}
    .photo {
        width: 150px;
        height: 150px;
        position: absolute;
        top: 20px;
        left: 130%;

    }
.nav {
    width: 300px;

}


.question-icon, .photo-answer {
    width: 40px;
    height: 40px
}

.artical__text {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;

}

.order {
    margin-bottom: 40px;
}


    .header__hello {
        position: absolute;
        top: 0;
        left: 3%;
        display: flex;

        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3px;
    }
    .header__container .header__contact {
        width: 57%;
        margin-top: 103px;
        margin-left: -42%;
        z-index: 200;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    .nav__list {
        width: auto;
        height: 100px;
        position: absolute;
        top: 104px;
        left: -22%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        flex-wrap: wrap;

    }

    .artical {
        margin-top: 90px;
    }
.header__container {
    display: flex;
    justify-content: center;
    flex-direction: column;

}
.header__container .header__contact {
    margin-top: 99px;
    margin-left: -42%;
}

    .header__background {
        width: 100%;
        height: 210px;
        z-index: 10;
    }

 .header__hello > h2, h3, h4, h5, p {

        font-size: 19px;
 }


    .disable {
        display: none;
    }

    .wrapper-advantages {
        width: 99%;


    }

    .about {
        width: 98%;
        padding: 10px;
    }

    .artical__container > p, .advantages > p, .artical__text > p {
        text-indent: 25px;
    }

    .wrapper-advantages {
        width: 100%;
    }

    .section-button {
        width: 170px;
        height: 90px;
        font-size: 20px;

    }
.nav__button {
    width: 90px;
    height: 30px;

}
    .advantages__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;


    }
}


