* {
    margin: 0;
    padding: 0;
}


@font-face {
    font-family: 'avalonmedium';
    src: url('../fonts/avalonmedium.ttf') format('truetype');
}
@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: center;
    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 rgba(255, 255, 255, 0.568);
}


h5, button {
    margin: 0;
    padding: 0;
    font-family: 'Caveat-Regular', sans-serif;
    font-size: 28px;
}
.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 {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    margin-left: 15%;
}



h2 {
    font-family: 'avalonmedium', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 60px;
    color: rgba(37, 33, 33, 0.858);
}
.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: flex-end;
    flex-direction: column;
    gap: 10px;
    align-self: flex-end;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-shadow:rgba(34, 67, 30, 0.671)  2px 2px 2px;
}

.button {
    width: 190px;
    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 {
        width:100%;
        margin-top: 20px;
        margin-bottom: 20px;
        background: transparent;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

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


    }

    .main {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    /* artical */

    .artical__title {
        width: 100%;
        height: 7rem;
        background-color: #11b4c7ce;

        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;

    }


.big-photo {
    width: 35%;
    height: 35%;
    border: 3px solid rgba(255, 255, 255, 0.568);
    border-radius: 20px;


}

.text-wrapper {
    width: 70%;
    display: flex;
    flex-direction: column;
   gap: 10px;
    justify-content: flex-start;
    padding-left: 60px;
    padding-right: 60px;
}

    .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';
    color:rgba(18, 42, 36, 0.925);
    text-shadow:rgba(24, 52, 45, 0.803)  4px 4px 4px;

}

p {
    font-size: 14px;
    line-height: 2.6em;
}
.advantages__img {
    margin-right: 19px;
}
.advantages__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    font-weight: 600;


}
.separator {
    margin-bottom: 25px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;

}
p {
    font-family:Verdana, Geneva, Tahoma, sans-serif;

}

.bold {
    font-weight: bold;
}
.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;


}

.artical {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    border: 2px solid rgba(46, 109, 39, 0.501);

    border-radius: 15px;
    padding: 25px;
   }

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

.certificate {
    border-radius: 10%;
    border: 5px solid rgba(255, 255, 255, 0.568);

}
/* certificates */


/* horizontal orientention */

.one {
    rotate: -90deg;
    width: 240px;
    height: 180px;


}

.three {
    rotate: -270deg;
    width: 240px;
    height: 180px;


}

.four {
    rotate: 90deg;
    width: 240px;
    height: 180px;


}

/* vertical orienintation */

.two {
    width: 180px;
    height: 240px;

}


.about {
    width: 100%;

}

.slides {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}


.slide::nth-child(17), .slide::nth-child(18), .slide::nth-child(19), .slide::nth-child(20), .slide::nth-child(21), .slide::nth-child(22), .slide::nth-child(23), .slide::nth-child(24) {
    margin-top: 30px;
}
.slide__title {
    margin: 0;
}

.slide:hover {
    transform: scale(2.8);
    transition: all 0.7s;
    z-index: 50;
}

   /* footer */

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

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    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;
}

p {
    font-family:Verdana, Geneva, Tahoma, sans-serif;

}

.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;
}

.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;



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

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




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;


}



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

  p {
    text-indent: 25px;
}

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

}

.phone {
margin-right: 10px;
}






 /* 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: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
.slide {
    transition: transform 0.5s ease;

}

.slide:hover {
    margin: auto;
    transform: scale(2.3);
    z-index: 200;

}

.slides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.four {
    margin-top: 20px;
}
.two {
    margin: -2px 0px;
}
.text-wrapper > p {
    width: 100%;

}
.artical > h2 {
    font-size: 40px;
}

.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;
    flex-direction:column;
    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;
     }




.header__container {
padding-left: 2%;

};

.header__logo {
    display: none;
}

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

.advantages {
    width: 100%;
    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;
    flex-direction:column;
    justify-content: center;
    gap: 15px;
margin-top: 5px;
margin-bottom: 5px;

font-size: 14px;

}

.text-wrapper > p {
    width: 100%;
}
.artical__title {
    font-size: 30px;

    width: 100%;
    height: 7rem;
    background-color: #11b4c7ce;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'dance_partner';
    font-weight: 800;
    color: #fff;
    text-shadow: rgba(9, 17, 15, 0.895) 8px 8px 8px;
    margin-bottom: -35px;
}
.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;
}

.artical > h2 {
    font-size: 40px;
}
.slides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.slide:hover {
    margin: auto;
    transform: scale(2.3);
    z-index: 200;

}

.slides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.four {
    margin-top: 20px;
}
.two {
    margin: -2px 0px;
}

.artical {
    width: 80%;
    margin-top: 60px;
}

.nav__list {
    top: -170px;
}
}

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

@media (max-width: 688px) {
    .artical {
        width: 75%;
    }
    .artical > h2 {
        font-size: 40px;
    }
    .advantages__list {
width: 70%;
    }
    .wrapper {
   max-width: 688px;
   margin: 0;
    }

    .artical__title {
        margin-bottom: 11px;
    }

.header__container .header__contact {
    margin-top: 300px;
    margin-left: 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}

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

}

.artical__title {
    margin-top: 11px;
}

.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;

}

.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;


}


.text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 0px;
}
.four {
    margin-top: 20px;
}
.two {
    margin: -2px 0px;
}
.text-wrapper > p {
    width: 100%;

}

.slide {
    transition: transform 0.5s ease;

}

.slide:hover {
    margin: auto;
    transform: scale(2.3);
    z-index: 200;

}

.slides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


}

/* ------------------------- 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;

}

.order {
margin-bottom: 40px;
}

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

    font-size: 19px;
}

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

.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: 61%;
    margin-top: 103px;
    margin-left: -38%;
    z-index: 200;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
.artical__text {
display: flex;
justify-content: flex-start;
align-items: flex-start;

}

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


.nav__list {
    width: auto;
    height: 100px;
    position: absolute;
    top: 192px;
    left: 3%;
    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__background {
    width: 100%;
    height: 210px;
    z-index: 10;
}



.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;


}

.artical__container {
    margin-top: 90px;
}

.header__phone > h5 {
    width: 100%;

}


.artical__title {
    font-size: 30px;

    width: 100%;
    height: 7rem;
    background-color: #11b4c7ce;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'dance_partner';
    font-weight: 800;
    color: #fff;
    text-shadow: rgba(9, 17, 15, 0.895) 8px 8px 8px;
    margin-bottom: -35px;
}
.artical > h2 {
    font-size: 40px;
}

.text-wrapper > p {
    display: block;
    line-height: 110%;
    width: 100%;
    font-size: 18px;
}
.text-wrapper {
    width: 100%;
}
.slides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.four {
    margin-top: 20px;
}
.two {
    margin: -2px 0px;
}
}




