﻿body {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;

    font-size: calc(1rem + 0.5vw);
    user-select:none;
}

h1:focus,
h1:focus-visible,
h2:focus,
h2:focus-visible,
h3:focus,
h3:focus-visible,
h4:focus,
h4:focus-visible,
h5:focus,
h5:focus-visible,
h6:focus,
h6:focus-visible{
    outline: none;
}

h1 {
    font-family: "Nanum Myeongjo", serif;
    font-weight: 400;
    font-style: normal;
    font-size: calc(2rem + 0.5vw);
}
h3 {
    font-family: "Nanum Myeongjo", serif;
    font-weight: 400;
    font-style: normal;
    font-size: calc(1.3rem + 0.5vw);
    line-height: calc(2rem + 2vw);
}

h5 {
    font-size: calc(1.3rem + 0.7vw);
}

h6 {
    font-size: calc(1.4rem + 0.5vw);
}

.cormorant-garamond-regular {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;
}

.cormorant-garamond-bold {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-style: normal;
}

.cormorant-garamond-regular-italic {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: italic;
}

.nanum-myeongjo-regular {
    font-family: "Nanum Myeongjo", serif;
    font-weight: 400;
    font-style: normal;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-link {
    color: #000000;
    font-size: calc(1rem + 0.4vw);
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--active-color-hover);
    font-weight: bold;
}

.navbar-collapse {
    text-align: center;
}


.navbar-toggler {
    color: var(--active-color-hover);
    border-color: var(--active-color-hover-opacity);
}

.nav-link:focus, .nav-link:hover {
    color: var(--active-color-hover);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239f2b51' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.bg-body-tertiary {
    background-color: var(--primary-medium) !important;
}

.header-label {
    position: absolute;
    top: 6vw;
    left: 50%;
    text-align: center;
    transform: translate(-50%, 0%);
    white-space: pre-wrap;
    z-index: 10;
    max-width: 90%;
    width: max-content;
    padding: 2vw;
    border-radius: 1rem;
    color: var(--active-font);
    line-height: 0.7vw;
    background-color: var(--primary-hard-opacity);
}

    .header-label h2 {
        font-size: calc(1rem + 1.8vw);
        font-weight: 700;
    }

    .header-label h4 {
        font-style: italic;
        font-size: calc(1rem + 0.8vw);
    }


.container-space {
    padding: calc(4rem + 4vw) calc(2rem + 1vw);
}

.container-space-sm {
    padding: calc(1rem + 1vw) calc(2rem + 1vw);
}

.circle-image {
    width: calc(12rem + 12vw);
    height: calc(12rem + 12vw);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.fade-in-trigger {
    opacity: 0;
    transform: translateY(calc(3rem + 5vw));
    /*transition: 0.3s ease-out;*/
}


.home-about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 calc(1rem + 1vw);
}

    .home-about-content p {
        margin: calc(1rem + 2vw) 0;
    }

.navi-button{
    text-align:center;
}

    .navi-button a,
    .navi-button button {
        background-color: var(--primary-medium);
        padding: 0.6rem 2rem;
        border-radius: 2rem;
        font-size: calc(1rem + 0.7vw);
        color: black;
        text-decoration: none;
        transition: 0.3s ease-in-out;
        border:none;
    }

.navi-button a:hover {
    background-color: var(--primary-hard);
}

.second-section{
    background-color: var(--primary-light);
}

.home-treatment-header {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    padding: 0 calc(1rem + 1vw);
    justify-content: left;
}

.home-treatment-content {
    padding: 0 calc(1rem + 1vw);
}


ul.custom-list {
    list-style-type: none; /* Remove default bullets */
}

    ul.custom-list li, .validation-message {
        padding-left: calc(1.2rem + 0.4vw);
        background: url(../images/arrow_2.svg) no-repeat;
        background-position: left top calc(0.2rem + 0.4vw);
        background-size: calc(0.7rem + 0.4vw);
    }


.validation-errors{
    padding-left: 0;
}

.validation-message {
    list-style-type: none;
    color: var(--validation-error)
}

.service-container {
    border: 0.2rem solid #F0F0F0;
    border-radius: 1rem;
    padding: calc(0.7rem + 0.5vw);
    transition: 0.5s ease;
    margin: calc(1rem + 1vw) 0;
    cursor: pointer;
}
    .service-container:hover {
        box-shadow: 0 0 0 calc(0.2rem + 0.1vw) #F0F0F0;
    }

.service-header {
    column-gap: calc(1rem + 1vw);
}

.service-price {
    column-gap: calc(1rem + 1vw);
    margin-top: calc(0.5rem + 1vw);
}
    .service-price span {
        font-size: calc(1.7rem + 0.5vw);
        color: var(--rz-primary);
        font-weight: bold;
        align-self: center;
    }
    .service-price img {
        width: calc(1.5rem + 1vw);
        transition: transform 1s ease;
    }

.service-description {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.5s ease;
}

    .service-description.visible {
        max-height: fit-content;
        opacity: 1;
        margin-top: calc(1rem + 1vw);
        transition: opacity 1s ease, max-height 1s ease;
    }

.rotate {
    transform: rotate(180deg);
}

.services-fees {
    font-style: italic;
    margin: calc(1rem + 1vw) 0;
}

.home-services .navi-button{
    margin-top:calc(4rem + 1vw);
}


footer{
    background-color:var(--primary-medium);
    font-size: calc(0.8rem + 0.5vw);
    text-align: center;
}

    footer img {
        width: calc(1.8rem + 1vw);
    }

.footer-container {
    padding: calc(1rem + 1vw);
    display:flex;
    flex-direction:column;
    row-gap:calc(1rem + 1vw);
}

footer a{
    color:black;
}

footer ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: calc(0.5rem + 1vw);
    text-decoration: none;
    flex-direction: column;
    padding : 0;
}

    footer ul li {
        display: inline;
    }

    footer ul a {
        text-decoration: none;
    }

.small-font
{
    font-size: calc(0.7rem + 0.5vw);
}

.about-header img{
    width:100%;
    max-width:468px;
    margin: 0 auto;
}

.quote {
    display: flex;
    height: fit-content;
    align-self: center;
}
    .quote span {
        max-width: 468px;
        text-align: center;
        width: 100%;
        display: inline-block;
        margin: 0rem auto;
        padding: 1rem 0;
        border-width: 1px 0 1px 0; 
        border-color: var(--primary-gray); 
        border-style: solid;

        font-size: calc(1.5rem + 0.5vw);
    }


.about-header .container-xxl,
.about .container-xxl {
    padding: calc(1rem + 1vw) calc(1rem + 3vw);
}

.quote, 
.about-body{
    margin-top: calc(2rem + 2vw);
}

.about .navi-button {
    margin: calc(1rem + 2vw) 0 calc(1rem + 1vw) 0;
}

.about-title h1 {
    margin-top: calc(0.5rem + 1vw);
}

.about-body {
    text-align: justify;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.about-body-part {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-arrow {
    display: none;
    justify-content: center;
}

.about-arrow img{
    max-width:64px;
}

.contact-info-container {
    justify-content: space-around;
    column-gap: calc(2rem + 14vw);
}

.contact-info {
    margin-top: calc(1rem + 1vw);
}

    .contact-info h6 {
        margin-bottom: calc(0.5rem + 1vw);
    }

contact-form-section h1 {
    margin-top: calc(2rem + 1vw);
}

.contact-form label {
    display: block;
    font-size: calc(1rem + 0.5vw);
    margin-left: 0.5vw;
    margin-top: calc(1rem + 1vw);
}

.contact-form-container {
    max-width: 640px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    font-size: calc(1.2rem + 0.5vw);
    padding-left: calc(0.2rem + 0.5vw);
    border-radius: calc(0.2rem + 0.5vw);
    border: 0.1rem solid var(--border-color);
}

    .contact-form input:focus-visible,
    .contact-form textarea:focus-visible {
        outline: var(--primary-medium) auto 1px;
    }

.contact-form-container textarea{
    min-height:7rem;
}

.m-top-sm{
    margin-top: calc(2rem + 1vw);
}

.sent-icon{
    text-align:center;
}

    .sent-icon img {
        width: 100%;
        max-width: 140px;
    }

.contact-send p{
    font-size: calc(0.7rem + 0.7vw);
}

.contact-info a {
    color: var(--active-font)!important;
    text-decoration: none !important;
}

.footer-info-container {
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.footer-info-badge {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    position:relative;
}

@media(min-width: 1400px) {
    .container-space {
        padding: calc(4rem + 4vw) 0;
    }

    container-space-sm {
        padding: calc(1rem + 1vw) 0;
    }
}

@media(min-width:992px){

    .contact-form-container {
        max-width: none;
        padding: 0 calc(1rem + 1vw);
    }

    .about-header .part{
        width:50%;
    }

    .quote span{
        width:60%;
    }

    .about-body {
        gap: 7rem;
    }

    .about-body-part{
        width:50%;
    }

    .about-arrow{
        display:flex;
    }
}

@media (min-width: 960px) {

    .home-treatment-header {
        justify-content: center;
    }
}
@media (min-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-end;
    }
}

@media(min-width:576px){
    footer ul {
        flex-direction: row;
    }

    .footer-info-container{
        flex-direction:row;
    }

    .footer-info-badge {
        position: absolute;
        margin-top:0;
        right:0;
    }
}