﻿#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: white;
    border-bottom: 4px solid #4db497;
}
  
    #mainNav .navbar-toggler {
        padding: 0.75rem;
        font-size: 0.75rem;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        text-transform: uppercase;
        font-weight: 700;
    }

    #mainNav .navbar-brand {
        color: #ffc800;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: 700;
        letter-spacing: 0.0625em;
        text-transform: uppercase;
    }

        #mainNav .navbar-brand img {
            height: 1.5rem;
        }

    #mainNav .navbar-nav .nav-item .nav-link {
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 0.95rem;
         
        letter-spacing: 0.0625em;
    }

        #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover, .login_button span:hover, .language_button a:hover {
            color: var(--bs-secondary-color) !important;
            font-weight:bold;
        }

    #mainNav .navbar-shrink .nav-item .nav-link.active, #mainNav .navbar-shrink .nav-item {
        color: #212529;
        
    }
        #mainNav.navbar-shrink .nav-item .nav-link,
        #mainNav.navbar-shrink .navbar-brand,
        #mainNav.navbar-shrink .login_button,
        #mainNav.navbar-shrink .language_button,
        #mainNav.navbar-shrink .navbar-toggler {
            color: var(--bs-primary-color);
        }

    #mainNav .nav-item .nav-link,
    #mainNav .navbar-brand,
    #mainNav .login_button,
    #mainNav .language_button,
    #mainNav .navbar-toggler {
        color: var(--bs-primary-color);
    }     
@media (min-width: 992px) {
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border: none;
        background-color: white;
        transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
        border-bottom: 4px solid #4db497;
    }
       
        #mainNav .navbar-brand {
            font-size: 1.5em;
            transition: font-size 0.3s ease-in-out;
        }

            #mainNav .navbar-brand img {
                height: 4rem;
                transition: height 0.3s ease-in-out;
            }

        #mainNav.navbar-shrink {
            padding-top: 1rem;
            padding-bottom: 1rem;
            background-color: white;
          
        }

            #mainNav.navbar-shrink .navbar-brand {
                font-size: 1.25em;
            }

                #mainNav.navbar-shrink .navbar-brand svg,
                #mainNav.navbar-shrink .navbar-brand img {
                    height: 3rem;
                }

        #mainNav .navbar-nav .nav-item {
            margin-right: 1rem;

        }

            #mainNav .navbar-nav .nav-item:last-child {
                margin-right: 0;
            }
}

header.masthead {
    margin-top: -60px;
    padding-top: 10.5rem;
    padding-bottom: 6rem;
    text-align: center;
    background-color: white;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    position: relative; /* Needed for overlay positioning */
}
.masthead video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire background */
    z-index: 1; /* Place video behind content */
}
    header.masthead::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../assets/img/wave.svg");
      
        background-size: cover;
        filter: blur(1px); /* Apply blur effect */
        z-index: 1; /*Ensure the blurred image is behind the text */
    }

    header.masthead::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: rgba(0, 0, 0, 0.4);*/  /*Dark overlay with opacity */
        z-index: 2; /* Ensure the overlay is above the blurred image*/ 
    }

    header.masthead .masthead-content {
        position: relative; /* Ensure content is above the overlay */
        z-index: 3; /* Ensure content is above the overlay and blurred image */
    }
header.mastheah .masthead-content {
    text-align: center;
    font-style: normal;
}
header.masthead .masthead-subheading {
    font-size: 2rem;
    /*font-style: italic;*/
    line-height: 2rem;
    margin-bottom: 25px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: white;
    letter-spacing: clamp(0.09em,calc(0.09em + 0.00313vw - 0.015px),0.12em);
     
}

    header.masthead .masthead-heading {
        font-size: 6rem;
        font-weight: 700;
        line-height: 6rem;
        margin-bottom: 2rem;
        font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        height: 100vh;
    }

@media (min-width: 768px) {
    header.masthead {
        padding-top: 17rem;
        padding-bottom: 12.5rem;
    }

        header.masthead .masthead-subheading {
            font-size: 3.5rem;
            
            line-height: 3.5rem;
            margin-bottom: 2rem;
        }

        header.masthead .masthead-heading {
            font-size: 4.5rem;
            font-weight: 700;
            line-height: 4.5rem;
            margin-bottom: 4rem;
        }
}

.language_button {
    
    background-color: transparent;
    padding: 18px 36px;
    display: inline-flex;
    transition: ease-in 0.4s all;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.95rem;
    
    letter-spacing: 0.0625em;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
    text-decoration:none;
}

    .language_button::before {
        content: "";
        display: inline-block;
        width: 25px;
        height: 25px;
        /*background-image: url("../assets/img/language-button.svg");*/
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 8px;
        vertical-align: middle;
    }

.login_button {
   
    background-color: transparent;
   /* border: 2px solid #fff;
    border-radius: 20px;
    padding: 15px 24px;*/
    display: -webkit-inline-box;
    transition: ease-in 0.4s all;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.95rem;
    
    letter-spacing: 0.0625em;
    text-decoration:none;
}

.login_button::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    /*background-image: url("../assets/img/language-button.svg");*/
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
}
.button_slide {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 18px 36px;
    display: -webkit-inline-box;
    transition: ease-in 0.4s all;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
}


.button_slide {
    position: relative;
    overflow: hidden;
}

    .button_slide:hover::after,
    .button_slide:focus::after {
        transform: translateX(0);
    }

    .button_slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        background: #fff;
        width: 100%;
        height: 100%;
        border-radius: 30px;
        transform: translateX(-100%);
        z-index: 0;
        transition: 0.4s;
    }

    .button_slide span {
        position: relative;
        z-index: 1;
    }
