@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

/*Main*/
*{margin: 0; padding: 0; box-sizing: border-box;}

body{font-family: 'Noto Sans TC', sans-serif;}

h1{text-align: center; font-size: 2.5em;}
h2{text-align: center;}
h3{text-align: center; font-weight: 300; font-size: 1em;}

ul{font-weight: 700; margin-left: 1em; line-height: 2em;}

a{text-decoration: none;}

/*Fading animation*/
.fade{
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1s;
	animation-name: fade;
	animation-duration:	1s;
  }
  
  @-webkit-keyframes fade {
	from {opacity: 0} 
	to {opacity: 1}
  }
  
  @keyframes fade {
	from {opacity: 0} 
	to {opacity: 1}
  }

/*Images*/
.center{display: block; margin-left: auto; margin-right: auto;}
.center.logo{width: 10%;}
figcaption{text-align: center; font-size: 1.4em; margin-top: 20px;}

/*Navigation*/
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 12vh;
    background: #9b3c2e;
}

.name{
    color: white;
    letter-spacing: 5px;
    font-size: 1.5em;
    font-weight: 500;
}

.nav-links{
    display: flex;
    list-style: none;
    justify-content: space-around;
    width: 50%;
}

.nav-links li a{
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: .9em;
}

.menu{
    display: none; 
    position: absolute;
    cursor: pointer; 
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 2;
}

.menu div{
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px;
    transition: all 0.5s ease;
}

/*Columns*/
.column{float: left;}

.column.two{width: 50%; padding-bottom: 20px;}
.column.three{width: 33.33%; padding: 20px 10px;}

.row:after{content: ""; display: table; clear: both;}

/*Contact Form*/
form{transition: all 4s ease-in-out;}

.form-control{
    width: 100%;
    border: black 1px solid;
    outline: none;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 10px;
}
input{height: 45px;}
textarea{height: 135px;}
form .submit{
    background: black;
    border-color: transparent;
    color: white;
    font-size: 20px;
    letter-spacing: 2px;
    height: 45px;
    transition: opacity .4s;
}
form .submit:hover{opacity: .7; cursor: pointer;}

/*Pages*/
.about{padding: 25px 50px 50px; background-color: peachpuff; color: #9b3c2e;}
.about.page{padding-bottom: 100px;}
.about.page h3{font-weight: 400;}
.about.page p{font-weight: 300; margin-top: 25px; margin-bottom: 25px;}

.services{padding: 50px 50px 75px; background-color: blanchedalmond; color: #996600;}
.services.page{padding-top: 25px; padding-bottom: 100px;}
.services.page h2{margin-bottom: 10px;}
.services.page h3{margin-bottom: 20px; font-size: 1.2em;}
.tc{float: left; width: 33.33%; padding-left: 60px;}

.appointments{padding: 50px 50px 75px;}
.appointments.page{padding-top: 25px; padding-bottom: 100px;}
.appointments.page h2{margin-bottom: 10px; text-align: left;}
.info{margin-left: 20%; margin-right: 20%;}
.form-section{margin: 0px 25%;}
.column.two-map{width: 50%; padding: 20px;}

/*Buttons*/
.btn{
    color: white;
    font-weight: 400;
    font-size: .7em;
    padding: 10px 15px;
    transition: opacity .4s;
}
.btn:hover{opacity: .7;}

/*Footer*/
footer{
    margin: 50px 50px 10px;
    text-align: center;
    font-weight: 300;
    font-size: .8em;
}

/*Responsive*/
@media screen and (max-width: 1024px) {
    .center.logo{width: 20%;}

    /*Navigation*/
    nav{position: relative;}

    .nav-links{
        position: fixed;
        background-color: #9b3c2e;
        top: 0;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        align-items: center;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }

    .nav-links.open{
        clip-path: circle(1920px at 90% -10%);
        -webkit-clip-path: circle(1920px at 90% -10%);
        pointer-events: all;
    }

    .nav-links li a{font-size: 1.1em;}

    .menu{display: block;}
}

@media screen and (max-width: 768px) {
    .center.logo{width: 30%;}
    span{display: none;}

    .column.two{width: 100%;}
    .column.three{width: 100%; padding-left: 0; padding-right: 0;}

    .tc{width: 100%; padding-left: 90px;}

    .info{margin-left: 0; margin-right: 0;}
    .form-section{margin: 0 7%;}
    .column.two-map{width: 100%; padding: 20px 0 0; text-align: center;}
    .column.two-map h2{text-align: center;}
}

@media screen and (max-width: 480px) {
    .center.logo{width: 40%;}
    nav{min-height: 9vh;}
    .name{font-size: 1.25em;}

    .about{padding-left: 25px; padding-right: 25px;}
    .services{padding-left: 25px; padding-right: 25px;}
    .appointments{padding-left: 25px; padding-right: 25px;}
}

/*Menu*/
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,5px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-5px);
}