* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 20px;
    background-color: #e7decdb5;

}

/*===========================ICON_MOON==========================================*/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-envelop:before {
    content: "\e900";
}

.icon-mail:before {
    content: "\e900";
}

.icon-email:before {
    content: "\e900";
}

.icon-contact:before {
    content: "\e900";
}

.icon-letter:before {
    content: "\e900";
}

.icon-mobile:before {
    content: "\e901";
}

.icon-cell-phone:before {
    content: "\e901";
}

.icon-handheld:before {
    content: "\e901";
}

.icon-facebook:before {
    content: "\e902";
}

.icon-brand1:before {
    content: "\e902";
}

.icon-social1:before {
    content: "\e902";
}

.icon-instagram:before {
    content: "\e903";
}

.icon-brand:before {
    content: "\e903";
}

.icon-social:before {
    content: "\e903";
}

/*===============================HEADER=================================*/
.header {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    font-family: 'Noto Serif Bengali', sans-serif;
    z-index: 199;
}

.header__menu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding-inline-start: 0;
}

.header__menu li {
    list-style: none;
    margin: 15px 20px 0 20px;
}

.header__menu li a {
    text-decoration: none;
    color: #3a3937;
    font-size: 22px;
}

.header__menu li a:hover {
    text-shadow: 2px 2px 2px #5f6d49;
    padding: 0 5px;
}

.display-none {
    display: none;
    transition: all 2s ease-out 3s;
    ;
}

/*===========================MENU-BURGER==============================*/
.header__menu-burger {
    display: none;
    width: 100%;
    height: 60px;
    float: right;
    position: relative;
    font-size: 24px;
    color: #3a3937;
    text-align: center;
    z-index: 199;
}

#check-menu-burger {
    display: none;
}

label {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    line-height: 60px;
}

.burger-line {
    position: absolute;
    top: 18px;
    right: 10px;
    width: 35px;
    height: 2px;
    background-color: #000;
    transition: .5s all;
}

.second,
.third {
    top: 27px;
}

.fourth {
    top: 38px;
}

.main-menu-burger {
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    max-height: 0;
    font-size: 0;
    overflow: hidden;
    transition: .5s all;
}

.main-menu-burger a {
    display: block;
    width: 100%;
    padding: 10px;
    color: #3a3937;
    text-decoration: none;
    box-shadow: -5px 0px 4px 0px rgb(0 0 0 / 30%) inset;
    background-color: rgba(255, 255, 255, 0.9);
}

.main-menu-burger a:hover {
    text-shadow: 0 0 2px #000000;
}

#check-menu-burger:checked~.main-menu-burger {
    max-height: 500px;
    font-size: 22px;
}

#check-menu-burger:checked~.first {
    display: none;
}

#check-menu-burger:checked~.second {
    transform: rotate(-45deg);
}

#check-menu-burger:checked~.third {
    transform: rotate(45deg);
}

#check-menu-burger:checked~.fourth {
    display: none;
}

@media (max-width:1100px) {
    .header__menu {
        display: none;
    }

    .header__menu-burger {
        display: block;
    }
}

/*===============================INDEX=================================*/
.index__content {}

.index__container {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.index-slider-left,
.index-slider-right {
    width: 360px;
    margin-top: 2%;
}

.index-slider-left img,
.index-slider-right img {
    width: 360px;
    height: 360px;
    border-radius: 10px;
    object-fit: cover;
}

.left-slider-container,
.right-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-slider-container a,
.right-slider-container a {
    text-decoration: none;
    color: #3a3937;
    font-size: 16px;
}

.left-slider-container a:hover,
.right-slider-container a:hover {
    text-shadow: 0 0 2px #000000;
}

.index-slider-left .slick-prev,
.index-slider-right .slick-prev {
    left: -40px;
    z-index: 101;
}

.index-slider-left .slick-next,
.index-slider-right .slick-next {
    right: -20px;
    z-index: 101;
}

.index-slider-left .slick-next::before,
.index-slider-left .slick-prev::before,
.index-slider-right .slick-next::before,
.index-slider-right .slick-prev::before {
    color: #39342c;
    font-size: 42px;
}
.logo {
    position: relative;
    height: 80vh;
    width: 100%;
    background: no-repeat center center fixed url("../Images/background.jpg");
    background-size: cover;
    box-shadow: 0px -30px 24px 16px rgb(255 255 255) inset
}
.logo-surname {
    position: absolute;
    right: 5%;
    text-align: center;
}

.logo-surname-animation {
    animation: logo-surname-animation 5s ease;
}

@keyframes logo-surname-animation {
    0% {
        top: -50%;
    }
    100% {
        top: 0;
    }
}

.logo-surname p{
    font-size: 3vw;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 4px 4px #aeb827;

}

@media (max-width: 767px) {
    .logo-surname p{
        font-size: 5vw;
    }
}

.main-logo {
    height: 70vh;
    width: 100%;
}

.mini-logo {
    display: inline-block;
    width: 20%;
    border-radius: 50%;
    position: absolute;
    bottom: -5%;
    left: 1%;
}

.mini-logo-animation {
    animation: mini-logo-animation 4s linear;
}

@keyframes mini-logo-animation {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

h2,
h3,
h4 {
    font-size: 30px;
    text-align: center;
    color: #5f6d49;
}
h4 {
    font-size: 24px;
    margin: 10px 0;
}
h4:hover {
    text-shadow: 0 0 2px #000000;
}
.h3-animation {
    animation: h3-animation 5s ease infinite;
}
@keyframes h3-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.gallery-index__container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.gallery-index__container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gallery-index__container div img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #5f6d49;
    animation: box-shadow 2.5s linear infinite alternate-reverse;
}

@keyframes box-shadow {
    0% {
        box-shadow: 10px -11px 10px 0px #5f6d49, 5px -5px 10px 0px #ffffff;
    }

    100% {
        box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #5f6d49;
    }
}

.gallery-index__container div img:hover {
    filter: contrast(150%);
    transform: scale(1.1);
    transition: 1s all;
}

.index__link-gallery {
    text-decoration: none;
    color: #5f6d49;
    font-size: 20px;
}

.index__link-gallery:hover {
    text-shadow: 0 0 2px #000000;
}

.index__phone-adress {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.index__phone a {
    color: #3a3937;
    text-decoration: none;
    font-size: 32px;
}

.index__adress p {
    margin: 0;
    color: #3a3937;
    font-size: 32px;
}

.register-block a {
    display: block;
    width: 50%;
    min-width: 320px;
    height: 70px;
    margin: 0 auto;
    color: #3a3937;
    text-decoration: none;
    font-size: 34px;
    text-align: center;
}

.register-block a:hover {
    text-shadow: 0 0 2px #000000;
}

.register-block:hover .material-symbols-outlined {
    display: inline-block;
    height: 24px;
    animation: material-symbols-outlined 2s infinite;
}

@keyframes material-symbols-outlined {
    0% {
        transform: rotate(360deg);
        color: black;
    }

    25% {
        color: red;
    }

    50% {
        color: blue;
    }

    75% {
        color: black;
    }
}

@media (max-width:480px) {

    h2,
    h3 {
        font-size: 20px;
    }

    .index-slider-left,
    .index-slider-right {
        width: 280px;
        height: 280px;
    }

    .index-slider-left img,
    .index-slider-right img {
        width: 280px;
        height: 280px;
    }

    .index-slider-left .slick-next::before,
    .index-slider-left .slick-prev::before,
    .index-slider-right .slick-next::before,
    .index-slider-right .slick-prev::before {
        display: none;
    }

    .delivery__text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/*===============================ACTUAL=================================*/

/*===============================WORKSHOP=================================*/
.workshop {
    text-align: justify;
}

.workshop p {
    margin: 0 10%;
}

.workshop__text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.workshop__text p {
    font-size: 16px;
}

.workshop__text div {
    max-width: 320px;
    margin: 0 10px;
}

.workshop__videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.workshop__video {
    width: 320px;
    height: 320px;
    margin: 5px 10px;
}

.workshop__video img {
    width: 320px;
    height: 320px;
    border-radius: 10px;
    opacity: 0.8;
}

.workshop__video img:hover {
    opacity: 1;
    filter: contrast(150%);
}

/*===============================DELIVERY=================================*/
.delivery-content{
    display:flex;
    align-items: center;
}
.delivery__text {
    margin: 5px 2%;
    text-align: justify;
}

.text__first__margin {
    text-indent: 5%;
}
@media (max-width: 767px) {
    .delivery__video video {
        display: none;
    }
}

.delivery-kontakt {
    text-decoration: none;
    color: #3a3937;
    font-size: 22px;
    display: block;
    width: 320px;
    margin: 0 auto;
}

.delivery-kontakt:hover {
    text-shadow: 0 0 2px #000000;
}

.icon-mobile-spin {
    display: inline-block;
    height: 24px;
    animation: icon-mobile-spin 2s infinite;
}

@keyframes icon-mobile-spin {
    0% {
        transform: rotate(360deg);
        color: black;
    }

    25% {
        color: rgb(33, 131, 66);
    }

    50% {
        color: rgb(1, 1, 12);
    }

    75% {
        color: rgb(179, 188, 139);
    }
}

/*==============================GALLERY=================================*/
.galerry__inactive {
    display: none;
}

.h2-top::after,
.h2-top::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 10vw;
    height: 4px;
    background-color: #5f6d49;
    position: relative;
}

.h2-top::before {
    margin-left: -100%;
    left: -10px;
}

.h2-top::after {
    margin-right: -100%;
    right: -10px;
}

.gallery__content {
    width: 80%;
    margin: 0 auto;
}

.gallery__content p {
    font-size: 18px;
    text-align: center;
    margin: 0;
}

.gallery__content a {
    text-decoration: none;
    color: #3a3937;
}

.gallery__content a:hover {
    text-shadow: 0 0 2px #000000;
}

.gallery__container-top {
    padding: 5% 5% 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 360px;
    gap: 10px;
    justify-items: center;
}

.gallery__container-top img {
    display: block;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(90%);
    box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #3a3937;
    animation: box-shadow 2.5s linear infinite alternate-reverse;
}

@keyframes box-shadow {
    0% {
        box-shadow: 10px -11px 10px 0px #3a3937, 5px -5px 10px 0px #ffffff;
    }

    100% {
        box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #3a3937;
    }
}

.gallery__container-top div:hover img {
    filter: brightness(120%);
}

.gallery__h2-down {
    margin: 0;
}

.gallery__container-down {
    padding: 3% 5% 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 360px;
    gap: 10px;
    align-items: center;
    justify-items: center;
}

.gallery__container-down div {
    position: relative;
}

.gallery__container-down img {
    display: block;
    width: 320px;
    height: 320px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #3a3937;
    animation: box-shadow 2.5s linear infinite alternate-reverse;
}

@keyframes box-shadow {
    0% {
        box-shadow: 10px -11px 10px 0px #3a3937, 5px -5px 10px 0px #ffffff;
    }

    100% {
        box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #3a3937;
    }
}

.gallery__container-down img:nth-child(1) {
    opacity: 1;
}

.gallery__container-down img:nth-child(2) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery__container-down div:hover img:nth-child(1) {
    opacity: 0;
}

.gallery__container-down div:hover img:nth-child(2) {
    opacity: 1;
    transition: all 3s ease;
}

/*Gallery before-after animation*/
.comparison-1,
.comparison-4 {
    width: 320px;
    height: 320px;
    overflow: hidden;
    box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #3a3937;
    border-radius: 10px;
}

.comparison-1 figure,
.comparison-4 figure {
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.comparison-1 figure {
    background-image: url(../Images/Gallery/Before-after/Gallery-before-1.jpg);
}

.comparison-4 figure {
    background-image: url(../Images/Gallery/Before-after/Gallery-before-4.jpg);
}

.comparison-1 figure div,
.comparison-4 figure div {
    background-size: cover;
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
}

.comparison-1 figure div {
    background-image: url(../Images/Gallery/Before-after/Gallery-after-1.jpg);
}

.comparison-4 figure div {
    background-image: url(../Images/Gallery/Before-after/Gallery-after-4.jpg);
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    top: -2rem;
    left: -2%;
    background-color: rgba(255, 255, 255, 0.1);
    width: 102%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]:active {
    outline: none;
}

input[type=range]:active {
    border: none;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 15px;
    background: #fff;
    border-radius: 0;
}

input[type=range]::-moz-range-thumb {
    -moz-appearance: none;
    width: 20px;
    height: 15px;
    background: #fff;
    border-radius: 0;
}

input[type=range]:focus::-webkit-slider-thumb {
    background: rgba(255, 255, 255, 0.5);
}

input[type=range]:focus::-moz-range-thumb {
    background: rgba(255, 255, 255, 0.5);
}

/*===============================ABOUT==================================*/
.about__text {
    width: 80%;
    margin: 0 auto;
}

.about__text p {
    font-size: 18px;
    text-align: center;
    margin: 0;
}

.about__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.about__content__worker {
    width: 750px;
    height: 360px;
}

.about__content__worker-image {
    width: 320px;
    height: 320px;
    margin: 0 10px;
}

.about__content img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 5px -5px 10px 0px #ffffff, 10px -11px 10px 0px #5f6d49;
    animation: box-shadow 2.5s linear infinite alternate-reverse;
}

.about__content img:hover {
    transform: scale(1.1);
    transition: 1s all;
}

.about__content__worker-social {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.about__content__worker-image {
    width: 320px;
    height: 320px;
}

.about__content__worker-image svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about__content__worker-image svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: #3a3937;
    stroke-width: 5px;
    stroke-dasharray: 10px 300px 20px 50px 20px 300px 20px 50px 10px;
    transition: .5s all;
}

.about__content__worker-image:hover rect {
    stroke-dasharray: 320px 0 320px 0 320px 0 320px 0;
}

.about__content__worker-social a {
    text-decoration: none;
    color: #3a3937;
    font-size: 24px;
    text-align: center;
}

.about__content__worker-social button {
    position: inherit;
    border-width: 0;
    background-color: #869468;
}

.about__content__worker-social a:hover {
    text-shadow: 0 0 2px #000000;
}

@media (max-width:680px) {
    .about__content__worker {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
    }

    .about__content__worker-social {
        height: auto;
    }

    h4 {
        font-size: 20px;
    }

    .workshop p {
        font-size: 18px;
        margin: 0 10px;
    }

    .delivery__text {
        font-size: 18px;
        margin: 0 10px;
    }

    .cooperation__container div p {
        font-size: 18px;
    }

    .about__content__worker-social {
        margin-bottom: 0;
    }

    .about__content__worker-social a {
        font-size: 20px;
    }
}

/*===============================SERVICES=================================*/
.services__content {
    display: flex;
    justify-content: center;
    align-items: flex-start;

}

.services__text {
    display: flex;
    flex-direction: column;
}

.services__text-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.services__text-price {
    opacity: 0;
}

.services__text-row:hover .services__text-price {
    animation: price-animation 2s ease-out;
    animation-fill-mode: forwards;
}

@keyframes price-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.services__text-row p {
    margin: 0 0 0 30px;
    font-size: 18px;
}

@media (max-width:600px) {
    .services__text-row p {
        margin: 0 0 0 30px;
        font-size: 18px;
    }

    .services__text-price {
        opacity: 1;
    }
}

.services__video video:hover {
    border-radius: 40%;
}

/*===============================CONTACT========================*/
.logo-mini {
    width: 150px;
}

.logo-mini img {
    width: 100%;
    display: block;
    filter: grayscale(100%) invert(100%);
}

.contact__phone-adress {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.contact-form {
    width:640px;
    margin: 0 auto;
    display: none;
    position: fixed;
    z-index:1;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    overflow: auto;
    background-color: #869468d1;
    border-radius: 5px;
    border: 1px solid white;
}

.alert-success {
    text-align: center;
    background-color: white;
}

.alert-danger {
    text-align: center;
    background-color: #cd5839;
}

.contact-form-close {
    color: #ffffff;
    float: right;
    font-size: 40px;
    font-weight: bold;
}

.contact-form-close:hover,
.contact-form-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width:100%;
    border-radius: 5px;
    font-size: 20px;
    border-width:1px;
}

@media(max-width:640px) {
    .contact-form {
        width:320px;
    }
}

.contact-form button {
    background: rgb(237 231 219 / 64%);
    cursor: pointer;

}
.contact-form button:hover {
    text-shadow: 0 0 2px #000000;
}




/*===============================COOPERATION=================================*/
.cooperation__container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.cooperation__container div {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.cooperation__container div p {
    width: 320px;
    text-align: center;
}

.cooperation__container div img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.8;
}

.cooperation__container div img:hover {
    opacity: 1;
    filter: contrast(150%);
}


/*===============================KONTAKT=================================*/
.material-symbols-outlined:hover {
    display: inline-block;
    height: 24px;
    animation: material-symbols-outlined 2s infinite;
}

@keyframes material-symbols-outlined {
    0% {
        transform: rotate(360deg);
        color: black;
    }

    25% {
        color: rgb(33, 131, 66);
    }

    50% {
        color: rgb(1, 1, 12);
    }

    75% {
        color: rgb(179, 188, 139);
    }
}

/*===============================FOOTER=================================*/
.footer {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2) inset;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer__copyright {
    text-align: center;
    padding-left: 20px;
    font-size: 18px;
}

.instagram,
.facebook,
.booksy,
.go-top {
    width: 40px;
    height: 40px;
    margin: 0 20px;
}

.footer__social {
    display: flex;
    margin: 0;
    list-style: none;
    padding-inline-start: 0;
}

.footer__social img[src$='.png'] {
    width: 100%;
}

.footer__social img[src$='.png']:hover {
    opacity: 0.5;
}

@media(max-width:800px) {
    .footer {
        justify-content: center;
    }

    .footer__copyright {
        padding-left: 0;
    }
}
/*===============================COOKIES=================================*/
.warning {
    position: fixed;
    bottom: 2%;
    left: 0;
    display: none;
    justify-content: center;
    width: 100%;
    margin:0 auto;
    padding: 1% 2%;
    box-sizing: border-box;
    background-color: #e7decdb5;
    font-size: 14px;
    box-shadow: 0px 5px 10px 5px rgb(255 255 255) inset
}

.warning--active {
    display: flex;
    align-items: center;
}

.warning__text {
    margin-right: 2%;
}

.warning__read {
    display: block;
    text-decoration: none;
    color: #3a3937;
    margin-left: 2%;
}
.warning__read:hover {
    text-shadow: 0 0 2px #000000;
}
.warning__apply{
    width:60px;
    height:30px;
    border-radius: 5px;
}
.warning__apply:hover {
    text-shadow: 0 0 2px #000000;
    background-color: hwb(0 0% 100% / 0.057);
}
@media (max-width:840px){
    .warning {
        font-size: 10px;
    }
  }