* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: rgba(10,10,8,255);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: rgba(10,10,8,255); 
}
  
ul {
    list-style: none; 
}
  
h1 {
    text-transform: uppercase;
    font-weight: normal;
    padding: 1rem 2.8rem 1rem 2.8rem;
    font-size: 2rem;
}

h2 {
    font-weight: normal;
    font-size: 2rem;
}

.about-text {
    font-size: 24px;
    line-height: 2.4;
}

.price {
    font-weight: bold;
    font-size: larger;
}

img {
    width: 100%; 
}

.pdfs {
    color: rgba(57,136,255,255);
}

.pdfs:hover {
    text-decoration: underline;
}

/* .blackbox, .blackbox-2 {
    height: 10vh;
    display: none;
    background-color: #000;
    border: none;
}

.blackbox-3 {
    height: 5vh;
    display: none;
    background-color: #000;
    border: none;
} */

.container {
    padding: 80px 100px 100px 100px;
    margin: auto;
}

.px-plus {
    padding: 140px;
}

.px-plus-2 {
    padding: 60px 0 0 0;
}

/* Overlay START */

#overlay, #overlay2, #overlay3, #overlay4, #overlay5, #overlay6, #overlay7, #overlay8, #overlay9, #overlay10,
#overlay11, #overlay12, #overlay13, #overlay14, #overlay15, #overlay16, #overlay17, #overlay18, #overlay19, #overlay20,
#overlay21, #overlay22, #overlay23, #overlay24, #overlay25, #overlay26, #overlay27, #overlay28, #overlay29, #overlay30,
#overlay31, #overlay32, #overlay33, #overlay34, #overlay35, #overlay36, #overlay37, #overlay38, #overlay39, #overlay40,
#overlay41, #overlay42, #overlay43, #overlay44, #overlay45, #overlay46, #overlay47, #overlay48, #overlay49, #overlay50,
#overlay51, #overlay52, #overlay53, #overlay54, #overlay55, #overlay56, #overlay57, #overlay58, #overlay59, #overlay60,
#overlay61, #overlay62, #overlay63, #overlay64, #overlay65
{
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    overflow: auto;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.95); /* Black background with opacity */
    z-index: 99; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

  #text-o{
    position: absolute;
    /* top: 50%;
    left: 50%; */
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    color: white;
    /* transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%); */
    padding: 40px;
  }

/* Overlay END */

/* Overlay za slike START */

#overlayp, #overlayp2, #overlayp3, #overlayp4, #overlayp5, #overlayp6, #overlayp7, #overlayp8, #overlayp9, #overlayp10,
#overlayp11, #overlayp12, #overlayp13, #overlayp14, #overlayp15, #overlayp16, #overlayp17, #overlayp18, #overlayp19, #overlayp20,
#overlayp21, #overlayp22, #overlayp23, #overlayp24, #overlayp25, #overlayp26, #overlayp27, #overlayp28, #overlayp29, #overlayp30,
#overlayp31, #overlayp32, #overlayp33, #overlayp34, #overlayp35, #overlayp36, #overlayp37, #overlayp38, #overlayp39, #overlayp40,
#overlayp41, #overlayp42, #overlayp43, #overlayp44, #overlayp45, #overlayp46, #overlayp47, #overlayp48, #overlayp49, #overlayp50,
#overlayp51, #overlayp52, #overlayp53, #overlayp54, #overlayp55, #overlayp56, #overlayp57, #overlayp58, #overlayp59, #overlayp60,
#overlayp61, #overlayp62, #overlayp63, #overlayp64, #overlayp65
{
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    overflow: auto;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0,0,0,0.95); */
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 99; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.slideshow-container2 {
    max-width: 50%;
  }

.slideshow-container2 img {
    padding: 1rem;
  }

/* Overlay END */

.slideshow-container2 {
    display: inline-block;
}

.bg-main {
    background: rgba(57,136,255,255);
    color: rgb(255, 255, 255); 
}
  
.bg-dark {
    background: rgba(10,10,8,255);
    color: rgb(255, 255, 255); 
}
  
.bg-light {
    background: #f4f4f4;
    color: rgba(10,10,8,255); 
}
  
.bg-medium { /* ??? */
    background: #ccc; 
    color: #000; 
}

.btn-light {
    font-family: inherit;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid;
    cursor: pointer;
    color: rgba(10,10,8,255);
    background-color: #f4f4f4; 
}

.btn-light:hover {
    background-color: rgba(57,136,255,255);
    color: #f4f4f4; 
    border: 1px solid #000;
}

.btn-main, .btn-light, .btn-dark {
    display: inline-block;
    transition: linear 0.5s;
    cursor: pointer; 
}

.btn-order {
    font-size: 13px;
}

.btn-big {
    font-size: 24px;
}

.lead {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    /* background-color: #f4f4f4;  */
    color: #000;
}

.text-center {
    text-align: center; 
}

.section-title {
    font-size: 2rem;
    display: block;
    padding-bottom: 0.5rem;
    text-align: center;
    font-weight: 100;
    text-transform: uppercase;
}
  
.bottom-line {
    height: 2.5px;
    width: 9rem;
    background: rgba(57,136,255,255);
    display: block;
    margin: 0 auto 1rem auto;
}

.bottom-line-alt {
    height: 1.5px;
    width: 9rem;
    background: rgba(57,136,255,255);
    display: block;
    margin: 0 auto .5rem auto;
}

.big-bottom-line {
    height: 2.5px;
    width: 100vw;
    background: #000;
    display: block;
}

#main-nav {
    display: flex;
    position: sticky;
    top: 0;
    background-color: rgba(10,10,8,255);
    justify-content: space-between;
    padding: 1rem;
    z-index: 1;
    align-items: center; 
}

#main-nav ul {
      display: flex; 
}
    
#main-nav li {
      padding: 2.5rem;
}

#main-nav a {
      text-decoration: none;
      color: rgb(255, 255, 255);
      text-transform: uppercase;
      border-bottom: 3px transparent solid;
      padding-bottom: 0.5rem;
      transition: border-color 0.5s;
}

#main-nav a:hover {
        border-color: rgb(255, 255, 255); 
}

#main-nav a.current {
        border-color: rgba(57,136,255,255); 
}

#main-nav .menu-wrap  {
    display: none;
}

#logo {
    width: 256px;
    height: 108px;
}

#header-home {
    /* background: url("../img/img1.jpg") no-repeat center right/cover; */
    /* height: 76.5vh; */
    color: #000;
    animation: fadein 3s;
    line-height: 0;
}

@keyframes fadein {
    from { opacity: 0.2; }
    to   { opacity: 1; }
}

#header-home .header-content {
    text-align: center;
    padding-top: 10%;
}
      
#header-home .header-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #000;
    background-color: #f4f4f4;
    /* margin: 0rem 30rem; */
    /* border-radius: 5px; */
    /* border-bottom: 3px solid; */
    border-top: 3px solid;
    /* border-left: 3px solid; */
    /* border-right: 3px solid; */
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 98; /* Make sure it does not overlap */
    border: none;
    outline: none; /* Remove outline */
    background-color: rgba(10,10,8,255); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 18px; /* Some padding */
    border-radius: 30%;
    font-size: 18px; /* Increase font size */
  }
  
#myBtn:hover {
    background-color: rgba(57,136,255,255);
  }

#main-footer {
    background: rgba(10,10,8,255);
    color: rgb(255, 255, 255);
    height: 5rem; 
}
    
#main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    height: 5rem;
    align-items: center; 
    color: rgb(255, 255, 255);
    margin-left: 2rem;
    margin-right: 2rem;
}

#main-footer a {
    color: rgb(255, 255, 255);
}

#main-footer a:hover {
    color: rgba(57,136,255,255);
}

/* Products */

#items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center; /* flex-start da bi se slagali po redu */
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 10px;
    padding-top: 50px;
}

.item {
    background-color: white;
    text-align: center;
    padding: 20px;
    margin: 2px;
    border: 1px solid;
}

.item img {
    max-width: 250px;
}

.container-f {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    padding: 2vw 4vw;
    width: 90%;
    max-width: 800px;
    border: 1px solid;
}

form h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

form input, form textarea {
    margin: 10px 0;
    padding: 12px;
    outline: none;
    /* background: yellowgreen; */
    font-size: 16px;
    border: 1px solid;
    font-family: inherit;
}

form button {
    padding: 15px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    width: 150px;
    margin: 20px auto 0;
}

/* Contact */

#map {
    width: 100%;
    height: 40vh;
}

.map-b {
    background-color: #f4f4f4;
    color: #000;
}

.map-c {
    background-color: #f4f4f4;
    color: #000;
}

.map-d {
    background-color: #000;
    color: #f4f4f4;
    padding: 2rem;
}

#contact .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center; 
}

#contact i:hover {
    cursor: pointer;
    transition: all 1.2s;
    color: rgba(57,136,255,255);
}

#form-c {
    max-width: 1280px;
    margin: auto;
    padding: 0;
    border: none;
}

#contact-a {
    background: #f4f4f4;
}

#contact-a .text-fields {
    display: grid;
    grid-template-areas: 'name name'
   'email phone'
   'message message';
    grid-gap: 0.8rem; }
    #contact-a .text-fields .name-input {
      grid-area: name; }
    #contact-a .text-fields .email-input {
      grid-area: email; }
    #contact-a .text-fields .phone-input {
      grid-area: phone; }
    #contact-a .text-fields .message-input {
      grid-area: message;
      height: 100px; }
    #contact-a .text-fields .text-input {
        padding: 0.5rem 1rem; }

#contact-a button[type='submit'] {
    width: 50%;
}

.btn-c {
    margin: auto;
    transition: linear 0.5s;
    border: 1px solid #000;
}

.btn-c:hover {
    background-color: rgba(57,136,255,255);
    color: rgb(255, 255, 255);
    border: 1px solid #000;
    cursor: pointer;
}

.py-1 {
    padding: 1.5rem 0;
}

.py-2 {
    padding: 1.5rem;
}

.py-3 {
    padding: 3rem 0;
}

.py-5 {
    padding: 4rem;
}

#contact-b .contact-info {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    text-align: center;
    padding: 50px;
}

#contact-b i:hover {
    cursor: pointer;
    transition: linear 0.5s;
    color: rgba(57,136,255,255);
}

/* Responsivness */

@media (max-width: 1468px) {

    #contact-b .contact-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 30px;
        text-align: center;
        padding: 50px;
    }
}

@media (max-width: 1191px) {

    #contact-b .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 30px;
        text-align: center;
        padding: 50px;
    }
}

@media (max-width: 1170px) {

    #main-nav li {
        padding: 1.5rem;
        font-size: 0.8rem;
    }

    #logo {
        width: 192px;
        height: 81px;
    }

    h1 {
        text-transform: uppercase;
        font-weight: normal;
        padding: 0.5rem 1.4rem 0.5rem 1.4rem;
        font-size: 1.75em;
    }
    
    h2 {
        font-weight: normal;
        font-size: 1.75em;
    }
    
    .about-text {
        font-size: 18px;
        line-height: 2.4;
    }

    #text-o{
        font-size: 16px;
        line-height: 1.6;
    }

 /*   .blackbox {
        display: block;
    } */

}

@media (max-width: 915px) {

    #contact-b .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
        text-align: center;
        padding: 50px;
    }

    .slideshow-container2 {
        max-width: 60%;
      }
}

@media (max-width: 858px) {

    .px-plus {
        padding: 70px 0;
    }
}

@media (max-width: 850px) {

    #main-nav li {
        padding: 0.75rem;
        font-size: 0.7rem;
    }

    #logo {
        width: 144px;
        height: 60.75px;
    }

    h1 {
        text-transform: uppercase;
        font-weight: normal;
        padding: 0.5rem 1.4rem 0.5rem 1.4rem;
        font-size: 1.5em;
    }
    
    h2 {
        font-weight: normal;
        font-size: 1.5em;
    }
    
    .about-text {
        font-size: 16px;
        line-height: 2.4;
    }

    #text-o{
        font-size: 14px;
        line-height: 1.4;
    }

/*    .blackbox-2 {
        display: block;
    } */

}

@media (max-width: 778px) {

    .container {
        padding: 80px 0;
    }
}


@media (max-width: 640px) {

    #main-nav {
        flex-direction: column;
        align-items: center; 
    }
}

@media (max-width: 530px) {

    #contact-a .text-fields {
        grid-template-areas: 
        'name'
        'email'
        'phone'
        'message'; 
    }

    .slideshow-container2 {
        max-width: 70%;
    }
}

@media (max-width: 500px) {

    .container {
        padding: 80px 0;
        margin: auto;
    }

    #items {
        padding-top: 1px 0;
    }

    #main-nav {
        flex-direction:row;
    }

    #main-nav .classic-menu {
        display: none;
    }

    #main-nav .menu-wrap  {
        display: flex;
    }

    #main-nav .hamburger-menu  {
        flex-direction: column;
    }

    #main-nav li {
        font-size: 1.5rem;
    }

    h1 {
        text-transform: uppercase;
        font-weight: normal;
        padding: 0.5rem 1.4rem 0.5rem 1.4rem;
        font-size: 1.2em;
    }
    
    h2 {
        font-weight: normal;
        font-size: 1.2em;
    }
    
    .about-text {
        font-size: 14px;
        line-height: 2.4;
    }

    #text-o{
        font-size: 12px;
        line-height: 1.2;
    }

 /*   .blackbox-2 {
        display: none;
    }

    .blackbox-3 {
        display: block;
    } */

    .container {
        padding: 30px 10px 30px 10px;
        margin: auto;
    }

    .container-c {
        max-width: 1280px;
        padding: 0 1.5rem;
        margin: auto;
        overflow: hidden;
    }

    .container-c2 {
        
        padding: 1rem 1.5rem;
        margin: auto;
        overflow: hidden;
    }

    #header-home {
        background-position: 20% 30%; 
    }

    #header-home .header-content {
        display: none; 
    }

    #header-inner {
        height: 10rem; 
    }

    #home-a .specials,
    #home-a .process,
    #contact-b .contact-info,
    .items {
        grid-template-columns: 1fr; 
    }

    #home-a .specials div {
        border-bottom: 1px #f4f4f4 solid;
        padding-bottom: 1rem; 
    }

    #home-a .specials div:last-child {
        border: none;
        padding-bottom: 0; 
    }

    #about-a .about-info {
        grid-template-areas: 'bioimage'
    'bio'; 
    }

    #contact-b div {
        padding-bottom: 1rem;
    }

    #contact-b div:last-child {
        border: none;
        margin-bottom: 0;
        padding-bottom: auto; 
    }

    #main-footer {
        height: 7rem; 
        font-size: 14px;
    }

    #main-footer .footer-content {
        flex-direction: column;
        padding: 1rem;
        height: 5rem; 
    } 

}