@font-face {
    font-family: fontregular;
    src: url(../media/fontregular.ttf);
}
  
@font-face {
    font-family: fontlight;
    src: url(../media/fontlight.ttf);
}
  
@font-face {
    font-family: fontmedium;
    src: url(../media/fontmedium.ttf);
}
  
@font-face {
    font-family: fontextralight;
    src: url(../media/fontextralight.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: fontlight;
}

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

a{
    text-decoration: none;
}

img{
    width: 100%;
}

.container{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* navbar css below */
.main-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: rgb(59, 187, 181);
    padding: 16px 32px;
}

.nav-header{
    color: white;
    font-size: 1.75rem;
    font-family: fontlight;
}

.hamburger{
    display: block;
    position: relative;
    z-index: 1;
    user-select: none;
    appearance: none;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.hamburger span{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background-color: white;
    border-radius: 6px;
    z-index: 1;
    transform-origin: 0 0;
    transition: .4s;
}

.hamburger:hover span:nth-child(2){
    transform: translateX(8px);
}

.hamburger.active span:nth-child(1){
    transform: translate(0px, -2px ) rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3){
    transform: translate(-3px, 3px ) rotate(-45deg);
}

.menu{
    display: none;
    flex: 1 1 0%;
    justify-content: flex-end;
    margin: 0 -16px;
}

.menu a{
    color: white;
    margin: 0 16px;
    transition: .4s;
    padding: 8px 16px;
    border-radius: 99px;
    transition: .4s;
    font-size: 1.5rem;
}

.menu a.active{
    color: rgb(249, 252, 171);
    font-family: fontregular;
}

.menu a:hover{
    color: rgb(249, 252, 171);
}

.mobile-nav{
    display: block;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    min-height: fit-content;
    z-index: 98;
    background-color: rgb(59, 187, 181);
    padding-top: 60px;
    transition: .4s;
}

.mobile-nav.active{
    top: 0;
}

.mobile-nav a{
    display: block;
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    padding: 20px 16px;
    color: white;
    transition: .3s;
    font-size: 1.5rem;
}

.mobile-nav a.active{
    color: rgb(249, 252, 171);
    font-family: fontregular;
}

.mobile-nav a:hover{
    color: rgb(249, 252, 171);
}

@media (min-width: 635px){
    .hamburger{
        display: none;
    }

    .menu{
        display: flex;
    }
}

.splashphoto{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../media/sunsetcliffs.jpg);
    margin-bottom: 80px;
}

.portrait{
    display: block;
    height: 100%;
    max-width: 525px;
    margin: 0 auto;
    padding-top: 10%;
}

.aboutinfo{
    /* max-width: 465px; */
    margin: 40px auto;
    text-align: center;
    padding: 2%;
}

.abouthead{
    font-size: 1.6rem;
    font-family: fontmedium;
}

.aboutcopy{
    margin: 20px 0;
    font-size: 1.3rem;
}

@media (min-width: 950px) {
    .about-container{
        max-width: 1000px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 0 auto;
    }

    .portrait{
        max-height: 90vh;
        width: auto;
        padding-top: 95px;
        padding-bottom: 30px;
        margin: 0;
    }

    .abouthead{
        padding-top: 80px;
    }

    .aboutinfo{
        margin: 0;
        max-width: 465px;
    }
}

.appointment-container{
    margin: 5rem;
}

#appointmentbook{
    display: grid;
    place-content: center;
    margin: 8rem 0 1rem;
}

.appointmentheader{
    font-size: 2.3rem;
    font-family: fontregular;
    text-align: center;
}

#bookbutton{
    display: grid;
    place-content: center;
    margin-bottom: 5rem;
}

footer{
    background-color: rgb(59, 187, 181);
    text-align: center;
    padding: 2rem;
    color: white;
}

.footerhead{
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: fontlight;
}

footer a{
    color: white;
    font-size: 1.5rem;
    transition: .4s;
}

footer a:hover{
    color: rgb(249, 252, 171);
}

.footeraddress{
    font-family: fontregular;
    color: rgb(249, 252, 171);
    margin-top: 1rem;
    font-size: 1.4rem;
}

/* contact page css starts here */
.contact-container{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.officeinfo{
    margin: 8rem 2rem 0;
    background-color: rgb(59, 187, 181);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
}

#officeone{
    margin-top: 3rem;
}

.officeinfo a{
    color: white;
    transition: .4s;
    font-family: fontlight;
}

.officeinfo a:hover{
    color: rgb(249, 252, 171);
}

.contactpage-address{
    font-family: fontlight;
    font-size: 1.8rem;
}

.contactpage-phone-container{
    display: flex;
    justify-content: space-around;
}

.contactpage-phone{
    font-size: 1.5rem;
    margin: 1rem;
}

.contactpage-email-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactpage-email-section{
    display: inline-block;
    margin: 4rem auto;
    background-color: rgb(59, 187, 181);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
}

.contactpage-email-header{
    text-align: center;
    font-size: 2rem;
    font-family: fontlight;
    margin-bottom: 1rem;
}

.contactpage-email a{
    text-align: center;
    font-size: 1.5rem;
    font-family: fontlight;
    margin-top: 1rem;
    color: white;
    transition: .4s;
}

.contactpage-email a:hover{
    color: rgb(249, 252, 171);
}

@media (max-width: 765px){
    .contact-container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #office-one{
        margin-top: 6rem;
    }

    #office-two{
        margin-top: 2rem;
    }
    
    .contactpage-email-section{
        margin: 2rem auto;
    }
}