nav {
    background-color: #111;
    padding: 20px 0px;
    border-bottom: 1px solid ;
    position: absolute;
    z-index: 10;
    width: 100%;
}
nav .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav #menu-toggle {
    display: none;
}

nav ul {
    display: flex;
    align-items: center;
    color: #fff;
    gap: 30px;
    list-style: none;
    font-weight: 600;
    overflow: hidden;
    transition: .5s;
}

#menu-toggle:checked + .burger + ul {
    height: 340px;
    padding: 15px;
}

nav .content ul li {
    text-decoration: none;
    color: #fff;
    position: relative;
    padding: 10px 5px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

nav .content ul a {
    text-decoration: none;
    color: #fff;
    transition-duration: 1s;
}

nav .content ul li:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: red;
    position: absolute;
    top: 190%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    transition: top 0.3s linear 0.5s, width 0.5s linear, height 0.5s linear, border-radius 0.5s linear 0.3s;
}

nav .content ul li:hover:before {
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: top 0.3s linear , width 0.5s linear 0.3s, height 0.5s linear 0.3s, border-radius 0.5s linear 0.3s;
}
nav ul li span {
    position: relative;
    z-index: 10;
    color: #fff;
}
#color-toggle {
    display: none;
}

.color-toggle {
    width: 60px;
    height: 30px;
    border-radius: 30px;
    background-color: transparent;
    border: 1px solid red;
    position: relative;
    cursor: pointer;
    display: block;
    transition: 1s;
}

.color-toggle::after {
    content: "";
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    display: block;
    width: 20px;
    height: 20px;
    transition: 1s;
}

#color-toggle:checked + .color-toggle {
    border: 1px solid blue;
}

#color-toggle:checked + .color-toggle::after {
    background-color: blue;
    left: 36px;
}
nav:has(#color-toggle:checked) {
    border-bottom: 1px solid blue;
}

nav:has(#color-toggle:checked) li::before {
    background-color: blue;
}

nav:has(#color-toggle:checked) .burger span {
    background-color: blue;
}


nav:has(#color-toggle:checked) ~ #home button.read {
    color: blue;
    border: 2px solid blue;
}

nav:has(#color-toggle:checked) ~ #home button.read::before {
    background-color: blue;
}

nav:has(#color-toggle:checked) ~ #home button.read::after {
    background-color: blue;
}

header:has(nav #color-toggle:checked) + #services .title h4 {
    color: blue;
}

header:has(nav #color-toggle:checked) + #services .title h2 {
    color: blue;
}

header:has(nav #color-toggle:checked) + #services .title hr {
    animation-name: animate-4;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}
/*===========================HOME======================*/

#home {
    background-image: url("../images/header.png");
    height: 100vh;
    background-size: cover;
    position: relative;
    top: 0;
    left: 0;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#home .container {
    width: 85%;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#home .content {
    position: relative;
    z-index: 10;
    width: fit-content;
}

#home h1 {
    color: #c1c1c1;
    font-size: 4rem;
    font-weight: 600;
    text-shadow: -5px 3px 2px #3a3a3a;
}

#home h2 {
    color: #c1c1c1;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: -5px 3px 2px #3a3a3a;
    letter-spacing: 4px;
    margin: 10px 0px 25px;
}

#home button {
    background-color: transparent;
    border: 2px solid red;
    color: red;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
#home button::before {
    content: "";
    position: absolute;
    width: 0;
    height: 25%;
    top: 0;
    right: 0;
    background-color: red;
    z-index: -1;
    transition:
        width 0.5s linear,
        height 0.4s linear 0.6s;
}
#home button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 25%;
    bottom: 0;
    left: 0;
    background-color: red;
    z-index: -1;
    transition:
        width 0.5s linear,
        height 0.4s linear 0.6s;
}
#home button:hover::before,
#home button:hover::after {
    width: 100%;
    height: 50%;
}
#home button span {
    position: relative;
    z-index: 10;
    transition-duration: 1s;
}

#home button:hover span {
    color: #fff;
}

header:has(nav #color-toggle:checked) ~ #home button {
    border-color: blue;
    color: blue;
}

header:has(nav #color-toggle:checked) ~ #home button::after,
header:has(nav #color-toggle:checked) ~ #home button::before {
    background-color: blue;
}


/*=========================== SERVICES ======================*/

#services {
    padding: 50px 0px;
    background-image: url("../images/counters_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#services .title {
    width: fit-content;
    margin-bottom: 30px;
}

#services .title h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: red;
    margin-bottom: 10px;
}

#services .title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: red;
}

#services .title h2 span {
    color: black;
}

#services .title hr {
    border: none;
    width: 25%;
    height: 5px;
    border-radius: 20px;
    animation-name: animate-3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

#services p.info {
    width: 30%;
    font-size: 1.2rem;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
}

#services .boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#services .boxes .box {
    width: 20%;
}

#services .boxes .box .item {
    margin: 0px 5px;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 15px;
    min-height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid #fff;
    transition-duration: .5s;
    padding: 10px;
    border: none;
}

#services .boxes .box .item:hover {
    border: 2px solid red;
    transform: translateY(-10px);
}

header:has(nav #color-toggle:checked) + #services .boxes .box .item:hover {
    border: 2px solid blue;
}

#services .boxes .box .item:hover hr {
    background-color: red;
    transition-duration: 1s;
}
#services .item hr {
    border: none;
    width: 50%;
    height: 10px;
    border-radius: 20px;
    margin-top: auto;
    margin-bottom: 5px;
    background-color:rgb(172, 172, 172);
}
#services .item h3{
    margin-bottom: 10px;
}
#services .item p{
    line-height: 1.5;
    font-size: 1rem;
    
}
header:has(nav #color-toggle:checked) + #services .boxes .box .item:hover hr {
    background-color: blue;
}

header:has(nav #color-toggle:checked) + #services .title h4 {
    color: blue;
}

header:has(nav #color-toggle:checked) + #services .title h2 {
    color: blue;
}

#services .boxes .box .item img {
    width: 50%;
    margin: 0px auto 10px;
}

#services img.one {
    display: block;
}

#services img.two {
    display: none;
}

header:has(nav #color-toggle:checked) + #services .boxes .box img.one {
    display: none;
}

header:has(nav #color-toggle:checked) + #services .boxes .box img.two {
    display: block;
}
/*=========================== CLASSES ===========================*/

#classes {
    padding: 50px 0px;
    background-image: url("../images/counters_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#classes .title {
    width: fit-content;
    margin-bottom: 20px;
}

#classes .title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: red;
    margin-bottom: 10px;
}

header:has(nav #color-toggle:checked) ~ #classes .title h4 {
    color: blue;
}

#classes .title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: red;
}

header:has(nav #color-toggle:checked) ~ #classes .title h2 {
    color: blue;
}

#classes .title h2 span {
    color: black;
}

#classes .title hr {
    border: none;
    width: 25%;
    height: 5px;
    border-radius: 20px;
    animation-name: animate-3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

header:has(nav #color-toggle:checked) ~ #classes .title hr {
    animation-name: animate-4;
}

#classes p.info {
    width: 40%;
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
}

#classes .content {
    display: flex;
    flex-wrap: wrap;
}

#classes .content .box {
    width: 33.33%;
}

#classes .content .box .item {
    margin: 0px 5px;
    margin-bottom: 40px;
    padding: 15px 25px;
    position: relative;
}

#classes .content .box .item .photo::before {
    content: "";
    display: block;
    position: absolute;
    top: -25%;
    left: -100%;
    background-color: #ffffff99;
    width: 30%;
    height: 150%;
    transform: rotate(30deg);
    z-index: 3;
}

#classes .content .box .item:hover .photo::before {
    left: 200%;
    transition-duration: 1.5s;
}

#classes .content .box .item .photo {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    z-index: 1;
}

#classes .content .box .item .photo::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

#classes .content .box .item img {
    width: 100%;
    display: block;
    transform: scale(1);
    transition-duration: 1s;
}

#classes .content .box .item:hover img {
    transform: scale(1.1);
}

#classes .content .box .item .informations {
    text-align: center;
    border: 2px solid red;
    padding: 10px;
    border-radius: 10px;
    background-color: #271f23;
    color: #fff;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 80%;
    margin: auto;
    z-index: 10;
    transform: translate(-50%, -80%);
    transition-duration: 1s;
}

header:has(nav #color-toggle:checked) ~ #classes .box .item .informations {
    border: 2px solid blue;
}

#classes .content .box .item:hover .informations {
    transform: translate(-50%, -70%);
}

#classes .content .box .item .informations h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 1px;
}

#classes .content .box .item .informations p {
    font-size: .6rem;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1.5;
    color: #c1c1c1;
    letter-spacing: 1px;
}

#classes .content .box .item .informations button {
    border: none;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid red;
    background-color: transparent;
    color: #fff;
    font-size: .8rem;
    margin-top: 5px;
    cursor: pointer;
    transition-duration: 1s;
}

header:has(nav #color-toggle:checked) ~ #classes .box .item .informations button {
    border: 2px solid blue;
}

#classes .content .box .item .informations button:hover {
    background-color: red;
}

header:has(nav #color-toggle:checked) ~ #classes .box .item .informations button:hover {
    background-color: blue;
}

#classes .content .box .item .informations i {
    transition-duration: 1s;
}

#classes .content .box .item:hover .informations i {
    transform: translateX(5px);
}
/*=========================== TRAINERS ===========================*/

#trainers {
    padding: 50px 0px;
    background-image: url("../images/counters_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#trainers .title {
    width: fit-content;
    margin-bottom: 20px;
}

#trainers .title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: red;
    margin-bottom: 20px;
}

header:has(nav #color-toggle:checked) ~ #trainers .title h4 {
    color: blue;
}

#trainers .title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: red;
}

header:has(nav #color-toggle:checked) ~ #trainers .title h2 {
    color: blue;
}

#trainers .title h2 span {
    color: black;
}

#trainers .title hr {
    border: none;
    width: 25%;
    height: 5px;
    border-radius: 20px;
    animation-name: animate-3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

header:has(nav #color-toggle:checked) ~ #trainers .title hr {
    animation-name: animate-4;
}

#trainers p.info {
    width: 40%;
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
}

#trainers .content {
    display: flex;
    flex-wrap: wrap;
}

#trainers .content .box {
    width: 25%;
}

#trainers .content .box .item {
    margin-right: 15px;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
}

#trainers .content .box img {
    width: 175px;
    height: 175px;
    display: block;
    border-radius: 50%;
    margin: auto;
    background-image: url("../images/counters_bg.png");
    border: 2px solid red;
    margin-bottom: 20px;
    transition-duration: 1s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box img {
    border: 2px solid blue;
}

#trainers .content .box .item:hover img {
    box-shadow: 2px 2px 2px red;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item:hover img {
    box-shadow: 2px 2px 2px blue;
}

#trainers .content .box h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 20px;
}

#trainers .content .box p.h {
    margin-bottom: 20px;
    color: red;
    font-size: 1rem;
    font-weight: 600;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box p.h {
    color: blue;
}

#trainers .content .box .row1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#trainers .content .box .row1 .rate {
    width: fit-content;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 5px;
}

#trainers .content .box .row1 i {
    color: #c1c1c1;
    transition-duration: .5s;
}

#trainers .content .box .item:hover .row1 i:nth-of-type(1) {
    color: red;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item:hover .row1 i:nth-of-type(1) {
    color: blue;
}

#trainers .content .box .item:hover .row1 i:nth-of-type(2) {
    color: red;
    transition-delay: .3s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item:hover .row1 i:nth-of-type(2) {
    color: blue;
}

#trainers .content .box .item:hover .row1 i:nth-of-type(3) {
    color: red;
    transition-delay: .5s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item:hover .row1 i:nth-of-type(3) {
    color: blue;
}

#trainers .content .box:nth-of-type(2) .item:hover .row1 i:nth-of-type(4) {
    color: red;
    transition-delay: .7s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box:nth-of-type(2) .item:hover .row1 i:nth-of-type(4) {
    color: blue;
}

#trainers .content .box:nth-of-type(3) .item:hover .row1 i:nth-of-type(4) {
    color: red;
    transition-delay: .7s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box:nth-of-type(3) .item:hover .row1 i:nth-of-type(4) {
    color: blue;
}

#trainers .content .box:nth-of-type(3) .item:hover .row1 i:nth-of-type(5) {
    color: red;
    transition-delay: .9s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box:nth-of-type(3) .item:hover .row1 i:nth-of-type(5) {
    color: blue;
}

#trainers .content .box:nth-of-type(4) .item:hover .row1 i:nth-of-type(4) {
    color: red;
    transition-delay: .7s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box:nth-of-type(4) .item:hover .row1 i:nth-of-type(4) {
    color: blue;
}

#trainers .content .box:nth-of-type(4) .item:hover .row1 i:nth-of-type(5) {
    color: red;
    transition-delay: .9s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box:nth-of-type(4) .item:hover .row1 i:nth-of-type(5) {
    color: blue;
}

#trainers .content .box .row1 span {
    background-color: red;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    transition-duration: .5s;
    left: 0;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .row1 span {
    background-color: blue;
}

#trainers .content .box .item:hover .row1 span {
    left: 100%;
}

#trainers .content .box .item .row1 p {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 3px;
}

#trainers .content .box .item .row1 h3 {
    color: red;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .row1 h3 {
    color: blue;
}


#trainers .content .box .item .row2 {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-evenly;
    align-items: center;
}

#trainers .content .box .item .row2 p {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 1px 1px 4px #000;
    padding: 10px 5px;
    font-size: 0.9rem;
}

#trainers .content .box .item .row3 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 20px;
    color: red;
    font-size: 1.3rem;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item .row3 {
    color: blue;
}

#trainers .content .box .item .row3 i:hover {
    background-color: red;
    color: #fff;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item .row3 i:hover {
    background-color: blue;
}

#trainers .content .box .item .row3 i {
    width: 35px;
    height: 35px;
    transition-duration: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
}

#trainers .content .box .item button {
    background-color: transparent;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border: 2px solid red;
    cursor: pointer;
    color: red;
    border-radius: 10px;
    position: relative;
    font-weight: 700;
    overflow: hidden;
}

#trainers .content .box .item button::before {
    content: "";
    position: absolute;
    top: 0;
    background-color: red;
    left: -100%;
    width: 100%;
    height: 100%;
    transition-duration: .5s;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item button::before {
    background-color: blue;
}

#trainers .content .box .item button:hover::before {
    left: 0;
}

#trainers .content .box .item button span {
    transition-duration: .5s;
    position: relative;
    z-index: 10;
}

#trainers .content .box .item button:hover span {
    color: #fff;
}

header:has(nav #color-toggle:checked) ~ #trainers .content .box .item button {
    border: 2px solid blue;
    color: blue;
}


/*====================================================GALLERY=========================================================*/

#gallery {
    padding: 50px 0px;
    background-image: url("../images/counters_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#gallery .title {
    width: fit-content;
    margin-bottom: 20px;
}

#gallery .title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: red;
    margin-bottom: 20px;
}

header:has(nav #color-toggle:checked) ~ #gallery .title h4 {
    color: blue;
}

#gallery .title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: red;
}

header:has(nav #color-toggle:checked) ~ #gallery .title h2 {
    color: blue;
}

#gallery .title h2 span {
    color: black;
}

#gallery .title hr {
    border: none;
    width: 25%;
    height: 5px;
    border-radius: 20px;
    animation-name: animate-3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

header:has(nav #color-toggle:checked) ~ #gallery .title hr {
    animation-name: animate-4;
}

#gallery p.info {
    width: 40%;
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
}

#gallery .content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 300px 300px;
    grid-template-areas:
        "one two three"
        "one four five"
        "six four seven";
    overflow: hidden;
    border-radius: 10px;
}

#gallery .container .content .one {
    grid-area: one;
    width: 100%;
}

#gallery .container .content .two {
    grid-area: two;
    width: 100%;
}

#gallery .container .content .three {
    grid-area: three;
    width: 100%;
}

#gallery .container .content .four {
    grid-area: four;
    width: 100%;
}

#gallery .container .content .five {
    grid-area: five;
    width: 100%;
}

#gallery .container .content .six {
    grid-area: six;
    width: 100%;
}

#gallery .container .content .seven {
    grid-area: seven;
    width: 100%;
}

#gallery .container img {
    width: 100%;
    height: 100%;
    display: block;
}
/*--------------------------FEED BACK-----------------------------*/ 

#feedback{ 
    padding: 50px 0px; 
    background-image: url("../images/counters_bg.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: cover; 
    background-attachment: fixed; 
}

#feedback .container .row1{ 
    display: flex; 
    flex-direction: column; 
    margin-bottom: 30px; 
    font-size: 4rem; 
    text-transform: uppercase; 
    border-bottom: 1px solid #6e6e6e; 
    margin: auto; 
    padding-bottom: 15px; 
}
#feedback .container .row1 p.h{
    margin-bottom: 30px;
}
#feedback .container .row1 p.k{ 
    color: #000; 
    width: 75%; 
    font-weight: 500; 
}

#feedback .container .row1 p.h{ 
    background-color: red; 
    color: #fff; 
    width: fit-content; 
    font-style: italic; 
    display: inline-block; 
    padding: 5px 15px; 
    transform: skew(-15deg); 
}

header:has(#color-toggle:checked) ~ #feedback .container .row1 p.h{ 
    background-color: blue; 
}

#feedback .container .row2{ 
    display: flex; 
    width: 75%; 
    justify-content: space-between; 
    align-items: center; 
    margin: 30px auto; 
}

#feedback .container .row2 p{ 
    font-weight: 700; 
    font-size: 2rem; 
}

#feedback .container .row2 h6{ 
    color: #6e6e6e; 
    text-align: center; 
    margin-top: 5px; 
}

#feedback .container .row3{ 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
}

#feedback .container .row3 .box{ 
    width: 33.33%; 
}

#feedback .container .row3 .box .item{ 
    margin-right: 25px; 
    border: 1px solid red; 
    padding: 15px 25px; 
    border-radius: 10px; 
    transition-duration: .5s; 
    background-color: #fff; 
}

header:has(#color-toggle:checked) ~ #feedback .container .row3 .box .item{ 
    border: 1px solid blue; 
}

#feedback .container .row3 .box .item:hover{ 
    transform: translateY(-10px) rotate(-2deg); 
    box-shadow: 0 30px 40px -15px #0f030340; 
}

#feedback .container .row3 .box:nth-of-type(2) .item:hover{ 
    transform: translateY(-10px) rotate(2deg); 
}

#feedback .container .row3 .box .item p.num{ 
    color: red; 
    font-size: 2rem; 
    font-weight: 700; 
    margin-bottom: 5px; 
}

header:has(#color-toggle:checked) ~ #feedback .container .row3 .box .item p.num{ 
    color: blue; 
}

#feedback .container .row3 .box .item h6{ 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    font-weight: 100; 
}

#feedback .container .row3 .box .item hr{ 
    background-color: rgba(196, 30, 30, .12); 
}

#feedback .container .row3 .box .item p.describtion { 
    margin: 20px 0; 
    padding-top: 15px; 
    font-style: italic; 
    line-height: 1.5; 
    font-weight: 600; 
    font-size: .8rem; 
    border-top: 1px solid #3a3a3a; 
}

#feedback .container .row3 .box .item .icon{ 
    display: flex; 
    gap: 15px; 
}

#feedback .container .row3 .box .item .icon button{ 
    background-color: red; 
    font-size: 1rem; 
    font-weight: 600; 
    border: none; 
    color: #fff; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    width: 35px; 
    height: 35px; 
}

header:has(#color-toggle:checked) ~ #feedback .container .row3 .box .item .icon button{ 
    background-color: blue; 
}

#feedback .container .row3 .box .item .icon .text h5{ 
    font-weight: 700; 
    font-size: .9rem; 
    margin-bottom: 3px; 
}

#feedback .container .row3 .box .item .icon .text h6{ 
    color: #6e6e6e; 
}


/*-----------------------CONTACT US------------------------*/

#contact{ 
    padding: 50px 0px; 
    background-image: url("../images/counters_bg.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: cover; 
    background-attachment: fixed; 
}

#contact .title{ 
    width: fit-content; 
    margin-bottom: 20px; 
}

#contact .title h4{ 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: red; 
    margin-bottom: 20px; 
}

header:has(#color-toggle:checked) ~ #contact .title h4 { 
    color: blue; 
}

#contact .title h2{ 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: red; 
}

header:has(#color-toggle:checked) ~ #contact .title h2 { 
    color: blue; 
}

#contact .title h2 span{ 
    color: black; 
}

#contact .title hr{ 
    border: none; 
    width: 25%; 
    height: 5px; 
    border-radius: 20px; 
    animation-name: animate-3; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-fill-mode: forwards; 
}

header:has(#color-toggle:checked) ~ #contact .title hr{ 
    animation-name: animate-4; 
}

#contact p.info{ 
    width: 40%; 
    font-size: 1.2rem; 
    color: #000; 
    font-weight: 500; 
    line-height: 1.5; 
    margin-bottom: 30px; 
}

#contact .content{ 
    display: flex; 
    flex-wrap: wrap; 
}

#contact .content .part{ 
    width: 50%; 
}

#contact .content .part2 iframe{ 
    height: 100%; 
}

#contact .content .part .item{ 
    margin-right: 60px; 
    border: 3px solid red; 
    border-radius: 15px; 
    overflow: hidden; 
    height: 525px; 
}

header:has(#color-toggle:checked) ~ #contact .content .part .item{ 
    border: 3px solid blue; 
}

#contact .content .part1 .form{ 
    background-color: #f5f5f5; 
    padding: 15px 25px; 
}

#contact .content .part1 .form h3{ 
    text-align: center; 
    border-bottom: 3px solid red; 
    color: red; 
    width: fit-content; 
    margin: auto; 
    margin-bottom: 20px; 
    font-size: 1.5rem; 
    padding-bottom: 3px; 
}

header:has(#color-toggle:checked) ~ #contact .content .part1 .form h3{ 
    border-bottom: 3px solid blue; 
    color: blue; 
}

#contact .content .part1 .form .name, 
#contact .content .part1 .form .phone, 
#contact .content .part1 .form .email, 
#contact .content .part1 .form .submit, 
#contact .content .part1 .form .member{ 
    display: flex; 
    flex-direction: column; 
    row-gap: 10px; 
    font-size: 1rem; 
    font-weight: 700; 
}

#contact .content .part1 .form input,
#contact .content .part1 .form select{ 
    color: #6e6e6e; 
    overflow: hidden; 
    padding: 15px 20px; 
    width: 100%; 
    border: 1px solid #6e6e6e; 
    border-radius: 5px; 
    margin-bottom: 20px; 
}

#contact .content .part1 .form input:focus, 
#contact .content .part1 .form select:focus{ 
    outline: none; 
    border: none; 
}

#contact .content .part1 .form select{ 
    color: #000; 
}

#contact .content .part1 .form .submit{ 
    padding: 0px; 
    overflow: hidden; 
}

#contact .content .part1 .form .submit button{ 
    border: none; 
    background-color: #f5f5f5; 
    color: red; 
    font-size: 1rem; 
    font-weight: 900; 
    letter-spacing: 1px; 
    cursor: pointer; 
    padding: 15px 20px; 
    border: 2px solid red; 
    border-radius: 5px; 
    position: relative; 
}

header:has(#color-toggle:checked) ~ #contact .content .part1 .form .submit button{ 
    color: blue; 
    border: 2px solid blue; 
}

#contact button::after, 
#contact button::before{ 
    content: ""; 
    display: block; 
    background-color: red; 
    position: absolute; 
    width: 100%; 
    height: 25%; 
    left: 0; 
    transition-duration: 1s; 
}

header:has(#color-toggle:checked) ~ #contact button::after, 
header:has(#color-toggle:checked) ~ #contact button::before{ 
    background-color: blue; 
}

#contact button::after{ 
    bottom: 0; 
    left: -100%; 
    transition-duration: 1s; 
}

#contact button:hover::after{ 
    left: 0; 
    animation-name: animate-2; 
    animation-duration: 1s; 
    animation-delay: 1s; 
    animation-fill-mode: forwards; 
}

#contact button::before{ 
    top: 0; 
    left: 100%; 
    transition-duration: 1s; 
}

#contact button:hover::before{ 
    left: 0; 
    animation-name: animate-2; 
    animation-fill-mode: forwards; 
    animation-duration: 1s; 
    animation-delay: 1s; 
}

#contact button span{ 
    position: relative; 
    z-index: 10; 
}

#contact button:hover span{ 
    color: #fff; 
    transition-delay: 1s; 
    transition-duration: 1s; 
}


/*-----------------------FOOTER------------------------*/

footer{ 
    background-color: #333; 
    padding: 15px; 
    color: #fff; 
    font-size: 1rem; 
    font-weight: 500; 
    text-align: center; 
}

footer span{ 
    color: red; 
    font-weight: 800; 
}

header:has(#color-toggle:checked) ~ footer span{ 
    color: blue; 
}


/*-----------------------RETURN BUTTON------------------------*/
.return{ 
    position: fixed; 
    left: 95%; 
    top: 95%; 
    transform: translate(-95%,-95%); 
    width: 40px; 
    height: 40px; 
    color: red; 
    background-color: transparent; 
    border: 1px solid red; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition-duration: 1s; 
}
a.return { 
    text-decoration: none; 
}
header:has(#color-toggle:checked) ~ .return{ 
    color: blue; 
    border: 1px solid blue; 
}
.return:hover{ 
    color: #fff; 
    background-color: red; 
}
header:has(#color-toggle:checked) ~ .return:hover{
    color: #fff;
    background-color: blue;
}
nav img{
    cursor: pointer;
}