
::-moz-selection {
    background: var(--green-color);
    color: #fff;
}
::selection {
    background: var(--green-color);
    color: #fff;
}
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Geometric212BookCondensed', sans-serif;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
    outline: 0;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/* width */
::-webkit-scrollbar {
    width: .5vw;
}
/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--green-color);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #079661;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-color: var(--secondary-color) #fff;
    scrollbar-width: normal;
}
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--white-color);
}
body.no-scroll,
html.no-scroll{
    overflow: hidden;
}
#alertMsg{
    font-size: 14px;
}
img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    cursor: pointer;
}
button {
    cursor: pointer;
    outline: none;
    border: none;
    font-family: inherit;
}
button[disabled] {
    cursor: default;
}

a, p{
    color: var(--txt-color);
}
ul,
ol {
    list-style: none;
}
input,
textarea {
    font-family: inherit;
    resize: none;
}
/* HIDE ARROWS ON NUMBER INPUTS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
/* Importing Geometric 706 Black Condensed BT for headings */
@font-face {
    font-family: 'Geometric706BlackCondensed';
    src: url('fonts/geometric-706-black-condensed-bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Importing Geometric 212 Book Condensed BT for body text */
@font-face {
    font-family: 'Geometric212BookCondensed';
    src: url('fonts/geometric-212-book-condensed-bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'KhyayRegular';
    src: url('fonts/Khyay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Applying the fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Geometric706BlackCondensed', sans-serif;
}

p, a, li, span {
    font-family: 'Geometric212BookCondensed', sans-serif;
}



/* UTILITIES */
:root {
    --white-color: #fff;
    --black-color: #000;
    --green-color: #0DD48C;
    --txt-color: #000;
}
.container {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 188rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.container-right {
    padding-left: calc((100vw - 182em) / 2);
    position: relative;
}
.container-left {
    padding-right: calc((100vw - 182em) / 2);
    position: relative;
}
@media only screen and (max-width: 1660px) {
    .container-right {
        padding-left: 3rem;
    }
}
#error-message{
    font-size: 1.8rem;
}
#success-message{
    font-size: 1.8rem;
}
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    padding: 4.5rem 0rem;
    padding-right: 13rem;
    z-index: 9999;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
nav.active{
    padding: 2rem 0rem;
    padding-right: 13rem;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}
.nav-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}
.nav-links{
    display: flex;
    max-width: 116rem;
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
}
.nav-links li a{
    font-size: 2.4rem;
    color: var(--txt-color);
    font-family: 'KhyayRegular', sans-serif;
    transition: color 0.5s ease;
}


.hero-section{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
}
.hero-section .container{
    height: calc(100% - 16.4rem);
}
.hero-container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-background{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12rem 12rem 0rem 0rem;
    overflow: hidden;
}
.hero-background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-background div{
    width: 100%;
    height: 100%;
}
.hero-background2{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-background2.active{
    opacity: 1;
}
.hero-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    align-items: center;
}
.hero-content h1{
    font-size: 9.6rem;
    color: var(--black-color);
    margin-bottom: 13rem;
    text-align: center;
    opacity: 0;
    transform: translateY(5rem);
}
.hero-content h1 span{
    color: var(--green-color);
    font-family: 'Geometric706BlackCondensed', sans-serif;
}
.hero-content a{
    font-family: 'Geometric706BlackCondensed', sans-serif;
    color: var(--white-color);
    font-size: 3.6rem;
    width: 39rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7rem;
    background-color: var(--green-color);
    border: 1px solid var(--green-color);
    transition: color 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    transform: translateY(5rem);
}
.pranje-pod-pritiskom-section{
    padding-top: 16rem;
    padding-bottom: 20rem;
}
.pranje-pod-pritiskom-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 3rem;
    max-width: 175rem;
}
.pranje-pod-pritiskom-container-image{
    overflow: hidden;
    border-radius: 12rem;
    box-shadow: 15px 15px 40px -3px rgba(0,0,0,0.25);
}
.pranje-pod-pritiskom-container-image img{
    display: block;
}
.pranje-pod-pritiskom-container-text{
    max-width: 90rem;
}
.pranje-pod-pritiskom-container-text h2{
    font-size: 9.6rem;
    color: var(--green-color);
    margin-bottom: 2.5rem;
}
.pranje-pod-pritiskom-container-text > p{
    font-size: 2rem;
    max-width: 85rem;
    margin-bottom: 2.5rem;
}
.pranje-pod-pritiskom-container-text > p span{
    color: var(--green-color);
}
.price-flex p{
    font-size: 2rem;
    margin-bottom: 2.5rem;
}
.price-flex p span{
    color: var(--green-color);
}
.price-flex{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 3rem;
}
.price{
    width: 40rem;
    height: 11.5rem;
    padding-left: 6.6rem;
    display: flex;
    justify-content: center;
    border-radius: 5.7rem 0rem 0rem 5.7rem;
    background-color: var(--green-color);
    margin-right: -14rem;
    flex-direction: column;
}
.price h5{
    font-size: 2rem;
    line-height: 2rem;
    transform: translateY(1.5rem);
}
.price h4{
    font-size: 6.4rem;
    transform: translateY(0.5rem);
}
.pranje-pod-pritiskom-container-text h3{
    width: 100%;
    padding: 0.7rem 0rem;
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 4.8rem;
    text-align: center;
    margin-top: 2rem;
}
.usluge-flex{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
}
.usluge-flex > div{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.usluge-flex > div h5{
    font-size: 2.2rem;
    color: var(--green-color);
    margin-bottom: 3rem;
}
#odrzavanje-bazena{
    scroll-margin-top: 15rem;
}
#onama{
    scroll-margin-top: 7rem;
}
#kontakt{
    scroll-margin-top: 10rem;
}
.odrzavanje-bazena-section{
    padding-bottom: 20rem;
}
.odrzavanje-bazena-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 3rem;
}
.odrzavanje-bazena-container-image{
    overflow: hidden;
    border-radius: 12rem;
    box-shadow: 15px 15px 40px -3px rgba(0,0,0,0.25);
}
.odrzavanje-bazena-container-image img{
    display: block;
}
.odrzavanje-bazena-container-text{
    max-width: 90rem;
}
.odrzavanje-bazena-container-text h2{
    font-size: 9.6rem;
    color: var(--green-color);
    margin-bottom: 2.5rem;
}
.odrzavanje-bazena-container-text > p{
    font-size: 2rem;
    max-width: 85rem;
    margin-bottom: 2.5rem;
}
.odrzavanje-bazena-container-text > p span{
    color: var(--green-color);
}
.odrzavanje-bazena-container-text h3{
    width: 100%;
    padding: 0.7rem 0rem;
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 4.8rem;
    text-align: center;
    margin-top: 2rem;
}
.odrzavanje-bazena-container-text .price{
    margin-right: -32rem;
}
.ko-smo-mi-container{
    border-radius: 12rem 12rem 0rem 0rem;
    background-image: url('images/ko-smo-mi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 9rem 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ko-smo-mi-container h2{
    font-size: 9.6rem;
    color: var(--green-color);
    margin-bottom: 6rem;
}
.ko-smo-mi-container p{
    font-size: 3.2rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 110rem;
}
.ko-smo-mi-container a{
    font-family: 'Geometric706BlackCondensed', sans-serif;
    color: var(--white-color);
    font-size: 3.6rem;
    width: 39rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7rem;
    margin-top: 5rem;
    background-color: var(--green-color);
    border: 1px solid var(--green-color);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.footer-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-container-image img{
    display: block;
}
.footer-container-text{
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 46rem;
    padding-left: 5rem;
}
.footer-container-text h2{
    font-size: 4.8rem;
    color: var(--green-color);
    margin-bottom: 4.5rem;
}
.footer-container-text form{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.footer-container-text input{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.6rem;
    border: 3px solid var(--black-color);
    margin-bottom: 3rem;
}
.footer-container-text input::placeholder{
    color: var(--black-color);
}
.footer-container-text textarea{
    width: 100%;
    height: 15rem;
    padding: 2.5rem;
    font-size: 1.6rem;
    border: 3px solid var(--black-color);
    margin-bottom: 3rem;
}
.footer-container-text textarea::placeholder{
    color: var(--black-color);
}
.footer-container-text form button{
    padding: 1.5rem 4rem;
    color: var(--white-color);
    background-color: var(--green-color);
    width: fit-content;
    font-size: 1.6rem;
    margin: 0 auto;
    font-weight: 600;
    margin-bottom: 5rem;
    border: 1px solid var(--green-color);
    margin-top: 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.footer-info{
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-direction: column;
    margin-bottom: 2.5rem;
}
.footer-info a{
    font-size: 2.4rem;
    color: var(--green-color);
    transition: color 0.3s ease;
}
.footer-social{
    display: flex;
    align-items: center;
    gap: 4rem;
}


@media only screen and (min-width: 1024px) {
    .footer-info a:hover{
        color: #41ac84;
    }
    .nav-links li a:hover{
        color: var(--green-color);
    }
    .hero-content a:hover, .ko-smo-mi-container a:hover, .footer-container-text form button:hover{
        background-color: var(--white-color);
        color: var(--green-color);
    }
    .hamburger{
        display: none;
    }
    .close-popout{
        display: none;
    }
    .nav-links-list-logo{
        display: none;
    }
}

@media only screen and (max-width: 1850px) {
    .price{
        margin-right: -10rem;
    }
    .odrzavanje-bazena-container-text .price {
        margin-right: -24rem;
    }
}

@media only screen and (max-width: 1770px) {
    .odrzavanje-bazena-container-text .price {
        margin-right: -15rem;
    }
}
@media only screen and (max-width: 1710px) {
    .footer-container{
        overflow: hidden;
    }
    .footer-container-image{
        transform: translateX(18rem);
    }
}
@media only screen and (max-width: 1690px) {
    .odrzavanje-bazena-container-text .price {
        z-index: 1;
        border-radius: 5.7rem;
    }
}

@media only screen and (max-width: 1550px) {
    .pranje-pod-pritiskom-container{
        flex-direction: column-reverse;
        gap: 10rem;
    }
    .price{
        border-radius: 5.7rem;
    }
    .odrzavanje-bazena-container{
        flex-direction: column;
        gap: 10rem;
    }
    .footer-container{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5rem 0rem;
    }
    .footer-container-image{
        transform: translateX(0rem);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.2;
    }
    .footer-container-image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .footer-container-text{
        position: relative;
        z-index: 1;
    }
}
@media only screen and (max-width: 1500px) {
    .nav-links li a {
        font-size: 2rem;
    }
    nav{
        padding-right: 0rem;
    }
    nav.active{
        padding-right: 0rem;
    }
}

@media only screen and (max-width: 1200px) {
    .nav-links li a {
        font-size: 1.8rem;
    }
    .nav-logo img{
        max-width: 20rem;
    }
}
@media only screen and (max-width: 1100px) {
    .price-flex{
        flex-direction: column;
        gap: 0px;
        margin-bottom: 5rem;
    }
    .price{
        margin: 0;
    }
    .ko-smo-mi-container p{
        max-width: 60rem;
    }
}

@media only screen and (max-width: 1024px) {
    .nav-links-list-logo{
        display: block;
    }
    .nav-links{
   position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        background: white;
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 15rem;
        gap: 5rem;
        transform: translateX(100%);
        transition: transform 0.5s ease;
    }
    .nav-links.active{
        transform: translateX(0);
    }
    .hamburger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 3rem;
        width: 4rem;
        background-color: transparent;
    }
    .hamburger div{
        width: 100%;
        height: 3px;
        background-color: var(--txt-color);
    }
    .close-popout{
        font-size:  2.4rem;
        color: var(--black-color);
        position: absolute;
        top: 2rem;
        right: 2rem;
        background-color: transparent;
    }
}

@media only screen and (max-width: 850px) {
    .hero-content h1 {
        font-size: 6rem;
    }
}

@media only screen and (max-width: 480px) {
    .odrzavanje-bazena-container-text .usluge-flex div:first-child div{
        margin-top: 0px!important;
    } 
     .odrzavanje-bazena-container-text .usluge-flex div:first-child div img{
         max-width: 7rem;
     }
    nav{
        padding: 1.5rem 0rem;
    }
    nav.active{
        padding: 1.5rem 0rem;
    }
    .nav-logo img {
        max-width: 15rem;
    }
    .hamburger {
        height: 2.1rem;
        width: 3rem;
    }
    .container{
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .nav-links{
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 5rem;
    }
    .hero-content a{
        font-size: 2rem;
        width: 22rem;
        height: 5rem;
    }
    .hero-background{
        border-radius: 6rem 6rem 0rem 0rem;
    }
    .hero-section .container{
        height: 100%;
    }
    .hero-section {
        height: 70vh;
        padding-top: 8rem;
    }
    .pranje-pod-pritiskom-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .pranje-pod-pritiskom-container-text h2 {
        font-size: 3rem;
        text-align: center;
    }
    .pranje-pod-pritiskom-container-text > p{
        font-size: 1.6rem;
        text-align: center;
    }
    .price {
        width: 13rem;
        height: 6.5rem;
        padding-left: 3rem;
        margin: 0 auto;
    }
    .price h5 {
        font-size: 1.4rem;
        transform: translateY(0rem);
    }
    .price h4 {
        font-size: 1.8rem;
        transform: translateY(0rem);
    }
    .pranje-pod-pritiskom-container-image img{
        width: 100%;
    }
    .usluge-flex{
        flex-direction: column;
    }
    .pranje-pod-pritiskom-container-text h3{
        font-size: 3rem;
        text-align: center;
    }
    .price-flex p{
        font-size: 1.6rem;
        text-align: center;
    }
    .usluge-flex img{
        max-width: 5rem;
    }
    .usluge-flex > div h5{
        font-size: 1.8rem;
    }
    .odrzavanje-bazena-container{
        gap: 5rem;
    }
    .odrzavanje-bazena-container-image{
        border-radius: 6rem;
    }

    .pranje-pod-pritiskom-container-image{
        border-radius: 6rem;
    }

    .odrzavanje-bazena-section {
        padding-bottom: 5rem;
    }
    .odrzavanje-bazena-container-text h2 {
        font-size: 3rem;
        text-align: center;
    }
    .odrzavanje-bazena-container-text > p{
        font-size: 1.6rem;
        text-align: center;
    }
 
    .odrzavanje-bazena-container-image img{
        width: 100%;
    }
    .odrzavanje-bazena-container-text .price{
        width: 13rem;
        height: 6.5rem;
        padding-left: 3rem;
        margin: 0 auto;
    }
    .odrzavanje-bazena-container-text h3{
        font-size: 3rem;
        text-align: center;
    }
    .odrzavanje-bazena-container{
        gap: 5rem;
    }
    .odrzavanje-bazena-container-image{
        border-radius: 6rem;
    }
    .ko-smo-mi-container h2{
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    .ko-smo-mi-container p{
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
    .ko-smo-mi-container{
        padding: 5rem 2rem;
        border-radius: 6rem;
    }
    .ko-smo-mi-container a{
        font-size: 2rem;
        width: 22rem;
        height: 5rem;
        margin-top: 1rem;
    }
    footer{
        margin-top: 5rem;
    }
    .footer-container{
        border-radius: 6rem 6rem 0rem 0rem;
        padding: 5rem 2rem;
    }
    .odrzavanje-bazena-container-image{
        box-shadow: none;
    }
    .pranje-pod-pritiskom-container-image{
        box-shadow: none;
    }
    .footer-container-text h2{
        font-size: 3rem;
    }
    .footer-container-text{
        padding: 0rem;
        width: 100%;
    }
    .footer-container-text input {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }
    .footer-container-text textarea{
        width: 100%;
        padding: 1.5rem;
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        border-radius: 1rem;
    }
    .footer-container-image{
        opacity: 0.1;
    }
    .footer-info a{
        font-size: 2rem;
    }
}

