:root {
    --bg-primary:#0089FF;
    --bg-secondary: #29404E;
    
    --tertiary: rgb(14, 45, 95)
}


body {
    font-size: 100%;
    
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;

    text-decoration: none;
    list-style: none;
    font-family: "Rubik", sans-serif;
    color: #3E3E3E;

}


@media (min-width: 0px){

    .links-li {
        text-decoration: none;
    }

    .links-li:hover,
    .links-li:hover:focus,
    .links-li:hover:active {
	    color:  rgb(233, 193, 51);
}


    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
    }
      
    .menu-toggle span {
        display: block;
        height: 4px;
        background-color: black;
        border-radius: 2px;
    }


    .navbar-menu {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 5.3rem;
        right: 0rem;
        background-color: white;
        
        overflow: hidden;
        color: black;
        padding: 1rem 8rem 2rem 10rem;
    }

    .navbar-menu.active {
        display: flex;
        
    }

    .navbar-menu a:hover {
        text-decoration: underline;

    }

    .navbar-menu li {
        margin: 10px 0;
        text-align: center;
    }



    /* NAVBAR */

    .navbar{
        background-color: rgba(255,255,255,0.8);

        position: relative;
        z-index: 2;
        top: 0px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding:2px 50px 2px 20px;
    }

    .navbar-logo {
        display: flex;
        justify-content: start;
        padding: 2rem;
    }

    .navbar h3 {
        display: flex;
        align-items: center;
        font-size: 3rem;
        position: relative;
        left: 40px;

        color: #1b1f2e;
    }


    .nord-log {
        display: flex;
        justify-content: start;
        width: 12rem;
        height: 3rem;
        vertical-align: middle;
        text-align: center;
        fill: black;
        overflow: hidden;
        left: 1rem;
        position: relative;
    }
    
/*  
    .logo {
        background-image: url(images/NORD_small.svg);

        background-repeat: no-repeat;
        background-size: cover;
        color: var(--bg-primary);
        

        width: 4rem;
        height: 4rem;
        position: relative;
        left: 20px;
        
        text-indent: -9999px;
    } */

    .con-area{
        display: none;
        gap: 2rem;
    }

    .phone-div{
        display: none;
        gap: 1rem;
        align-items: center;
    }

    .email-div{
        display: none;
        gap: 1rem;
        align-items: center;
    }


    .navbar h3 {
        display: flex;
        align-items: center;
        font-size: 3rem;
        position: relative;
        left: 40px;

        color: #1b1f2e;
    }

   

    .navbar-menu ul {
        font-size: 1.35rem;
        line-height: 1;

        display: flex;
        justify-content: end;
        gap: 2rem;
    }

    .navbar-menu a {
        padding: 2rem 2rem;
        display: flex;
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: bold;

    }

    .navbar-menu li {
        text-decoration: none;
        list-style: none;
        display: flex;
    }



    



    /* HEADER */

    header {
        min-height: 60vh;
        position: relative;

        width: 100%;
        height: 100%; /* gradient do polovice obrázka */
        background: linear-gradient(to right, rgba(14, 45, 95, 0.9)50%, rgba(14, 45, 95, 0.4) 100%), url(images/image-bg.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 99% 32%;
        
    }

    .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8); /* Polo-priehľadné prekrytie */
        
    }

    .header-text {
        /* background-color: rgba(255,255,255,0.5); */
        padding: 6rem 4rem 7.5rem 0.5rem;
        max-width: 72rem;
        margin: 0 auto;
        line-height: 1.5;
        padding-left: 4rem;
    }

    .header-text h3{
        margin: 0rem 0rem 2rem 0rem;
        color: white;
    }

    .header-text p{
        margin-bottom: 2.5rem;
        color: white;
    }

    .button{
        text-decoration: none;
        background: rgb(250, 214, 75);
        border: 1px solid #495260e6;
        border-radius: 40px;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        box-shadow: 0 0 20px 0px hsla(225, 2%, 55%, 0.902);

        color: black;
        cursor: pointer;
        padding: 1rem 3rem;
        text-align: center;
        transition: all 250ms;
        border: 0;
        font-size: 16px;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        font-weight: bold;
    }


    .button:hover,
    .button:focus {
    background-color: rgb(233, 193, 51);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    }

    .button:hover {
    transform: translateY(-1px);
    }

    .button:active {
    background-color: rgb(202, 156, 6);
    box-shadow: rgba(131, 130, 130, 0.06) 0 2px 4px;
    transform: translateY(0);
    }


    /* Naše služby */

    .svg-circle-first{
        margin-bottom: 2rem;
    }

    .svg-house-first{
        position: absolute;
        margin-top: 1.8rem;
        margin-left: 1.5rem;
    }

    .svg2{
        margin-bottom: 2rem;
    }

    .svg1{
        position: absolute;
        margin-top: 1.8rem;
        margin-left: 1.5rem;
    }





    .cards-text h3{
        text-align:center;
        margin-top: 3rem;
    }

    .cards {
        color: white;
        display: flex;
        align-items: center;
        gap: 0vw;
        
        max-width: 700px;
        margin: 0rem auto -6rem auto;
        position: relative;
        z-index: 7;
    }



    .offer1 {
        flex:1;
        margin: 0rem 1.5rem;


        position: relative;
        text-align: center;
        
        backdrop-filter: blur (4px);
        border-top: 2px solid #FFFFFF75;
        border-left: 2px solid #FFFFFF75;
    }

    .four {
        margin-top: 2rem;
        padding: 2rem;
        
        background-color: var(--bg-primary);
        border-top: 2px solid #FFFFFF75;
        border-left: 2px solid #FFFFFF75;
        box-shadow: 5px 5px 12px #00000035;
        
        backdrop-filter: blur (4px);
        padding-bottom: 1rem;
        border-radius: 1rem;
    }

    .first h3{
        margin: 1rem 0rem;
    }




    /* O nás */
    .container-style {
        min-height: 50%;
        background-color: #eaf4ff;

        position: relative;
        z-index: 4;

        padding-top: 11rem;
        padding-bottom: 1rem;    
    }

    .container-main {
        background-color: #eaf4ff;
        max-width: 1366px;
        margin: 0 auto;

    }

    .container-text{
        flex: 6;
        margin: 4rem 4rem 8rem 4rem;   
    }


    .border{
        border-left: 0.5rem solid var(--bg-primary);
        padding-left: 1rem;
    }

    .border h1{
        padding-bottom: 1rem;
    }
    .container-text h3 {
        font-size: 2rem;
        
        margin-bottom: 1.5rem;
        
    }

    .container-header-first{
        background-image: url(images/vybrate/RD_Chrenova/RD12.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 47%;
        margin: 0rem 4rem 0rem 4rem;
        height: 27rem;
        max-width: 800px;

        /* border-top: 2px solid #eaf4;
        border-left: 2px solid #eaf4;
        box-shadow: 5px 5px 12px #00000035;
        background-color: #FFFFFF25;
        backdrop-filter: blur; */
        position: relative;
        z-index: 1;
        
    }

    .container-header-second{
        display: hide;
    
    }
    .main-button{
        position: relative;
        top: 2rem;

    }

    span {
        color: #0a1660;
    }


    /* Galéria */
    .border-container {
        margin: 4rem 0rem 4rem 2rem;
    }




    /* FORM */


    .con-form-wrap{
        
        background-color: white;
        border-top: 2px solid #FFFFFF75;
        border-left: 2px solid #FFFFFF75;
        box-shadow: 5px 5px 12px #00000035;
        background-color: #FFFFFF25;
        backdrop-filter: blur; 

        margin: -11.5rem 1.5rem 1.5rem 1.5rem;
        position: relative;
        z-index: 9;

    }
    .contact{
        background-color: white;
        padding: 0.5rem;
    }

    .contact-header{
        display: none;
        position: absolute;

    }

    .contact-menus{
        background-color: var(--bg-primary);
        padding-top: 0.5rem;
        color: white;
    }
    .border-bottom{
        padding: 5rem 2rem 13rem 2rem;
        text-align: center;
        color: white;

        width: 100%;
        height: 100%; /* gradient do polovice obrázka */
        background: linear-gradient(to right, rgba(14, 45, 95, 0.9)50%, rgba(14, 45, 95, 0.4) 100%), url(images/ej-yao-D46mXLsQRJw-unsplash-2.jpg
        );
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 105% 32%;
        

        position: relative;
        z-index: 7;
    }

    .formbold-main-wrapper {
        position: relative;
        padding: 5rem 0rem 0rem 0rem;
        margin: 0 auto;
        z-index: 1;
    }

    .formbold-form-wrapper {
        background: white;
        min-width: 64%;

    }


    .form-container {
        margin: 3rem 2rem 1rem 2rem;
        padding-bottom: 2rem;
    }


    .formbold-input-flex {
        display: flex;
        gap: 1.2rem;
        margin-bottom: 3rem;
    }
    .formbold-input-flex > div {
        width: 50%;
        display: flex;
        flex-direction: column-reverse;
    }
    .formbold-textarea {
        display: flex;
        flex-direction: column-reverse;
    }

    .formbold-form-input {
        /* width: 100%; */
        padding-bottom: 10px;
        border: none;
        border-bottom: 1px solid #DDE3EC;
        background: #FFFFFF;
        font-weight: 500;
        font-size: 16px;
        color: #07074D;
        outline: none;
        resize: none;

        background-color: #eaf4ff;
        padding: 0.4rem;
    }
    .formbold-form-input::placeholder {
        color: #536387;
    }
    .formbold-form-input:focus {
        border-color: #6A64F1;
    }
    .formbold-form-label {
        color: #07074D;
        font-weight: 500;
        font-size: 1rem;
        line-height: 24px;
        display: block;
        margin-bottom: 0.2rem;
    }
    .formbold-form-input:focus + .formbold-form-label {
        color: #6A64F1;
    }

    .formbold-input-file {
        margin-top: 2rem;
    }
    .formbold-input-file input[type="file"] {
        position: absolute;
        top: 6px;
        left: 0;
        z-index: -1;
    }
    .formbold-input-file .formbold-input-label {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .formbold-filename-wrapper {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 22px;
    }
    .formbold-filename {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        line-height: 24px;
        color: #536387;
    }
    .formbold-filename svg {
        cursor: pointer;
    }


    .button-form{
        text-decoration: none;
        text-decoration: none;
        padding: 1rem 3rem;    /* background-color: #ff4c59; */

        background: rgb(0,204,188);
        background: #FAD64B;
        border: 1px solid rgba(0,154,192,0.4738270308123249);
        border-radius: 40px;
        color: white;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        box-shadow: 0 0 5px 0px rgba(0,154,192,0.4738270308123249);
    

    }

    .formbold-btn:hover {
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
    }

    .form-button{
        max-width: 211px;
        margin: 0 auto;
        display: block;
    }


    .contact {
        flex: 1;
        
    }



    .contact-header {
        
        text-align: start;
    }

    .contact-texts {

        max-width: 300px;
        margin: 0 auto;
        padding-bottom: 1rem;
        padding-top: 1rem;
        
    }

    .circle{
        padding: 1rem 2rem 1rem 0rem;
    }

    .contact li{
        list-style: none;
        margin: 2.2rem 0rem;
    }





    /* Icons menu */

    .svg-icon {
        width: 3em; 
        height: 3em;
        vertical-align: middle;
        text-align: center;
        fill: white;
        overflow: hidden;

        /* style="width: 1.0009765625em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" */


    }

    .fas-fa{
        display: flex;
    }
    .fas-fa h1{
        font-size: 1.5rem;
        
    }

    .fas-fa h4{
        font-size: 1rem;
        
        font-optical-sizing: auto;
        font-weight: lighter;
        font-style: normal;
    }

    .GDPR {
        max-width: 20rem;
        padding-bottom: 3rem;
        margin: 0 auto;
        margin-top: 2rem;
        text-align: center;
    }


    .link-style {
        color: var(--bg-primary);
    }





    /* FOOTER LOGO */

    .wrap-background{
        background-color:var(--tertiary) ;
    }
    .footer{
        margin-top: 6rem;
    }

    .footer-flex {
        background-color: var(--tertiary);
        color: white;
        padding: 2rem 1rem;
        max-width: 40rem;
        margin: 0 auto;
    }


    .underline{
        text-decoration: none;
    }


    .footer-logo h3 {
        position: relative;
        text-align: center;
    }

    .footer-logo h1 {
        position: relative;
        left:0rem;
        
    }

    .ul-style{
        list-style: none;
        line-height: 2rem;
        
    }

    .li-style{
        font-weight: bold;
        text-decoration: underline;
        line-height: 3rem;
        
    }

    .h1-style {
        padding: 2rem 0rem 0rem 2rem;
    }

    .footer-text{
        text-align: center;
        padding: 2rem 0rem;
        background-color: #eaf4ff;
    }

    .footer-link-style {
        margin-bottom: 1rem;
    }


    .svg-footer{
        fill: white;
        display: flex;
        justify-content: start;
        width: 16rem;
        height: 6rem;
        vertical-align: middle;
        text-align: center;
        overflow: hidden;
        margin: 1rem 0rem 0rem 2.2rem;
    }
   


    .gallery img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .gallery img:hover {
        transform: scale(1.05);
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 9999;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 1rem;
    }

    .gallery-folder{
        margin: 4rem 0rem 0.5rem 4.5rem;
    }

}


  
@media (min-width: 880px) {

    .con-form-wrap{
        max-width: 34rem;
        margin: 0 auto;
        margin-top: -11.5rem;
    }

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

    .header-text {
        
        padding: 19rem 4rem 7.5rem 4.5rem;
    }

 




   /* NAVBAR */

    .navbar-menu {
        display: flex;
        list-style: none;
        flex-direction: row;
        background-color: rgba(255,255,255,0);
        margin: 0;
        padding: 10px 20px;
        position: static;
        top: 60px;
        right: 0;
        color: black;
        
    }


    .navbar-menu.active {
        display: flex;
    }
    .navbar{
        background-color: rgba(255,255,255,0.7);

        position: absolute;
        z-index: 2;
        top: 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        left: 1rem;
        right: 1rem;
        padding:2px 50px 2px 20px;

        border-top: 2px solid #FFFFFF75;
        border-left: 2px solid #FFFFFF75;
        box-shadow: 5px 5px 12px #00000035;
        
        backdrop-filter: blur (4px);

        border-radius: 0.8rem;



    }

    .navbar-logo {
        display: flex;
        justify-content: start;
    }

    .logo {
        /* background-image: url(logo_dental.svg); */
        /* background-image: url(img/Untitled.png); */
        background-repeat: no-repeat;
        background-size: cover;
        color: var(--bg-primary);
        

        width: 4rem;
        height: 4rem;
        position: relative;
        left: 20px;
        
        text-indent: -9999px;
    }

    .con-area{
        display: none;
        gap: 2rem;
    }

    .phone-div{
        display: none;
        gap: 1rem;
        align-items: center;
    }

    .email-div{
        display: none;
        gap: 1rem;
        align-items: center;
    }


    .navbar h3 {
        display: flex;
        align-items: center;
        font-size: 3rem;
        position: relative;
        left: 40px;

        color: #1b1f2e;
    }



    .navbar-menu li {
        font-size: 1.35rem;
        line-height: 1;

        display: flex;
        justify-content: end;
        gap: 2rem;
    }

    .navbar-menu a {
        padding: 2rem 2rem;
        display: flex;
        text-decoration: none;
        font-size: 1.3rem;

    }

    .navbar-menu li {
        text-decoration: none;
        list-style: none;
        display: flex;
    }


    .menu-toggle {
        display: none;
       
    }
    
    .menu-toggle span {
        display: none;
        
    }

    .svg-footer{
        fill: white;
        display: flex;
        justify-content: start;
        width: 16rem;
        height: 6rem;
        vertical-align: middle;
        text-align: center;
        overflow: hidden;
        margin: 0 auto;
    }

    .ul-style{
        padding: 0rem;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 1rem;
        margin: 3rem;
    }
    
}




@media (min-width: 1100px) {
    
 
    .container-main{
        display: flex;
        
    }
    .first-second{
        flex: 1;
        
    }

    .container-text{
        flex: 1;
        margin-left: 5rem;
    }

    .container-header-first{
        background-image: url(images//vybrate/RD_Chrenova/RD12.jpg);
        margin: 0rem 0rem 0rem 4rem;
        max-height: 18rem;
    }
    .container-header-second{
    
        background-image: url(images/vybrate/RD_Chrenova/RD10.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 47%;
        background-color: #FFFFFF25;
        backdrop-filter: blur;
        position: relative;
        z-index: 2;
    
        margin: -6rem -2rem 2rem 10rem;
        height: 17rem;
        max-width: 35rem;
        border-top: 1rem solid #eaf4ff;
        border-left: 1rem solid #eaf4ff;
            
    }
    .con-form-wrap{
        display: flex;
        max-width: 34rem;
        background-color: white;
    }

    .contact{
        flex: 2;
        background-color: var(--bg-primary);
        margin: 0.5rem;
    }
    .form-container{
        flex: 3;
        background-color: white;
        padding: 5rem 2rem 1rem 2rem;
        margin: 0rem;
    }

    .formbold-textarea{
        margin-top: 4rem;
    }

    .wrap-background{
        background-color: var(--tertiary);
    }

    .footer-flex{
        display: flex;
        max-width: 64rem;
        margin: 0 auto;
        gap: 0.5rem;
        justify-content: center;
        text-align: left;
    }
    .side-1{
        flex: 3;
    }
    .side-2{
        flex: 2;
        padding-left: 2rem;
    }
    .side-3{
        flex: 2;
    }

    .footer-logo h3{
        text-align: left;
    }

    .ul-style{
        padding-left: 0rem;
    }
    .foot-style{
        margin-top: 5rem;
    }
    .hours-daily{
        margin-top: 3rem;
    }
    .h1-style{
        padding-left: 0rem;
    }

    .footer-text{
        display: flex;
        justify-content: center;
        gap: 7rem;
        

    }
    
    .cookie{
        margin: 0;
    }

    .footer-text h4{
        margin: 0rem;
    }

    .svg-footer{
        fill: white;
        display: flex;
        justify-content: start;
        width: 16rem;
        height: 6rem;
        vertical-align: middle;
        text-align: center;
        overflow: hidden;
        margin: 1rem 0rem 0rem 0rem;
    }

    .svg-edit{
        margin-top: 0rem;
    }
}


@media screen and (min-width: 1260px){

    .con-area{
        display: flex;
        gap: 2rem;
    }

    .phone-div{
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .email-div{
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .svg-icon-navbar {
        width: 2rem; 
        height: 2rem;
        vertical-align: middle;
        text-align: center;
        fill: var(--bg-primary);
        overflow: hidden;

        /* style="width: 1.0009765625em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" */


    }


    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    
    
}