/*!
Theme Name: codepanda
Theme URI: http://underscores.me/
Author: MB \"Kodo panda\"
Author URI: http://codepanda.lt
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: codepanda
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

codepanda is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

html {
	font-size: 10px;
	/* display: none; */
}

*, :after, :before {
    box-sizing: border-box!important;
	-webkit-tap-highlight-color: transparent;
}

section{
	padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.container{
	max-width: 120rem;
	margin: 0 auto;
	padding: 0 1.6rem;
}

.container_s{
    max-width: 45rem;
}

ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.grid{
	display: grid;
}

.flex{
	display: flex;
}

.flex-wrap{
	flex-wrap: wrap;
}

.col-1{
	grid-template-columns: repeat(1, 1fr);
}

.col-2{
	grid-template-columns: repeat(2, 1fr);
}

.col-3{
	grid-template-columns: repeat(3, 1fr);
}

.col-4{
	grid-template-columns: repeat(4, 1fr);
}

.col-5{
	grid-template-columns: repeat(5, 1fr);
}

.gap-1{
	gap: 1rem;
}

.gap-2{
	gap: 2rem;
}

.gap-3{
	gap: 3rem;
}

.gap-4{
	gap: 4rem;
}

.align-center{
    align-items: center;
}

.flex.horizontal-reverse{
    flex-direction: row-reverse;
}

.grid.horizontal-reverse > div:nth-child(1){
    order: 2;
}
.grid.horizontal-reverse > div:nth-child(2){
    order: 1;
}

.radius1{
    border-radius: var(--radius1);
    overflow: hidden;
}

.radius2{
    border-radius: var(--radius2);
    overflow: hidden;
}

.radius3{
    border-radius: var(--radius3);
    overflow: hidden;
}

.border1{
    border: var(--border1);
}

.border2{
    border: var(--border2);
}

.p1{
    padding: 1rem;
}
.p2{
    padding: 2rem;
}

.cursor{
    cursor: pointer;
}

.item{
    opacity: 0;
    top: 5rem;
    position: relative;
    /* transition: var(--animtime1); */
}

.space-between{
    justify-content: space-between;
}

.direction-column{
    flex-direction: column;
}

.justify-center{
    justify-content: center;
}

.justify-between{
    justify-content: space-between;
}

.align-end{
    align-items: flex-end;
}

.align-start{
    align-items: flex-start;
}

.uppercase{
    text-transform: uppercase;
}

.btn{
    padding: 1rem 3rem;
    font-size: var(--fontsize_p);
    line-height: var(--lineh_p);
    font-weight: 500;
    border-radius: 8px;
    background: var(--bgclr2);
    color: var(--textclr2)!important;
    transition: var(--animtime1);
    text-decoration: none;
    display: inline-block;
    border: var(--border3);
    align-items: center;
    cursor: pointer;
    transition: var(--animtime1);
}
.btn:hover{
    background: transparent;
    color: var(--textclr1)!important;
}

.btn-secondary{
    background: var(--bgclr3);
    color: var(--textclr1)!important;
    border: 2px solid var(--bgclr3);
    transition: var(--animtime1);
}

.btn.btn-secondary:hover{
    background: var(--bgclr4);
    border: 2px solid var(--bgclr4);
    /* color: var(--bgclr3)!important; */
}

.for-mobile{
    display: none!important;
}

/* Typography ===================================================================== */
body {
    font-family: "Outfit", sans-serif;
    font-size: var(--fontsize_p);
    line-height: var(--lineh_p);
    font-weight: 300;
}
h1 {
    font-size: var(--fontsize_h1);
    line-height: var(--lineh_h1);
}
h2, .h2 {
    font-size: var(--fontsize_h2);
    line-height: var(--lineh_h2);
}
h3, .h3 {
    font-size: var(--fontsize_h3);
    line-height: var(--lineh_h3);
}
h4, .h4{
    font-size: var(--fontsize_h4);
    line-height: var(--lineh_h4);
}
a {
	color:var(--textclr1);
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
h1,h2,h3,h4, h5, h6 {
	margin-bottom: 0;
	-webkit-font-smoothing: antialiased;
    font-weight: 600;
}


img{
    max-width: 100%;
    height: auto;
}
/* Text module */

.text-block h1,
.text-block h2,
.text-block h3,
.text-block h4,
.text-block h5,
.text-block h6{
	margin-bottom: 1.6rem;
	margin-top: 0;
}

.text-block h1 + p,
.text-block h2 + p,
.text-block h3 + p,
.text-block h4 + p,
.text-block h5 + p,
.text-block h6 + p,
.text-block p:first-of-type{
	margin-top: 0;
}

.text-block p + h1,
.text-block p + h2,
.text-block p + h3,
.text-block p + h4,
.text-block p + h5,
.text-block p + h6,
.text-block ul + h1,
.text-block ul + h2,
.text-block ul + h3,
.text-block ul + h4,
.text-block ul + h5,
.text-block ul + h6{
	margin-top: 4rem;
}

.text-block p{
	margin: 1.6rem 0 0;
}

.alignright{
    float: right;
    margin: 0 !important;
    margin-top: 1.5em !important;
    margin-left: 1.5em !important;
    margin-bottom: 1.5em !important;
}

.alignleft{
    float: left;
    margin: 0 !important;
    margin-top: 1.5em !important;
    margin-right: 1.5em !important;
    margin-bottom: 1.5em !important;
}

.text-block ul{
    list-style: disc;
    list-style-position: inside;
    margin-top: 0.6rem;
}

.text-block ul li + li{
    margin-top: 0.3rem;
}


/* Header ===================================================================== */

.custom-logo .circle {
    background: #a0173b;
    width: 5rem;
    height: 5rem;
    font-weight: 400;
    border-radius: 50%;
    color: var(--textclr6);
    font-family: "Sawarabi Mincho", serif;
    font-family: "Kaisei Opti", serif;
    font-size: 2.8rem;
    padding-bottom: 0.3rem;
    line-height: var(--lineh_h5);
}

.custom-logo .circle + span {
    padding-left: 1rem;
    font-weight: 400;
    font-size: var(--fontsize_h3);
    line-height: var(--lineh_h3);
    color: #000;
}

.custom-logo .circle + span span {
    font-size: var(--fontsize_s);
    line-height: var(--lineh_s);
    color: #a0173b;
    text-transform: uppercase;
    margin-top: -5px;
}

.site-branding a{
    display: flex;
}

header {
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
    background-color: var(--bgclr1);
    border-bottom: var(--border5);
}

.site-header .container .content{
    /* border-bottom: var(--border5); */
    padding: 3rem 0;
}

/* header .container {
    backdrop-filter: blur(40px);
    background-color: rgba(0, 0, 0, 0.3);
    max-width: 116.8rem;
    border-radius: 50px;
    padding: 0.6rem 0.8rem 0.6rem 2rem;
} */

header .container ul li a{
    color: var(--textclr1);
}

header .main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

header .main-navigation ul a{
    padding: 1rem;
    transition: var(--animtime1);
}


.main-navigation .btn:not(.btn-secondary){
    background: var(--bgclr1);
    color: var(--textclr1)!important;
    font-size: var(--fontsize_p);
    line-height: var(--lineh_p);
    font-weight: 500;
    border: var(--border2);
    transition: var(--animtime1);
}

.main-navigation .btn:not(.btn-secondary):hover{
    background: transparent;
    color: var(--textclr2)!important;
}

.main-navigation .btn.btn-secondary{
    padding: 0!important;
    width: 4.2rem;
    height: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--animtime1);
}

.main-navigation .btn.btn-secondary:hover{
    background: var(--bgclr1);
}

.main-navigation .btn.btn-secondary:hover svg path{
    fill: var(--textclr1);
}

.main-navigation .btn.btn-secondary svg{
    width: 2rem;
    height: auto;
}

.main-navigation .btn.btn-secondary svg path{
    fill: var(--textclr2);
    transition: fill 0.3s ease;
}


.main-navigation li:hover a{
    color: var(--bgclr4)!important;
}

/* Footer ===================================================================== */

footer {
    /* border-radius: 30px 30px 0 0; */
    background: #ffde8b;
    padding: 2rem 0 2rem;
}

footer .footer-logo{
    width: 20rem;
}

footer h3,
footer a{
    color: var(--textclr1);
    margin: 0;
}

footer ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    margin-top: 1.6rem;
    row-gap: 0.5rem;
}


footer .social-media svg path{
    fill: var(--textclr2);
}

footer .social-media svg{
    width: 2rem;
    height: auto;
}

footer .custom-logo .circle + span{
    padding-left: 0;
    margin-top: 0.6rem;
}

footer .bottom-line {
    width: 100%;
    padding-bottom: 2rem;
}

.social-media{
    font-size: 1.4rem;
    line-height: 2rem;
}

.copyrights {
    width: 100%;
    font-size: 1.4rem;
    color: #655633;
}

.copyrights a{
    color: #655633;
}

footer a:hover{
    text-decoration: underline;
}

.last-block{
    margin-left: auto;
}

/* Banner ===================================================================== */

.banner .banner-inner:not(.with-background-color) .banner-content {
    position: absolute;
    bottom: 10% !important;
    top: unset !important;
    transform: translate(-50%, 0%);
    left: 50%;
    z-index: 2;
    width: 100%;
}

.banner .banner-content *{
    color: var(--textclr1);
}


.banner .banner-content h2{
    font-size: 5rem;
    line-height: 6rem;
    font-weight: 800;
}

.banner .banner-content .subtitle{
    margin: 0;
    font-size: var(--fontsize_p);
    line-height: var(--lineh_p);
}

.banner .banner-content h1 {
    margin: 0;
    font-size: 6rem;
    line-height: 7rem;
    max-width: 54rem;
    font-weight: 800;
}

.banner .banner-content p {
    margin: 2.4rem 0 0;
    font-size: 2rem;
    font-weight: 200;
    max-width: 70rem;
}

/* .banner-inner::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59,34,8,0.25);
    z-index: 1;
} */

.banner-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.banner{
    height: 87vh;
}

.banner-image,
.banner-inner,
.banner-inner .media{
    width: 100%;
    height: 100%;
}

.banner-image .media{
    position: relative;
}

.banner-image video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
}

.banner .banner-inner{
    /* border-radius: 0 0 40px 40px; */
    overflow: hidden;
}

.banner-buttons{
    margin-top: 2.4rem;
}

.banner.in_container{
    height: auto;
}

.banner.in_container .banner-inner {
    border-radius: 40px;
    overflow: hidden;
}

.banner.in_container .banner-inner::after{
    content: none;
}

.banner.in_container .banner-content{
    bottom: unset !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    max-width: 78rem;
}

.banner.in_container .banner-content h2{
    margin-top: 0;
    font-size: 3.6rem;
    color: var(--textclr1);
    font-weight: 500;
}

.banner.in_container .banner-content h2 span{
    color: var(--textclr4);
}

.banner.in_container .banner-content p {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 2.4rem auto 0;
    color: var(--textclr1);
}

.banner .banner-inner .container{
    align-items: end;
}

.image-position-left img{
    order: 1;
}

.image-position-left .banner-content{
    order: 2;
}

.banner .with-background-color .banner-content{
    padding-bottom: 10rem;
}

.banner.bg-color{
    height: auto;
    padding-top: 8rem!important;
}

/* Post list ===================================================================== */

.module-title {
    /* margin-bottom: 2.4rem; */
    max-width: 58rem;
    margin: 0 auto 4rem auto;
}

.module-title h2{
    margin: 0;
    font-weight: 800;
    text-align: center;
    font-size: 5rem;
    line-height: 6rem;
}

.post-item h3{
    font-weight: 500;
    margin: 1rem 0;
}

.post-item p{
    margin: 0;
    font-size: var(--fontsize_s);
    line-height: var(--lineh_s);
    color: var(--textclr5);
}

.post-item .post-item-image img {
    transition: var(--animtime1);
    width: 100%;
}

.post-item:hover .post-item-image img{
    transform: scale(1.05);
}

.post-item-bottom{
    margin-top: 1.6rem;
}

.post-item-bottom .date{
    font-size: var(--fontsize_xs);
    line-height: var(--lineh_xs);
    color: var(--textclr5);
}

.slider-navigation{
    position: relative;
}

.slider-navigation .swiper-button{
    position: relative!important;
    top: unset!important;
    margin-top: 0!important;
    width: auto!important;
}

.slider-navigation .swiper-button svg{
    width: 3rem;
    height: auto;
}

.slider-navigation .swiper-button.swiper-button-prev svg{
    transform: rotate(180deg);
}

.post-list.gallery-type{
    background: #fafafa;
}

/* Accordion ===================================================================== */

.accordion-item__title {
    position: relative;
    padding: 2rem 4rem 2rem 0;
}

h3.accordion-item__title {
    margin: 0;
}

.accordion-item {
    border-bottom: var(--border4);
}

.accordion-item__title-icon{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bgclr3);
    border-radius: 50%;
    transition: var(--animtime1);
}

.accordion-item.is-open .accordion-item__title-icon svg{
    transform: rotate(90deg);
}

.accordion-item__title-icon svg{
    width: 1.6rem;
    height: auto;
    transition: var(--animtime1);
}

.accordion-item__title-icon svg path{
    stroke: var(--textclr2);
}

.accordion-item__content{
    padding-bottom: 2rem;
}

section.accordion .content h2{
    font-size: 5rem;
    font-weight: 500;
    max-width: 45rem;
}

/* Gallery ===================================================================== */

.gallery-item a{
    height: 100%;
    width: 100%;
}
.gallery-item{
    height: 31rem;
    overflow: hidden;
    /* border-radius: var(--radius2); */
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Form module ===================================================================== */

.wpcf7-form p > label {
    position: relative;
    display: grid;
    grid-template: 1fr / 1fr;
}

.wpcf7-form .field-label,
.wpcf7-form .wpcf7-form-control-wrap {
    grid-area: 1 / 1;
}

.wpcf7-form .field-label {
    position: absolute;
    top: 2rem;
    left: 0.4rem;
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    line-height: var(--lineh_p);
    font-weight: 300;
    color: var(--textclr5);
    transition: var(--animtime1);
}

.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea,
.wpcf7-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 1.8rem 1.2rem  0.8rem 0.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    border-bottom: var(--border1);
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    line-height: var(--lineh_p);
    color: var(--textclr5);
    font-weight: 300;
}

.wpcf7-form .wpcf7-form-control-wrap select{
    padding: 1.8rem 1.2rem  0.8rem 0;   
}


textarea{
    height: 12rem;
}

.wpcf7-form .wpcf7-form-control-wrap textarea {
    min-height: 12rem;
    resize: vertical;
}

:focus-visible {
    outline: 0;
}

.wpcf7-form label:has(.wpcf7-form-control-wrap.has-value) .field-label,
.wpcf7-form label:has(.wpcf7-form-control-wrap.is-focused) .field-label,
.wpcf7-form p.has-value .field-label {
    top: 0;
    transform: translateY(0);
    font-size: var(--fontsize_xs);
    line-height: var(--lineh_xs);
}

.wpcf7-form p {
    margin-bottom: 1rem;
    margin-top: 0;
}

span.wpcf7-not-valid-tip {
    font-size: var(--fontsize_xs);
    line-height: var(--lineh_xs);
    margin-top: 0.3rem;
}

.form-module img{
    position: absolute;
    top: 0;
    right: 50%;
    opacity: 0.1;
    z-index: 1;
}
.form-module .container{
    z-index: 2;
    position: relative;
}

.wpcf7-spinner{
    display: none!important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border: 1px solid #00a0d2;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb !important;
    font-size: 1.5rem;
}

.wpcf7-form.invalid .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border: 1px solid #00a0d2;
    color: #721c24!important;
    background-color: #f8d7da;
    border-color: #f5c6cb!important;
    font-size: 1.5rem;
}

.additional-padding-top{
    padding-top: 3rem;
}

.pswp {
    z-index: 99999999999!important;
}

/* Media module ===================================================================== */

.media-module .media img,
.media-module .media video{
    width: 100%;
    height: auto;
}

/* USPS module ===================================================================== */

.usps-module .icon {
    width: 6rem;
    height: 6rem;
    font-size: var(--fontsize_h2);
    line-height: var(--lineh_h2);
    font-weight: 400;
}

.usps-module .icon img{
    max-height: 10rem;
    max-width: 100%;
}

.usps-module h3{
    width: calc(100% - 6rem);
    padding-left: 2rem;
    margin: 0;
}

.usps-module .top-line{
    width: 100%;
}

.usps-module .item{
    height: auto;
}

.usps-module .grid .item {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.usps-module .item .content{
    height: calc(100% - 6rem);
    padding-top: 2rem;
}


/* Media with text module */


.media-with-text .left-side .left-block{
    height: 46rem;
}

.media-with-text .left-side .left-block .media {
    position: relative;
    width: 100%;
    height: 100%;
}

.media-with-text .left-side .left-block img,
.media-with-text .left-side .left-block video{
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    position: absolute;
}

.media-with-text .left-side .left-block{
    margin-top: 4rem;
}

/* Mouse effect */

#fish {
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }

#fish img{
    width: 8rem;
    height: auto;
    animation: spin 4s linear infinite;
    animation-play-state: paused; /* Paused by default when mouse stops */
    display: block;
}

@keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(-360deg);
    }
}

/* Services module */

.services-module{
    background: #f8f3ef;
}

.services-module .grid .item {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.services-module .grid .item h3 > span:first-of-type {
    width: 4rem;
    height: 4rem;
    /* background: #ff7fab; */
}

.services-module .grid .item h3 > span span{
    font-size: 1.6rem;
}

.services-module .grid .item h3 span:last-of-type {
    width: calc(100% - 5rem);
    line-height: 100%;
}

.services-module .grid .item h3 {
    margin: 0;
    text-transform: uppercase;
}

.services-module .grid .item p{
    margin-bottom: 0;
}

.services-module .grid .item p.price {
    font-weight: 500;
    margin-top: auto;
    padding-top: 1.8rem;
}

/* Responsive ===================================================================== */

@media screen and (min-width: 993px) {
    .none_pad_top {
        padding-top: 0!important;
    }

    .s_pad_top {
        padding-top: 1.6rem!important;
    }

    .m_pad_top {
        padding-top: 5rem;
    }

    .l_pad_top {
        padding-top: 10rem;
    }

    .xl_pad_top {
        padding-top: 15rem;
    }

    .none_pad_bot {
        padding-bottom: 0!important;
    }

    .s_pad_bot {
        padding-bottom: 2.5rem;
    }

    .m_pad_bot {
        padding-bottom: 5rem;
    }

    .l_pad_bot {
        padding-bottom: 10rem;
    }

    .xl_pad_bot {
        padding-bottom: 15rem;
    }
}

@media screen and (max-width: 1400px) {
    html{
        font-size: 0.72vw;
    }
}

@media screen and (max-width: 992px) {
    html{
        font-size: 10px;
    }

    section{
        padding: 4rem 0;
    }
	.col-4{
        grid-template-columns: repeat(2, 1fr);
    }
    .module-title h2 {
        font-size: 3.4rem;
        line-height: 4.4rem;
    }
    .banner .banner-content h2 {
        font-size: 4rem;
        line-height: 5rem;
        font-weight: 800;
        margin: 0;
    }
    .banner .with-background-color .banner-content {
        padding-bottom: 0;
    }
    footer {
        padding: 3rem 0 10rem;
    }
    .banner .banner-content h1 {
        font-size: 4rem;
        line-height: 5rem;
    }
    .banner.bg-color {
        padding-top: 4rem !important;
    }
    .gap-3 {
        gap: 2rem;
    }
    .image-position-left img {
        order: 2;
    }
    #fish{
        display: none;
    }
    .copyrights {
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
    }
    .popup, .small-popup{
        transition: 0s!important;
    }
    .last-block {
        margin-left: unset;
    }
    .site-header .container .content {
        padding: 1.6rem 0;
    }
    .custom-logo .circle {
        width: 4rem;
        height: 4rem;
        font-size: 2.4rem;
    }
    .navigation-block {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: 999;
        right: 0;
        transform: translateX(100%);
        transition: var(--animtime2);
        background-color: var(--bgclr1);
        padding: 1.6rem;
    }
    .navigation-block.active{
        transform: translateX(0);
    }
    .navigation-block .top-bontent{
        padding-bottom: 1.6rem;
    }
    .for-mobile{
        display: flex!important;
    }
    header .main-navigation ul a{
        padding: 1.6rem 0;
    }
    header .main-navigation ul {
        flex-direction: column;
        padding-top: 4rem;
    }
    header {
        z-index: 999999999;
    }
}

@media screen and (max-width: 768px) {
    .col-2,
    .col-3,
    .col-4{
        grid-template-columns: repeat(1, 1fr);
    }
    .gallery-slider .col-3{
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item {
        height: 41vw;
    }
    .gallery-slider .gap-3 {
        gap: 1.6rem;
    }
    .none_pad_top_mob {
        padding-top: 0!important;
    }
    .none_pad_bot_mob {
        padding-bottom: 0!important;
    }
}

@media screen and (max-width: 576px) {
    .popup, .small-popup {
        width: calc(100% - 3.2rem)!important;
        bottom: 1.6rem!important;
        right: 1.6rem!important;
    }
}

