@font-face {
    font-family: Montserrat-Regular;
    src: url(fonts/Montserrat-Regular.ttf);
  }
@font-face {
    font-family: Montserrat-Black;
    src: url(fonts/Montserrat-Black.ttf);
  }

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    scroll-behavior:smooth;
    font-family: Montserrat-Regular;
}

body{
  background-color: rgb(255, 255, 255);
  min-height: 100vh;
}

a.anchor {
    display: block;
    position: relative;
    top: -4.5rem;
    visibility: hidden;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(221, 15, 15);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link{
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
}

.nav-link:hover{
    color: rgb(221, 15, 15);
    font-weight: bolder;
}


/* Nova sekcija*/


header{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 50px 0;
    z-index: 1000000;
}
header.sticky{
    background: #fff;
    padding: 10px 0;
}

header.sticky a{
    color: black;
}

.logo{
    width: 25%;
}

.nav-menu{
    max-width: 75%;
}
.bar{
    margin-right: 10vw;
}

header img {
    position: relative;
    height: 3.5rem;
    margin-left: 10vw;
}

header .logo .logo-normal {
	opacity: 1;
    height: 3.5rem;
}

header .logo .logo-sticky {
	opacity: 0;
    height: 3.5rem;
}

header.sticky .logo .logo-normal {
	opacity: 0;
    height: 3.5rem;
}

header.sticky  .logo .logo-sticky {
	opacity: 1;
    float: none;
    position: fixed;
    left: 0;
    top:10px;
    height: 3.5rem;
}


header ul li{
    position: relative;
    list-style: none;
}

header ul li:last-child{
    margin-right: 10vw;
}

header ul li a{
    text-decoration: none;
}


#banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/hero.jpg");
    background-size: cover;
    text-align: center;

}

#banner h1{
    color: #fff;
    padding-top: 38vh;
    text-align: center;
    font-weight: bold;
    font-size: 3rem;
    font-family: Montserrat-Black;
}

#banner h1 span{
    color: rgb(216, 29, 29);
    text-align: center;
    font-weight: bold;
    font-size: 3rem;
    font-family: Montserrat-Black;
}

#banner h2{
    color: #fff;
    padding-top:30px;
    text-align: center;
    font-size: 1.5rem;
}
#banner h2 span{
    color: rgb(216, 29, 29);
    text-align: center;
    font-weight: bolder;
    font-family: Montserrat-Black;
    font-size: 1.5rem;
}
#banner button{
    text-align: center;
    margin: 10vh 0.5vw;
    
    
}
#banner .btnB{
    border: 2px solid rgb(216, 29, 29);
    background-color: Transparent;
    color:white;
    background-repeat:no-repeat;
    font-weight: bolder;
    letter-spacing: 1px;
    font-size: 1.2rem;
    padding: 20px 80px;
}

#banner .btnB:hover{
    background-color: rgb(216, 29, 29);
    color:white;
    background-repeat:no-repeat;
    cursor: pointer;
    
}

#banner .btnA{
    border: none;
    background-color: rgb(216, 29, 29);
    color:white;
    background-repeat:no-repeat;
    font-weight: bolder;
    letter-spacing: 1px;
    font-size: 1.2rem;
    padding: 22px 110px;
}

#banner .btnA:hover{
    background-color: rgb(216, 29, 29);
    color:white;
    background-repeat:no-repeat;
    cursor: pointer;
    
}

.btnA:hover{
    animation-name: hvr-buzz;
    animation-duration: 0.20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
}

@keyframes hvr-buzz{
    50%{transform: translateX(3px) rotate(2deg);}
    100%{transform: translateX(-3px) rotate(-2deg);}
}






/*TABOVI*/

.content{
    transition: 0.3s;
}
.content:hover{
    transform: scale(1.4);
}


.tab {
    width: 100%;
    overflow: hidden;
    background-color: #f1f1f1;
    font-family: Montserrat-Regular;
    text-transform: uppercase;
    text-align: center;
    
  }

  .tab button {
    
    color: gray;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 2.2vw;
    transition: 0.1s;
    font-family: Montserrat-Regular;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 4rem;
  }
  
  .tab button:hover {
    color: #000;
    border-bottom: 3px solid rgb(221, 15, 15);
  }
  
  .tab button.active {
    color: #000;
    border-bottom: 3px solid rgb(221, 15, 15);
    font-weight: bold;
  }


  .tabcontent {
    display: none;
    border-top: none;
    flex-wrap: wrap;
    gap: 6vw;
    flex-direction: row;
    align-items: center ;
    justify-content: space-evenly;
    padding: 5vw 20vw 0 20vw;
  }


  #vrata img, #prozori img, #paneli img, #celicna-rolo-vrata img, #segmentna-vrata img, #aluminijumska-rolo-vrata img, #vise img, #alupaneli img{
        height: 350px;
        max-width: 80%;
    }

#dugme{
    width: 100%;
    text-align: center;
    margin: auto;
}

    #prikazivise{ 
    background-color: rgb(221, 15, 15);
    color: white;
    font-family:  Montserrat-Regular;
    text-transform: uppercase;
    border: none;
    font-size: 1vw;
    padding: 10px 15px 10px 15px;
    transition: 0.2s;
    margin: 5vh auto; 
}

/*PVC PROFILI*/



#pvcprofili{
    font-family: Montserrat-Regular;
    text-transform: uppercase;
    font-weight: bold;
    margin: 12vh 10vw 8vh 10vw;
    padding-top: 15vh;
    padding-bottom: 2vh;
    border-top: 1px solid gray;
    font-size: 2.5rem;
    text-align: center;
}

.tabb {
    margin: 0 10vw;
    overflow: hidden;
    font-family: Montserrat-Regular;
    text-align: center;
    
  }

  .tabb button {
    background-color: white;
    color: gray;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 1.5vw 5vw 1.5vw 5vw;
    transition: 0.1s;
    font-family: Montserrat-Regular;
    font-size: 1.8rem;
    text-decoration: none;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 4rem;
  }
  
  .tabb button:hover {
    color: rgb(221, 15, 15);
    font-weight: bold;
  }

  .activ{
    color:rgb(221, 15, 15) !important;
    font-weight: bold;
}


#gealan, #teraplast, #weiss, #rehau{
    padding-top: 10vh;
    margin: 0 10vw;
    display: block;
}

#gealan p, #teraplast p, #weiss p, #rehau p{
    width: 50%;
    text-align: left;
    text-transform: none;
    float: left;
    padding-bottom: 15%;
    clear: left;
    font-family: Montserrat-Regular;
    font-size: 1.4rem;
}

#gealan h3, #teraplast h3, #weiss h3, #rehau h3{
    float: left;
    text-align: left;
    text-transform: uppercase;
    padding-bottom: 25px;
    clear: left;
    font-size: 1.8rem;
}

#gealan img, #teraplast img, #weiss img, #rehau img{
    width: 30%;
    max-height: 500px;
    float: right;
}

.tabcontentt {
    display: none;
    border-top: none;
    margin: 0 10vw;
  }

  .tabcontentt button{
      background-color: rgb(221, 15, 15);
      color: white;
      font-family:  Montserrat-Regular;
      text-transform: uppercase;
      border: none;
      font-size: 1vw;
      padding: 10px 15px 10px 15px;
      transition: 0.2s;
  }

  .tabcontentt button:hover{
      cursor: pointer;
      transform: scale(1.1);
  }


 /*O NAMA*/

#onama{
    clear: both;
}

#onama h3{
    font-size: 2.5rem;
    font-weight: bold;
    font-family: Montserrat-Regular;
    text-transform: uppercase;
    padding-top: 8vw;
    padding-bottom: 7.5vw;
    border-top: 1px solid gray;
    text-align: center;
}

#onama p{
    text-align: center;
    font-family: Montserrat-Regular;
    font-size: 1.2vw;
    line-height: 2.5rem;
    margin: 0 10vw;
    padding-bottom: 8vw;
}


/*KONTAKT*/

#kontakt{
    background-color: rgb(36, 36, 36);
}

#kontakt b{
    color: rgb(221, 15, 15);
}
 #kontakt p{
     float: right;
     margin-right: 10vw;
     width: 35%;
     column-count: 2;
     color: white;
     font-family: Montserrat-Regular;
     font-size: 1vw;
     padding-top: 5%;
     line-height: 3vw;
 }

#kontakt img{
    display: block;
    margin-left: 10vw;
    width: 30%;
    height: auto;
    clear: right;
    padding-bottom: 2vw;
}

#kontakt a{
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

#kontakt a:hover{
    color: rgb(221, 15, 15);
}

/*FORMA*/

.forma{
  
    width: 560px;
    background-color: white;
    position: absolute;
    border: none;
    border-radius: 6px;
    color: white;
    bottom: initial;
    left: 10vw;
    box-shadow: -2px 2px 60px 0px rgba(100, 100, 100, 0.5);
    
  }

.form-group{
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
  }
  
  .form-group #Ime{
    border-radius: 6px;
    border:none;
    background-color: #eeeeee;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    height: 50px;
  }
  .form-group #Tema{
    border-radius: 6px;
    border:none;
    background-color: #eeeeee;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    height: 50px;
  }
  .form-group #Email{
    border-radius: 6px;
    border:none;
    background-color: #eeeeee;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    height: 50px;
  }
  .form-group #message{
    border-radius: 6px;
    border:none;
    background-color: #eeeeee;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    resize: vertical;
  }
  .contrainer{
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 20px;
  }
  .contrainer h1{
    color: #303030;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
  }

  
  .contrainer button{
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
  }
  .form-group input,
  .form-group textarea{
    width: 100%;
    padding: 18px;
    font-size: 15px;
  }
  #btnForma{
    border-radius: 6px;
    border:none;
    background-color: rgb(221, 15, 15);
    color: #fff;
    padding: 20px;
    margin-left: 30px;
  }

/*FOOTER*/

footer{
    background-color: black;
    color: white;
    font-family: Montserrat-Regular;
    font-size: 0.8rem;
    text-align: center;
    padding: 1vw 0 1vw 0;

}


@media only screen and (max-width: 1270px) {
        .nav-menu {
            position: fixed;
            right: -100%;
            top: 8rem;
            flex-direction: column;
            background-color: #fff;
            width: 100%;
            text-align: center;
            transition: 0.3s;

        }
    
        .nav-menu.active {
            right: 0;
        }
    
        .nav-item {
            margin: 2.5rem 0;
        }
    
        .hamburger {
            display: block;
            cursor: pointer;
        }

        .nav-link{
            color:black;
        } 

        #kontakt p{
            float: none;
            clear: both;
            width: 100%;
            padding: 10%;
            column-count: 1;
            font-size: 2vw;
            text-align: center;
            line-height: 4vw;
        }
    
        #kontakt img{
            float: none;
            clear: both;
            width: 60%;
            padding-left: 13%;
        }

        .forma{
            position: relative;
            margin: auto;
        }
    
        .contrainer, #forma{
            margin: 0;
            width: 80%;
        }
    
        #btnForma{
            width: 60%;
          }
}    

@media screen and (max-width: 980px) {

    #gealan p, #teraplast p, #weiss p, #rehau p {
        float: none;
        clear: both;
        width: 100%;
        font-size: 3vw;
    }

    #gealan h3, #teraplast h3, #weiss h3, #rehau h3{
        float: none;
        clear: both;
        width: 100%;
        font-size: 3.5vw;
    }

    #gealan img, #teraplast img, #weiss img, #rehau img{
        float: none;
        clear: both;
        width: 80%;
        max-height: auto;
        padding-bottom: 100px;
    
    }

    .tabcontentt button{
        font-size: 2vw;
        padding: 2vw 3vw;
        transition: 0.2s;
    }
  
    .tab button {
        line-height: 1.5rem;
        width: 100%;
      }

    #onama p{
        font-size: 3.1vw;
        padding: 5vw 2vw 5vw 2vw;
    }

    #onama h3{
        font-size: 4vw;
    }

    .forma{
        position: relative;
        left: 0;
        box-shadow: none;
    }

    .contrainer, #forma{
        margin: 0;
        width: 100%;
    }

    #btnForma{
        width: 90%;
      }

    .tabcontentt button{
        width: 100%;
    }


    #banner button{
        margin: 30px 0 0 0;
    }

    .btnA, .btnB{
        float: none;
        clear: both;
        margin: 0;
        width: 80%;
    }

    #banner .btnB, #banner .btnA{
        font-size: 1rem;
    }

    #banner h1, #banner h1 span{
        font-size: 3rem;
    }

    #banner h2, #banner h2 span{
        font-size: 2rem;
    }

}

/*TABELE*/
.cenovnik{
    clear: both;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: top center;
    justify-content: space-evenly;
    gap: 1vw;
    margin: 0;
    padding-bottom: 50px;
}

table{
    border-collapse: collapse;
    height: max-content;
    margin-bottom: 6vh;
}

table tr:first-child th:first-child,
table tr:first-child td:first-child {
  border-top-left-radius: 20px;
}

table tr:first-child th:last-child,
table tr:first-child td:last-child {
  border-top-right-radius: 20px;
}

table tr:last-child th:first-child,
table tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

table tr:last-child th:last-child,
table tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

tr:nth-child(even){
    background-color: rgb(241, 241, 241);
}

tr:nth-child(odd){
    background-color: rgb(253, 253, 253);
}

tr:hover {background-color: #ffd0d0;}


td{
    text-align: center;
    font-family:Montserrat-Regular;
    font-size: 1.2rem;
    padding: 20px 40px;
}

th{
    background-color: rgb(221, 15, 15);
    color: white;
    font-family:Montserrat-Regular;
    text-align: center;
    font-size: 1.2rem;
    padding: 10px 20px;
}
