* {
    margin: 0;
    padding: 0;
    border: 0;
	box-sizing: border-box;
}


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


:root {
	--hue: 223;
	--bg: hsl(var(--hue),10%,90%);
	--fg: hsl(var(--hue),10%,10%);
	--primary: hsl(var(--hue),90%,50%);
	--trans-dur: 0.3s;
	--trans-timing: cubic-bezier(0.76,0.05,0.24,0.95);
	--trans-timing-in: cubic-bezier(0.76,0.05,0.86,0.06);
	--trans-timing-out: cubic-bezier(0.05,0.76,0.06,0.86);
}


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

}

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

}

body:has(.switch__input:checked) {
	background-color: rgba(0, 0, 0, 0.826);
    color:rgba(255, 253, 254, 0.868);

}

.dark-light {
    position: absolute;
    top: 5%;
    left: 52%;

}

.switch {
    position: relative;
}


.switch__icon,
.switch__input {
	display: block;

}
.switch__icon {
	position: absolute;
	top: 2px;
	right: 3px;
	width: 0.75em;
	height: 0.75em;
	transition:
		opacity calc(var(--trans-dur) / 2),
		transform calc(var(--trans-dur) / 2);
}
.switch__icon polyline {
	transition: stroke-dashoffset calc(var(--trans-dur) / 2);
}
.switch__icon--light,
.switch__icon--light polyline {
	transition-delay: calc(var(--trans-dur) / 2);
	transition-timing-function: var(--trans-timing-out);
}
.switch__icon--dark {
	opacity: 0;
	transform: translateX(-0.75em) rotate(30deg) scale(0.75);
	transition-timing-function: var(--trans-timing-in);
}
.switch__input {
	background-color: hsl(210,90%,70%);
	border-radius: 0.75em;
	box-shadow:
		0 0 0 0.125em hsla(var(--hue),90%,50%,0),
		0.125em 0.125em 0.25em hsla(var(--hue),90%,10%,0.2);
	outline: transparent;
	position: relative;
	width: 3em;
	height: 1.5em;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition:
		background-color var(--trans-dur) var(--trans-timing),
		box-shadow 0.15s linear;
}

.switch__input:before,
.switch__input:after {
	content: "";
	display: block;
	position: absolute;
}
.switch__input:before {
	background-color: hsl(50,90%,50%);
	border-radius: inherit;
	mask-image: linear-gradient(120deg,hsl(0,0%,0%) 20%,hsla(0,0%,0%,0) 80%);
	-webkit-mask-image: linear-gradient(120deg,hsl(0,0%,0%) 20%,hsla(0,0%,0%,0) 80%);
	inset: 0;
	transition: background-color var(--trans-dur) var(--trans-timing);
}
.switch__input:after {
	background-color: hsl(0,0%,100%);
	border-radius: 50%;
	box-shadow: 0.05em 0.05em 0.05em hsla(var(--hue),90%,10%,0.1);
	top: 0.125em;
	left: 0.125em;
	width: 1.25em;
	height: 1.25em;
	transition:
		background-color var(--trans-dur) var(--trans-timing),
		transform var(--trans-dur) var(--trans-timing);
	z-index: 1;
}
.switch__input:checked {
	background-color: hsl(290,90%,40%);
}
.switch__input:checked:before {
	background-color: hsl(220,90%,40%);
}
.switch__input:checked:after {
	background-color: hsl(0,0%,0%);
	transform: translateX(1.5em);
}
.switch__input:checked ~ .switch__icon--light,
.switch__input:checked ~ .switch__icon--light polyline {
	transition-delay: 0s;
	transition-timing-function: var(--trans-timing-in);
}
.switch__input:checked ~ .switch__icon--light {
	opacity: 0;
	transform: translateX(-0.75em) rotate(-30deg) scale(0.75);
}
.switch__input:checked ~ .switch__icon--light polyline {
	stroke-dashoffset: 1.5;
}
.switch__input:checked ~ .switch__icon--dark {
	opacity: 1;
	transform: translateX(-19px);
	transition-delay: calc(var(--trans-dur) / 2);
	transition-timing-function: var(--trans-timing-out);
}
.switch__sr {
	overflow: hidden;
	position: absolute;
	width: 1px;
	height: 1px;
}


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

}

.wrapper:has(.switch__input:checked) {
    background-color: black;
    color:rgb(255, 253, 254);
}



.header {
    position: relative;

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

}

header:has(.switch__input:checked) {
    background-image: linear-gradient(55deg, #1c1a1a80, #0b160d92);
    color:rgba(255, 253, 254, 0.504);
}

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



.footer > .header__contact {
    display: flex;
    justify-content: space-around;
    align-items: center;

    gap: 15px;
    align-self: center;
    font-family: Verdana, Helvetica, sans-serif;
    color: #fff;
    text-shadow:rgba(34, 67, 30, 0.671)  2px 2px 2px;
}
.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;

}

.nav-button:has(.switch__input:checked) {
    background-image: linear-gradient(45deg, #064a52, #03280acd);

    color:rgba(255, 253, 254, 0.504);
}

.button:hover {

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

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

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

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

.artical__title:has(.switch__input:checked) {
    background-color: #073439c0;
	color: rgba(255, 255, 255, 0.597);
}


    .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;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    font-weight: 600;


}
.advantages__item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.separator {
    margin-bottom: 25px;
}
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__text {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 2px solid rgba(46, 109, 39, 0.501);
    padding: 15px;
    border-radius: 15px;

   }

   .Samuel {
    width: 500px;
    height: 500px;
    border-radius: 50%;
   }


   /* footer */

    .footer {
        width: 100%;
        background-color: #0faabb3d;
        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;
}



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

@media (max-width: 1100px) {

    .phone {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }
    .wrapper {
       max-width: 1100px;
       width: 100%;
        margin: 0 auto;
         }

    .header__contact {
        z-index: 100;
    }


    .header__logo {
        display: none;
    }

    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;
    }
    .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%;
    }
    .email-address > a {
        color:rgba(18, 42, 36, 0.925);
     }

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

    }

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


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




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

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

}

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

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

    }

    .header__background {
        width: 100%;

    }

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

        font-size: 14px;

    }
}

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

@media (max-width: 508px) {
.advantages__list {
    width: 70%;
}
    .wrapper {
       max-width: 508px;
       margin: 0;
}

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

    font-size: 19px;
}


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

    .photo {
        width: 150px;
        height: 150px;
        position: absolute;
        top: 20px;
        left: 130%;

    }
.nav {
    width: 300px;

}

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

        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3px;
    }

    .nav__list {
        width: auto;
        height: 100px;
        position: absolute;
        top: 180px;
        left: -20%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        flex-wrap: wrap;

    }

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

}
.header__container .header__contact {
    width: 57%;
    margin-top: 109px;
    margin-left: -42%;
    z-index: 200;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

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

.advantages__list {
    width: 68%;
}

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

}

.artical__text > h5 {
    font-size: 28px;
   }
    .button {
        width: 90px;
        height: 30px;
        font-size: 17px;
    }
.header__container > .button {
    margin-top: 29px;
}

    .disable {
        display: none;
    }
}