:root {
    --light-green: #FFC000; /*#C2E2D0;*/
    --dark-green: #C89600; /*#A3C2B0;*/ 
    --charcoal: #36454F; /*#444B54;*/

    --blue: #55B5E6; /*#3D6FA8;*/
    --dark-blue: #387C9F; /*#324b68;*/

    --light-blue: #55B5E64D;
    --light-blue2: #55B5E61A;
    --light-blue3: #ACD7EE;
    
    --space1: 100px;
    --space2: 50px;
    --space3: 25px;
    --space4: 10px;
    --space5: 5px;
}

* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}
  
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;  
    height: 100%;
}

body {
    overflow-x: hidden;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    font-family: 'Nunito', sans-serif;
}

p, li {
    color: black;
    font-size: 18px;
    letter-spacing: 1px;
  /*font-family: 'Arial', 'Helvetica', 'sans-serif';*/
}

h1 {
    color: black;
    font-size: 48px;
    font-weight: normal;
}

.centered {
    width: fit-content;
    margin: auto;
}

h2 {
    color: black;
    font-size: 32px;
    font-weight: normal;
}

h3 {
    color: black;
    font-size: 24px;
    font-weight: normal;
}

#contact-form {
    width: 640px;
    height: 1200px; 
    margin: auto;
}

#book-appt-form {
    width: 75%;
    height: auto;
    margin: auto;
}

#book-appt-form iframe {
    width: 100%;
    min-height: 750px;
    height: 100%;
}

a {
    color: black;
    text-decoration: none;
    text-underline-position: under;
    font-size: 18px;
    letter-spacing: 1px;
}

a:visited {
    color: black;
}

a:hover {
    color: black;
}

a:active {
    color: black;
}

select {
    color: black;
    font-size: 18px;
}

button {
    color: black;
    font-size: 18px;
}

.underline-blue {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-color: var(--blue);
    margin-bottom: calc(var(--space2) + 5px);
}

.gray-overlay {
    height: 100vh;
    width: 100vw; 
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.075);
    z-index: -1;
}

/**************** HAMBURGER MENU ****************/

#hemnu-overlay {
    display: none;
    background: rgba(0, 0, 0, 0.39);
    opacity: 0;
    animation: fade-in 0.2s ease-in forwards;
    z-index: 0;
}

#hamburger-menu {
    display: none;
    z-index: 10;
    transition: transform 0.25s ease;
    height: fit-content;
}

#hamburger-menu img {
    width: 42px; 
    height: auto;
}

#hamburger-menu img:hover {
    cursor: pointer;
}

#hmenu-options { 
    display: flex; /* none */
    position: fixed;

    /* Make room for header */
    padding-top: 200px;
    flex-direction: column;

    background-color:rgb(238, 238, 238);
    max-width: 450px;
    width: 30%;
    height: 100vh;

    z-index: 9;
    left: -30%;
    transition: left 0.2s ease-in-out;
}

#hmenu-options a { 
    text-align: center;
    padding: var(--space4) var(--space3);
    font-size: 24px;
    width: 100%;
}

#hmenu-options a:hover { 
    background-color: var(--blue);
    color: white;
}

#hmenu-options.show {
    left: 0;
}

.hmenu-open {
    transform: rotate(180deg);
}

/**************** HEADER ****************/

header {
    padding: var(--space4) var(--space3);
    border-bottom: 1px solid var(--dark-blue);
    margin-bottom: var(--space1);
    position: fixed;
    display: flex;
    flex-direction: row;
    gap: var(--space3);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 10;
}

#header-logo {
    width: 200px;
}

#header-logo img {
    width: 100%;
    height: auto;
}

#header-links {
    display: flex;
    gap: var(--space3);
}

#header-links a:hover {
    outline: 1px solid var(--blue);
}

.link-style1 {
    border-radius: 20px;
    padding: var(--space5) var(--space3);
}

#active-link {
    background-color: var(--blue);
    color: white;
    font-weight: bold;
}

header select {
    border: 1px solid black;
    padding: var(--space5) var(--space4);
    border-radius: 0px;
}

.btn {
    border: none;
    background-color: var(--light-green);
    font-weight: bold;
}

#header-language-button {
    display: flex;
    gap: var(--space3);
    align-items: center;

}

#header-language-button a {
    white-space: nowrap;
}

.green-hover:hover {
    cursor: pointer;
    background-color: var(--dark-green);
}

/**************** MAIN ****************/

main {
    /* Make room for the header */
    padding-top: 100px;
    flex-grow: 1;

    /* Leave space for the footer */
    margin-bottom: var(--space1);
}

/**************** FOOTER ****************/

footer {
    height: 250px;
    width: 100%;
    background-color: var(--charcoal);
    display: grid;

    grid-template-columns: auto auto auto;
    justify-content: space-between;

    position: relative;
    left: 0;
    bottom: 0;
    z-index: 10;
    margin-top: calc(var(--space1) + var(--space2));
}

footer p, footer h2, .fl-col a, .footer-links a {
    color: white;
}

.footer-links a {
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--light-green);
}

footer h2 {
    font-weight: bold;
    margin-bottom: var(--space3);
}

.footer-main {
    padding: var(--space3);
    width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: var(--space3);
    column-gap: var(--space2);

    padding-top: calc(var(--space3) + 8px);

    margin: auto;
    height: 100%;
}

/**************** LANGUAGE SELECT OVERLAY ****************/

#lang-select-overlay {
    height: 100vh;
    width: 100vw; 
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
    z-index: 2;

    opacity: 0;
    pointer-events: none;
}

#lang-select-overlay.show {
    animation: fade-in 0.5s ease-in 0.5s forwards;
    pointer-events: auto;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
  
#lang-select-container {
    width: auto;
    height: auto;
    background-color: whitesmoke;
    border-radius: 20px;
    
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: var(--space4);
    padding: var(--space3);
}

.lang-select:hover {
    cursor: pointer;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space5);
}
  
.logo img {
    object-fit: contain;
    width: 350px;
    height: auto;
}
  
#lang-options {
    background-color: lightgray;
    width: 100%;
    border-radius: 36px;
    display: grid; 
    margin: auto;
    grid-template-columns: 1fr 1fr;
    gap: var(--space3);
    padding: var(--space4);
}
  
#lang-options a {
    background-color: var(--charcoal);
    border-radius: 24px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin: auto;
    padding: var(--space5);
    width: 100%;
    transition: background-color 0.15s;
}

#lang-options a:hover {
    background-color: var(--light-green);
    color: black;
}

/**************** BACKGROUND SHAPES ****************/

.circle {
    position: fixed;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    z-index: -1;
}

.b1 { background-color: var(--light-blue); /*#a3c6e8a8;*/ }

.b2 { background-color: var(--light-blue2); /*#a3c6e87e;*/ }

.c1 {
    top: 0;
    left: -130px;
}

.c2 {
    top: -50px;
    left: -90px;
}

.c3 {
    right: -180px;
    top: 350px;
}

.c4 {
    right: -140px;
    top: 400px;
}

.c5 {
    width: 350px;
    height: 350px;
    left: 200px;
    top: 750px;
}

.c6 {
    width: 350px;
    height: 350px;
    left: 280px;
    top: 800px;
}

#logo-hmenu-wrapper {
    padding-top: 10px;
}


/**************** RESPONSIVE EFFECTS (LARGE SCREENS) ****************/


/****** Nav Menu ******/
@media (max-width: 1300px) {

    #hamburger-menu {
        display: block;
    }

    #header-links {
        display: none;
    }

    #logo-hmenu-wrapper {
        display: flex;
        gap: 50px;
        justify-content: center;
        align-items: center;
    }

}

/**************** RESPONSIVE EFFECTS (MED SCREENS) ****************/

@media (max-width: 1050px) {
    
    #hmenu-options {
        width: 50%;
        left: -50%;
    }

}

/**************** RESPONSIVE EFFECTS (SMALL SCREENS) ****************/

@media (max-width: 850px) {

    footer {
        height: auto;
        grid-template-columns: auto;
        justify-content: center;
        align-items: center;
        padding-bottom: var(--space1);
    }

    .footer-main {
        width: 500px;
        padding: var(--space2);
        padding-top: var(--space1);;
        height: fit-content;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto, 6);
        text-align: center;
        gap: var(--space2);
    }

}

@media (max-width: 720px) {
    
    #hmenu-options {
        width: 75%;
        left: -75%;
    }

    #header-book-appt {
        display: none;
    }
}