*{
    box-sizing: border-box;
    margin:0;
    padding:0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body{
    cursor: url('../images/7.png'),auto;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: rgb(2, 17, 24);
    color: white;
}

a{
    text-decoration: none;
    color: white;
}

ul{
    list-style: none;
}

img{
    max-width: 100%;
}

/* Navbar */
.navbar{
    background-color:rgb(3, 28, 39);
    padding: 20px;
}

.navbar .container-nav{
    max-width: min(110vw, 110vh);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: min(2vw,2vh);
}

.navbar .main-menu ul{
    display: flex;

}

.navbar ul li a{
    padding: 8px min(2vw,2vh);
    display: flex;
    flex-direction: column;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover{
    color: rgb(90, 139, 164);
}

.logo-pic{
    width: min(12vw,12vh);

    }

.fa-globe{
    padding: 0 0;
    font-size: min(2vw,2vh);
}

.hamburger {
    display: none;
    top: 90px;
    cursor: url('../images/7.png'),auto;
    padding-right: 20px;
}

.bar1, .bar2, .bar3 {
    width: 40px;
    height: 7px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
  }
  
  .change .bar1 {
    transform: translate(0, 15px) rotate(-45deg);
  }
  
  .change .bar2 {opacity: 0;}
  
  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }

@media (max-width: 1024px) {

    .logo-pic{
        width: min(20vw,20vh);
    }

    .navbar{
        font-size: min(5vw,5vh);
    }

    .hamburger{
        top: min(13vw,13vh);
    }

    .fa-globe{
        font-size: min(4vw,4vh);
    }

    .dropdown-ham{
        display: flex;
        justify-content: space-between;
    }

    .navbar ul {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
    }
  
    .navbar li {
      display: inline-block;
    }

    .hamburger{
        display: block;
        cursor: pointer;
        position: absolute;
        right:0;
    }

    .navbar .main-menu ul.show {
        display: flex;
      }
      
    .navbar .main-menu ul {
        display: none;
    }

    .navbar .container-nav{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: min(4vw,4vh);
    }

}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 20px;
    font-weight: 600;
    border: none;
    outline: none;
    color: white;
    padding: 10px 20px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    color: grey;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

/* Home */
/* Animation */

.hero{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0 100%),url('../images/background2.jpg');
    width: 100%;
    height: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column;
    text-align: center;
    position: fixed;
    background-size: cover;
    overflow: hidden;
}

.hero .hero-content{
    padding: 20px 10px;
    text-align: center; /* Center child elements */
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center horizontally */
}

.img-1{
    height: min(40vw, 40vh);
}

.logo-text{
    font-size: min(11vw, 11vh);
    font-weight: 800;
    letter-spacing: 2vw;
    /*letter-spacing: 30px; color: rgb(215, 242, 255);*/
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
}

.row img {
    height: min(3vw, 3vh);
    margin-right: 5px;
}

.img-3, .img-4{
    transform: translate(-385%, -590%);
}

.img-5, .img-6{
    transform: translate(-385%, -580%);
}

.logo-text.anim-3{
    animation-delay: 4s;
}

.anim-1{
    opacity: 0;
    animation: slideOpacity 2s linear forwards;
}

@keyframes slideOpacity {
    0% {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.anim-2{
    opacity: 0;
    animation: appear 0.5s forwards;
}

.img-3.anim-2{
    animation-delay: 2.5s;
}
.img-4.anim-2{
    animation-delay: 2.7s;
}
.img-6.anim-2{
    animation-delay: 2.9s;
}
.img-5.anim-2{
    animation-delay: 3.1s;
}

@keyframes appear {
    100% {
        opacity: 1;
    }
}

.anim-3{
    opacity:0;
    transform: translateY(30px);
    animation: moveup 1s linear forwards;
}

@keyframes moveup {
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Introduction */

.introduction{
    padding-bottom: 70px;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: space-between; 
}

.introduction-heading{
    color: black;
    padding-top: 40px;
}

.house{
    width: 30vw;
    padding-right: 30px;
    align-self: flex-end;
}

.box-grey{
    background-color: black;
    padding: 1px 30px;
    border-radius: 20px;
    
}

/* Ponude/Offers */
/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
  }
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: min(3vw, 3vh);
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    color: rgb(80, 145, 177);
  }
  
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: min(2vw,2vh);
    padding: 8px 12px;
    top: 0;
    font-weight: 600;
    position: absolute;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: min(1.5vw, 1.5vh);
    width: min(1.5vw, 1.5vh);
    margin: 0 2px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active, .dot:hover {
    background-color: rgb(80, 145, 177);
  }
  
  /* Fading animation 
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }*/

  .ponuda{
    padding: min(5vw, 5vh) min(8vw, 8vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .ponude{
    
    padding: min(5vw, 5vh) min(5vw, 5vh);
    margin-top: min(5vw, 5vh);
    
  }
  
  .ponuda .ponude .container-ponude{
    display: flex;
    align-items: center;
    justify-content: center;
}

.ponuda-description{
    padding-left: 50px;
    width: min(80vw, 80vh);
}


@media (max-width: min(160vw, 160vh)){

    .ponuda .container-ponude {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: auto;
    }

    .slideshow-container {
        margin: auto;
        width: 100%;
    }

    .ponuda-description {
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
        margin: auto;
        width: 100%;
    }

    .opis{
        padding-top: 50px;
    }
}

    /* Button opis */
    .button {
        font-family: 'Poppins';
        background-color: rgb(60, 123, 155);
        border: none;
        color: white;
        text-align: center;
        padding: 10px;
        width: min(10vw, 10vh);
        opacity: 1;
        transition: 0.3s;
        cursor: pointer;
        border-radius: 4px;
    }
    .button:hover {opacity: 0.6}

    .buttonn {
        font-family: 'Poppins';
        background-color: rgb(60, 123, 155);
        border: none;
        color: white;
        text-align: center;
        padding: 10px;
        width: min(16vw, 16vh);
        opacity: 1;
        transition: 0.3s;
        cursor: pointer;
        border-radius: 4px;
    }
    .button:hover {opacity: 0.6}


    /* O nama / about */
    .onama{
        height: min(50vw, 50vh);
        background: linear-gradient(to bottom, rgb(3, 28, 39) 60%, rgb(121, 151, 164) 40%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .picture{
         /* Set the background image */
    background-image: url("../images/valexkanc.jpg");

    /* Set background properties */
    background-size: cover; /* or contain, or specify dimensions */
    background-position: center center; /* or specify position */
    background-repeat: no-repeat;
    /* Optionally, set other styles like width, height, padding, etc. */
    width: 100%;
    height: min(50vw, 50vh); /* Set the height of the container */
    }

    .onamaa{
        background-color: rgb(121, 151, 164);/*rgb(90, 139, 164)*/
        padding-top: 20px;
        padding-bottom: 20px;
        height: 100%;
        text-align: center;
    }

    .onamaa .onama-description{
        width: min(80vw, 80vh);
        text-align: justify;
        display: inline-block;
        padding: min(3vw,3vh);
    }

    /* Kontakt / Contact */
    .kontakt{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        gap: 20px;
        height: min(100vw, 100vh);
    }

    .kontakt-description{
        display: none;
    }

    .button-posalji{
        font-size: min(1.5vw, 1.5vh);
    }

    /* Style inputs with type="text", select elements and textareas */
    input[type=text], select, textarea {
        width: 100%; /* Full width */
        padding: 12px; /* Some padding */ 
        border: 1px solid #ccc; /* Gray border */
        border-radius: 4px; /* Rounded borders */
        box-sizing: border-box; /* Make sure that padding and width stays in place */
        margin-top: 6px; /* Add a top margin */
        margin-bottom: 16px; /* Bottom margin */
        resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
        font-size: min(1.5vw, 1.5vh);
    }

    input[type=email], select, textarea{
        width: 100%; /* Full width */
        padding: 12px; /* Some padding */ 
        border: 1px solid #ccc; /* Gray border */
        border-radius: 4px; /* Rounded borders */
        box-sizing: border-box; /* Make sure that padding and width stays in place */
        margin-top: 6px; /* Add a top margin */
        margin-bottom: 16px; /* Bottom margin */
        resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
        font-size: min(1.5vw, 1.5vh);
    }
  
    /* Style the submit button with a specific background color etc */
    input[type=submit] {
        background-color: rgb(90, 139, 164);
        color: white;
        padding: 12px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    
    /* When moving the mouse over the submit button, add a darker green color */
    input[type=submit]:hover {
        background-color: rgb(60, 123, 155);
    }

    .hehe{
        display: flex; /* Use Flexbox */
        width: 100%;
    }

    .boja{
        flex: 1; /* Take up half of the container */
        background-color: rgb(2, 17, 24); /* Color for the left half */
    }

    .inner-container {
        position: absolute; /* Set position to absolute */
        top: 50%; /* Adjust the top position */
        left: 50%; /* Adjust the left position */
        transform: translate(-80%, -20%); /* Center the inner container */
        background-color: rgba(154, 199, 222, 0.8); /* Background color for the inner container */
        padding: min(8vw,8vh);/* Add padding for content within the inner container */
        color: white;
        width: min(100vw,100vh);
        height: min(40vw,40vh);
        max-width: 50%;
    }
      
      .mapa {
        flex: 1; /* Take up half of the container */
        background-image: url("../images/bgmapppp.jpg"); /* Image for the right half */
        background-size: cover; /* or contain, or specify dimensions */
        background-position: center center; /* or specify position */
        background-repeat: no-repeat;
        height: min(80vw,80vh);
      }

      .text-kontakt{
        display: none;
      }

    @media (max-width: 1400px){
        .kontakt-description{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: min(60vw, 60vh);
            padding: 20px 20px;
            font-size: min(1.8vw, 1.8vh);
            border-radius: 0px;
            font-size: min(2.5vw, 2.5vh);
            height: min(25vw, 25vh);
        }

        .hehe{
            display: flex; /* Use Flexbox */
            width: 100%;
            justify-content: center;
            align-items: center;
        }

        .boja{
            display: none;
        }
          
          .mapa {
            flex: 1; /* Take up half of the container */
            background-image: url("../images/bgmapppp.jpg"); /* Image for the right half */
            background-size: cover; /* or contain, or specify dimensions */
            background-position: center center; /* or specify position */
            background-repeat: no-repeat;
            height: 300px;
            justify-content: center; /* Center content horizontally */
            align-items: center; /* Center content vertically */
            display: flex;
          }

          .text-kontakt{
            display:contents;
          }

        .button-posalji{
            font-size: min(2.5vw, 2.5vh);
        }
    }

    .google-form{
        width:min(70vw, 70vh); 
        height:min(125vw,125vh);
    }

    @media (max-width: 500px){
        
    }


/* Footer */

.footer {
    background-color: rgb(1, 12, 17);
    justify-content: center;
    align-items: center;
    min-height: min(50vw,50vh);
}

.footer .container-sm{
    display: flex;
    justify-content:space-evenly;
    padding-top: min(5vw, 5vh);
    padding-bottom: min(5vw, 5vh);
}

.imgfooter{
    width: min(10vw, 10vh);
}

.footer .footer-title{
    font-size: min(1.8vw, 1.8vh);
    padding-bottom: min(1vw, 1vh);
}

.col-md-3{
    font-size: min(1.6vw, 1.6vh);
}

.footer ul li{
    padding-bottom: 5px;
}

.footer ul p{
    padding-bottom: 5px;
}

.footer ul li a:hover{
    color: rgb(90, 139, 164);
}

.footer .footer-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot{
    display: flex;
}


@media (max-width: 500px){
    .footer .container-sm{
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer .container-sm .col-md-3{
        padding-bottom: 10px;
        
    }
    
}

/* Utility classes */
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 50px;
}

.container-sm{
    max-width: min(90vw, 90vh);
    margin: 0 auto;
    padding: 0 15px;
}

.container-ponude{
    max-width: min(150vw, 150vh);
    margin: 0 auto;
    padding: 20px 50px;
}

/* Buttons */
.btn{
    display: inline-block;
    padding: 13px 20px;
    background-color: grey;
    color:white;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover{
    opacity: 0.8;
}

.btn-block{
    display: block;
    width: 100%;
}

/* Text classes */

.text-xxl{
    font-size: min(6vw, 6vh);
    line-height: 1.2;
    font-weight: 600;
    margin: 0px 0 0px;
}

.text-xl{
    font-size: min(5vw, 5vh);
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg{
    font-size: min(4vw, 4vh);
    line-height: 1.2;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md{
    font-size: min(3vw, 3vh);
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm{
    font-size: min(2vw, 2vh);
    line-height: 1.4;
    font-weight: normal;
    margin: 5px 0 5px;
}

.text-xsm{
    font-size: min(1vw, 1vh);
    line-height: 1.4;
    font-weight: normal;
    margin: 5px 0 5px;
}

.text-center{
    text-align:center;
}

.text-right{
    text-align: right;
}

/* Styling */

.content-right{
    align-content: right;
}
