:root {
    --primary-color: #e75937;
    --primary-color-hover: #ee866e;
    --secondary-color: #E7EAE6;
    
    --primary-bg-color: #faf8f2;
    /*--secondary-bg-color: #f7f1ed;*/
    --secondary-bg-color: #cfc7c2;
}

body{
    background-color: var(--primary-bg-color);
    color: #222;
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.1rem;
}

.grecaptcha-badge{
    visibility: hidden !important;
}

.background-image{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-sec{
    padding: 4rem 0;
}

.section-title{
    font-family: "Lexend", sans-serif;
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle{
    color: #444;
    text-align: center;
    font-size: 1.2rem;
}

.section-eyebrow{
    font-weight: 400;
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 0.7px;
}

.btn-next{
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    color: #FFF;
    padding: 1rem 1.5rem;
}

.btn-next:hover{
    background-color: var(--primary-color-hover);
    color: #FFF;
}

.btn-medves-primary{
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    color: #FFF;
    padding: 1rem 1.5rem;
}

.btn-medves-primary:hover{
    background-color: var(--primary-color-hover);
    color: #FFF;
}

@media(max-width: 960px){
    .section-title{
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }
    
    .ck-content .image{
        width: 100% !important;
    }
}

/**************** topbar ****************/

#topbar{
    /*background-color: var(--primary-color);*/
}

#topbar a{
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

/************** NAV **************/

#navbar{
    background-color: var(--secondary-bg-color);
}

#navbar .navbar-logo{
    width: 250px;
    height: auto;
}

#navbar .nav-link{
    padding: 0.5rem 1rem !important;
    margin: 0 0.1rem;
    border-radius: 1rem;
    background-color: transparent;
    color: #111;
    transition: all 0.3s;
}

#navbar .nav-link:hover{
    background-color: #ebe5e2;
}

#navbar .nav-link.active{
    background-color: var(--primary-color);
    color: #FFF !important;
}
#navbar .nav-link.active:hover{
    color: #111 !important;
}

#navbar .dropdown-toggle.show{
    background-color: #ebe5e2;
}

#navbar .dropdown-menu{
    background-color: var(--primary-bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

#navbar .dropdown-menu li{
    line-height: 2;
    
}

#navbar .dropdown-item{
    color: #111;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.1rem;
}

#navbar .dropdown-item:hover{
    background-color: #cfc7c2;
}

@media(max-width: 1400px){
    #navbar .navbar-logo{
        width: 200px;
    }
}


/************* cookie popup *************/

.cookie-popup-wrapper{
    position: fixed;
    bottom: 32px;
    right: 32px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    background-color: var(--secondary-bg-color);
    max-width: 550px;
    padding: 2rem;
    color: #222;
    border-radius: 4px;
    z-index: 9999;
}

.cookie-header{
    font-size: 1.3rem;
    font-family: sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cookie-body{
    margin-bottom: 2rem;
}

.cookie-body a{
    color: #222;
}

.cookie-footer{
    text-align: center;
}

#cookie_accept_all{
    background-color: var(--primary-color);
    color: #FFF;
    font-size: 1.2rem;
    font-weight: 800;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
}

#cookie_accept{
    background-color: transparent;
    color:  var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
}

@media(max-width: 500px){
    .cookie-popup-wrapper{
        bottom: auto;
        right: auto;
        top: 32px;
        padding: 1rem;
        overflow-y: scroll;
        max-width: 100vw;
        max-height: 90vh;
    }
    
    #cookie_accept_all{
        font-size: 1.0rem;
        font-weight: 800;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    #cookie_accept{
        font-size: 1.0rem;
        font-weight: 600;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.5rem;
    }
}


/********* NOTIFICATION **********/

.visitor-notification-container{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 999;
}

.visitor-notification-overlay{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100vw;
    height: 100vh;
    background-color: #000000D0;
}

.visitor-notification-modal{
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, 0);
    
    min-width: 350px;
    max-width: 550px;
    max-height: 50vh;
    
    background-color: var(--primary-bg-color);
    color: #EEE;
    
    
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.visitor-notification-msg{
    font-size: 1.2rem;
    text-align: center;
    font-weight: bolder;
}

.visitor-notification-wrapper{
    position: relative;
    padding: 1rem;
}

.visitor-notifiction-close-icon{
    position: absolute;
    top: -16px;
    right: -16px;
    
    background-color: #777;
    color: #FFF;
    font-weight: 900;
    font-size: 1rem;
    
    border: 3px solid #FFF;
    border-radius: 1rem;
    
    width: 33px;
    height: 33px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.visitor-notifiction-close-icon div{
    margin-top: -3px;
    margin-right: -1px;
    transition: all 0.3s ease-in-out;
}

.visitor-notifiction-close-icon:hover{
    border-color: var(--primary-color);
    background-color: #000;
}

.visitor-notifiction-close-icon:hover div{
    color: var(--primary-color);
}


/*************** POPUP **************/

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

.popup-overlay{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100vw;
    height: 100vh;
    
    background-color: #000000D0;
}

.popup-content-wrapper{
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 901;
    transform: translate(-50%, 0);
    
    min-width: 350px;
    max-width: 550px;
    max-height: 50vh;
    
    background-color: var(--primary-bg-color);
    
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.popup-content{
    position: relative;
}

.popup-close-icon{
    position: absolute;
    top: -16px;
    right: -16px;
    
    background-color: #777;
    color: #FFF;
    font-weight: 900;
    font-size: 1rem;
    
    border: 3px solid #FFF;
    border-radius: 1rem;
    
    width: 33px;
    height: 33px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.popup-close-icon div{
    margin-top: -3px;
    transition: all 0.3s ease-in-out;
}

.popup-close-icon:hover{
    border-color: var(--primary-color);
    background-color: #000;
}

.popup-close-icon:hover div{
    color: var(--primary-color);
}

.popup-content{
    max-width: 450px;
    padding: 1rem;
}

@media(max-width: 960px){
    .popup-content{
        max-width: 350px;
    }
}

@media (prefers-reduced-motion: reduce) {
    
}


/*************** footer ************/

footer{
    padding: 6rem 0;
    background-color: #17000c;
    color: #EEE;
}

.footer-nav-row{
    border-bottom: 1px solid #444;
    padding-bottom: 2rem;
}

.footer-nav-title{
    font-sie: 0.75rem;
    font-family: "Lexend", sans-serif;
    font-weight: 500;
    color: #AAA;
}

footer ul{
    list-style: none;
}

.footer-nav-link{
    color: inherit;
    text-decoration: none;
    line-height: 2.75rem;
}

.footer-nav-link:hover{
    text-decoration: underline;
}

.footer-contact-link{
    color: inherit;
    text-decoration: none;
}

.footer-contact-link:hover{
    text-decoration: underline;
}

.footer-contact-link .bi{
    margin-right: 0.1rem;
}

.webdeveloper-url{
    color: inherit;
}