* {
    box-sizing: border-box;
}

body {
    font-size: 100%;
    background-color: #f5f5ee;
    margin: 0;
    position: relative;
}

/* Nav */

.nav-global {
    background-color: white;
    width: 100%;
    height: 5vh;
    border-bottom: 1px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    z-index: 3;
    top: 0;
}

#nav-menu-id {
    width: 100%;
    height: 5vh;
    margin: 0 10% 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* this is used to keep hamburger menu on right */
}

#nav-menu-full-id {
    display: none;
    width: 100%;
    height: 95vh;
    margin-top: 10vh;
    opacity: 0;
    flex-flow: column wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

#em-link {
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    width: 10%;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

#other-links {
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
    width: 80%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

#nav-rt-buf {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 10%;
    height: 100%;
}

#em-link a, #other-links a  {
    color: #000000;
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    display: inline-block;
}

#em-link a:hover, #other-links a:hover {
    color: #6D6969;
}

.inline-link {
    color: #000000;
    text-decoration: none;
}

.inline-link:hover {
    color: #6D6969;
}


/* ** Responsive Navigation ** */

.nav-global.expand {
    align-items: flex-start;
    flex-direction: column;
    height: 100vh;
}

#em-link.hide {
    display: none;
}

#nav-menu-full-id.show {
    display: flex;
    transition: opacity 1s;
    opacity: 1;
}

.nav-link {
    color: #000000;
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    text-decoration: none;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.nav-link:hover {
    color: #f5f5ee;
}



/* Styling the menu button */
.menu-btn {
    background-color: transparent;
    border-color: transparent;
    transition: all 0.5s ease-out;
}

/* Styling the hamburger lines */
.menu-btn .btn-line {
    width: 28px;
    height: 2px;
    background: #000000;
    transition: all 0.5s ease-out;
}

.menu-btn .btn-line:nth-child(2) {
    margin: 5px 0 5px 0;
}

/* Adding transform to the X */
.menu-btn.close {
    transform: rotate(180deg);
}

/* Styling the three lines to make it an X */
.menu-btn.close .btn-line:nth-child(1) {
    transform: translate(-0.5px, 7px) rotate(45deg);
}

.menu-btn.close .btn-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.close .btn-line:nth-child(3) {
    transform: translate(-0.5px, -7px) rotate(-45deg);
}

.main-global.hide {
    display: none;
}

.footer-global.hide {
    display: none;
}

/* Main */

.main-global {
    /* background-color: #ebf5eb; */
    background-color: white;
    border: 5px solid white;
    min-height: 95vh;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10%;
    margin-right: 10%;
}

.section-border {
    width: 100%;
    height: 6px;
    background-color: #F4D3D6;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

.section {
    width: 100%;
    padding: 30px 100px 30px;
}

/* .section h1, .section h2, .section h3, .section h4 { */
h1, h2, h3, h4 {
    text-align: center;
    color:#000000;
}

h1 {
    /* font-family: 'Tangerine', cursive; */
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-weight: 400;
    font-style: normal;

    font-size: 2.5rem;
    margin: 10px 0 10px;
}

h2 {
/* <weight>: Use a value from 400 to 900 */
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
}

h3, h4, h5, h6, p, ol, label, input, button, select {
    font-family: "Corbel Light", Corbel, sans-serif;
    /* font-family: "Playfair Display", serif; */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.3rem;
}

h6 {
    font-size: 1.1rem;
}

p, ol {
    font-size: 1.5rem;
}

label, input, select {
    font-size: 1.5rem;
}

.checkbox {
    zoom: 1.2;
    transform: scale(1.2);
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    display: inline;
}

.submit {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 40px;
}

.submit button {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
    border: #000000 solid;
    width: 150px;
    padding: 12px 24px;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.submit button:hover {
  background-color: #000000;
  color: #ffffff;
}

.cta-section {
  text-align: center;
  padding: 10px 10px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  background-color: #6D6969;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  width: 150px;
}

.cta-button:hover {
  background-color: #000000;
}

/* Footer */
.footer-global {
    /* background-color: #FCF8F0; */
    background-color: white;
    width: 100%;
    height: 75px;
    height: 5vh;
    /* position: fixed;
    bottom: 0; */
}

/* tiny/small/medium/large mobile screens */
@media (max-width: 1230px) {
    body {
        background-color: white;
    }

    .main-global {
        background-color: white;
        border: none;
        margin-left: 0;
        margin-right: 0;
     }

    /* this is to prevent scrolling when full page navigation is open */
    .nav-open {
        overflow: hidden;
    }

    #nav-menu-id {
        margin: 0;
    }

    #em-link {
        width: 80%;
    }
    
    #other-links {
        display: none;
    }

    /* show hamburger menu container on small screens */
    #nav-rt-buf {
        visibility: visible;
        width: 20%;
        margin-right: 10px;
    }

    .section {
        padding: 30px 20px 30px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 0.75rem;
    }

    p, ol {
        font-size: 1.25rem;
    }

    label, input, select {
        font-size: 1rem;
    }

}